1 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3 * argp/argp-help.c (__argp_error_internal): New function,
4 renamed from __argp_error, but that takes a 'mode_flags'
5 parameter to control the format of long double parameters.
6 (__argp_error): Converted into a call __argp_error_internal.
7 (__argp_failure_internal): New function, renamed from
8 __argp_failure, but that takes a 'mode_flags' parameter.
9 (__argp_failure): Converted into a call __argp_failure_internal.
10 * misc/err.c (__vwarnx_internal): New function, renamed from
11 vwarnx, but that takes a 'mode_flags' parameter.
12 (vwarnx): Converted into a call to __vwarnx_internal.
13 (__vwarn_internal): New function, renamed from vwarn, but that
14 takes a 'mode_flags' parameter.
15 (vwarn): Converted into a call to __vwarn_internal.
16 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
17 call to __vfxprintf with 'mode_flags'.
18 (__error_internal): New function, renamed from error, but that
19 takes a 'mode_flags' parameter.
20 (error): Converted into a call to __error_internal.
21 (__error_at_line_internal): New function, renamed from
22 error_at_line, but that takes a 'mode_flags' parameter.
23 (error_at_line): Converted into a call to
24 __error_at_line_internal.
25 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
26 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
29 2019-02-20 Martin Liska <mliska@suse.cz>
31 * math/Makefile: Install math-vector-fortran.h.
32 * bits/math-vector-fortran.h: New file.
33 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
35 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
37 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
38 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
40 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
42 * nptl/pthread_mutex_trylock.c: Fix comment.
44 2019-02-19 Carlos O'Donell <carlos@redhat.com>
46 * nptl/pthread_tryjoin.c: Fix comment.
48 2019-02-18 Joseph Myers <joseph@codesourcery.com>
51 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
52 after R_SPARC_H34 case.
54 2019-02-18 Florian Weimer <fweimer@redhat.com>
56 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
57 (getanswer): Do not call Dprintf.
58 (res_gethostbyname2_context): Likewise.
59 (res_gethostbyaddr_context): Likewise.
61 2019-02-18 Florian Weimer <fweimer@redhat.com>
63 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
65 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
67 * libio/stdfiles.c: Update comment.
68 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
69 set _IO_stdin, _IO_stdout, _IO_stderr.
70 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
71 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
73 (_IO_deallocate_file): New inline function.
74 * libio/iolibio.h (_IO_vprintf): Remove definition.
75 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
76 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
77 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
79 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
80 __builtin_expect. Use _IO_legacy_file.
82 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
84 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
85 Initialize ctid with a known value and remove update of ctid
87 (wait_tid): Adjust arguments and call futex_wait with ctid_val
88 as assumed current value of ctid_ptr.
90 2019-02-15 Florian Weimer <fweimer@redhat.com>
92 Check that non-sysdeps headers have wrapper headers.
93 * scripts/check-wrapper-headers.py: New file.
94 * Makefile (tests-special): Add check-wrapper-headers.out.
95 (check-wrapper-headers.out): New target.
96 * Rules (tests-special): Add check-wrapper-headers.out.
97 (check-wrapper-headers.out): New target.
99 2019-02-15 Florian Weimer <fweimer@redhat.com>
101 Add missing header wrappers under include/.
102 * include/ar.h: New file.
103 * include/bits/mqueue2.h: Likewise.
104 * include/bits/stdio.h: Likewise.
105 * include/bits/stdio2.h: Likewise.
106 * include/fstab.h: Likewise.
107 * include/fts.h: Likewise.
108 * include/lastlog.h: Likewise.
109 * include/netinet/icmp6.h: Likewise.
110 * include/netinet/igmp.h: Likewise.
111 * include/netinet/ip6.h: Likewise.
112 * include/re_comp.h: Likewise.
113 * include/regexp.h: Likewise.
114 * include/rpcsvc/bootparam.h: Likewise.
115 * include/rpcsvc/yp_prot.h: Likewise.
116 * include/sys/random.h: Likewise.
117 * include/sys/stropts.h: Likewise.
118 * include/sys/ttychars.h: Likewise.
119 * include/sys/vfs.h: Likewise.
120 * include/wait.h: Likewise.
122 2019-02-15 Florian Weimer <fweimer@redhat.com>
124 * nptl_db/proc_service.h: Move to ...
125 * sysdeps/nptl/proc_service.h: ... here.
126 * nptl_db/thread_db.h: Move to ...
127 * sysdeps/nptl/thread_db.h: ... here.
128 * nptl/descr.h: Include <thread_db.h>.
130 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
132 * io/Makefile (tests): Add tst-lockf.
133 * io/lockf.c (lockf): Use __fcntl and only define for
134 !__OFF_T_MATCHES_OFF64_T.
135 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
136 __OFF_T_MATCHES_OFF64_T case.
137 * io/tst-lockf.c: New file.
138 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
139 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
140 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
141 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
142 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
144 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
145 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
146 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
148 2019-02-15 Florian Weimer <fweimer@redhat.com>
151 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
152 pd->result after the thread descriptor has been freed.
154 2019-02-15 Joseph Myers <joseph@codesourcery.com>
156 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
157 from function return type.
159 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
161 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
163 * scripts/test_printers_common.py: Set TERM to a known harmless
166 2019-02-14 Joseph Myers <joseph@codesourcery.com>
168 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
169 (xdr_u_int): Likewise.
170 (xdr_enum): Likewise.
171 (xdr_bytes): Reword fall-through comment.
172 (xdr_string): Likewise.
174 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
177 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
178 (tests): Add tst-join8 tst-join9.
179 * nptl/lll_timedwait_tid.c: Remove file.
180 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
181 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
182 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
183 * nptl/pthread_join_common.c (timedwait_tid): New function.
184 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
186 * nptl/tst-join5.c (thread_join): New function.
187 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
189 * nptl/tst-join8.c: New file.
190 * nptl/tst-join9.c: Likewise.
191 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
192 lll_futex_timed_wait_cancel): Add generic macros.
193 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
195 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
196 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
197 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
198 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
200 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
202 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
203 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
204 (lll_futex_timed_wait_cancel): New macro.
206 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
208 * benchtests/Makefile: Add malloc-simple benchmark.
209 * benchtests/bench-malloc-simple.c: New benchmark.
211 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
213 * benchtests/bench-memmove.c (do_one_test): Remove unused
216 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
220 2019-01-13 Jim Wilson <jimw@sifive.com>
223 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
224 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
226 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
228 * nptl/Makefile (tests): Add tst-unwind-thread.
229 (CFLAGS-tst-unwind-thread.c): Define.
230 * nptl/tst-unwind-thread.c: New file.
231 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
234 2019-02-13 Joseph Myers <joseph@codesourcery.com>
236 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
238 * nis/nis_call.c (__do_niscall3): Likewise.
240 * catgets/gencat.c (normalize_line): Use braces around empty
242 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
243 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
244 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
245 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
246 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
247 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
248 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
251 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
254 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
256 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
257 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
258 * benchtests/bench-strchr.c (stupid_strchr): Remove.
259 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
260 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
261 * benchtests/bench-strlen.c (builtin_strlen): Remove.
262 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
263 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
264 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
265 * benchtests/bench-strspn.c (stupid_strspn): Remove.
266 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
267 * benchtests/bench-bcopy.c: Delete file.
268 * benchtests/bench-bzero.c: Likewise.
269 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
270 (simple_memccpy): Remove.
271 (generic_memccpy): Add function.
272 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
273 * benchtests/bench-memmove.c (simple_bcopy): Remove.
274 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
275 (generic_mempcpy): Add new function.
276 * benchtests/bench-memset.c (simple_bzero): Remove.
277 (builtin_bzero): Remove.
278 (builtin_memset): Remove.
279 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
280 (generic_rawmemchr): Add new function.
282 2019-02-12 Florian Weimer <fweimer@redhat.com>
284 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
286 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
289 * elf/Makefile (tests): Add tst-audit13.
290 (modules-names): Add tst-audit13mod1.
291 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
293 * elf/tst-audit13.c: New file.
294 * elf/tst-audit13mod1.c: Likewise.
296 2019-02-12 Florian Weimer <fweimer@redhat.com>
299 * elf/rtld.c (unload_audit_module): New function.
300 (report_audit_module_load_error): Likewise.
301 (load_audit_module): Likewise. Extracted from dl_main. Call
302 _dl_close if the laversion symbol cannot be found. Use early
303 returns for error handling. Add malloc error check. Check for a
304 zero return value from la_version. Remove spurious comment about
305 static TLS initialization. Remove useless casts.
306 (notify_audit_modules_of_loaded_object): New function. Extracted
308 (load_audit_module): Likewise.
309 (dl_main): Call load_audit_modules.
311 2019-02-12 Joseph Myers <joseph@codesourcery.com>
313 * elf/dl-exception.c (_dl_exception_create_format): Add
314 fall-through comments.
315 * elf/ldconfig.c (parse_conf_include): Likewise.
316 * elf/rtld.c (print_statistics): Likewise.
317 * locale/programs/charmap.c (parse_charmap): Likewise.
318 * misc/mntent_r.c (__getmntent_r): Likewise.
319 * posix/wordexp.c (parse_arith): Likewise.
320 (parse_backtick): Likewise.
321 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
322 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
323 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
325 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
327 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
328 Use float instead of double.
330 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
332 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
334 2019-02-08 Joseph Myers <joseph@codesourcery.com>
336 * sysdeps/powerpc/bits/mathinline.h: Remove.
338 2019-02-08 Florian Weimer <fweimer@redhat.com>
340 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
341 * math/bits/math-finite.h: Move to ...
342 * bits/math-finite.h: ... here.
344 2019-02-08 Florian Weimer <fweimer@redhat.com>
346 * sysdeps/generic/bits/unistd_ext.h: Move to ...
347 * bits/unistd_ext.h: here.
349 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
352 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
353 * nss/tst-nss-files-hosts-long.c: New file.
354 * nss/tst-nss-files-hosts-long.root: New directory.
355 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
356 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
358 2019-02-08 Florian Weimer <fweimer@redhat.com>
360 * include/bits/unistd_ext.h: Remove file.
361 * posix/bits/unistd_ext.h: Move to ...
362 * sysdeps/generic/bits/unistd_ext.h: ... here.
364 2019-02-08 Florian Weimer <fweimer@redhat.com>
366 * include/bits/unistd_ext.h: New file.
368 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
370 * time/tst-strftime2.c: Use array_length macros instead of magic
373 2019-02-08 Florian Weimer <fweimer@redhat.com>
376 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
378 * nptl/register-atfork.c (__run_fork_handlers): Only perform
379 locking if the new do_locking argument is true.
380 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
383 2019-02-08 Florian Weimer <fweimer@redhat.com>
386 Linux: Add gettid system call wrapper.
387 * posix/Makefile (headers): Add bits/unistd_ext.h.
388 * posix/bits/unistd_ext.h: New file.
389 * posix/unistd.h: Include it.
390 * manual/process.texi (Process Identification): Document gettid.
391 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
392 tst-gettid, tst-gettid-kill.
393 (tst-gettid): Link with $(shared-thread-library).
394 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
395 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
396 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
397 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
398 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
399 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
401 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
403 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
404 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
406 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
408 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
410 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
412 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
414 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
416 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
418 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
419 (GLIBC_2.30): Likewise.
420 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
421 (GLIBC_2.30): Likewise.
422 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
423 (GLIBC_2.30): Likewise.
424 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
425 (GLIBC_2.30): Likewise.
426 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
429 (GLIBC_2.30): Likewise.
430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
431 (GLIBC_2.30): Likewise.
432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
433 (GLIBC_2.30): Likewise.
434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
435 (GLIBC_2.30): Likewise.
436 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
438 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
440 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
442 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
443 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
445 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
447 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
449 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
451 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
453 2019-02-07 Florian Weimer <fweimer@redhat.com>
455 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
456 compatibility symbols.
458 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
461 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
462 Add compiler barriers and comments.
464 2019-02-07 Florian Weimer <fweimer@redhat.com>
466 * include/array_length.h (array_length): Do not use a statement
467 expression and _Static_assert, so that array_length can be used at
468 file scope and as a constant expression.
470 2019-02-07 Florian Weimer <fweimer@redhat.com>
472 * support/xdlfcn.h (xdlmopen): Declare.
473 * support/xdlmopen.c: New file.
474 * support/Makefile (libsupport-routines): Add xdlmopen.
476 2019-02-06 Joseph Myers <joseph@codesourcery.com>
478 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
479 before return type, without separate inline.
480 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
481 * elf/dl-tunables.h (tunable_is_name): Likewise.
482 * malloc/malloc.c (do_set_trim_threshold): Likewise.
483 (do_set_top_pad): Likewise.
484 (do_set_mmap_threshold): Likewise.
485 (do_set_mmaps_max): Likewise.
486 (do_set_mallopt_check): Likewise.
487 (do_set_perturb_byte): Likewise.
488 (do_set_arena_test): Likewise.
489 (do_set_arena_max): Likewise.
490 (do_set_tcache_max): Likewise.
491 (do_set_tcache_count): Likewise.
492 (do_set_tcache_unsorted_limit): Likewise.
493 * nis/nis_subr.c (count_dots): Likewise.
494 * nptl/allocatestack.c (advise_stack_range): Likewise.
495 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
497 (reduce_sincos): Likewise.
498 (do_sincos): Likewise.
499 * sysdeps/unix/sysv/linux/x86/elision-conf.c
500 (do_set_elision_enable): Likewise.
501 (TUNABLE_CALLBACK_FNDECL): Likewise.
503 2019-02-06 Florian Weimer <fweimer@redhat.com>
505 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
506 (xdlsym): Use dlerror to detect a NULL symbol.
508 2019-02-06 Florian Weimer <fweimer@redhat.com>
510 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
512 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
514 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
516 * libio/tst-bz24153.c (wide): Use wide char format specifier.
518 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
520 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
521 __wmemcmp and weak alias to wmemcmp.
523 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
526 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
527 TLS_TCB_AT_TP tls variant.
528 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
529 Add alignment checks.
530 * support/Makefile (libsupport-routines): Add xposix_memalign and
532 * support/support.h: Add xposix_memalign.
533 * support/xthread.h: Add xpthread_attr_setstack.
534 * support/xposix_memalign.c: New File.
535 * support/xpthread_attr_setstack.c: Likewise.
537 2019-02-05 Florian Weimer <fweimer@redhat.com>
540 arm: Use "nr" constraint for Systemtap probes, to avoid the
541 compiler using memory operands for constants, due to the "o"
542 alternative in the default "nor" constraint.
543 * include/stap-probe.h [USE_STAP_PROBE]: Include
544 <stap-probe-machine.h>
545 * sysdeps/generic/stap-probe-machine.h: New file.
546 * sysdeps/arm/stap-probe-machine.h: Likewise.
548 2019-02-04 Joseph Myers <joseph@codesourcery.com>
550 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
551 with 0, not tcache->entries[tc_idx].
553 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
556 2019-02-04 Andreas Schwab <schwab@suse.de>
560 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
561 looking up collating elements match against (wide) character
562 sequence instead of name. Correct alignment adjustment.
563 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
564 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
565 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
566 (LOCALES): Add cs_CZ.ISO-8859-2.
567 * posix/tst-fnmatch4.c: New file.
568 * posix/tst-fnmatch5.c: New file.
569 * include/wchar.h (__wmemcmp): Declare.
570 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
571 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
572 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
573 * sysdeps/s390/wmemcmp.c: Likewise.
575 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
579 * NEWS: Updated for CVE-2019-7309.
580 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
581 upper 32 bits of RDX register for x32. Use unsigned Jcc
582 instructions, instead of signed.
583 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
584 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
586 2019-02-04 Florian Weimer <fweimer@redhat.com>
588 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
589 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
590 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
592 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
593 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
594 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
595 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
597 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
599 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
601 (posix_spawn_file_actions_addopen): Likewise.
602 (posix_spawn_file_actions_addclose): Likewise.
603 (posix_spawn_file_actions_adddup2): Likewise.
604 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
606 (posix_spawn_file_actions_addfchdir_np): Likewise.
608 2019-02-04 David Newall <glibc@davidnewall.com>
610 elf: Implement --preload option for the dynamic linker.
611 * elf/rtld.c (preloadarg): New variable.
612 (handle_preload_list): Pass through “where” argument to
614 (dl_main): Handle "--preload" and add second call to
616 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
617 (tst-rtld-preload-OBJS): Set variable.
618 (tst-rtld-preload.out): New target.
619 * elf/tst-rtld-preload.sh: New file.
621 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
623 * Makefile (testrun.sh): Exit in case of incorrect argument.
625 2019-02-04 Florian Weimer <fweimer@redhat.com>
627 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
630 2019-02-03 Florian Weimer <fweimer@redhat.com>
632 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
633 implicit overflow checks.
635 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
637 * stdlib/isomac.c: Include <unistd.h>.
639 2019-02-03 Florian Weimer <fweimer@redhat.com>
641 * include/time.h (__tzfile_default): Use int, not long int, for
643 * time/tzfile.c (struct ttinfo): Change type of the offset member
645 (__tzfile_read): Remove useless cast.
646 (__tzfile_default): Adjust prototype.
647 * time/tzset.c (tz_rule): Change type of the offset member to int.
648 (parse_offset): Change the type of the sign variable to int.
650 2019-02-03 Florian Weimer <fweimer@redhat.com>
653 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
654 * libio/getchar.c (getchar): Likewise.
655 * libio/getchar_u.c (getchar_unlocked): Likewise.
656 * libio/getwchar.c (getwchar): Likewise.
657 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
658 * libio/iogets.c (_IO_gets): Likewise.
659 * libio/vscanf.c (_IO_vscanf): Likewise.
660 * libio/vwscanf.c (__vwscanf): Likewise.
661 * libio/tst-bz24153.c: New file.
662 * libio/Makefile (tests): Add it.
664 2019-02-02 Florian Weimer <fweimer@redhat.com>
667 * manual/resource.texi (Basic Scheduling Functions): Add
668 portability note. Change process to task throughout the section.
669 Remove incorrect comment about sched_yield as it affects
670 tasks/threads, not entire processes.
671 * sysdeps/unix/sysv/linux/bits/posix_opt.h
672 (_POSIX_PRIORITY_SCHEDULING): Update comment.
674 2019-02-01 Joseph Myers <joseph@codesourcery.com>
676 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
677 * configure: Regenerated.
678 * manual/install.texi (Tools for Compilation): Update minimum GCC
680 * INSTALL: Regenerated.
682 2019-02-01 Florian Weimer <fweimer@redhat.com>
684 * support/support_test_compare_string.c
685 (support_test_compare_string): Use "string" in error message.
686 * support/tst-test_compare_string.c (do_test): Adjust.
688 2019-02-01 Florian Weimer <fweimer@redhat.com>
690 * support/support_format_address_family.c
691 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
693 2019-02-01 Florian Weimer <fweimer@redhat.com>
695 * manual/socket.texi (Internet Address Formats): Clarify the byte
696 order of struct sockaddr_in, struct sockaddr_in6. Document
697 sin6_flowinfo and sin6_scope_id.
699 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
701 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
702 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
703 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
704 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
705 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
706 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
708 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
710 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
711 [!MEMCHR](MEMCHR): Set to __memchr.
712 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
713 Add memchr_generic and memchr_nosimd.
714 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
715 (__libc_ifunc_impl_list): Add memchr ifuncs.
716 * sysdeps/aarch64/multiarch/memchr.c: New file.
717 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
718 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
720 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
722 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
724 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
725 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
726 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
727 Add IS_EMAG check for ifunc dispatch.
728 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
729 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
731 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
733 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
734 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
736 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
739 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
741 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
743 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
745 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
746 syscall-template file.
748 2019-01-31 Carlos O'Donell <carlos@redhat.com>
749 Torvald Riegel <triegel@redhat.com>
750 Rik Prohaska <prohaska7@gmail.com>
753 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
754 tst-rwlock-trywrlock-stall.
755 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
756 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
757 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
758 Set __wrphase_fute to 1 only if we started the write phase.
759 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
760 * nptl/tst-rwlock-trywrlock-stall.c: New file.
761 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
762 * support/xpthread_rwlock_destroy.c: New file.
763 * support/xthread.h: Declare xpthread_rwlock_destroy.
765 2019-02-01 Joseph Myers <joseph@codesourcery.com>
767 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
770 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
773 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
774 * libio/fileops.c (_IO_new_file_underflow): Likewise
775 * libio/wfileops.c (_IO_wfile_underflow): Likewise
776 * libio/putchar.c (putchar): Likewise.
777 * libio/putchar_u.c (putchar_unlocked): Likewise.
778 * libio/putwchar.c (putchar): Likewise.
779 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
780 * libio/tst-bz24051.c: New test.
781 * libio/Makefile (tests): Add tst-bz24051
783 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
785 regex: fix read overrun [BZ #24114]
786 Problem found by AddressSanitizer, reported by Hongxu Chen in:
787 https://debbugs.gnu.org/34140
788 * posix/regexec.c (proceed_next_node):
789 Do not read past end of input buffer.
791 2019-01-31 Florian Weimer <fweimer@redhat.com>
794 * nss/nss_files/files-alias.c (get_next_alias): Handle
795 continuation line without newline at the end.
796 * nss/tst-nss-files-alias-truncated.c: New file.
797 * nss/Makefile [$(build-shared)] (tests): Add
798 tst-nss-files-alias-truncated.
799 (tst-nss-files-alias-truncated): Link with libnss_files.so.
800 * support/namespace.h (struct support_chroot_configuration): Add
802 (struct support_chroot): Add path_aliases member.
803 * support/support_chroot.c (support_chroot_create): Handle
805 (support_chroot_free): Free path_aliases.
807 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
809 * version.h (RELEASE): Set to "development".
810 (VERSION): Set to "2.29.9000".
811 * NEWS: Add section for 2.30.
813 * version.h (RELEASE): Set to "stable".
814 (VERSION): Set to "2.29".
815 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
817 * NEWS: Add the list of bugs fixed in 2.29.
818 * manual/contrib.texi: Update contributors list with some more
820 * manual/install.texi: Update latest versions of packages
822 * INSTALL: Regenerated.
824 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
826 * po/be.po: Update translations.
827 * po/bg.po: Likewise.
828 * po/ca.po: Likewise.
829 * po/cs.po: Likewise.
830 * po/da.po: Likewise.
831 * po/de.po: Likewise.
832 * po/el.po: Likewise.
833 * po/eo.po: Likewise.
834 * po/es.po: Likewise.
835 * po/fi.po: Likewise.
836 * po/fr.po: Likewise.
837 * po/gl.po: Likewise.
838 * po/hr.po: Likewise.
839 * po/hu.po: Likewise.
840 * po/ia.po: Likewise.
841 * po/id.po: Likewise.
842 * po/it.po: Likewise.
843 * po/ja.po: Likewise.
844 * po/ko.po: Likewise.
845 * po/lt.po: Likewise.
846 * po/nb.po: Likewise.
847 * po/nl.po: Likewise.
848 * po/pl.po: Likewise.
849 * po/pt_BR.po: Likewise.
850 * po/ru.po: Likewise.
851 * po/rw.po: Likewise.
852 * po/sk.po: Likewise.
853 * po/sl.po: Likewise.
854 * po/sv.po: Likewise.
855 * po/tr.po: Likewise.
856 * po/uk.po: Likewise.
857 * po/vi.po: Likewise.
858 * po/zh_CN.po: Likewise.
859 * po/zh_TW.po: Likewise.
861 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
864 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
865 of $f3 register on $y_is_neg path.
867 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
870 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
871 sigaltstack.ss_flags.
873 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
876 * manual/time.texi (strftime): Document "%Ey".
877 * time/strftime_l.c (__strftime_internal): Set the default width
878 padding with zero of "%Ey" to 2.
881 * manual/time.texi (strftime): Document "%EC" and "%EY".
882 * time/Makefile (tests): Add tst-strftime2.
883 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
884 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
885 override padding for "%Ey".
886 If an optional flag ('_' or '-') is specified to "%EY", interpret the
887 "%Ey" in the subformat as if decorated with that flag.
888 * time/tst-strftime2.c: New file.
890 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
892 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
896 * elf/Makefile (tests): Add tst-audit13.
897 (modules-names): Add tst-audit13mod1.
898 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
900 * elf/rtld.c (dl_main): Handle invalid audit module version.
901 * elf/tst-audit13.c: New file.
902 * elf/tst-audit13mod1.c: Likewise.
904 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
906 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
907 returned by __hurd_at_flags.
908 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
909 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
910 directly instead of __hurd_file_name_lookup.
912 2019-01-21 Joseph Myers <joseph@codesourcery.com>
914 * scripts/build-many-glibcs.py (Context.checkout): Default
915 binutils version to 2.32 branch.
917 2019-01-21 Florian Weimer <fweimer@redhat.com>
921 resolv: Reject trailing characters in host names
922 * include/arpa/inet.h (__inet_aton_exact): Declare.
923 (inet_aton): Remove hidden prototype. No longer used internally.
924 * nscd/gai.c (__inet_aton): Do not define.
925 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
926 * nss/digits_dots.c (__inet_aton): Likewise.
927 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
928 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
929 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
930 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
931 (tst-resolv-trailing): Likewise.
932 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
934 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
935 Make static. Add endp parameter.
936 (__inet_aton_exact): New function.
937 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
938 (__inet_addr): Call inet_aton_end.
939 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
940 not just IPv6. Call __inet_aton_exact.
941 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
942 (tests): Make const. Add additional test cases with trailing
944 (do_test): Use array_length.
945 * resolv/tst-inet_aton_exact.c: New file.
946 * resolv/tst-resolv-trailing.c: Likewise.
947 * resolv/tst-resolv-nondecimal.c: Likewise.
948 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
950 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
954 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
955 Clear the upper 32 bits of RSI register.
956 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
957 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
958 and tst-size_t-wcsnlen.
959 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
960 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
962 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
966 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
967 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
968 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
969 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
970 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
972 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
976 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
977 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
978 * sysdeps/x86_64/strcmp.S: Likewise.
979 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
980 tst-size_t-strncmp and tst-size_t-wcsncmp.
981 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
982 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
983 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
985 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
989 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
990 RDX_LP for length. Clear the upper 32 bits of RDX register.
991 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
992 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
993 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
994 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
996 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1000 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
1001 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
1002 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
1003 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
1005 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1009 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
1010 length. Clear the upper 32 bits of RDX register.
1011 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1012 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
1014 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1016 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
1018 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
1020 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1024 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
1025 length. Clear the upper 32 bits of RDX register.
1026 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1027 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1028 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
1030 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
1031 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
1033 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1037 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
1038 upper 32 bits of RDX register.
1039 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
1040 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
1042 * sysdeps/x86_64/x32/test-size_t.h: New file.
1043 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
1044 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
1046 2019-01-18 Florian Weimer <fweimer@redhat.com>
1049 resolv: Do not send queries for non-host-names in nss_dns.
1050 * resolv/nss_dns/dns-host.c (check_name): New function.
1051 (_nss_dns_gethostbyname2_r): Use it.
1052 (_nss_dns_gethostbyname_r): Likewise.
1053 (_nss_dns_gethostbyname4_r): Likewise.
1055 2019-01-21 Florian Weimer <fweimer@redhat.com>
1057 * resolv/inet_addr.c: Reformat to GNU style.
1058 (__inet_addr, __inet_aton): Update comment.
1060 2019-01-18 Florian Weimer <fweimer@redhat.com>
1062 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
1063 ("malloc: Use current (C11-style) atomics for fastbin access").
1064 This commit introduces a substantial performance regression on
1066 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
1067 (REMOVE_FB): Define.
1068 (_int_malloc): Use it and reindent.
1069 (_int_free): Use CAS loop with
1070 catomic_compare_and_exchange_val_rel.
1071 (malloc_consolidate): Use atomic_exchange_acq.
1074 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
1076 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
1078 (LDFLAGS-tst-minsigstksz-2): Likewise.
1079 (LDFLAGS-tst-minsigstksz-3): Likewise.
1080 (LDFLAGS-tst-minsigstksz-3a): Likewise.
1081 (LDFLAGS-tst-minsigstksz-4): Likewise.
1083 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
1085 * manual/time.texi (strftime): Fix the wording to "alternative" rather
1088 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
1090 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
1092 2019-01-16 Zack Weinberg <zackw@panix.com>
1094 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
1095 (xget_sigstack_location): New test support functions.
1096 * support/xsigstack.c: New file, implementing them.
1097 * support/tst-xsigstack.c: New test for them.
1098 * support/Makefile: Update.
1100 * signal/tst-minsigstksz-1.c
1101 * signal/tst-minsigstksz-2.c
1102 * signal/tst-minsigstksz-3.c
1103 * signal/tst-minsigstksz-3a.c
1104 * signal/tst-minsigstksz-4.c: New tests.
1105 * signal/Makefile: Run them.
1107 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
1109 * po/libc.pot: Regenerate.
1111 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1113 * math/libm-test-fma.inc (fma_test_data): Set
1114 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
1116 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1118 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
1119 (do_test): Changed __vector __int128_t to __vector unsigned int.
1121 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
1123 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1124 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
1125 stpcpy-avx2 and stpncpy-avx2.
1126 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
1127 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
1128 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
1130 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
1131 ifunc-strcpy.h}: rename header for a more generic name.
1132 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
1133 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
1134 AVX unaligned load is fast and vzeroupper is preferred.
1135 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
1136 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
1137 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
1138 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
1139 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
1140 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
1142 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
1144 * argp/argp-help.c: Fix typo in comment.
1145 * misc/sys/cdefs.h: Likewise.
1146 * posix/regexec.c (sift_states_iter_mb): Likewise.
1147 * socket/sockatmark.c: Likewise.
1148 * socket/sys/socket.h: Likewise.
1149 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
1150 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
1151 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
1152 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1153 * sysdeps/unix/sockatmark.c: Likewise.
1154 * time/strptime_l.c: Likewise.
1156 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
1158 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
1159 missing space after the cast of "_NL_CURRENT".
1161 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1163 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
1164 ifdef to fix read of VSCR.
1165 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
1166 tst-ucontext-ppc64-vscr.c to test list.
1167 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
1169 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
1171 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
1174 2019-01-09 Jim Wilson <jimw@sifive.com>
1176 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
1178 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
1180 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
1181 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
1182 __memcpy_falkor for ares.
1183 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
1185 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1188 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
1191 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1192 4_FP_W_TYPEs are used for IEEE quad precision.
1193 * soft-fp/extendhftf2.c: Likewise.
1194 * soft-fp/extendsftf2.c: Likewise.
1195 * soft-fp/extendxftf2.c: Likewise.
1196 * soft-fp/trunctfdf2.c: Likewise.
1197 * soft-fp/trunctfhf2.c: Likewise.
1198 * soft-fp/trunctfsf2.c: Likewise.
1199 * soft-fp/trunctfxf2.c: Likewise.
1200 * sysdeps/alpha/ots_cvttx.c: Likewise.
1201 * sysdeps/alpha/ots_cvtxt.c: Likewise.
1202 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
1203 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
1204 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
1205 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
1206 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
1207 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
1208 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
1209 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
1210 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
1211 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
1212 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
1213 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
1214 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
1215 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
1216 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
1217 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
1219 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
1222 * Makeconfig: Build libm with -fno-math-errno but build the remaining
1223 code with -fmath-errno.
1224 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
1225 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
1226 * string/test-strerror-errno.c: New file.
1228 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
1231 * localedata/locales/en_US (date_fmt): Add, set to
1232 "%a %d %b %Y %r %Z".
1234 2019-01-07 Florian Weimer <fweimer@redhat.com>
1237 * manual/arith.texi (Math Error Reporting): Use @code{errno}
1238 instead of @var{errno}.
1239 (Parsing of Integers): Likewise.
1240 (Parsing of Floats): Likewise.
1241 * manual/filesys.texi (Working with Directory Trees): Likewise.
1242 (Temporary Files): Likewise.
1243 * manual/job.texi (Terminal Access Functions): Likewise.
1244 * manual/llio.texi (Synchronizing I/O): Likewise.
1245 * manual/math.texi (SVID Random): Likewise.
1246 * manual/message.texi (The catgets Functions): Likewise.
1247 (Translation with gettext): Likewise.
1248 (Locating gettext catalog): Likewise.
1249 (Charset conversion in gettext): Likewise.
1250 * manual/nss.texi (NSS Module Function Internals): Likewise.
1251 * manual/search.texi (Hash Search Function): Likewise.
1252 * manual/setjmp.texi (System V contexts): Likewise.
1253 * manual/time.texi (Sleeping): Likewise.
1254 * manual/users.texi (Lookup User): Likewise.
1255 (Lookup Group): Likewise.
1257 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1259 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
1262 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
1265 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
1266 __builtin_unreachable for default case in switch.
1267 (__ieee754_yn): Likewise.
1268 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1269 (__ieee754_ynl): Likewise.
1270 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1271 (__ieee754_ynl): Likewise.
1272 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1273 (__ieee754_ynl): Likewise.
1275 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1277 * manual/maint.texi: Use @{ and @}.
1279 2019-01-04 Florian Weimer <fweimer@redhat.com>
1281 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
1283 (do_in_chroot_1): Call it.
1285 Improve error reporting in case it is not possible to create a
1286 collision for the PTY name required by the test.
1288 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1290 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
1291 lll_wait_tid with timeout.
1292 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
1293 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
1294 futex_reltimed_wait_cancelable for cancelabla mode.
1295 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
1296 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
1298 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
1299 * sysdeps/posix/waitid.c (__sigwait): Likewise.
1300 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
1301 SYSCALL_CANCEL_NCS): New macro.
1302 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
1303 (lll_timedwait_tid): Remove macro.
1304 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
1306 (lll_timedwait_tid): Likewise.
1307 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
1309 (lll_timedwait_tid): Likewise.
1310 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
1312 (lll_timedwait_tid): Likewise.
1313 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
1314 Use INTERNAL_SYSCALL_CANCEL.
1315 * sysdeps/unix/sysv/linux/futex-internal.h
1316 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
1317 instead of __pthread_{enable,disable}_asynccancel.
1318 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1319 (lll_futex_wait_cancel): New macro.
1321 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
1322 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
1324 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
1325 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
1327 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
1328 in backtrace analysis.
1329 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
1331 (tf_send): Likewise.
1333 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
1334 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
1335 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
1336 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
1337 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
1338 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
1339 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
1340 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
1341 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
1342 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
1343 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
1344 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
1346 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
1347 tst-cancel-wrappers.sh.
1348 (generated): Remove tst-cancel-wrappers.out.
1349 (tst-cancel-wrappers.out): Remove rule.
1350 * nptl/tst-cancel-wrappers.sh: Remove file.
1352 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1354 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
1355 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1358 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1361 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
1362 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
1363 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
1364 close-on-exec reset for adddup2 file action.
1365 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
1367 2019-01-03 Zack Weinberg <zackw@panix.com>
1369 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
1370 parameter. Only use deprecated scanf when __USE_GNU is defined
1371 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
1372 than 201103L, whichever is relevant for the language being compiled.
1374 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
1375 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
1376 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
1377 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
1378 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
1382 * libio/iovswscanf.c
1387 * stdio-common/fscanf.c
1388 * stdio-common/scanf.c
1389 * stdio-common/vfscanf.c
1390 * stdio-common/vfwscanf.c
1391 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1392 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
1393 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
1394 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
1395 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
1396 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
1397 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
1398 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
1399 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
1400 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
1401 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
1402 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
1403 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
1404 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
1405 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
1407 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
1408 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
1409 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
1411 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
1412 with a preprocessor macro.
1414 * stdio-common/bug21.c, stdio-common/scanf14.c:
1415 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
1416 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
1417 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
1418 to xscanf, xfscanf, xsscanf.
1420 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
1421 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
1422 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
1423 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
1425 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
1426 override feature selection macros or provide definitions of u_char etc.
1427 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
1428 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
1429 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
1432 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1434 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1435 bits/termios-misc.h.
1436 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
1437 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1438 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1439 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1440 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
1441 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
1443 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
1444 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
1445 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
1446 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
1447 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
1448 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
1450 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
1451 (sysdep_headers): Add termios-misc.h.
1453 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
1454 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1455 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1457 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1459 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
1460 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
1461 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
1462 TCSAFLUSH): Move to termios-tcflow.h.
1463 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1464 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1465 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1466 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1468 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1470 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
1471 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
1472 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
1473 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
1474 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
1475 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
1476 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
1477 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
1479 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1480 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1481 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1482 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1484 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1486 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
1487 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
1488 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
1489 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
1490 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
1492 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1493 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1494 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1495 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1498 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1500 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
1501 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
1502 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
1503 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
1504 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
1505 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
1506 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
1507 __MAX_BAUD): Move to termios-baud.h.
1508 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
1509 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
1510 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1511 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1512 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1514 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1516 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
1517 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
1518 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
1519 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
1520 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
1521 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
1523 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
1524 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
1526 [USE_MISC] (XTABS): Likewise.
1527 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1528 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1529 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1530 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
1532 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
1534 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
1535 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
1536 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
1537 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
1538 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
1539 IUTF8): Move to termios-c_iflag.h.
1540 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1541 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1542 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1543 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1545 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
1547 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
1548 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
1549 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
1550 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
1551 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
1552 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
1553 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
1554 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
1555 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1556 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1557 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1558 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1560 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
1561 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
1562 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
1563 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
1564 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1566 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
1568 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
1570 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
1572 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
1574 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
1576 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
1577 _HAVE_C_OSPEED): Define.
1578 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
1579 _HAVE_C_OSPEED): Likewise.
1580 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
1581 _HAVE_C_OSPEED): Likewise.
1582 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
1583 (cfsetospeed): Check for define value instead of existence.
1584 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
1585 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
1586 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
1587 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
1588 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
1591 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
1593 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
1594 (TIOCSER_TEMT): Likewise.
1595 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
1596 (TEOCSER_TEMT): Likewise.
1598 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
1601 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
1603 2019-01-02 Joseph Myers <joseph@codesourcery.com>
1605 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
1607 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
1609 * sysdeps/htl/pt-barrierattr-setpshared.c
1610 (pthread_barrierattr_setpshared): Add stub warning.
1611 * sysdeps/htl/pt-condattr-setpshared.c
1612 (pthread_condattr_setpshared): Likewise.
1613 * sysdeps/htl/pt-mutexattr-setpshared.c
1614 (pthread_mutexattr_setpshared): Likewise.
1615 * sysdeps/htl/pt-rwlockattr-setpshared.c
1616 (pthread_rwlockattr_setpshared): Likewise.
1617 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
1618 (pthread_mutexattr_setpshared): Likewise.
1620 2019-01-02 Joseph Myers <joseph@codesourcery.com>
1622 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
1623 constants to match with Linux 4.20.
1625 * sysdeps/mips/mips32/libm-test-ulps: Update.
1626 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1628 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
1631 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
1632 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
1633 than __typeof (...) for the a_ptr variable.
1635 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1637 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
1638 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
1639 * libio/Makefile (tests): Add tst-sprintf-ub and
1641 (CFLAGS-tst-sprintf-ub.c): New variable.
1642 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
1643 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
1644 destination buffer and check for overflows in fortified mode.
1645 * libio/libioP.h (PRINTF_CHK): New macro.
1646 * libio/tst-sprintf-chk-ub.c: New file.
1647 * libio/tst-sprintf-ub.c: Likewise.
1649 2019-01-02 Florian Weimer <fweimer@redhat.com>
1652 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
1655 2019-01-02 Florian Weimer <fweimer@redhat.com>
1657 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
1659 2019-01-01 Joseph Myers <joseph@codesourcery.com>
1661 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
1664 * sysdeps/unix/sysv/linux/netpacket/packet.h
1665 (PACKET_IGNORE_OUTGOING): New macro.
1667 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
1670 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1672 (riscv_flush_icache): New syscall.
1674 * manual/texinfo.tex: Update to version 2018-12-28.17 with
1675 trailing whitespace removed.
1676 * scripts/config.guess: Update to version 2019-01-01.
1677 * scripts/config.sub: Update to version 2019-01-01.
1678 * scripts/move-if-change: Update from gnulib.
1680 * NEWS: Update copyright dates.
1681 * catgets/gencat.c (print_version): Likewise.
1682 * csu/version.c (banner): Likewise.
1683 * debug/catchsegv.sh: Likewise.
1684 * debug/pcprofiledump.c (print_version): Likewise.
1685 * debug/xtrace.sh (do_version): Likewise.
1686 * elf/ldconfig.c (print_version): Likewise.
1687 * elf/ldd.bash.in: Likewise.
1688 * elf/pldd.c (print_version): Likewise.
1689 * elf/sotruss.sh: Likewise.
1690 * elf/sprof.c (print_version): Likewise.
1691 * iconv/iconv_prog.c (print_version): Likewise.
1692 * iconv/iconvconfig.c (print_version): Likewise.
1693 * locale/programs/locale.c (print_version): Likewise.
1694 * locale/programs/localedef.c (print_version): Likewise.
1695 * login/programs/pt_chown.c (print_version): Likewise.
1696 * malloc/memusage.sh (do_version): Likewise.
1697 * malloc/memusagestat.c (print_version): Likewise.
1698 * malloc/mtrace.pl: Likewise.
1699 * manual/libc.texinfo: Likewise.
1700 * nptl/version.c (banner): Likewise.
1701 * nscd/nscd.c (print_version): Likewise.
1702 * nss/getent.c (print_version): Likewise.
1703 * nss/makedb.c (print_version): Likewise.
1704 * posix/getconf.c (main): Likewise.
1705 * scripts/test-installation.pl: Likewise.
1706 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1708 * All files with FSF copyright notices: Update copyright dates
1709 using scripts/update-copyrights.
1710 * locale/programs/charmap-kw.h: Regenerated.
1711 * locale/programs/locfile-kw.h: Likewise.
1713 2018-12-31 Joseph Myers <joseph@codesourcery.com>
1715 * timezone/zdump.c: Update from tzcode 2018i.
1716 * timezone/zic.c: Likewise.
1718 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
1720 regex: improve Gnulib port to AIX
1721 From the glibc point of view, this removes duplicate macro
1722 definitions and is obviously safe.
1723 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
1724 * posix/regex_internal.h:
1725 (__attribute__, __attribute_warn_unused_result__):
1726 Remove; already defined elsewhere.
1728 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
1731 * malloc/malloc.c (_int_realloc): Always call memcpy for the
1732 copying operation. (ncopies had the wrong type, resulting in an
1733 integer wraparound and too few elements being copied.)
1735 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
1738 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
1739 <asm/syscalls.h> exists with __has_include__ before including it.
1741 2018-12-31 Joseph Myers <joseph@codesourcery.com>
1743 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1746 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
1748 * hurd/lookup-retry: Include <unistd.h>.
1749 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
1750 Release it on return. Handle "pid" magical lookup retry.
1752 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
1755 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
1756 (t_fmt_ampm): Likewise.
1757 * localedata/locales/aa_ER (t_fmt): Likewise.
1758 (t_fmt_ampm): Likewise.
1759 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
1760 (t_fmt_ampm): Likewise.
1761 * localedata/locales/aa_ET (t_fmt): Likewise.
1762 (t_fmt_ampm): Likewise.
1763 * localedata/locales/am_ET (t_fmt): Likewise.
1764 (t_fmt_ampm): Likewise.
1765 * localedata/locales/byn_ER (t_fmt): Likewise.
1766 (t_fmt_ampm): Likewise.
1767 * localedata/locales/om_ET (t_fmt): Likewise.
1768 (t_fmt_ampm): Likewise.
1769 * localedata/locales/sid_ET (t_fmt): Likewise.
1770 (t_fmt_ampm): Likewise.
1771 * localedata/locales/so_DJ (t_fmt): Likewise.
1772 (t_fmt_ampm): Likewise.
1773 * localedata/locales/so_ET (t_fmt): Likewise.
1774 (t_fmt_ampm): Likewise.
1775 * localedata/locales/so_SO (t_fmt): Likewise.
1776 (t_fmt_ampm): Likewise.
1777 * localedata/locales/ti_ER (t_fmt): Likewise.
1778 (t_fmt_ampm): Likewise.
1779 * localedata/locales/ti_ET (t_fmt): Likewise.
1780 (t_fmt_ampm): Likewise.
1781 * localedata/locales/tig_ER (t_fmt): Likewise.
1782 (t_fmt_ampm): Likewise.
1783 * localedata/locales/wal_ET (t_fmt): Likewise.
1784 (t_fmt_ampm): Likewise.
1786 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
1787 * localedata/locales/ar_IN (t_fmt): Likewise.
1788 * localedata/locales/bhb_IN (t_fmt): Likewise.
1789 * localedata/locales/bho_IN (t_fmt): Likewise.
1790 * localedata/locales/bi_VU (t_fmt): Likewise.
1791 * localedata/locales/bn_BD (t_fmt): Likewise.
1792 * localedata/locales/bn_IN (t_fmt): Likewise.
1793 * localedata/locales/brx_IN (t_fmt): Likewise.
1794 * localedata/locales/doi_IN (t_fmt): Likewise.
1795 * localedata/locales/en_HK (t_fmt): Likewise.
1796 (t_fmt_ampm): Likewise.
1797 * localedata/locales/en_IN (t_fmt): Likewise.
1798 * localedata/locales/en_PH (t_fmt): Likewise.
1799 * localedata/locales/gu_IN (t_fmt): Likewise.
1800 * localedata/locales/hi_IN (t_fmt): Likewise.
1801 * localedata/locales/hif_FJ (t_fmt): Likewise.
1802 * localedata/locales/hne_IN (t_fmt): Likewise.
1803 * localedata/locales/kn_IN (t_fmt): Likewise.
1804 * localedata/locales/kok_IN (t_fmt): Likewise.
1805 * localedata/locales/ks_IN (t_fmt): Likewise.
1806 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
1807 * localedata/locales/mag_IN (t_fmt): Likewise.
1808 * localedata/locales/mai_IN (t_fmt): Likewise.
1809 * localedata/locales/mjw_IN (t_fmt): Likewise.
1810 * localedata/locales/ml_IN (t_fmt): Likewise.
1811 * localedata/locales/mni_IN (t_fmt): Likewise.
1812 * localedata/locales/mr_IN (t_fmt): Likewise.
1813 * localedata/locales/ms_MY (t_fmt): Likewise.
1814 * localedata/locales/pa_IN (t_fmt): Likewise.
1815 * localedata/locales/raj_IN (t_fmt): Likewise.
1816 * localedata/locales/sa_IN (t_fmt): Likewise.
1817 * localedata/locales/sat_IN (t_fmt): Likewise.
1818 * localedata/locales/sd_IN (t_fmt): Likewise.
1819 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
1820 * localedata/locales/tcy_IN (t_fmt): Likewise.
1821 * localedata/locales/the_NP (t_fmt): Likewise.
1822 * localedata/locales/to_TO (t_fmt): Likewise.
1823 * localedata/locales/ur_IN (t_fmt): Likewise.
1825 * localedata/locales/hif_FJ (d_t_fmt): Set to
1826 "%A %d %b %Y %I:%M:%S %p".
1827 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
1829 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
1830 * localedata/locales/ar_BH (t_fmt): Likewise.
1831 * localedata/locales/ar_DZ (t_fmt): Likewise.
1832 * localedata/locales/ar_EG (t_fmt): Likewise.
1833 * localedata/locales/ar_IQ (t_fmt): Likewise.
1834 * localedata/locales/ar_JO (t_fmt): Likewise.
1835 * localedata/locales/ar_KW (t_fmt): Likewise.
1836 * localedata/locales/ar_LB (t_fmt): Likewise.
1837 * localedata/locales/ar_LY (t_fmt): Likewise.
1838 * localedata/locales/ar_OM (t_fmt): Likewise.
1839 * localedata/locales/ar_QA (t_fmt): Likewise.
1840 * localedata/locales/ar_SD (t_fmt): Likewise.
1841 * localedata/locales/ar_SS (t_fmt): Likewise.
1842 * localedata/locales/ar_SY (t_fmt): Likewise.
1843 * localedata/locales/ar_TN (t_fmt): Likewise.
1844 * localedata/locales/ar_YE (t_fmt): Likewise.
1846 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
1847 (t_fmt_ampm): Likewise.
1848 * localedata/locales/gez_ET (t_fmt): Likewise.
1849 (t_fmt_ampm): Likewise.
1851 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
1852 (t_fmt_ampm): Likewise.
1853 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
1855 * localedata/locales/zh_HK (t_fmt):
1856 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
1858 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
1859 because this locale does not use the 12-hour clock.
1860 (t_fmt): Set to "%Z %H:%M:%S".
1861 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
1863 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
1864 because this locale does not use the 12-hour clock.
1865 (t_fmt): Set to "%H:%M:%S %Z".
1866 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
1868 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
1869 because this locale does not use the 12-hour clock.
1870 (t_fmt): Set to "%T".
1871 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
1872 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
1874 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
1875 because this locale does not use the 12-hour clock.
1876 (t_fmt): Set to "%H:%M:%S %Z".
1877 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
1879 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
1880 because this locale does not use the 12-hour clock.
1881 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
1882 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
1884 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
1888 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
1889 (t_fmt_ampm): Likewise.
1890 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
1891 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
1892 (d_fmt): Set to "%-d.%-m.%y".
1894 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1896 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
1897 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
1898 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
1900 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
1901 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
1902 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
1904 * support/blob_repeat.c (check_mul_overflow_size_t,
1905 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
1907 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
1909 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
1911 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
1913 regex: simplify Gnulib port
1914 This simplifies the code, by removing stuff intended for porting
1915 to Gnulib but no longer needed there.
1916 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
1917 uses of libc_hidden_def, weak_alias.
1918 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
1919 _Restrict_ except for public-facing headers.
1920 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
1921 Remove; already defined elsewhere.
1922 * posix/regex.c, posix/regex_internal.h:
1923 Use __GNUC_PREREQ instead of rolling our own.
1924 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
1926 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
1928 * benchtests/bench-strlen.c (generic_strlen): New function.
1929 (memchr_strlen): New function.
1931 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1933 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
1934 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
1935 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
1937 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1939 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1941 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1943 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
1944 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
1945 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
1946 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
1947 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
1948 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
1949 <sysdeps/ieee754/flt-32/s_sincosf.c>.
1951 2018-12-21 Joseph Myers <joseph@codesourcery.com>
1954 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
1955 PLT reference in libc.so.
1956 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
1957 _Q_lltoq and _Q_qtod PLT references in libc.so.
1959 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
1961 * benchtests/bench-memchr.c: Cleanup defines.
1962 * benchtests/bench-memcmp.c: Likewise.
1963 * benchtests/bench-memset.c: Likewise.
1964 * benchtests/bench-memset-large.c: Likewise.
1965 * benchtests/bench-memset-walk.c: Likewise.
1966 * benchtests/bench-stpcpy.c: Likewise.
1967 * benchtests/bench-stpncpy.c: Likewise.
1968 * benchtests/bench-strcat.c: Likewise.
1969 * benchtests/bench-strchr.c: Likewise.
1970 * benchtests/bench-strcmp.c: Likewise.
1971 * benchtests/bench-strcpy.c: Likewise.
1972 * benchtests/bench-strcspn.c: Likewise.
1973 * benchtests/bench-string.h: Likewise.
1974 * benchtests/bench-strlen.c: Likewise.
1975 * benchtests/bench-strncat.c: Likewise.
1976 * benchtests/bench-strncmp.c: Likewise.
1977 * benchtests/bench-strncpy.c: Likewise.
1978 * benchtests/bench-strnlen.c: Likewise.
1979 * benchtests/bench-strpbrk.c: Likewise.
1980 * benchtests/bench-strrchr.c: Likewise.
1981 * benchtests/bench-strspn.c: Likewise.
1983 2018-12-21 Joseph Myers <joseph@codesourcery.com>
1985 * stdlib/longlong.h: Update from GCC.
1988 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
1989 * configure: Regenerated.
1990 * manual/install.texi (Tools for Compilation): Update minimum GCC
1992 * INSTALL: Regenerated.
1994 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
1996 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
1998 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
2000 * malloc/malloc.c (mremap_chunk): Additional checks.
2002 2018-12-21 Mao Han <han_mao@c-sky.com>
2004 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
2005 * scripts/build-many-glibcs.py: Add C-SKY targets.
2006 * sysdeps/csky/Implies: New file.
2007 * sysdeps/csky/Makefile: Likewise.
2008 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
2009 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
2010 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
2011 * sysdeps/csky/abiv2/memcmp.S: Likewise.
2012 * sysdeps/csky/abiv2/memcpy.S: Likewise.
2013 * sysdeps/csky/abiv2/memmove.S: Likewise.
2014 * sysdeps/csky/abiv2/memset.S: Likewise.
2015 * sysdeps/csky/abiv2/setjmp.S: Likewise.
2016 * sysdeps/csky/abiv2/start.S: Likewise.
2017 * sysdeps/csky/abiv2/strcmp.S: Likewise.
2018 * sysdeps/csky/abiv2/strcpy.S: Likewise.
2019 * sysdeps/csky/abiv2/strlen.S: Likewise.
2020 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
2021 * sysdeps/csky/abort-instr.h: Likewise.
2022 * sysdeps/csky/atomic-machine.h: Likewise.
2023 * sysdeps/csky/bits/endian.h: Likewise.
2024 * sysdeps/csky/bits/fenv.h: Likewise.
2025 * sysdeps/csky/bits/link.h: Likewise.
2026 * sysdeps/csky/bits/setjmp.h: Likewise.
2027 * sysdeps/csky/bsd-_setjmp.S: Likewise.
2028 * sysdeps/csky/bsd-setjmp.S: Likewise.
2029 * sysdeps/csky/configure: Likewise.
2030 * sysdeps/csky/configure.ac: Likewise.
2031 * sysdeps/csky/dl-machine.h: Likewise.
2032 * sysdeps/csky/dl-procinfo.c: Likewise.
2033 * sysdeps/csky/dl-procinfo.h: Likewise.
2034 * sysdeps/csky/dl-sysdep.h: Likewise.
2035 * sysdeps/csky/dl-tls.h: Likewise.
2036 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
2037 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
2038 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
2039 * sysdeps/csky/fpu/fegetenv.c: Likewise.
2040 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
2041 * sysdeps/csky/fpu/fegetmode.c: Likewise.
2042 * sysdeps/csky/fpu/fegetround.c: Likewise.
2043 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
2044 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
2045 * sysdeps/csky/fpu/fenv_private.h: Likewise.
2046 * sysdeps/csky/fpu/fesetenv.c: Likewise.
2047 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
2048 * sysdeps/csky/fpu/fesetmode.c: Likewise.
2049 * sysdeps/csky/fpu/fesetround.c: Likewise.
2050 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
2051 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
2052 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
2053 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
2054 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
2055 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
2056 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
2057 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
2058 * sysdeps/csky/fpu_control.h: Likewise.
2059 * sysdeps/csky/gccframe.h: Likewise.
2060 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
2061 * sysdeps/csky/ldsodefs.h: Likewise.
2062 * sysdeps/csky/libc-tls.c: Likewise.
2063 * sysdeps/csky/linkmap.h: Likewise.
2064 * sysdeps/csky/machine-gmon.h: Likewise.
2065 * sysdeps/csky/memusage.h: Likewise.
2066 * sysdeps/csky/nofpu/Implies: Likewise.
2067 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
2068 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
2069 * sysdeps/csky/nptl/Makefile: Likewise.
2070 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
2071 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
2072 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
2073 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
2074 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
2075 * sysdeps/csky/nptl/tls.h: Likewise.
2076 * sysdeps/csky/preconfigure: Likewise.
2077 * sysdeps/csky/sfp-machine.h: Likewise.
2078 * sysdeps/csky/sotruss-lib.c: Likewise.
2079 * sysdeps/csky/stackinfo.h: Likewise.
2080 * sysdeps/csky/sysdep.h: Likewise.
2081 * sysdeps/csky/tininess.h: Likewise.
2082 * sysdeps/csky/tst-audit.h: Likewise.
2083 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
2084 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
2085 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
2086 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
2087 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
2088 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
2089 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
2090 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
2091 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
2092 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
2093 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
2094 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
2095 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
2096 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
2097 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
2098 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
2099 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
2100 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
2101 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
2102 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
2103 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
2104 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
2105 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
2106 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
2107 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
2108 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
2109 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
2110 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
2111 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
2112 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
2113 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
2114 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
2115 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
2116 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
2117 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
2118 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
2119 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
2120 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
2121 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
2122 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
2123 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
2124 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
2125 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
2126 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
2128 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
2130 * include/time.h (__difftime64): Add.
2131 * time/difftime.c (subtract): convert to 64-bit time.
2132 * time/difftime.c (__difftime64): Add.
2133 * time/difftime.c (__difftime): Wrap around __difftime64.
2135 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
2137 * manual/examples/add.c: Remove redundant "if not".
2138 * manual/examples/argp-ex1.c: Likewise.
2139 * manual/examples/argp-ex2.c: Likewise.
2140 * manual/examples/argp-ex3.c: Likewise.
2141 * manual/examples/argp-ex4.c: Likewise.
2142 * manual/examples/atexit.c: Likewise.
2143 * manual/examples/db.c: Likewise.
2144 * manual/examples/dir.c: Likewise.
2145 * manual/examples/dir2.c: Likewise.
2146 * manual/examples/execinfo.c: Likewise.
2147 * manual/examples/filecli.c: Likewise.
2148 * manual/examples/filesrv.c: Likewise.
2149 * manual/examples/fmtmsgexpl.c: Likewise.
2150 * manual/examples/genpass.c: Likewise.
2151 * manual/examples/inetcli.c: Likewise.
2152 * manual/examples/inetsrv.c: Likewise.
2153 * manual/examples/isockad.c: Likewise.
2154 * manual/examples/longopt.c: Likewise.
2155 * manual/examples/memopen.c: Likewise.
2156 * manual/examples/memstrm.c: Likewise.
2157 * manual/examples/mkdirent.c: Likewise.
2158 * manual/examples/mkfsock.c: Likewise.
2159 * manual/examples/mkisock.c: Likewise.
2160 * manual/examples/mygetpass.c: Likewise.
2161 * manual/examples/pipe.c: Likewise.
2162 * manual/examples/popen.c: Likewise.
2163 * manual/examples/rprintf.c: Likewise.
2164 * manual/examples/search.c: Likewise.
2165 * manual/examples/select.c: Likewise.
2166 * manual/examples/setjmp.c: Likewise.
2167 * manual/examples/sigh1.c: Likewise.
2168 * manual/examples/sigusr.c: Likewise.
2169 * manual/examples/stpcpy.c: Likewise.
2170 * manual/examples/strdupa.c: Likewise.
2171 * manual/examples/strftim.c: Likewise.
2172 * manual/examples/subopt.c: Likewise.
2173 * manual/examples/swapcontext.c: Likewise.
2174 * manual/examples/termios.c: Likewise.
2175 * manual/examples/testopt.c: Likewise.
2176 * manual/examples/testpass.c: Likewise.
2177 * manual/examples/timeval_subtract.c: Likewise.
2179 2018-12-19 Joseph Myers <joseph@codesourcery.com>
2181 * sysdeps/x86/fpu/math_private.h: New file.
2182 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
2184 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
2189 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2191 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
2192 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
2193 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
2194 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
2196 (_dl_show_auxv): Give a special treatment to
2197 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
2198 and AT_L3_CACHEGEOMETRY.
2199 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
2200 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
2201 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
2202 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
2204 2018-12-19 Andreas Schwab <schwab@suse.de>
2206 * nscd/connections.c (check_use): Don't abort on invalid len.
2208 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
2210 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
2211 values in the 64bit value cases.
2213 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
2219 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
2225 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
2228 (__gmtime64_r): Add.
2230 (__gmtime64_r): Add.
2231 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
2237 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
2240 (__localtime64_r): Add.
2242 (__localtime64_r): Add.
2243 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
2245 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2247 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
2248 kernel_sigction definition.
2250 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
2252 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
2254 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
2255 __syscall_rt_sigaction.
2256 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
2257 (kernel_sigaction): Use Linux generic defintion.
2259 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
2260 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
2261 (__syscall_rt_sigaction): Remove implementation.
2262 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
2264 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
2265 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
2266 INTERNAL_SYSCALL): Remove definitions.
2267 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
2268 action and signal set size.
2269 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
2270 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
2272 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2273 James Clarke <jrtc27@jrtc27.com>
2276 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
2277 Define if SA_RESTORER is defined.
2278 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
2279 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
2281 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
2282 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
2284 (HAS_SA_RESTORER): Define.
2285 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
2286 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
2287 (HAS_SA_RESTORER): Define.
2288 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
2289 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
2290 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
2291 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
2292 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2294 2018-12-18 Joseph Myers <joseph@codesourcery.com>
2296 * sysdeps/unix/sysv/linux/kernel-features.h
2297 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
2298 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2299 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
2300 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2301 (__ASSUME_ST_INO_64_BIT): Likewise.
2302 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2303 <kernel-features.h>.
2304 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2305 Remove conditional code.
2306 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2307 <kernel-features.h>.
2308 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2309 Remove conditional code.
2310 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
2311 <kernel-features.h>.
2312 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2313 Remove conditional code.
2314 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
2315 <kernel-features.h>.
2316 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
2317 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
2319 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2321 * sysdeps/s390/multiarch/ifunc-resolve.h
2322 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
2323 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
2324 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
2325 Delete macro definition.
2326 (s390_libc_ifunc_init): Rename to
2327 s390_libc_ifunc_expr_stfle_init.
2328 * sysdeps/s390/bzero: Use
2329 s390_libc_ifunc_expr_stfle_init instead of
2330 s390_libc_ifunc_init.
2331 * sysdeps/s390/memcmp.c: Likewise.
2332 * sysdeps/s390/memcpy.c: Likewise.
2333 * sysdeps/s390/mempcpy.c: Likewise.
2334 * sysdeps/s390/memset.c: Likewise.
2336 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2338 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
2339 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
2341 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2343 * sysdeps/s390/multiarch/Makefile
2344 (sysdep_routines): Remove wmemcmp variants.
2345 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
2346 * sysdeps/s390/multiarch/ifunc-impl-list.c
2347 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
2348 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
2349 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
2350 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
2351 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
2352 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
2353 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
2354 * sysdeps/s390/ifunc-wmemcmp.h: New file.
2356 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2358 * sysdeps/s390/multiarch/Makefile
2359 (sysdep_routines): Remove wmemset variants.
2360 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
2361 * sysdeps/s390/multiarch/ifunc-impl-list.c
2362 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
2363 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
2364 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
2365 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
2366 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
2367 * sysdeps/s390/multiarch/wmemset.c: Move to ...
2368 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
2369 * sysdeps/s390/ifunc-wmemset.h: New file.
2371 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2373 * sysdeps/s390/multiarch/Makefile
2374 (sysdep_routines): Remove wmemchr variants.
2375 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
2376 * sysdeps/s390/multiarch/ifunc-impl-list.c
2377 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
2378 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
2379 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
2380 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
2381 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
2382 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
2383 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
2384 * sysdeps/s390/ifunc-wmemchr.h: New file.
2386 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2388 * sysdeps/s390/multiarch/Makefile
2389 (sysdep_routines): Remove wcscspn variants.
2390 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
2391 * sysdeps/s390/multiarch/ifunc-impl-list.c
2392 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
2393 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
2394 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
2395 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
2396 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
2397 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
2398 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
2399 * sysdeps/s390/ifunc-wcscspn.h: New file.
2401 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2403 * sysdeps/s390/multiarch/Makefile
2404 (sysdep_routines): Remove wcspbrk variants.
2405 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
2406 * sysdeps/s390/multiarch/ifunc-impl-list.c
2407 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
2408 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
2409 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
2410 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
2411 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
2412 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
2413 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
2414 * sysdeps/s390/ifunc-wcspbrk.h: New file.
2416 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2418 * sysdeps/s390/multiarch/Makefile
2419 (sysdep_routines): Remove wcsspn variants.
2420 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
2421 * sysdeps/s390/multiarch/ifunc-impl-list.c
2422 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
2423 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
2424 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
2425 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
2426 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
2427 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
2428 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
2429 * sysdeps/s390/ifunc-wcsspn.h: New file.
2431 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2433 * sysdeps/s390/multiarch/Makefile
2434 (sysdep_routines): Remove wcsrchr variants.
2435 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
2436 * sysdeps/s390/multiarch/ifunc-impl-list.c
2437 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
2438 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
2439 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
2440 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
2441 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
2442 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
2443 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
2444 * sysdeps/s390/ifunc-wcsrchr.h: New file.
2446 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2448 * sysdeps/s390/multiarch/Makefile
2449 (sysdep_routines): Remove wcschrnul variants.
2450 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
2451 * sysdeps/s390/multiarch/ifunc-impl-list.c
2452 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
2453 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
2454 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
2455 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
2456 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
2457 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
2458 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
2459 * sysdeps/s390/ifunc-wcschrnul.h: New file.
2461 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2463 * sysdeps/s390/multiarch/Makefile
2464 (sysdep_routines): Remove wcschr variants.
2465 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
2466 * sysdeps/s390/multiarch/ifunc-impl-list.c
2467 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
2468 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
2469 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
2470 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
2471 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
2472 * sysdeps/s390/multiarch/wcschr.c: Move to ...
2473 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
2474 * sysdeps/s390/ifunc-wcschr.h: New file.
2476 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2478 * sysdeps/s390/multiarch/Makefile
2479 (sysdep_routines): Remove wcsncmp variants.
2480 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
2481 * sysdeps/s390/multiarch/ifunc-impl-list.c
2482 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
2483 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
2484 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
2485 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
2486 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
2487 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
2488 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
2489 * sysdeps/s390/ifunc-wcsncmp.h: New file.
2491 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2493 * sysdeps/s390/multiarch/Makefile
2494 (sysdep_routines): Remove wcscmp variants.
2495 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
2496 * sysdeps/s390/multiarch/ifunc-impl-list.c
2497 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
2498 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
2499 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
2500 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
2501 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
2502 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
2503 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
2504 * sysdeps/s390/ifunc-wcscmp.h: New file.
2506 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2508 * sysdeps/s390/multiarch/Makefile
2509 (sysdep_routines): Remove wcsncat variants.
2510 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
2511 * sysdeps/s390/multiarch/ifunc-impl-list.c
2512 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
2513 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
2514 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
2515 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
2516 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
2517 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
2518 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
2519 * sysdeps/s390/ifunc-wcsncat.h: New file.
2521 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2523 * sysdeps/s390/multiarch/Makefile
2524 (sysdep_routines): Remove wcscat variants.
2525 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
2526 * sysdeps/s390/multiarch/ifunc-impl-list.c
2527 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
2528 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
2529 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
2530 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
2531 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
2532 * sysdeps/s390/multiarch/wcscat.c: Move to ...
2533 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
2534 * sysdeps/s390/ifunc-wcscat.h: New file.
2536 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2538 * sysdeps/s390/multiarch/Makefile
2539 (sysdep_routines): Remove wcpncpy variants.
2540 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
2541 * sysdeps/s390/multiarch/ifunc-impl-list.c
2542 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
2543 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
2544 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
2545 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
2546 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
2547 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
2548 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
2549 * sysdeps/s390/ifunc-wcpncpy.h: New file.
2551 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2553 * sysdeps/s390/multiarch/Makefile
2554 (sysdep_routines): Remove wcsncpy variants.
2555 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
2556 * sysdeps/s390/multiarch/ifunc-impl-list.c
2557 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
2558 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
2559 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
2560 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
2561 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
2562 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
2563 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
2564 * sysdeps/s390/ifunc-wcsncpy.h: New file.
2566 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2568 * sysdeps/s390/multiarch/Makefile
2569 (sysdep_routines): Remove wcpcpy variants.
2570 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
2571 * sysdeps/s390/multiarch/ifunc-impl-list.c
2572 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
2573 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
2574 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
2575 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
2576 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
2577 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
2578 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
2579 * sysdeps/s390/ifunc-wcpcpy.h: New file.
2581 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2583 * sysdeps/s390/multiarch/Makefile
2584 (sysdep_routines): Remove wcscpy variants.
2585 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
2586 * sysdeps/s390/multiarch/ifunc-impl-list.c
2587 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
2588 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
2589 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
2590 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
2591 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
2592 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
2593 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
2594 * sysdeps/s390/ifunc-wcscpy.h: New file.
2596 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2598 * sysdeps/s390/multiarch/Makefile
2599 (sysdep_routines): Remove wcsnlen variants.
2600 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
2601 * sysdeps/s390/multiarch/ifunc-impl-list.c
2602 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
2603 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
2604 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
2605 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
2606 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
2607 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
2608 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
2609 * sysdeps/s390/ifunc-wcsnlen.h: New file.
2611 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2613 * sysdeps/s390/multiarch/Makefile
2614 (sysdep_routines): Remove wcslen variants.
2615 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
2616 * sysdeps/s390/multiarch/ifunc-impl-list.c
2617 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
2618 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
2619 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
2620 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
2621 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
2622 * sysdeps/s390/multiarch/wcslen.c: Move to ...
2623 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
2624 * sysdeps/s390/ifunc-wcslen.h: New file.
2626 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2628 * sysdeps/s390/multiarch/Makefile
2629 (sysdep_routines): Remove memrchr variants.
2630 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
2631 * sysdeps/s390/multiarch/ifunc-impl-list.c
2632 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
2633 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
2634 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
2635 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
2636 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
2637 * sysdeps/s390/multiarch/memrchr.c: Move to ...
2638 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
2639 * sysdeps/s390/ifunc-memrchr.h: New file.
2641 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2643 * sysdeps/s390/multiarch/Makefile
2644 (sysdep_routines): Remove memccpy variants.
2645 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
2646 * sysdeps/s390/multiarch/ifunc-impl-list.c
2647 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
2648 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
2649 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
2650 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
2651 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
2652 * sysdeps/s390/multiarch/memccpy.c: Move to ...
2653 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
2654 * sysdeps/s390/ifunc-memccpy.h: New file.
2656 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2658 * sysdeps/s390/multiarch/Makefile
2659 (sysdep_routines): Remove rawmemchr variants.
2660 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
2661 * sysdeps/s390/multiarch/ifunc-impl-list.c
2662 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
2663 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
2664 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
2665 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
2666 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
2667 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
2668 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
2669 * sysdeps/s390/ifunc-rawmemchr.h: New file.
2671 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2673 * sysdeps/s390/multiarch/Makefile
2674 (sysdep_routines): Remove memchr variants.
2675 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
2676 * sysdeps/s390/multiarch/ifunc-impl-list.c
2677 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
2678 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
2679 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
2680 * sysdeps/s390/multiarch/memchr.c: Move to ...
2681 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
2682 * sysdeps/s390/ifunc-memchr.h: New file.
2683 * sysdeps/s390/s390-64/memchr.S: Move to ...
2684 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
2685 for 31/64bit and ifunc handling.
2686 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
2687 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
2688 * sysdeps/s390/s390-32/memchr.S: Likewise.
2690 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2692 * sysdeps/s390/multiarch/Makefile
2693 (sysdep_routines): Remove strcspn variants.
2694 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
2695 * sysdeps/s390/multiarch/ifunc-impl-list.c
2696 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
2697 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
2698 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
2699 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
2700 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
2701 * sysdeps/s390/multiarch/strcspn.c: Move to ...
2702 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
2703 * sysdeps/s390/ifunc-strcspn.h: New file.
2705 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2707 * sysdeps/s390/multiarch/Makefile
2708 (sysdep_routines): Remove strpbrk variants.
2709 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
2710 * sysdeps/s390/multiarch/ifunc-impl-list.c
2711 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
2712 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
2713 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
2714 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
2715 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
2716 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
2717 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
2718 * sysdeps/s390/ifunc-strpbrk.h: New file.
2720 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2722 * sysdeps/s390/multiarch/Makefile
2723 (sysdep_routines): Remove strspn variants.
2724 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
2725 * sysdeps/s390/multiarch/ifunc-impl-list.c
2726 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
2727 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
2728 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
2729 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
2730 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
2731 * sysdeps/s390/multiarch/strspn.c: Move to ...
2732 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
2733 * sysdeps/s390/ifunc-strspn.h: New file.
2735 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2737 * sysdeps/s390/multiarch/Makefile
2738 (sysdep_routines): Remove strrchr variants.
2739 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
2740 * sysdeps/s390/multiarch/ifunc-impl-list.c
2741 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
2742 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
2743 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
2744 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
2745 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
2746 * sysdeps/s390/multiarch/strrchr.c: Move to ...
2747 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
2748 * sysdeps/s390/ifunc-strrchr.h: New file.
2750 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2752 * sysdeps/s390/multiarch/Makefile
2753 (sysdep_routines): Remove strchrnul variants.
2754 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
2755 * sysdeps/s390/multiarch/ifunc-impl-list.c
2756 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
2757 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
2758 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
2759 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
2760 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
2761 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
2762 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
2763 * sysdeps/s390/ifunc-strchrnul.h: New file.
2765 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2767 * sysdeps/s390/multiarch/Makefile
2768 (sysdep_routines): Remove strchr variants.
2769 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
2770 * sysdeps/s390/multiarch/ifunc-impl-list.c
2771 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
2772 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
2773 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
2774 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
2775 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
2776 * sysdeps/s390/multiarch/strchr.c: Move to ...
2777 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
2778 * sysdeps/s390/ifunc-strchr.h: New file.
2780 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2782 * sysdeps/s390/multiarch/Makefile
2783 (sysdep_routines): Remove strncmp variants.
2784 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
2785 * sysdeps/s390/multiarch/ifunc-impl-list.c
2786 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
2787 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
2788 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
2789 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
2790 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
2791 * sysdeps/s390/multiarch/strncmp.c: Move to ...
2792 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
2793 * sysdeps/s390/ifunc-strncmp.h: New file.
2795 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2797 * sysdeps/s390/multiarch/Makefile
2798 (sysdep_routines): Remove strcmp variants.
2799 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
2800 * sysdeps/s390/multiarch/ifunc-impl-list.c
2801 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
2802 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
2803 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
2804 * sysdeps/s390/multiarch/strcmp.c: Move to ...
2805 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
2806 * sysdeps/s390/ifunc-strcmp.h: New file.
2807 * sysdeps/s390/s390-64/strcmp.S: Move to ...
2808 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
2809 for 31/64bit and ifunc handling.
2810 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
2811 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
2812 * sysdeps/s390/s390-32/strcmp.S: Likewise.
2814 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2816 * sysdeps/s390/multiarch/Makefile
2817 (sysdep_routines): Remove strncat variants.
2818 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
2819 * sysdeps/s390/multiarch/ifunc-impl-list.c
2820 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
2821 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
2822 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
2823 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
2824 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
2825 * sysdeps/s390/multiarch/strncat.c: Move to ...
2826 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
2827 * sysdeps/s390/ifunc-strncat.h: New file.
2829 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2831 * sysdeps/s390/multiarch/Makefile
2832 (sysdep_routines): Remove strcat variants.
2833 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
2834 * sysdeps/s390/multiarch/ifunc-impl-list.c
2835 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
2836 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
2837 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
2838 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
2839 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
2840 * sysdeps/s390/multiarch/strcat.c: Move to ...
2841 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
2842 * sysdeps/s390/ifunc-strcat.h: New file.
2844 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2846 * sysdeps/s390/multiarch/Makefile
2847 (sysdep_routines): Remove stpncpy variants.
2848 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
2849 * sysdeps/s390/multiarch/ifunc-impl-list.c
2850 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
2851 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
2852 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
2853 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
2854 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
2855 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
2856 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
2857 * sysdeps/s390/ifunc-stpncpy.h: New file.
2859 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2861 * sysdeps/s390/multiarch/Makefile
2862 (sysdep_routines): Remove strncpy variants.
2863 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
2864 * sysdeps/s390/multiarch/ifunc-impl-list.c
2865 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
2866 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
2867 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
2868 * sysdeps/s390/multiarch/strncpy.c: Move to ...
2869 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
2870 * sysdeps/s390/ifunc-strncpy.h: New file.
2871 * sysdeps/s390/s390-64/strncpy.S: Move to ...
2872 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
2873 and adjust ifunc handling.
2874 * sysdeps/s390/s390-32/strncpy.S: Move to ...
2875 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
2876 and adjust ifunc handling.
2877 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
2878 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
2880 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2882 * sysdeps/s390/multiarch/Makefile
2883 (sysdep_routines): Remove stpcpy variants.
2884 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
2885 * sysdeps/s390/multiarch/ifunc-impl-list.c
2886 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
2887 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
2888 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
2889 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
2890 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
2891 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
2892 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
2893 * sysdeps/s390/ifunc-stpcpy.h: New file.
2895 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2897 * sysdeps/s390/multiarch/Makefile
2898 (sysdep_routines): Remove strcpy variants.
2899 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
2900 * sysdeps/s390/multiarch/ifunc-impl-list.c
2901 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
2902 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
2903 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
2904 * sysdeps/s390/multiarch/strcpy.c: Move to ...
2905 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
2906 * sysdeps/s390/ifunc-strcpy.h: New file.
2907 * sysdeps/s390/s390-64/strcpy.S: Move to ...
2908 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
2909 for 31/64bit and ifunc handling.
2910 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
2911 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
2912 * sysdeps/s390/s390-32/strcpy.S: Likewise.
2914 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2916 * sysdeps/s390/multiarch/Makefile
2917 (sysdep_routines): Remove strnlen variants.
2918 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
2919 * sysdeps/s390/multiarch/ifunc-impl-list.c
2920 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
2921 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
2922 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
2923 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
2924 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
2925 * sysdeps/s390/multiarch/strnlen.c: Move to ...
2926 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
2927 * sysdeps/s390/ifunc-strnlen.h: New file.
2929 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2931 * sysdeps/s390/multiarch/Makefile
2932 (sysdep_routines): Remove strlen variants.
2933 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
2934 * sysdeps/s390/multiarch/ifunc-impl-list.c
2935 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
2936 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
2937 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
2938 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
2939 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
2940 * sysdeps/s390/multiarch/strlen.c: Move to ...
2941 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
2942 * sysdeps/s390/ifunc-strlen.h: New file.
2944 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2946 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
2947 * sysdeps/s390/multiarch/ifunc-impl-list.c
2948 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
2949 * sysdeps/s390/ifunc-memmem.h: New file.
2950 * sysdeps/s390/memmem.c: Likewise.
2951 * sysdeps/s390/memmem-c.c: Likewise.
2952 * sysdeps/s390/memmem-vx.c: Likewise.
2954 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2956 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
2957 * sysdeps/s390/multiarch/ifunc-impl-list.c
2958 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
2959 * sysdeps/s390/ifunc-strstr.h: New file.
2960 * sysdeps/s390/strstr.c: Likewise.
2961 * sysdeps/s390/strstr-c.c: Likewise.
2962 * sysdeps/s390/strstr-vx.c: Likewise.
2964 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2966 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
2967 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
2968 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
2969 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
2971 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
2972 * sysdeps/s390/memmove-c.c: New file.
2973 * sysdeps/s390/memmove.c: Likewise.
2974 * sysdeps/s390/multiarch/ifunc-impl-list.c
2975 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
2977 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2979 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
2980 * sysdeps/s390/configure.ac: Add check for z13 support.
2981 * sysdeps/s390/configure: Regenerated.
2983 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2985 * sysdeps/s390/memcopy.h: New file.
2987 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2989 * sysdeps/s390/s390-32/bcopy.S: Remove.
2990 * sysdeps/s390/s390-64/bcopy.S: Likewise.
2992 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2994 * sysdeps/s390/ifunc-memcpy.h: New File.
2995 * sysdeps/s390/memcpy.S: Move to ...
2996 * sysdeps/s390/memcpy-z900.S ... here.
2997 Move implementations from memcpy-s390x.s to here.
2998 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
2999 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3000 Remove memcpy/mempcpy variants.
3001 * sysdeps/s390/Makefile (sysdep_routines):
3002 Add memcpy/mempcpy variants.
3003 * sysdeps/s390/multiarch/ifunc-impl-list.c
3004 (__libc_ifunc_impl_list): Adjust ifunc variants for
3006 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
3008 * sysdeps/s390/memcpy.c: ... here.
3009 Adjust ifunc variants for memcpy.
3010 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
3011 * sysdeps/s390/mempcpy.c: ... here.
3012 Adjust ifunc variants for mempcpy.
3013 * sysdeps/s390/mempcpy.S: Delete file.
3015 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3017 * sysdeps/s390/s390-64/memcpy.S: Move to ...
3018 * sysdeps/s390/memcpy.S: ... here.
3019 Adjust to be usable for 31/64bit.
3020 * sysdeps/s390/s390-32/memcpy.S: Delete File.
3021 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
3022 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
3023 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3024 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
3025 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
3026 Adjust to be usable for 31/64bit.
3027 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
3028 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
3029 * sysdeps/s390/multiarch/memcpy.c: ... here.
3030 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
3032 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3034 * sysdeps/s390/ifunc-memcmp.h: New File.
3035 * sysdeps/s390/memcmp.S: Move to ...
3036 * sysdeps/s390/memcmp-z900.S ... here.
3037 Move implementations from memcmp-s390x.s to here.
3038 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
3039 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3040 Remove memcmp variants.
3041 * sysdeps/s390/Makefile (sysdep_routines):
3042 Add memcmp variants.
3043 * sysdeps/s390/multiarch/ifunc-impl-list.c
3044 (__libc_ifunc_impl_list): Adjust ifunc variants for
3046 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
3048 * sysdeps/s390/memcmp.c: ... here.
3049 Adjust ifunc variants for memcmp.
3051 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3053 * sysdeps/s390/s390-64/memcmp.S: Move to ...
3054 * sysdeps/s390/memcmp.S: ... here.
3055 Adjust to be usable for 31/64bit.
3056 * sysdeps/s390/s390-32/memcmp.S: Delete File.
3057 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
3058 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3060 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3061 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
3062 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
3063 Adjust to be usable for 31/64bit.
3064 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
3065 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
3066 * sysdeps/s390/multiarch/memcmp.c: ... here.
3067 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
3069 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3071 * sysdeps/s390/s390-32/bzero.S: Delete file.
3072 * sysdeps/s390/s390-64/bzero.S: Likewise.
3073 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
3074 * sysdeps/s390/bzero.c: New file.
3075 * sysdeps/s390/memset-z900.S: Add bzero entry points.
3076 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
3077 * sysdeps/s390/multiarch/ifunc-impl-list.c
3078 (__libc_ifunc_impl_list): Add bzero ifunc variants.
3080 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3082 * sysdeps/s390/ifunc-memset.h: New File.
3083 * sysdeps/s390/memset.S: Move to ...
3084 * sysdeps/s390/memset-z900.S ... here.
3085 Move implementations from memset-s390x.s to here.
3086 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
3087 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3088 Remove memset variants.
3089 * sysdeps/s390/Makefile (sysdep_routines):
3090 Add memset variants.
3091 * sysdeps/s390/multiarch/ifunc-impl-list.c
3092 (__libc_ifunc_impl_list): Adjust ifunc variants for
3094 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
3096 * sysdeps/s390/memset.c: ... here.
3097 Adjust ifunc variants for memset.
3099 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3101 * sysdeps/s390/s390-64/memset.S: Move to ...
3102 * sysdeps/s390/memset.S: ... here.
3103 Adjust to be usable for 31/64bit.
3104 * sysdeps/s390/s390-32/memset.S: Delete File.
3105 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
3106 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3108 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3109 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
3110 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
3111 Adjust to be usable for 31/64bit.
3112 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
3113 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
3114 * sysdeps/s390/multiarch/memset.c: ... here.
3115 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
3117 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3119 * sysdeps/s390/multiarch/ifunc-resolve.h
3120 (s390_libc_ifunc_init, s390_libc_ifunc,
3121 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
3123 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3125 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
3126 * sysdeps/s390/configure.ac: Add check for z10 support.
3127 * sysdeps/s390/configure: Regenerated.
3129 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
3131 * sysdeps/i386/atomic-machine.h: Merged with ...
3132 * sysdeps/x86_64/atomic-machine.h: To ...
3133 * sysdeps/x86/atomic-machine.h: This. New file.
3135 2018-12-18 Florian Weimer <fweimer@redhat.com>
3137 Rewrite locale/gen-translit.pl in Python.
3138 * locale/Makefile (generated): Add C-translit.h.
3139 (before-compile): Add $(objpfx)C-translit.h.
3140 (C-translit.h): Move to $(objpfx). Create target directory.
3141 Build using Python script.
3142 * locale/gen-translit.py: New file.
3143 * locale/gen-translit.pl: Remove file.
3144 * locale/C-translit.h.in: Change comment character to '#' for
3145 easier parsing without a C preprocessor.
3146 * locale/C-translit.h: Remove generated file.
3147 * manual/install.texi (Tools for Compilation): Do not mention
3149 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
3150 Remove locale/C-translit.h.
3151 * scripts/update-copyrights: Likewise.
3152 * INSTALL: Regenerate.
3154 2018-12-18 Florian Weimer <fweimer@redhat.com>
3157 * localedata/locales/bi_VU: Remove executable bit from file.
3159 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
3162 (__localtime64): Add.
3163 * manual/maint.texi: Document Y2038 symbol handling.
3165 (__localtime64): Add.
3166 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
3168 2018-12-17 Joseph Myers <joseph@codesourcery.com>
3170 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
3173 * scripts/glibcextract.py (compare_macro_consts): Take parameters
3174 to allow extra macros from first or second sources.
3175 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
3176 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
3177 (tests-special): Add $(objpfx)tst-mman-consts.out.
3178 ($(objpfx)tst-mman-consts.out): New makefile target.
3180 2018-12-17 Mao Han <han_mao@c-sky.com>
3182 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
3183 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
3184 without stat64 system call support.
3185 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
3186 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
3187 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3188 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
3189 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
3190 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
3191 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
3192 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
3193 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
3194 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
3195 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
3197 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
3199 regex: fix storage-exhaustion error
3201 * posix/regexec.c (get_subexp):
3202 Do not continue if storage is exhausted.
3204 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
3206 regex: fix heap-use-after-free error
3208 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
3209 https://debbugs.gnu.org/32592
3210 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
3211 call extend_buffers which reallocates the re_string_t internal buffer.
3212 Local variable 'buf' was not updated in such case, resulting in
3214 * posix/regexec.c (get_subexp): Update 'buf' after call to
3217 2018-12-15 Florian Weimer <fweimer@redhat.com>
3219 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
3220 (minimum_stride_size): Use it.
3221 (support_blob_repeat_allocate): Likewise.
3223 2018-12-14 Joseph Myers <joseph@codesourcery.com>
3225 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
3230 2018-12-14 Florian Weimer <fweimer@redhat.com>
3232 * manual/process.texi (Process Creation Concepts): Remove
3233 documentation of process (ID) lifetime. List more process
3234 creation functions. Reference Process Identification section.
3235 (Process Identification): Add information about process ID
3236 lifetime. Describe Linux thread/task IDs.
3237 * manual/signal.texi (Signaling Another Process): Mention that the
3238 signal is always sent to the process.
3240 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3242 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
3243 and tst-ldbl-efgcvt.
3244 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
3245 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
3246 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
3247 (fcvt_tests, output_error, output_r_error, do_test): Use the
3248 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
3249 select the type of floating-point variables and arguments; to
3250 produce extra tests for double and conversion specifiers for
3251 printf; and to set the names of called functions.
3252 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
3253 in tst-efgcvt-template.c.
3254 * misc/tst-ldbl-efgcvt.c: Likewise.
3256 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
3258 * nss/Makefile (tst-nss-test3.out): New rule.
3260 2018-12-13 Joseph Myers <joseph@codesourcery.com>
3262 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
3265 2018-12-13 fanjinke <fanjinke@hygon.cn>
3267 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
3270 2018-12-13 Andreas Schwab <schwab@suse.de>
3273 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
3274 (__pthread_rwlock_rdlock_full): Update expected value for
3275 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
3276 * nptl/tst-rwlock-pwn.c: New file.
3277 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3279 2018-12-12 Joseph Myers <joseph@codesourcery.com>
3281 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
3284 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3286 * benchtests/scripts/compare_bench.py (do_compare): write to
3287 stderr in casestat is not present.
3288 * benchtests/scripts/compare_bench.py (plot_graphs): write to
3289 stderr in case timings field is not present. Also string showing
3290 the output filename goes into the stderr.
3292 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3294 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
3295 and ZeroDivisorError exceptions.
3296 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
3297 argument to loop through user provided statistics.
3298 * benchtests/scripts/compare_bench.py (main): Include the --stats
3301 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3303 * benchtests/scripts/compare_bench.py (compare_runs): Continue
3306 2018-12-12 Florian Weimer <fweimer@redhat.com>
3308 * sysdeps/posix/timespec_get.c: Add missing “any later version”
3309 clause to copyright header.
3311 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3314 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
3315 registers saved in the stack frame.
3316 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
3317 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
3319 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3321 * include/bits/monetary-ldbl.h: New file.
3322 * include/bits/printf-ldbl.h: Likewise.
3323 * include/bits/stdio-ldbl.h: Likewise.
3324 * include/bits/stdlib-ldbl.h: Likewise.
3325 * include/bits/syslog-ldbl.h: Likewise.
3326 * include/bits/wchar-ldbl.h: Likewise.
3328 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3330 * libio/libio.h: Remove redirection for _IO_vfprintf.
3332 2018-12-11 Andreas Schwab <schwab@suse.de>
3334 * Makerules: Remove all references to abilist-pattern.
3335 (update-all-abi): Simplify find expression.
3337 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3340 * math/auto-libm-test-in: Add new test case.
3341 * math/auto-libm-test-out-pow: Regenerated.
3342 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
3344 2018-12-10 DJ Delorie <dj@redhat.com>
3347 * support/test-container.c: Move postclean step to before we
3350 2018-12-10 Joseph Myers <joseph@codesourcery.com>
3352 * scripts/gen-as-const.py (main): Handle --python option.
3353 * scripts/gen-py-const.awk: Remove.
3354 * Makerules (py-const-script): Use gen-as-const.py.
3355 ($(py-const)): Likewise.
3356 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
3357 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
3358 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
3359 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
3360 ~PTHREAD_MUTEX_NO_ELISION_NP.
3361 * manual/README.pretty-printers: Update reference to
3364 * scripts/glibcextract.py: New file.
3365 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
3366 or tempfile. Import glibcexctract.
3367 (compute_c_consts): Remove. Moved to glibcextract.py.
3368 (gen_test): Update reference to compute_c_consts.
3370 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
3371 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
3372 * sysdeps/unix/sysv/linux/Makefile
3373 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
3374 Redirect stderr as well as stdout.
3376 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
3379 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
3380 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
3381 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
3382 ALWAYS_USE_VSYSCALL.
3383 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
3384 ALWAYS_USE_VSYSCALL.
3385 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
3386 ALWAYS_USE_VSYSCALL.
3388 2018-12-10 Florian Weimer <fweimer@redhat.com>
3391 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
3392 offset instead of count for clarity. Fix typo in comment.
3393 (__old_getdents64): Keep track of previous offset. Use it to call
3395 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
3396 that d_off is never zero.
3398 2018-12-10 Andreas Schwab <schwab@suse.de>
3400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
3401 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
3402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
3403 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
3404 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
3406 2018-12-10 Joseph Myers <joseph@codesourcery.com>
3408 * timezone/private.h: Update from tzcode 2018g.
3409 * timezone/tzfile.h: Likewise.
3410 * timezone/tzselect.ksh: Likewise.
3411 * timezone/zdump.c: Likewise.
3412 * timezone/zic.c: Likewise.
3414 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3417 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
3418 (do_test): Adjust buffer size and fix format.
3420 2018-12-07 DJ Delorie <dj@redhat.com>
3423 * malloc/tst-tcfree3.c: New.
3424 * malloc/Makefile: Add it.
3426 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
3428 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
3430 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3432 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
3433 used as a mask for the mode argument of __vfscanf_internal and
3434 __vfwscanf_internal.
3435 * stdio-common/vfscanf-internal.c
3436 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
3437 (__strtof128_internal): Define to __wcstof128_internal.
3438 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
3439 __strtof128_internal or __wcstof128_internal when the format of
3440 long double is the same as _Float128.
3442 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
3444 * include/unistd.h (__confstr): Add prototype and hidden prototype.
3445 * posix/confstr.c (confstr): Rename to __confstr.
3446 (__confstr): Add hidden def.
3447 (confstr): Add weak alias for __confstr.
3448 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
3451 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
3453 * NEWS: Mention getcpu.
3454 * include/sched.h (__getcpu): New libc_hidden_proto.
3455 * manual/resource.texi: Document getcpu.
3456 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
3457 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
3458 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
3459 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3460 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3461 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3462 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3463 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3464 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3465 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3466 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3467 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3468 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
3470 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3471 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3472 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3481 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
3482 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3483 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3484 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3485 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3486 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3487 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3488 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3489 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
3490 * sysdeps/unix/sysv/linux/getcpu.c: New file.
3491 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
3494 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3496 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
3498 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
3500 2018-12-07 Florian Weimer <fweimer@redhat.com>
3503 * posix/Makefile (routines): Add spawn_faction_addfchdir.
3504 * posix/Versions (GLIBC_2.29): Export
3505 posix_spawn_file_actions_addfchdir_np.
3506 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
3507 * posix/spawn_faction_destroy.c
3508 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
3509 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
3510 and the field action.fchdir_action.
3511 * posix/tst-spawn-chdir.c (add_chdir): New function.
3512 (do_test): Add do_fchdir loop. Call add_chdir.
3513 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
3514 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3515 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
3516 posix_spawn_file_actions_addfchdir_np.
3517 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
3519 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
3521 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
3522 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
3524 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
3526 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
3528 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
3530 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
3532 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
3534 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3535 (GLIBC_2.29): Likewise.
3536 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3537 (GLIBC_2.29): Likewise.
3538 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3539 (GLIBC_2.29): Likewise.
3540 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3541 (GLIBC_2.29): Likewise.
3542 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
3544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3545 (GLIBC_2.29): Likewise.
3546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3547 (GLIBC_2.29): Likewise.
3548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3549 (GLIBC_2.29): Likewise.
3550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3551 (GLIBC_2.29): Likewise.
3552 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
3554 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
3556 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
3558 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
3559 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
3561 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
3563 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
3565 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
3568 2018-12-06 Joseph Myers <joseph@codesourcery.com>
3570 * manual/texinfo.tex: Update to version 2018-09-21.20 with
3571 trailing whitespace removed.
3572 * scripts/config.guess: Update to version 2018-11-28.
3573 * scripts/config.sub: Update to version 2018-11-28.
3574 * scripts/install-sh: Update to version 2018-03-11.20.
3575 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
3576 * scripts/move-if-change: Update to version 2018-03-07 03:47.
3578 2018-12-07 Florian Weimer <fweimer@redhat.com>
3582 * inet/tst-if_index-long.c: New file.
3583 * inet/Makefile (tests): Add tst-if_index-long.
3585 2018-12-07 Florian Weimer <fweimer@redhat.com>
3587 * support/check.h (support_record_failure_is_failed): Declare.
3588 * support/descriptors.h: New file.
3589 * support/support_descriptors.c: Likewise.
3590 * support/tst-support_descriptors.c: Likewise.
3591 * support/support_record_failure.c
3592 (support_record_failure_is_failed): New function.
3593 * support/Makefile (libsupport-routines): Add support_descriptors.
3594 (tests): Add tst-support_descriptors.
3596 2018-12-05 Zack Weinberg <zackw@panix.com>
3597 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3599 * stdio-common/vfprintf-internal.c
3600 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
3601 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
3602 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
3603 and __no_long_double.
3604 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
3605 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
3606 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
3607 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
3608 and __nldbl_*syslog* functions.
3609 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
3610 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
3611 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
3612 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
3613 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
3614 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
3615 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
3616 (__nldbl_vwprintf, __nldbl_wprintf):
3617 Directly call the appropriate __v*printf_internal routine, passing
3618 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
3620 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
3621 (__nldbl___printf_chk, __nldbl___snprintf_chk)
3622 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
3623 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
3624 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
3625 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
3626 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
3627 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
3628 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
3629 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
3630 Likewise, and also pass PRINTF_FORTIFY when appropriate.
3631 (__nldbl_syslog, __nldbl_vsyslog):
3632 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
3633 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
3635 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
3638 2018-12-05 Zack Weinberg <zackw@panix.com>
3639 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3642 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
3643 Moved here from debug/vsprintf_chk.c.
3644 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
3645 and completion logic for the strfile to match exactly what
3646 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
3647 _IO_str_init_static_internal instead of maxlen-1.
3648 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
3649 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
3650 __vsprintf_internal.
3652 * debug/vsprintf_chk.c (__vsprintf_chk)
3653 * debug/sprintf_chk.c (__sprintf_chk):
3654 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
3655 'flags' argument is positive, and slen as maxlen. No need to lock
3656 the FILE and/or construct a temporary FILE. Minimize and normalize
3657 header inclusions and variable names. Do not libc_hidden_def anything.
3659 * debug/asprintf_chk.c (__asprintf_chk)
3660 * debug/dprintf_chk.c (__dprintf_chk)
3661 * debug/fprintf_chk.c (__fprintf_chk)
3662 * debug/fwprintf_chk.c (__fwprintf_chk)
3663 * debug/printf_chk.c (__printf_chk)
3664 * debug/snprintf_chk.c (__snprintf_chk)
3665 * debug/swprintf_chk.c (__swprintf_chk)
3666 * debug/vasprintf_chk.c (__vasprintf_chk)
3667 * debug/vdprintf_chk.c (__vdprintf_chk)
3668 * debug/vfprintf_chk.c (__vfprintf_chk)
3669 * debug/vfwprintf_chk.c (__vfwprintf_chk)
3670 * debug/vprintf_chk.c (__vprintf_chk)
3671 * debug/vsnprintf_chk.c (__vsnprintf_chk)
3672 * debug/vswprintf_chk.c (__vswprintf_chk)
3673 * debug/vwprintf_chk.c (__vwprintf_chk)
3674 * debug/wprintf_chk.c (__wprintf_chk):
3675 Directly call the corresponding vxxprintf_internal function, passing
3676 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
3677 the FILE and/or construct a temporary FILE. Minimize and normalize
3678 header inclusions and variable names. Do not libc_hidden_def anything.
3680 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
3681 __obstack_vprintf_internal.
3682 (__obstack_vprintf_chk): Convert into a wrapper that calls
3683 __obstack_vprintf_internal (these two functions already had the
3684 same code) and move to new file...
3685 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
3687 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
3688 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
3689 * debug/Makefile (routines): Add vobprintf_chk.
3691 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3692 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
3693 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
3694 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
3695 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
3696 (__nldbl___obstack_vfprintf_chk):
3697 Directly call the corresponding vxxprintf_internal function,
3698 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
3699 duplicate comparison of slen with 0 or maxlen from the corresponding
3700 non-__nldbl function.
3702 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
3703 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
3704 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
3705 Remove libc_hidden_proto.
3707 * stdio-common/vfprintf-internal.c
3708 (__vfprintf_internal, __vfwprintf_internal):
3709 Do not check _IO_FLAGS2_FORTIFY.
3710 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
3711 * libio/libioP.h: Update prototype of __vsprintf_internal and add
3712 a comment explaining why it has the maxlen argument.
3713 (_IO_acquire_lock_clear_flags2_fct): Remove.
3714 (_IO_acquire_lock_clear_flags2): Remove.
3715 (_IO_release_lock): Remove conditional statement which will
3717 (_IO_acquire_lock): Remove variable which is now unused.
3718 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
3719 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
3721 * stdio-common/Makefile (tests): Add tst-bz11319 and
3722 tst-bz11319-fortify2.
3723 (CFLAGS-tst-bz11319-fortify2.c): New macro.
3724 * stdio-common/tst-bz11319-fortify2.c: New file.
3725 * stdio-common/tst-bz11319.c: Likewise.
3727 2018-12-05 Zack Weinberg <zackw@panix.com>
3728 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3730 * misc/syslog.c: Include libioP.h, not iolibio.h.
3731 (__vsyslog_internal): New function with the former body of
3732 __vsyslog_chk; takes mode_flags argument same as
3733 __v*printf_internal. Call __vfprintf_internal directly.
3735 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
3736 Remove libc_hidden_def.
3737 (__syslog, __syslog_chk): Use __vsyslog_internal.
3738 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
3740 * include/sys/syslog.h: Add multiple inclusion guard.
3741 Add prototype for __vsyslog_internal.
3742 Remove declaration and libc_hidden_proto for __vsyslog_chk.
3744 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
3745 Use __vsyslog_internal.
3747 2018-12-05 Zack Weinberg <zackw@panix.com>
3748 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3750 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
3751 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
3752 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
3754 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
3755 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
3757 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
3758 Include wctype.h here if COMPILE_WPRINTF is defined.
3759 Define __vfprintf_internal or __vfwprintf_internal, depending
3761 Temporarily, on entry to this function, update mode_flags
3762 according to the environmental settings corresponding to
3763 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
3764 Throughout, check mode_flags instead of __ldbl_is_dbl and
3765 _IO_FLAGS2_FORTIFY on the destination FILE.
3766 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
3767 Include vfprintf-internal.c. Don't include wctype.h.
3768 * stdio-common/vfprintf.c: New file. Just define __vfprintf
3769 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
3771 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
3772 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
3774 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
3776 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
3777 and add mode_flags argument; use __vfprintf_internal.
3778 (__vdprintf): New function. Alias vdprintf to this.
3779 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
3780 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
3781 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
3782 (__obstack_printf): Use __obstack_printf_internal.
3783 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
3784 public aliases __vsnprintf and vsnprintf.
3785 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
3787 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
3788 public aliases _IO_vsprintf and vsprintf.
3789 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
3790 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
3791 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
3792 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
3793 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
3795 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
3796 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
3797 * stdio-common/fprintf.c, stdio-common/fxprintf.c
3798 * stdio-common/printf.c: Use __vfprintf_internal.
3800 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
3801 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
3802 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
3804 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
3805 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
3806 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
3807 __vfwprintf_internal.
3809 * libio/libio.h: Remove libc_hidden_proto and declaration for
3811 Remove declaration of _IO_vfwprintf.
3812 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
3814 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
3816 * include/stdio.h: Add prototype for __vasprintf.
3817 (__vsnprintf): Remove declaration, because there are no more
3819 * include/wchar.h (__vfwprintf, __vswprintf): Remove
3820 declaration, because there are no more internal calls.
3822 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
3823 __vsnprintf_internal, instead of _IO_vsnprintf.
3824 * argp/argp-help.c (__argp_error, __argp_failure): Use
3825 __vasprintf_internal, instead of _IO_vasprintf.
3826 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
3827 redefine, because there are no more internal calls.
3829 2018-12-05 Zack Weinberg <zackw@panix.com>
3830 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3832 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
3833 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
3834 Include libio/strfile.h instead of libioP.h.
3835 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
3836 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
3837 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
3838 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
3839 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
3840 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
3841 necessary. Do not set __no_long_double. Normalize variable names.
3842 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
3843 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
3844 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
3845 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
3846 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
3847 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
3848 Call __vfscanf_internal / __vfwscanf_internal directly, passing
3849 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
3850 Do not set __no_long_double. Normalize variable names.
3852 2018-12-05 Zack Weinberg <zackw@panix.com>
3853 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3855 * stdio-common/isoc99_scanf.c
3856 * stdio-common/isoc99_fscanf.c
3857 * stdio-common/isoc99_sscanf.c
3858 * stdio-common/isoc99_vscanf.c
3859 * stdio-common/isoc99_vfscanf.c
3860 * stdio-common/isoc99_vsscanf.c
3861 * wcsmbs/isoc99_wscanf.c
3862 * wcsmbs/isoc99_fwscanf.c
3863 * wcsmbs/isoc99_swscanf.c
3864 * wcsmbs/isoc99_vwscanf.c
3865 * wcsmbs/isoc99_vfwscanf.c
3866 * wcsmbs/isoc99_vswscanf.c:
3867 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
3868 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
3869 No need to lock and unlock the FILE passed to that function.
3871 * stdio-common/vfscanf-internal.c
3872 (__vfscanf_internal, __vfwscanf_internal):
3873 Don't look at _IO_FLAGS2_SCANF_STD.
3874 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
3875 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
3876 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
3878 2018-12-05 Zack Weinberg <zackw@panix.com>
3879 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3881 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
3882 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
3883 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
3884 * libio/strfile.h: Add multiple inclusion guard.
3885 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
3887 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
3888 consistency with the other version of this file.
3889 (ldbl_compat_symbol): New macro.
3890 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
3893 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
3894 Define __vfscanf_internal or __vfwscanf_internal, depending on
3895 COMPILE_WSCANF; don't define any other public symbols.
3896 Remove errval and code to set errp.
3897 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
3898 as the mode_flags argument.
3899 (encode_error, conv_error, input_error): Don't set errval.
3900 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
3901 Include vfscanf-internal.c.
3902 * stdio-common/vfscanf.c: New file defining the public entry
3903 point vfscanf, which calls __vfscanf_internal.
3904 * stdio-common/vfwscanf.c: New file defining the public entry
3905 point vfwscanf, which calls __vfwscanf_internal.
3907 * stdio-common/iovfscanf.c: New file.
3908 * stdio-common/iovfwscanf.c: Likewise.
3910 * stdio-common/Makefile (routines): Add vfscanf-internal,
3911 vfwscanf-internal, iovfscanf, iovfwscanf.
3912 * stdio-common/Versions: Mention GLIBC_2.29, so that
3913 it can be used in SHLIB_COMPAT expressions.
3914 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
3915 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
3916 Call __vfscanf_internal, instead of _IO_vfscanf.
3917 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
3919 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
3922 * libio/iovsscanf.c: Clean up includes, when possible. Use
3923 _IO_strfile_read or _IO_strfile_readw, when needed. Call
3924 __vfscanf_internal or __vfwscanf_internal directly.
3925 * libio/iovswscanf.c: Likewise.
3926 * libio/swscanf.c: Likewise.
3927 * libio/vscanf.c: Likewise.
3928 * libio/vwscanf.c: Likewise.
3929 * libio/wscanf.c: Likewise.
3930 * stdio-common/isoc99_fscanf.c: Likewise.
3931 * stdio-common/isoc99_scanf.c: Likewise.
3932 * stdio-common/isoc99_sscanf.c: Likewise.
3933 * stdio-common/isoc99_vfscanf.c: Likewise.
3934 * stdio-common/isoc99_vscanf.c: Likewise.
3935 * stdio-common/isoc99_vsscanf.c: Likewise.
3936 * stdio-common/scanf.c: Likewise.
3937 * stdio-common/sscanf.c: Likewise.
3938 * wcsmbs/isoc99_fwscanf.c: Likewise.
3939 * wcsmbs/isoc99_swscanf.c: Likewise.
3940 * wcsmbs/isoc99_vfwscanf.c: Likewise.
3941 * wcsmbs/isoc99_vswscanf.c: Likewise.
3942 * wcsmbs/isoc99_vwscanf.c: Likewise.
3943 * wcsmbs/isoc99_wscanf.c: Likewise.
3945 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
3948 (__tz_compute): Replace time_t with __time64_t.
3949 (__tz_convert): Replace time_t* with __time64_t.
3950 (__offtime): Replace time_t* with __time64_t.
3952 (__gmtime_r): Adjust call to __tz_convert.
3955 (__localtime_r): Likewise.
3956 (localtime): Likewise.
3957 * time/offtime.c: Replace time_t with __time64_t.
3958 * time/tzset.c: Likewise.
3960 2018-12-04 Joseph Myers <joseph@codesourcery.com>
3962 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
3963 dynamic linker unless [$(run-built-tests) = yes].
3965 2018-12-03 DJ Delorie <dj@delorie.com>
3967 * support/test-container.c (check_for_unshare_hints): New.
3968 (main): Call it if unshare fails. Add support for "su" scriptlet
3971 2018-12-03 Joseph Myers <joseph@codesourcery.com>
3973 * scripts/gen-as-const.py (compute_c_consts): Take an argument
3974 'START' to indicate that start text should be output.
3975 (gen_test): Likewise.
3976 (main): Generate 'START' for first symbol or '--' line, or at end
3977 of input if not previously generated.
3979 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
3982 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
3983 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
3984 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
3985 ALWAYS_USE_VSYSCALL.
3987 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3990 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
3993 2018-12-03 Carlos O'Donell <carlos@redhat.com>
3996 * locale/programs/localedef.c: Declare boolean hard_links default true.
3997 (options): Add --no-hard-links option.
3998 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
3999 * locale/programs/localedef.h: Declare prototype for hard_links.
4000 * locale/programs/locfile.c (write_locale_data): Don't use hard
4001 links if hard_links is false.
4003 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
4005 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
4007 (__cache_sysconf): Likewise.
4008 (init_cacheinfo): Likewise.
4009 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
4010 populate COMMON_CPUID_INDEX_80000007 and
4011 COMMON_CPUID_INDEX_80000008.
4012 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
4013 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
4014 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
4015 (init_cpu_features): Use _Static_assert on
4016 index_arch_Fast_Unaligned_Load.
4017 __get_cpuid_registers and __get_arch_feature. Updated for
4018 cpu_features_basic. Set stepping in cpu_features.
4019 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
4020 (FEATURE_INDEX_2): New.
4021 (FEATURE_INDEX_MAX): Changed to enum.
4022 (COMMON_CPUID_INDEX_D_ECX_1): New.
4023 (COMMON_CPUID_INDEX_80000007): Likewise.
4024 (COMMON_CPUID_INDEX_80000008): Likewise.
4025 (cpuid_registers): Likewise.
4026 (cpu_features_basic): Likewise.
4027 (CPU_FEATURE_USABLE): Likewise.
4028 (bit_arch_XXX_Usable): Likewise.
4029 (cpu_features): Use cpuid_registers and cpu_features_basic.
4030 (bit_arch_XXX): Reweritten.
4031 (bit_cpu_XXX): Likewise.
4032 (index_cpu_XXX): Likewise.
4033 (reg_XXX): Likewise.
4034 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
4036 (CHECK_CPU_FEATURE): New.
4037 (CHECK_CPU_FEATURE_USABLE): Likewise.
4038 (cpu_kinds): Likewise.
4039 (do_test): Print vendor, family, model and stepping. Check
4040 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
4041 (TEST_FUNCTION): Removed.
4042 Include <support/test-driver.c> instead of
4043 "../../test-skeleton.c".
4044 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
4045 Check POPCNT instead of POPCOUNT.
4046 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
4048 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4050 * scripts/gen-as-const.py (main): Avoid emitting empty line when
4051 there is no element in `consts'.
4053 2018-12-01 Florian Weimer <fweimer@redhat.com>
4055 * support/support_capture_subprocess.c
4056 (support_capture_subprocess): Check that pipe descriptors have
4057 expected values. Close original pipe descriptors in subprocess.
4059 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
4062 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
4063 attr with __pthread_default_barrierattr.
4064 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
4065 attr with __pthread_default_condattr.
4066 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
4067 attr with __pthread_default_mutexattr.
4068 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
4069 attr with __pthread_default_rwlockattr.
4071 2018-12-01 Kemi Wang <kemi.wang@intel.com>
4073 * manual/tunables.texi (POSIX Thread Tunables): New node.
4074 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
4075 * nptl/nptl-init.c: Include pthread_mutex_conf.h
4076 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
4077 __pthread_tunables_init.
4078 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
4079 (max_adaptive_count): Define.
4080 * nptl/pthread_mutex_conf.c: New file.
4081 * nptl/pthread_mutex_conf.h: New file.
4082 * sysdeps/generic/adaptive_spin_count.h: New file.
4083 * sysdeps/nptl/dl-tunables.list: New file.
4084 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
4085 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
4086 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
4089 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
4092 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
4093 * stdlib/on_exit.c (__on_exit): Likewise.
4094 * stdlib/Makefile (tests): Add tst-bz20544.
4095 * stdlib/tst-bz20544.c: New test.
4097 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
4100 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
4101 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
4104 2018-11-30 Florian Weimer <fweimer@redhat.com>
4106 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
4107 Extend error logging.
4108 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
4111 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4113 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
4114 __sigismember instead of sigismember.
4115 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
4116 cancel_handler): New definitions.
4117 (do_system): Use posix_spawn instead of fork and execl and remove
4119 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
4120 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
4121 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
4122 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4123 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4124 * sysdeps/unix/sysv/linux/system.c: Likewise.
4128 * NEWS: Add new semantic for atfork with popen and system.
4129 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
4132 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4135 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
4136 modification order when accessing reloc_result->addr.
4137 * include/link.h (reloc_result): Add field init.
4138 * nptl/Makefile (tests): Add tst-audit-threads.
4139 (modules-names): Add tst-audit-threads-mod1 and
4140 tst-audit-threads-mod2.
4141 Add rules to build tst-audit-threads.
4142 * nptl/tst-audit-threads-mod1.c: New file.
4143 * nptl/tst-audit-threads-mod2.c: Likewise.
4144 * nptl/tst-audit-threads.c: Likewise.
4145 * nptl/tst-audit-threads.h: Likewise.
4147 2018-11-30 Joseph Myers <joseph@codesourcery.com>
4149 * scripts/gen-as-const.py: New file.
4150 * scripts/gen-as-const.awk: Remove.
4151 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
4153 ($(objpfx)test-as-const-%.c): Likewise.
4155 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
4157 * elf/dl-exception.c: Include <_itoa.h>.
4159 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
4161 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
4162 returned by __f_setlk.
4164 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
4165 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4167 * elf/Makefile (tests-internal): Add tst-create_format1.
4168 * elf/dl-exception.c (_dl_exception_create_format): Support
4170 * elf/tst-create_format1.c: New file.
4172 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
4174 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
4175 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
4177 * argp/argp-help.c (__argp_failure): Likewise.
4179 2018-11-29 Mao Han <han_mao@c-sky.com>
4181 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
4182 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
4183 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
4184 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
4185 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
4186 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
4187 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
4188 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
4189 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
4190 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
4191 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
4192 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
4193 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
4194 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
4195 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
4196 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
4197 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
4198 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
4199 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
4200 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
4201 (R_CKCORE_TLS_TPOFF32): New defines.
4203 2018-11-29 Florian Weimer <fweimer@redhat.com>
4205 * posix/Makefile (before-compile): Remove testcases.h and
4207 (generated): Add testcases.h and ptestcases.h.
4208 (testcases.h, ptestcases.h): Move to $(objpfx).
4209 (runtests.o): Add dependency on testcases.h.
4210 (runptests.o): Add dependency on ptestcases.h.
4211 * posix/testcases.h, posix/ptestcases.h: Remove files.
4212 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
4213 not touch posix/testcases.h and posix/ptestcases.h.
4215 2018-11-28 Florian Weimer <fweimer@redhat.com>
4217 support: Add signal support to support_capture_subprocess_check.
4218 * support/capture_subprocess.h (support_capture_subprocess_check):
4219 Adjust comment and rename parameter.
4220 * support/support_capture_subprocess_check.c
4221 (print_actual_status): New function.
4222 (support_capture_subprocess_check): Support negative
4223 status_or_signal. Call print_actual_status.
4224 * support/tst-support_capture_subprocess.c (do_test): Call
4225 support_capture_subprocess_check.
4226 * libio/tst-vtables-common.c (termination_status)
4227 (init_termination_status): Remove.
4228 (check_for_termination): Adjust support_capture_subprocess_check
4230 (do_test): Remove call to init_termination_status.
4232 2018-11-28 Joseph Myers <joseph@codesourcery.com>
4234 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
4235 source directory instead of a copy.
4236 (CommandList.create_copy_dir): Remove.
4238 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
4240 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4242 2018-11-28 Florian Weimer <fweimer@redhat.com>
4244 * support/support.h (support_quote_string): Do not use str
4247 2018-11-27 Joseph Myers <joseph@codesourcery.com>
4249 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
4250 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
4252 2018-11-27 Florian Weimer <fweimer@redhat.com>
4254 * support/support.h (support_quote_string): Declare.
4255 * support/support_quote_string.c: New file.
4256 * support/tst-support_quote_string.c: Likewise.
4257 * support/Makefile (libsupport-routines): Add
4258 support_quote_string.
4259 (tests): Add tst-support_quote_string.
4261 2018-11-27 Florian Weimer <fweimer@redhat.com>
4265 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
4266 descriptor leak in case of ENODEV error.
4268 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
4271 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
4272 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
4273 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
4275 2018-11-26 Carlos O'Donell <carlos@redhat.com>
4277 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
4278 Error for unknown lines.
4280 2018-11-26 Joseph Myers <joseph@codesourcery.com>
4282 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
4283 Touch additional files.
4285 2018-11-26 Florian Weimer <fweimer@redhat.com>
4288 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
4291 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
4294 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
4295 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
4296 SHARED. Include sysdep.h.
4297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
4298 ALWAYS_USE_VSYSCALL.
4299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
4300 ALWAYS_USE_VSYSCALL.
4302 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
4305 * nptl/Makefile (tests-static): Add tst-cond11-static.
4307 * nptl/tst-cond11-static.c: New File.
4308 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
4309 tst-affinity-static.
4311 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
4313 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
4314 (USE_VSYSCALL): Likewise.
4315 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
4316 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
4318 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
4320 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
4323 2018-11-23 Joseph Myers <joseph@codesourcery.com>
4326 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4327 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
4330 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
4332 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
4333 (tst-cet-legacy-1a-ARGS): New.
4334 ($(objpfx)tst-cet-legacy-1a): New target.
4335 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
4337 2018-11-22 Joseph Myers <joseph@codesourcery.com>
4339 * conform/conformtest.py (CompileSubTest.__init__): Set
4340 self.run_early to False.
4341 (ExecuteSubTest.__init__): Likewise.
4342 (HeaderTests.run): Try running all non-optional, non-XFAILed
4343 compilation tests in a single execution of the compiler.
4345 * conform/conformtest.py (CompileSubTest): New class.
4346 (ExecuteSubTest): Likewise.
4347 (ElementTest.run): Rename to gen_subtests. Append tests to
4348 self.subtests instead of running them.
4349 (ConstantTest.run): Likewise.
4350 (SymbolTest.run): Likewise.
4351 (TypeTest.run): Likewise.
4352 (TagTest.run): Likewise.
4353 (FunctionTest.run): Likewise.
4354 (VariableTest.run): Likewise.
4355 (MacroFunctionTest.run): Likewise.
4356 (MacroStrTest.run): Likewise.
4357 (HeaderTests.handle_test_line): Generate subtests for tests.
4358 (HeaderTests.run): Run subtests for tests.
4360 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4362 * math/Versions (GLIBC_2.29): Add pow.
4363 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
4365 * math/w_pow.c: New file.
4366 * sysdeps/i386/fpu/w_pow.c: New file.
4367 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
4368 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
4369 and add necessary aliases.
4370 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
4371 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
4372 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4373 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4374 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4375 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4376 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4377 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4378 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4379 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4380 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4381 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4382 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4383 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4384 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4389 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4390 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4391 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4392 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4393 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4394 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4395 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4396 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
4398 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
4399 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
4400 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
4402 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4404 * math/Versions (GLIBC_2.29): Add log2.
4405 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
4407 * math/w_log2.c: New file.
4408 * sysdeps/i386/fpu/w_log2.c: New file.
4409 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
4410 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
4411 and add necessary aliases.
4412 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
4413 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
4414 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4415 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4416 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4417 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4418 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4419 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4420 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4421 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4422 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4423 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4424 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4425 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4426 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4431 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4432 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4433 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4434 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4435 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4436 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4437 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4439 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4441 * math/Versions (GLIBC_2.29): Add log.
4442 * math/w_log_compat.c (__log_compat): Change to versioned compat
4444 * math/w_log.c: New file.
4445 * sysdeps/i386/fpu/w_log.c: New file.
4446 * sysdeps/ia64/fpu/e_log.S: Update.
4447 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
4448 and add necessary aliases.
4449 * sysdeps/ieee754/dbl-64/w_log.c: New file.
4450 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
4451 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4452 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4453 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4454 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4455 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4456 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4457 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4458 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4459 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4460 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4461 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4462 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4463 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4468 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4469 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4470 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4471 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4472 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4473 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4474 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4475 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
4477 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
4478 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
4479 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
4480 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
4482 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4484 * math/Versions (GLIBC_2.29): Add exp and exp2.
4485 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
4486 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
4487 * math/w_exp_compat.c (__exp_compat): Likewise.
4488 * math/w_exp.c: New file.
4489 * math/w_exp2.c: New file.
4490 * sysdeps/i386/fpu/w_exp.c: New file.
4491 * sysdeps/i386/fpu/w_exp2.c: New file.
4492 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
4493 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
4494 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
4495 and add necessary aliases.
4496 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
4497 and add necessary aliases.
4498 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
4499 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
4500 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
4501 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
4502 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4503 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4504 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4505 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4506 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4507 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4508 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4509 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4510 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4511 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4512 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4513 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4514 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4519 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4520 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4521 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4522 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4523 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4524 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4525 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4526 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
4527 (__ieee754_exp): Rename to __exp.
4528 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
4529 (__ieee754_exp): Rename to __exp.
4530 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
4531 (__ieee754_exp): Rename to __exp.
4532 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
4534 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
4536 2018-11-20 DJ Delorie <dj@redhat.com>
4538 * malloc/malloc.c (tcache_entry): Add key field.
4539 (tcache_put): Set it.
4540 (tcache_get): Likewise.
4541 (_int_free): Check for double free in tcache.
4542 * malloc/tst-tcfree1.c: New.
4543 * malloc/tst-tcfree2.c: New.
4544 * malloc/Makefile: Run the new tests.
4545 * manual/probes.texi: Document memory_tcache_double_free probe.
4547 * dlfcn/dlerror.c (check_free): Prevent double frees.
4549 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
4551 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
4553 2018-11-20 Joseph Myers <joseph@codesourcery.com>
4555 * conform/conformtest.py (ElementTest.run): Use unique identifiers
4556 in tests. Use names for format arguments.
4557 (ConstantTest.run): Likewise.
4558 (SymbolTest.run): Likewise.
4559 (TypeTest.run): Likewise.
4560 (TagTest.run): Likewise.
4561 (FunctionTest.run): Likewise.
4562 (VariableTest.run): Likewise.
4563 (MacroFunctionTest.run): Likewise.
4564 (MacroStrTest.run): Likewise.
4565 (HeaderTests.__init__): Set self.num_tests.
4566 (HeaderTests.handle_test_line): Set test.num. Increment
4569 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
4571 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
4572 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
4575 2018-11-19 Mao Han <han_mao@c-sky.com>
4577 * scripts/config.guess: Update to version 2018-08-29.
4578 * scripts/config.sub: Update to version 2018-08-29.
4580 2018-11-19 Florian Weimer <fweimer@redhat.com>
4582 support: Print timestamps in timeout handler.
4583 * support/support_test_main.c (print_timestamp): New function.
4584 (signal_handler): Use it to print the termination time and the
4585 time of the last write to standard output.
4587 2018-11-16 Zack Weinberg <zackw@panix.com>
4588 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4590 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
4591 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
4593 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
4594 and add flags argument. Check flags instead of __ldbl_is_dbl when
4595 deciding whether to set is_long_double.
4596 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
4597 passing zero for flags argument.
4598 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
4600 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4601 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
4602 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
4603 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
4604 variable names. Remove libc_hidden_def/libc_hidden_proto from
4605 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
4606 longer called from within the library.
4607 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
4608 for __nldbl___vstrfmon_l, declare it explicitly.
4610 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
4612 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
4614 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
4616 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
4617 F_SETLK64, F_SETLKW64, respectively.
4618 * sysdeps/mach/hurd/f_setlk.c: New file.
4619 * sysdeps/mach/hurd/f_setlk.h: New file.
4620 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
4622 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
4623 (__libc_fcntl): Move non-flock operations to...
4624 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
4625 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
4627 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
4629 mktime: DEBUG_MKTIME cleanup
4630 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
4631 And it’s no longer needed now that glibc and Gnulib both have
4632 their own testing mechanisms for mktime.
4633 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
4635 mktime: fix non-EOVERFLOW errno handling
4637 mktime was not properly reporting failures when the underlying
4638 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
4639 them like EOVERFLOW failures, and set errno to EOVERFLOW.
4640 The problem could happen on non-glibc platforms, with Gnulib.
4641 * time/mktime.c (guess_time_tm): Remove, replacing with ...
4642 (tm_diff): ... this simpler function, which does not change errno.
4643 All callers changed to deal with errno themselves.
4644 (ranged_convert, __mktime_internal): Return failure immediately if
4645 the underlying function reports any failure other than EOVERFLOW.
4646 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
4649 mktime: fix bug with Y2038 DST transition
4651 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
4652 mishandle a DST transition that jumps over the Y2038 boundary.
4653 No such DST transitions are known so this is only a theoretical
4654 bug, but we might as well do things right.
4656 mktime: make more room for overflow
4658 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
4659 This is so that we can add tm_diff results to a previous guess,
4660 which will be useful in a later patch.
4662 mktime: simplify offset guess
4664 * time/mktime.c (__mktime_internal): Omit excess precision.
4666 mktime: new test for mktime failure
4668 Based on a test suggested by Albert Aribaud in:
4669 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
4670 * time/Makefile (tests): Add bug-mktime4.
4671 * time/bug-mktime4.c: New file.
4673 mktime: fix EOVERFLOW bug
4675 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
4676 Include libc-config.h, not config.h, for __set_errno.
4677 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
4679 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
4681 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
4682 __attribute_copy__ to copy attributes from name. Drop static qualifier
4683 to avoid warnings about leaf attribute not having effect on static
4686 2018-11-13 Florian Weimer <fweimer@redhat.com>
4688 * malloc/malloc.c (fastbin_push_entry): New function.
4689 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
4690 (REMOVE_FB): Remove macro.
4691 (_int_malloc): Use fastbin_pop_entry and reindent.
4692 (_int_free): Use fastbin_push_entry.
4693 (malloc_consolidate): Use atomic_exchange_acquire.
4695 2018-11-13 Joseph Myers <joseph@codesourcery.com>
4697 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
4698 alias attribute, not with strong_alias.
4700 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
4701 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
4702 with additional parameter thread.
4703 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
4704 in terms of __hidden_ver2.
4705 (hidden_tls_def): New macro.
4706 (libc_hidden_tls_def): Likewise.
4707 (rtld_hidden_tls_def): Likewise.
4708 (libm_hidden_tls_def): Likewise.
4709 (libmvec_hidden_tls_def): Likewise.
4710 (libresolv_hidden_tls_def): Likewise.
4711 (librt_hidden_tls_def): Likewise.
4712 (libdl_hidden_tls_def): Likewise.
4713 (libnss_files_hidden_tls_def): Likewise.
4714 (libnsl_hidden_tls_def): Likewise.
4715 (libnss_nisplus_hidden_tls_def): Likewise.
4716 (libutil_hidden_tls_def): Likewise.
4717 (libutil_hidden_tls_def): Likweise.
4718 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
4719 libc_hidden_tls_def.
4720 (__sim_disabled_exceptions_thread): Likewise.
4721 (__sim_round_mode_thread): Likewise.
4723 * sysdeps/sparc/sparc-ifunc.h [SHARED]
4724 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
4725 copy attributes from name.
4727 2018-11-12 Joseph Myers <joseph@codesourcery.com>
4729 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
4730 Use __attribute_copy__ to copy attributes from name.
4732 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
4733 with __hidden_ver1 call.
4734 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
4735 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
4736 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
4737 (__cosf): Do not declare here.
4738 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
4739 (__sincosf): Do not declare here.
4740 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
4741 (__sinf): Do not declare here.
4743 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
4744 (__BIG_ENDIAN): Likewise.
4745 (__BYTE_ORDER): Likewise.
4746 (strong_alias): Likewise.
4747 (_strong_alias): Likewise.
4749 2018-11-12 Florian Weimer <fweimer@redhat.com>
4751 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
4752 function. Move after the definition of in_smallbin_range. Do not
4753 use __builtin_expect for paths that lead to a noreturn function.
4754 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
4755 because it is unclear whether this is in fact an unlikely
4757 (_int_malloc, _int_free): Adjust.
4758 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
4760 * malloc/arena.c (heap_trim): Likewise.
4762 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4764 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
4765 it, free it if needed.
4766 (reauthenticate): Test and use ccwdir.
4767 (child_init_port): In non-resetids case, test and use ccwdir.
4768 (child_chdir): New nested function to set ccwdir.
4769 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
4770 * hurd/hurd/port.h (_hurd_port_move): New function.
4771 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
4772 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
4773 * hurd/Versions (_hurd_port_move): Export function.
4774 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
4776 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
4777 of dtablesize for allocating dtable_cloexec.
4779 2018-11-09 Martin Sebor <msebor@redhat.com>
4781 * include/libc-symbols.h (__attribute_copy__): Define macro unless
4782 it's already defined.
4783 (_strong_alias): Use __attribute_copy__.
4784 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
4785 * misc/sys/cdefs.h (__attribute_copy__): New macro.
4786 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
4787 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
4788 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
4789 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
4790 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
4791 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
4792 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
4793 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
4794 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
4795 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
4796 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
4797 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
4798 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
4799 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
4800 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
4801 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
4802 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
4804 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4806 * misc/tst-efgcvt.c: Include support/check.h and
4807 support/test-driver.c. Do not include test-skeleton.c.
4808 (error_count): Remove.
4809 (output_error): Replace increments to error_count with calls to
4810 support_record_failure.
4811 (output_r_error): Likewise.
4812 (special): Likewise.
4813 (do_test): Unconditionally return zero.
4814 (TEST_FUNCTION): Remove.
4816 2018-11-09 Joseph Myers <joseph@codesourcery.com>
4818 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
4820 ($(linknamespace-header-tests)): Likewise.
4822 * conform/conformtest.py: New file.
4823 * conform/conformtest.pl: Remove.
4824 * conform/GlibcConform.pm: Likewise.
4825 * conform/glibcconform.py (KEYWORDS_C90): New constant.
4826 (KEYWORDS_C99): Likewise.
4827 (KEYWORDS): Likewise.
4828 * conform/Makefile ($(conformtest-header-tests)): Use
4829 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
4830 option. Use --header instead of --headers.
4831 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
4833 * conform/data/spawn.h-data: Likewise.
4834 * conform/data/fcntl.h-data (openat): Add space after function
4836 * conform/data/wchar.h-data (wcscasecmp): Likewise.
4837 (wcscasecmp_l): Likewise.
4838 * conform/data/termios.h-data (c_cc): Add space after element
4841 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4843 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
4844 instead of manually comparing and reporting mismatching strings.
4845 * misc/tst-ldbl-error.c (do_one_test): Likewise.
4846 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
4848 2018-11-08 Joseph Myers <joseph@codesourcery.com>
4850 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
4851 __ASSUME_SOCKETCALL.
4852 * sysdeps/unix/sysv/linux/i386/kernel-features.h
4853 (__ASSUME_SOCKETCALL): Remove.
4854 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4855 (__ASSUME_SOCKETCALL): Likewise.
4856 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4857 (__ASSUME_SOCKETCALL): Likewise.
4858 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4859 (__ASSUME_SOCKETCALL): Likewise.
4860 * sysdeps/unix/sysv/linux/s390/kernel-features.h
4861 (__ASSUME_SOCKETCALL): Likewise.
4862 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4863 (__ASSUME_SOCKETCALL): Likewise.
4864 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4865 (__ASSUME_SOCKETCALL): Likewise.
4867 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
4870 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
4871 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
4872 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
4873 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
4874 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
4877 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
4880 * resolv/tst-resolv-network.c: Add test for getnetbyname.
4882 2018-11-07 Joseph Myers <joseph@codesourcery.com>
4885 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4886 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
4887 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4888 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
4890 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4892 * support/support_test_compare_string.c
4893 (support_test_compare_string): Fix printf format.
4895 2018-11-07 Florian Weimer <fweimer@redhat.com>
4897 Implement TEST_COMPARE_STRING.
4898 * support/check.h (TEST_COMPARE_STRING): Define.
4899 (support_test_compare_string): Declare.
4900 * support/Makefile (libsupport-routines): Add
4901 support_test_compare_string.
4902 (tests): Add tst-test_compare_string.
4903 * support/support_test_compare_string.c: New file.
4904 * support/tst-test_compare_string.c: Likewise.
4906 2018-11-07 Andreas Schwab <schwab@suse.de>
4909 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
4910 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
4913 2018-11-06 Joseph Myers <joseph@codesourcery.com>
4916 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4917 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
4918 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
4919 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
4922 2018-11-06 Florian Weimer <fweimer@redhat.com>
4925 * posix/Makefile (routines): Add spawn_faction_addchdir.
4926 (tests): Add tst-spawn-chdir.
4927 * posix/Versions (GLIBC_2.29): Add
4928 posix_spawn_file_actions_addchdir_np.
4929 * posix/spawn_faction_addchdir.c: New file.
4930 * posix/spawn_faction_destroy.c
4931 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
4932 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
4933 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
4935 * posix/tst-spawn-chdir.c: New file.
4936 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
4937 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4938 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4939 posix_spawn_file_actions_addchdir_np.
4940 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4942 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
4944 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
4945 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
4947 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
4949 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
4951 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
4953 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
4955 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
4957 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4958 (GLIBC_2.29): Likewise.
4959 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4960 (GLIBC_2.29): Likewise.
4961 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4962 (GLIBC_2.29): Likewise.
4963 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4964 (GLIBC_2.29): Likewise.
4965 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
4967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4968 (GLIBC_2.29): Likewise.
4969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4970 (GLIBC_2.29): Likewise.
4971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4972 (GLIBC_2.29): Likewise.
4973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4974 (GLIBC_2.29): Likewise.
4975 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4977 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4979 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4981 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4982 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4984 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4986 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4988 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4991 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4993 * misc/Makefile (tests): Add tst-ldbl-error.
4994 * misc/tst-ldbl-error.c: New file.
4996 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4998 * misc/Makefile (tests): Add tst-ldbl-warn.
4999 * misc/tst-ldbl-warn.c: New file.
5001 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5003 * argp/Makefile (tests): Add tst-ldbl-argp.
5004 * argp/tst-ldbl-argp.c: New file.
5006 2018-11-05 Arjun Shankar <arjun@redhat.com>
5008 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
5009 __gconv_path_elem and call __gconv_get_path unconditionally.
5011 2018-11-05 Andreas Schwab <schwab@suse.de>
5014 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
5015 creating the first helper thread failed.
5017 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5019 * sysdeps/mach/hurd/msync.c: New file.
5021 2018-11-02 Florian Weimer <fweimer@redhat.com>
5023 * support/shell-container.c (copy_func): Call
5024 support_copy_file_range instead of copy_file_range to support
5025 cross-device copies.
5027 2018-11-02 Florian Weimer <fweimer@redhat.com>
5029 * support/test-container.c: Include <libc-pointer-arith.h> for
5032 2018-11-01 Zong Li <zong@andestech.com>
5034 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
5035 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
5036 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
5037 (__FP_FRAC_SET_8): Add implementation for RV32 use.
5039 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
5040 variable to avoid overlap arguments.
5042 2018-11-01 Joseph Myers <joseph@codesourcery.com>
5044 * posix/bug-regex22.c (main): Use puts with distinct error
5045 messages for unexpected success of re_compile_pattern, not printf
5046 with NULL argument to %s.
5048 * stdio-common/bug22.c: Include <libc-diag.h>.
5049 (do_test): Disable -Wformat-overflow= warnings around fprintf
5050 calls outputting more than INT_MAX characters.
5051 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
5052 around printf call with NULL %s argument.
5055 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
5056 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
5058 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5059 (__ASSUME_RECVMSG_SYSCALL): Likewise.
5060 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5061 (__ASSUME_SENDTO_SYSCALL): Likewise.
5062 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5063 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
5065 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5066 (__ASSUME_CONNECT_SYSCALL): Likewise.
5067 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5068 (__ASSUME_RECVFROM_SYSCALL): Likewise.
5069 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
5071 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
5073 [__LINUX_KERNEL_VERSION >= 0x040400]
5074 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5075 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
5078 (setsockopt): Likewise.
5080 2018-11-01 Fredrik Noring <noring@nocrew.org>
5082 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
5083 with the ISA override.
5085 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
5087 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
5090 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
5092 * manual/errno.texi (EIEIO): Document how translators should
5093 translate the error message.
5094 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
5095 printing trailing whitespaces refused by git.
5096 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
5097 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5098 * hurd/Makefile (user-interfaces): Add pci.
5100 2018-10-30 Joseph Myers <joseph@codesourcery.com>
5102 * conform/linknamespace.py: New file.
5103 * conform/linknamespace.pl: Remove file.
5104 * conform/Makefile ($(linknamespace-header-tests)): Use
5105 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
5108 2018-10-30 Florian Weimer <fweimer@redhat.com>
5110 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
5113 2018-10-30 Florian Weimer <fweimer@redhat.com>
5115 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
5117 2018-10-30 Florian Weimer <fweimer@redhat.com>
5119 * stdlib/tst-strtod-overflow.c (do_test): Switch to
5120 support_blob_repeat.
5122 2018-10-30 Florian Weimer <fweimer@redhat.com>
5124 Avoid spurious test failures in stdlib/test-bz22786.
5125 * support/Makefile (libsupport-routines): Add blob_repeat.
5126 (tests): Add tst-support_blob_repeat.
5127 * support/blob_repeat.h: New file.
5128 * support/blob_repeat.c: Likewise.
5129 * support/tst-support_blob_repeat.c: Likewise.
5130 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
5131 support_blob_repeat_allocate.
5133 2018-10-30 Andreas Schwab <schwab@suse.de>
5136 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
5137 Don't use tail call.
5138 * elf/tst-unwind-main.c: New file.
5139 * elf/Makefile (tests): Add tst-unwind-main.
5140 (CFLAGS-tst-unwind-main.c): Define.
5142 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
5145 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
5147 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
5149 2018-10-29 Joseph Myers <joseph@codesourcery.com>
5151 * conform/glibcconform.py: Do not import shutil.
5152 (list_exported_functions): Use tempfile.TemporaryDirectory instead
5155 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
5156 critic_missing for versions before 3.4.
5157 * configure: Regenerated.
5158 * manual/install.texi (Tools for Compilation): Document
5159 requirement for Python to build glibc.
5160 * INSTALL: Regenerated.
5161 * Rules [PYTHON]: Make code unconditional.
5162 * benchtests/Makefile [PYTHON]: Likewise.
5163 * conform/Makefile [PYTHON]: Likewise.
5164 * manual/Makefile [PYTHON]: Likewise.
5165 * math/Makefile [PYTHON]: Likewise.
5167 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5169 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
5170 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
5171 answer to interrupt_operation, return EIEIO instead of EINTR.
5172 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
5173 _hurd_intr_rpc_msg_about_to global point to start of controlled
5174 assembly snippet. Make it check canceled flag.
5175 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
5176 the _hurd_intr_rpc_msg_about_to point.
5177 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
5178 issue, remove cancel flag check.
5180 2018-10-26 Joseph Myers <joseph@codesourcery.com>
5182 * scripts/build-many-glibcs.py: Remove compatibility for missing
5183 os.cpu_count and re.fullmatch.
5185 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
5188 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
5189 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
5190 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
5192 2018-10-25 Joseph Myers <joseph@codesourcery.com>
5194 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
5197 2018-10-25 Florian Weimer <fweimer@redhat.com>
5201 XFAIL siginfo_t si_band conform test on sparc64.
5202 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
5203 (__SI_BAND_TYPE): Only override long int default type on sparc64.
5204 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5205 (conformtest-xfail-conds): Add sparc64-linux.
5206 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
5208 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
5210 2018-10-25 Joseph Myers <joseph@codesourcery.com>
5212 * elf/elf.h (NT_MIPS_DSP): New macro.
5213 (NT_MIPS_FP_MODE): Likewise.
5215 2018-10-25 Zong Li <zong@andestech.com>
5217 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
5218 name by adding the file extension (.so).
5220 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
5222 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
5223 (test-xfail-ISO11/threads.h/linknamespace,
5224 test-xfail-ISO11/threads.h/conform): Add.
5226 2018-10-24 Joseph Myers <joseph@codesourcery.com>
5228 * math/gen-libm-test.py: Import os.
5229 (ALL_FLOATS_MANUAL): New constant.
5230 (ALL_FLOATS_SUFFIX): Likewise.
5231 (Ulps.all_functions): New function.
5232 (real_all_ulps): Likewise.
5233 (generate_err_table_sub): Likewise.
5234 (generate_err_table): Likewise.
5235 (main): Handle -s and -m options.
5236 * manual/libm-err-tab.pl: Remove.
5237 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
5238 instead of libm-err-tab.pl.
5239 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
5241 * manual/install.texi (Tools for Compilation): Document
5242 requirement for Python to build manual.
5243 * INSTALL: Regenerated.
5245 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
5247 * bits/time64.h: New file.
5248 * include/time.h: Replace internal_time_t with __time64_t.
5249 * posix/bits/types (__time64_t): Add.
5250 * stdlib/Makefile: Add bits/time64.h to includes.
5251 * time/tzfile.c: Replace internal_time_t with __time64_t.
5253 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5255 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
5256 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
5257 __posix_spawn_file_actions_init, __posix_spawnattr_init,
5258 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
5259 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
5261 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
5262 * posix/spawn_faction_addclose.c
5263 (__posix_spawn_file_actions_addclose): Add hidden definition.
5264 * posix/spawn_faction_adddup2.c
5265 (__posix_spawn_file_actions_adddup2): Likewise.
5266 * posix/spawn_faction_destroy.c
5267 (__posix_spawn_file_actions_destroy): Likewise.
5268 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
5270 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
5271 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
5272 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
5274 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
5275 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
5278 2018-10-24 Andreas Schwab <schwab@suse.de>
5281 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
5283 * elf/cache.c (print_cache): Likewise.
5285 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
5287 * bits/timesize.h: New file.
5288 * stdlib/Makefile (headers): Add bits/timesize.h.
5289 * sysdeps/unix/sysv/linux/bits/msq-pad.h
5290 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
5291 * sysdeps/unix/sysv/linux/bits/sem-pad.h
5292 (__SEM_PAD_AFTER_TIME): Likewise.
5293 * sysdeps/unix/sysv/linux/bits/shm-pad.h
5294 (__SHM_PAD_AFTER_TIME): Likewise.
5295 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
5296 (__MSQ_PAD_BEFORE_TIME): Likewise.
5297 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
5298 (__SEM_PAD_BEFORE_TIME): Likewise.
5299 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
5300 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
5301 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
5302 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
5303 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
5304 (__MSQ_PAD_BEFORE_TIME): Likewise.
5305 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
5306 (__SEM_PAD_BEFORE_TIME): Likewise.
5307 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
5308 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
5309 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
5310 (__MSQ_PAD_BEFORE_TIME): Likewise.
5311 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
5312 (__SEM_PAD_BEFORE_TIME): Likewise.
5313 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
5314 (__SHM_PAD_BEFORE_TIME): Likewise.
5315 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
5316 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
5317 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
5319 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
5321 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
5322 USE_RDTSCP is defined.
5323 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
5324 USE_RDTSCP is defined.
5326 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5328 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
5332 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
5333 independently of other flags.
5335 2018-10-23 Florian Weimer <fweimer@redhat.com>
5337 * time/tst-mktime2.c (N_STRINGS): Remove.
5338 (set_timezone): New function.
5339 (spring_forward_gap): Call it. Use FAIL_EXIT1.
5340 (mktime_test1): Report localtime failure and check errno value.
5342 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
5343 (do_test): Remove alarm call. Use set_timezone and array_length.
5345 2018-10-23 Andreas Schwab <schwab@suse.de>
5347 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
5348 (__start_context): Use END instead of PSEUDO_END.
5350 2018-10-22 Joseph Myers <joseph@codesourcery.com>
5352 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5355 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5359 * wcsmbs/c32rtomb.c: New file.
5360 * wcsmbs/mbrtoc32.c: Likewise.
5361 * wcsmbs/tst-c32-state.c: Likewise.
5362 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
5363 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
5364 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
5365 (tests): Add tst-c32-state.
5366 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
5369 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
5371 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
5372 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
5374 2018-10-19 Joseph Myers <joseph@codesourcery.com>
5377 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
5378 pair and return 0 in that case, and use saved character to
5379 interpret following character.
5380 * wcsmbs/tst-c16-surrogate.c: New file.
5381 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
5382 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
5383 Depend on $(gen-locales)
5385 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
5388 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
5389 (struct siginfo_t): Use correct type for si_band.
5391 2018-10-19 Florian Weimer <fweimer@redhat.com>
5394 * resource/bits/types/struct_rusage.h (struct rusage): Update
5395 comment on struct. Remove extraneous field comment.
5397 2018-10-18 David S. Miller <davem@davemloft.net>
5399 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
5400 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
5401 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
5402 sysdep_routines in subdir elf.
5403 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
5404 version for __vdso_clock_gettime.
5405 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
5407 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
5408 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5410 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
5412 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
5414 * sysdeps/i386/init-arch.h: Removed.
5415 * sysdeps/i386/i586/init-arch.h: Likewise.
5416 * sysdeps/i386/i686/init-arch.h: Likewise.
5417 * sysdeps/i386/i686/hp-timing.h: Likewise.
5418 * sysdeps/x86_64/hp-timing.h: Likewise.
5419 * sysdeps/i386/isa.h: New file.
5420 * sysdeps/i386/i586/isa.h: Likewise.
5421 * sysdeps/i386/i686/isa.h: Likewise.
5422 * sysdeps/x86_64/isa.h: Likewise.
5423 * sysdeps/x86/hp-timing.h: New file.
5424 * sysdeps/x86/init-arch.h: Include <isa.h>.
5426 2018-10-17 Joseph Myers <joseph@codesourcery.com>
5428 * math/libm-test-pow.inc (pow_test_data): Do not allow
5429 divide-by-zero exception for pow(+/- 0, -Inf).
5431 2018-10-17 Zack Weinberg <zackw@panix.com>
5433 * manual/job.texi (Job Control is Optional): Remove node, as
5434 job control has not been optional in quite some time.
5435 (Job Control): Mention briefly that systems older than
5436 POSIX.1-2001 might not support job control.
5437 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
5438 defined on systems conforming to POSIX.1-2001.
5440 2018-10-17 Arjun Shankar <arjun@redhat.com>
5443 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
5445 * (__gconv_read_conf): Mark function static.
5446 * (once): New static variable.
5447 * (__gconv_load_conf): New function.
5448 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
5449 * iconv/gconv_db.c (once): Remove static variable.
5450 * (__gconv_compare_alias): Use __gconv_load_conf instead of
5452 * (__gconv_find_transform): Likewise.
5453 * iconv/tst-iconv-mt.c: New test.
5454 * iconv/Makefile: Add tst-iconv_mt.
5456 2018-10-17 Joseph Myers <joseph@codesourcery.com>
5458 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5460 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
5461 (shmatt_t): Define as __syscall_ulong_t.
5462 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
5463 and [__SHM_PAD_AFTER_TIME].
5464 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
5465 Define shm_segsz and associated padding based on
5466 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
5467 Use __syscall_ulong_t instead of unsigned long int.
5468 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
5470 [__USE_MISC] (struct shm_info): Likewise.
5471 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
5472 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
5473 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
5474 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
5475 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
5476 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
5477 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
5478 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
5479 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
5480 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
5481 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
5483 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5485 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
5486 (SHMLBA): Remove macro.
5487 (__getpagesize): Remove function declaration.
5488 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
5490 (SHMLBA): Remove macro.
5491 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
5493 (SHMLBA): Remove macro.
5494 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
5496 (SHMLBA): Remove macro.
5497 (__getpagesize): Remove function declaration.
5498 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
5500 (SHMLBA): Remove macro.
5501 (__getshmlba): Remove function declaration.
5502 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
5503 (SHMLBA): Remove macro.
5504 (__getpagesize): Remove function declaration.
5505 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
5506 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
5507 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
5508 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
5509 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
5510 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
5511 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
5512 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
5513 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
5514 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
5516 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
5519 * nptl/tst-mutex10.c: New File.
5520 * nptl/Makefile (tests): Add tst-mutex10.
5521 (tst-mutex10-ENV): New variable.
5522 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
5523 Ensure that elision path is used if elision is available.
5524 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
5526 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
5528 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
5529 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
5530 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
5531 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
5533 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
5534 (__pthread_mutex_cond_lock_adjust): Likewise.
5535 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
5537 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
5538 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5539 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5540 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
5542 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
5543 Use atomic_load_relaxed and atomic_store_relaxed.
5544 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
5545 Use atomic_store_relaxed.
5547 2018-10-17 Andreas Schwab <schwab@suse.de>
5549 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
5550 * crypt/badsalttest.c (TIMEOUT): Likewise.
5551 * crypt/sha256c-test.c (TIMEOUT): Likewise.
5552 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
5553 * io/test-lfs.c (TIMEOUT): Likewise.
5554 * libio/tst-atime.c (TIMEOUT): Likewise.
5555 * localedata/tst-leaks.c (TIMEOUT): Likewise.
5556 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
5557 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
5558 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
5559 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
5560 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
5561 * nptl/tst-cond11.c (TIMEOUT): Likewise.
5562 * nptl/tst-cond14.c (TIMEOUT): Likewise.
5563 * nptl/tst-cond15.c (TIMEOUT): Likewise.
5564 * nptl/tst-cond24.c (TIMEOUT): Likewise.
5565 * nptl/tst-cond25.c (TIMEOUT): Likewise.
5566 * nptl/tst-kill2.c (TIMEOUT): Likewise.
5567 * nptl/tst-kill3.c (TIMEOUT): Likewise.
5568 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
5569 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
5570 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
5571 * nptl/tst-once2.c (TIMEOUT): Likewise.
5572 * nptl/tst-once3.c (TIMEOUT): Likewise.
5573 * nptl/tst-once4.c (TIMEOUT): Likewise.
5574 * nptl/tst-robust8.c (TIMEOUT): Likewise.
5575 * nptl/tst-robust9.c (TIMEOUT): Likewise.
5576 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
5577 * nptl/tst-sem14.c (TIMEOUT): Likewise.
5578 * nptl/tst-sem6.c (TIMEOUT): Likewise.
5579 * nptl/tst-signal3.c (TIMEOUT): Likewise.
5580 * nptl/tst-spin4.c (TIMEOUT): Likewise.
5581 * nptl/tst-tls3.c (TIMEOUT): Likewise.
5582 * nptl/tst-tls4.c (TIMEOUT): Likewise.
5583 * posix/tst-chmod.c (TIMEOUT): Likewise.
5584 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
5585 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
5586 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
5587 * posix/tst-regex2.c (TIMEOUT): Likewise.
5588 * posix/tst-waitid.c (TIMEOUT): Likewise.
5589 * rt/tst-aio.c (TIMEOUT): Likewise.
5590 * rt/tst-aio10.c (TIMEOUT): Likewise.
5591 * rt/tst-aio4.c (TIMEOUT): Likewise.
5592 * rt/tst-aio5.c (TIMEOUT): Likewise.
5593 * rt/tst-aio6.c (TIMEOUT): Likewise.
5594 * rt/tst-aio64.c (TIMEOUT): Likewise.
5595 * rt/tst-aio7.c (TIMEOUT): Likewise.
5596 * rt/tst-aio9.c (TIMEOUT): Likewise.
5597 * rt/tst-clock.c (TIMEOUT): Likewise.
5598 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
5599 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
5600 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
5601 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
5602 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
5603 * rt/tst-timer4.c (TIMEOUT): Likewise.
5604 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
5605 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
5606 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
5607 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
5608 * time/tst-ftime.c (TIMEOUT): Likewise.
5609 * timezone/tst-tzset.c (TIMEOUT): Likewise.
5611 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
5613 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
5614 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
5617 2018-10-15 Joseph Myers <joseph@codesourcery.com>
5619 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5621 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
5622 instead of <bits/wordsize.h>.
5623 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
5624 and [__SEM_PAD_AFTER_TIME].
5625 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
5626 __syscall_ulong_t instead of unsigned long int.
5627 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
5628 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
5629 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
5630 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
5631 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
5632 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
5633 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
5634 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
5635 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
5636 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
5637 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
5639 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
5641 regex: simplify by using intprops.h
5643 * posix/regex_internal.h [_LIBC]: Include intprops.h.
5644 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
5645 intprops.h defines them.
5647 regex: __builtin_expect → __glibc_unlikely
5649 This refactoring was prompted by a problem when the regex code is
5650 used as part of Gnulib and when the builder’s compiler does not grok
5651 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
5652 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
5653 Although this refactoring does not fix the problem directly,
5654 we might as well have Gawk use the now-preferred glibc style for when
5655 __builtin_expect is unavailable.
5656 * posix/regex_internal.h (BE): Remove.
5657 All uses replaced by __glibc_unlikely or __glibc_likely.
5659 2018-10-11 Joseph Myers <joseph@codesourcery.com>
5661 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5663 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
5664 instead of <bits/wordsize.h>.
5665 (msgqnum_t): Define as __syscall_ulong_t.
5666 (msglen_t): Likewise.
5667 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
5668 and [__MSQ_PAD_AFTER_TIME].
5669 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
5670 __syscall_ulong_t instead of unsigned long int.
5671 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
5672 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
5673 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
5674 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
5675 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
5676 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
5677 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
5678 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
5679 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
5680 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
5681 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
5683 2018-10-10 Joseph Myers <joseph@codesourcery.com>
5685 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
5686 (struct shmid_ds): Condition padding after time fields on
5688 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
5689 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
5690 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
5692 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
5693 (struct semid_ds): Condition padding after time fields on
5695 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
5696 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
5697 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
5698 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
5700 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
5701 (struct msqid_ds): Condition padding after time fields on
5703 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
5704 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
5705 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
5706 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
5708 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
5710 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
5712 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
5714 * libio/tst-readline.c (TIMEOUT): Define.
5716 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
5718 mktime fix for Gnulib + coreutils
5720 This fix affects only Gnulib. Problem discovered when
5721 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
5723 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
5724 Do not define since it is not used. Defining an unused static
5725 function prompts a warning from GCC when Coreutils is configured
5726 with --enable-gcc-warnings.
5728 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5730 * benchtests/scripts/compare_bench.py (main): set float type on
5733 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
5736 * localedata/locales/kl_GL (mon): Update, the relative case.
5737 (alt_mon): Add, fill with month names in the nominative case.
5738 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
5739 (d_fmt): Set to "%b %d %Y".
5741 2018-10-04 Joseph Myers <joseph@codesourcery.com>
5743 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
5744 <bits/mman-linux.h>.
5745 (PROT_READ): Don't define here.
5746 (PROT_WRITE): Likewise.
5747 (PROT_EXEC): Likewise.
5748 (PROT_NONE): Likewise.
5749 (PROT_GROWSDOWN): Likewise.
5750 (PROT_GROWSUP): Likewise.
5751 (MAP_SHARED): Likewise.
5752 (MAP_PRIVATE): Likewise.
5753 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
5754 [__USE_MISC] (MAP_FILE): Likewise.
5755 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
5756 [__USE_MISC] (MAP_ANON): Likewise.
5757 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
5758 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
5759 (MCL_CURRENT): Likewise.
5760 (MCL_FUTURE): Likewise.
5761 (MCL_ONFAULT): Likewise.
5762 [__USE_MISC] (MADV_NORMAL): Likewise.
5763 [__USE_MISC] (MADV_RANDOM): Likewise.
5764 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
5765 [__USE_MISC] (MADV_WILLNEED): Likewise.
5766 [__USE_MISC] (MADV_DONTNEED): Likewise.
5767 [__USE_MISC] (MADV_FREE): Likewise.
5768 [__USE_MISC] (MADV_REMOVE): Likewise.
5769 [__USE_MISC] (MADV_DONTFORK): Likewise.
5770 [__USE_MISC] (MADV_DOFORK): Likewise.
5771 [__USE_MISC] (MADV_HWPOISON): Likewise.
5772 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
5773 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
5774 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
5775 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
5776 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
5777 (__MAP_ANONYMOUS): New macro.
5778 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
5779 <bits/mman-linux.h> inclusion.
5780 (MAP_FIXED): Likewise.
5781 (MS_SYNC): Likewise.
5782 (MS_ASYNC): Likewise.
5783 (MS_INVALIDATE): Likewise.
5784 [__USE_MISC] (MADV_MERGEABLE): Likewise.
5785 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
5786 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
5787 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
5788 [__USE_MISC] (MADV_DONTDUMP): Likewise.
5789 [__USE_MISC] (MADV_DODUMP): Likewise.
5790 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
5791 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
5794 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
5796 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
5797 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
5798 Add test-nldbl-redirect.
5799 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
5800 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
5801 $(objpfx)libnldbl_nonshared.a.
5803 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
5805 * support/support.h (support_objdir_elf_ldso): New variable.
5806 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
5807 * support/Makefile (CFLAGS-support_paths.c): Add definition
5808 for OBJDIR_ELF_LDSO_PATH.
5809 * support/test-container.c (main): Search for the ld.so
5810 which is also used by the testsuite.
5812 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
5815 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
5816 should be "sap" rather than "sab".
5817 (day): Fix spelling of Sunday, should be "sapaat" rather than
5820 2018-10-02 Joseph Myers <joseph@codesourcery.com>
5822 * math/libm-test-fma.inc (fma_test_data): Add more tests.
5824 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
5827 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
5828 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
5829 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
5831 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5833 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
5835 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
5837 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
5839 (CFLAGS-elision-unlock.c): Likewise.
5840 (CFLAGS-elision-timed.c): Likewise.
5841 (CFLAGS-elision-trylock.c): Likewise.
5842 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
5844 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5847 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
5848 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
5849 new fd_to_filename interface.
5850 * libio/freopen64.c (freopen64): Likewise.
5851 * libio/tst-memstream.h: New file.
5852 * libio/tst-memstream4.c: Likewise.
5853 * libio/tst-wmemstream4.c: Likewise.
5854 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
5855 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
5856 and remove internal dynamic allocation.
5858 2018-10-01 Joseph Myers <joseph@codesourcery.com>
5860 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
5861 (MREMAP_MAYMOVE): Do not define here.
5862 [__USE_GNU] (MREMAP_FIXED): Likewise.
5863 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
5864 (MREMAP_MAYMOVE): Define here instead.
5865 [__USE_GNU] (MREMAP_FIXED): Likewise.
5866 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
5867 (MREMAP_MAYMOVE): Remove.
5868 [__USE_GNU] (MREMAP_FIXED): Likewise.
5870 2018-09-28 Joseph Myers <joseph@codesourcery.com>
5872 * math/fromfp.h: Do not include <math_private.h>.
5873 * math/s_cacosh_template.c: Likewise.
5874 * math/s_casin_template.c: Likewise.
5875 * math/s_casinh_template.c: Likewise.
5876 * math/s_ccos_template.c: Likewise.
5877 * math/s_cproj_template.c: Likewise.
5878 * math/s_fdim_template.c: Likewise.
5879 * math/s_fmaxmag_template.c: Likewise.
5880 * math/s_fminmag_template.c: Likewise.
5881 * math/s_iseqsig_template.c: Likewise.
5882 * math/s_ldexp_template.c: Likewise.
5883 * math/s_nextdown_template.c: Likewise.
5884 * math/w_log1p_template.c: Likewise.
5885 * math/w_scalbln_template.c: Likewise.
5886 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
5887 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
5888 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
5889 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
5890 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
5891 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
5892 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
5893 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
5894 * sysdeps/i386/fpu/s_atanl.c: Likewise.
5895 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
5896 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
5897 * sysdeps/i386/fpu/s_fdim.c: Likewise.
5898 * sysdeps/i386/fpu/s_logbl.c: Likewise.
5899 * sysdeps/i386/fpu/s_rintl.c: Likewise.
5900 * sysdeps/i386/fpu/s_significandl.c: Likewise.
5901 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
5902 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
5903 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5904 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5905 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
5906 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5907 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5908 * sysdeps/ieee754/k_standardf.c: Likewise.
5909 * sysdeps/ieee754/k_standardl.c: Likewise.
5910 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5911 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5912 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
5913 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5914 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5915 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5916 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5917 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
5918 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
5919 * sysdeps/ieee754/s_signgam.c: Likewise.
5920 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5921 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
5922 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
5923 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
5924 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
5925 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
5926 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5927 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
5928 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5929 * sysdeps/riscv/rvd/s_finite.c: Likewise.
5930 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
5931 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
5932 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
5933 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
5934 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
5935 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
5936 * sysdeps/riscv/rvf/fegetround.c: Likewise.
5937 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
5938 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
5939 * sysdeps/riscv/rvf/fesetround.c: Likewise.
5940 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
5941 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
5942 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
5943 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
5944 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
5945 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
5946 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
5947 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
5948 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
5949 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
5950 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
5951 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
5952 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
5953 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
5954 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5955 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5956 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
5958 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
5960 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
5963 * sysdeps/i386/dl-cet.c: Removed.
5964 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
5966 (_dl_runtime_profile_shstk): Likewise.
5967 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
5968 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
5970 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5973 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
5974 do_test_with_invalid_iov): New tests.
5975 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
5976 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
5977 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
5979 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
5980 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
5981 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
5983 2018-09-27 Joseph Myers <joseph@codesourcery.com>
5985 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5986 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
5987 (MATH_REDIRECT_BINARY_ARGS): New macro.
5988 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5989 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
5990 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
5992 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
5993 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5994 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
5995 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5996 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5997 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5998 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
6001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
6003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
6004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
6005 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
6006 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
6007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
6009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
6011 * sysdeps/generic/math_private_calls.h
6012 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
6013 Do not declare and define as an inline function.
6014 * math/divtc3.c (__divtc3): Use copysign functions instead of
6015 __copysign variants.
6016 * math/multc3.c (__multc3): Likewise.
6017 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
6018 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
6019 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6020 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6022 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6023 (__ieee754_yn): Likewise.
6024 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6025 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
6026 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6027 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6028 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
6030 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
6031 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6033 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6035 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6037 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6038 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6040 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6041 (__ieee754_ynf): Likewise.
6042 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
6043 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6044 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6045 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6047 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6048 (__ieee754_ynl): Likewise.
6049 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6050 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6051 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6053 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6054 (__ieee754_ynl): Likewise.
6055 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
6056 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6057 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6058 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6060 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6062 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
6063 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6064 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
6065 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6066 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6068 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6069 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
6070 using MATH_REDIRECT.
6071 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
6073 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
6074 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6075 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6076 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
6077 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6078 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6079 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
6081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
6082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
6083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
6084 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6085 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6086 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6087 (round): Redirect to __round.
6088 (__roundl): Call round instead of __round.
6089 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
6091 [_ARCH_PWR5X] (__roundf): Likewise.
6092 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
6093 functions instead of __round variants.
6094 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6095 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
6097 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
6099 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
6101 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
6102 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
6104 (__ieee754_expl): Call roundl instead of __roundl.
6106 2018-09-27 Andreas Schwab <schwab@suse.de>
6109 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
6110 (do_test): Make st1 static.
6112 2018-09-26 Andreas Schwab <schwab@suse.de>
6115 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
6116 * elf/Makefile (tests): Add tst-unwind-ctor.
6117 (modules-names): Add tst-unwind-ctor-lib.
6118 ($(objpfx)tst-unwind-ctor): Depend on
6119 $(objpfx)tst-unwind-ctor-lib.so.
6121 2018-09-26 Joseph Myers <joseph@codesourcery.com>
6123 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
6124 file. Most contents moved from ....
6125 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
6126 and include <bits/mman-map-flags-generic.h>.
6127 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6128 (sysdep_headers): Add bits/mman-map-flags-generic.h.
6129 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
6130 <bits/mman-map-flags-generic.h>.
6131 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
6132 macros defined in <bits/mman-map-flags-generic.h>.
6133 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
6134 <bits/mman-map-flags-generic.h>.
6135 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
6136 defined in <bits/mman-map-flags-generic.h>.
6138 2018-09-26 Andreas Schwab <schwab@suse.de>
6140 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
6143 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
6144 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6145 Fangrui Song <maskray@google.com>
6148 * config.make.in (have-textrel_ifunc): New define.
6149 * configure.ac: Add check if linker supports textrel relocation with
6151 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
6153 (CFLAGS-tst-ifunc-textrel.c): New rule.
6154 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
6155 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
6156 * elf/tst-ifunc-textrel.c: New file.
6158 2018-09-25 Joseph Myers <joseph@codesourcery.com>
6160 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
6161 <bits/procfs-prregset.h>.
6162 (prgregset_t): Define using __prgregset_t.
6163 (prfpregset_t): Define using __prfpregset_t.
6164 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6165 (sysdep_headers): Add bits/procfs-prregset.h.
6166 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
6167 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
6168 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
6169 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
6171 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
6172 <bits/procfs-id.h> and <bits/procfs-extra.h>.
6173 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
6175 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6176 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
6177 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
6178 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
6179 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
6180 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
6181 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
6182 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
6183 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
6184 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
6185 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
6186 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
6187 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
6188 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
6189 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
6190 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
6191 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
6192 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
6193 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
6194 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
6195 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
6196 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
6197 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
6198 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
6200 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
6201 AArch64 version. Include <bits/procfs.h>.
6202 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6203 (sysdep_headers): Add bits/procfs.h.
6204 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
6205 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
6206 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
6207 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
6208 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
6209 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
6210 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
6211 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
6212 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
6213 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
6214 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
6215 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
6216 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
6217 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
6218 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
6219 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6220 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
6222 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6224 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
6227 2018-09-25 Arjun Shankar <arjun@redhat.com>
6229 * iconv/gconv_int.h (__gconv_path_elem): Remove.
6230 (__gconv_max_path_elem_len): Likewise.
6231 (__gconv_nmodules): Likewise.
6232 (__gconv_get_path): Likewise.
6233 (path_elem): Move to ...
6234 * iconv/gconv_conf.c: ... here.
6235 (__gconv_get_path): Mark function static.
6236 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
6237 * iconv/gconv_open.c: ... here.
6239 2018-09-24 Andreas Schwab <schwab@suse.de>
6241 * scripts/haveversions.awk: New file.
6242 * Makerules ($(common-objpfx)Versions.def)
6243 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
6244 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
6246 * Makeconfig ($(common-objpfx)Versions.def)
6247 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
6248 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
6250 ($(common-objpfx)Versions.mk): New rule. Include it.
6251 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
6252 Emit error if build-obsolete-nsl = yes.
6253 * manual/install.texi (Configuring and compiling): Describe
6254 --enable-obsolete-nsl as unavaiable after version 2.28.
6255 * INSTALL: Regenerate.
6257 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6259 * NEWS: Add note about new TLE support on powerpc64le.
6260 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
6261 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
6263 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
6264 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
6265 * sysdeps/powerpc/powerpc32/sysdep.h,
6266 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
6267 ABORT_TRANSACTION): Remove macros.
6268 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
6269 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
6270 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
6271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
6272 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6273 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
6275 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
6277 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
6280 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
6281 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
6282 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
6283 which is the same as in it_IT.
6284 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
6285 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
6287 2018-09-20 Joseph Myers <joseph@codesourcery.com>
6289 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6290 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
6291 using MATH_REDIRECT.
6292 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
6294 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
6295 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6296 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
6297 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6298 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6299 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
6301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
6302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
6303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
6304 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6305 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6306 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
6307 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
6308 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
6309 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
6310 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
6311 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6312 (ceil): Redirect to __ceil.
6313 (floor): Redirect to __floor.
6314 (trunc): Redirect to __trunc.
6315 (__truncl): Call trunc instead of __trunc.
6316 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
6318 [_ARCH_PWR5X] (__truncf): Likewise.
6319 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
6320 trunc functions instead of __trunc variants.
6321 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6323 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6325 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6327 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6330 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
6331 [__i586__ || __pentium__].
6332 [__i486__]: Handle explicitly.
6333 (HAS_CPUID): Define to 1 if above macros are undefined.
6334 (HAS_I586): Likewise.
6335 (HAS_I686): Likewise.
6337 2018-09-20 Florian Weimer <fweimer@redhat.com>
6339 * misc/tst-gethostid.c: New file.
6340 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
6341 (tst-gethostid): Link with -ldl.
6343 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
6345 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
6346 value from gethostbyname_r.
6348 2018-09-19 Carlos O'Donell <carlos@redhat.com>
6350 * stdlib/tst-setcontext9.c (f1): Rename to...
6352 (f1b): New function implementing lower half of f1 in alternate stack.
6354 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
6356 Fix mktime localtime offset confusion
6358 * include/time.h (__mktime_internal): The localtime offset is now
6359 of type long int instead of time_t. This is the longstanding type
6360 in glibc, and it is more than enough to represent difference
6361 between localtime and gmtime even if it is 32 bits and time_t is
6362 64. Changing it now will let us avoid an unnecessary change when
6363 time_t is widened to 64 bits on 32-bit platforms.
6364 * time/mktime-internal.h (mktime_offset_t): Now long int.
6366 Merge mktime, timegm from upstream Gnulib
6367 [BZ #23603][BZ #16346]
6368 This fixes some obscure problems with integer overflow.
6369 Although it looks scary, it is almost all a byte-for-byte copy
6370 from Gnulib, and the Gnulib code has been tested reasonably well.
6371 * include/intprops.h: New file, copied from Gnulib.
6372 * include/verify.h, time/mktime-internal.h:
6373 New tiny files, simplified from Gnulib.
6374 * time/mktime.c: Copy from Gnulib. This has the following changes:
6375 Do not include config.h if DEBUG_MKTIME is nonzero.
6376 Include stdbool.h, intprops.h, verify.h.
6377 Include string.h only if needed.
6378 Include stdlib.h on MS-Windows.
6379 Include mktime-internal.h.
6380 (DEBUG_MKTIME): Default to 0, and simplify later uses.
6381 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
6382 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
6383 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
6384 simplify later conditionals; default the others to zero. Use
6385 these conditionals to express only the code needed on the current
6386 platform. In uses of these conditionals, explicitly spell out how
6387 _LIBC affects things, so it’s easier to review from a glibc
6389 (WRAPV): Remove; no longer needed now that we have
6390 systematic overflow checking.
6391 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
6392 compartmentalize tzset issues. Move system-dependent tzsettish
6393 code here from mktime.
6394 (verify): Remove; now done by verify.h. All uses changed.
6395 (long_int): Use a more-conservative definition, to avoid
6397 (SHR): Remove, replacing with ...
6398 (shr): New function, which means we needn’t worry about side
6399 effects in args, and conversion analysis is simpler.
6400 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
6401 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
6402 (time_t_avg, time_t_add_ok): Remove.
6403 (mktime_min, mktime_max): New constants.
6404 (leapyear, isdst_differ): Use bool for booleans.
6405 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
6406 Use long_int, not time_t, for mktime differences.
6407 (long_int_avg): New function, replacing time_t_avg.
6408 INT_ADD_WRAPV replaces time_t_add_ok.
6409 (guess_time_tm): 6th arg is now long_int, not time_t const *.
6411 (convert_time): New function.
6412 (ranged_convert): Use it.
6413 (__mktime_internal): Last arg now points to mktime_offset_t, not
6414 time_t. All uses changed. This is a no-op on glibc, where
6415 mktime_offset_t is always time_t. Use int, not time_t, for UTC
6416 offset guess. Directly check for integer overflow instead of
6417 using a heuristic that works only 99.9...% of the time.
6418 Access *OFFSET only once, to avoid an unlikely race if the
6419 compiler delays a load and if this cascades into a signed integer
6421 (mktime): Move tzsettish code to my_tzset, and move
6422 localtime_offset to within mktime so that it doesn’t
6423 need a separate ifdef.
6424 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
6425 instead of localtime.
6426 * time/timegm.c: Copy from Gnulib. This has the following changes:
6427 Include mktime-internal.h.
6428 [!_LIBC]: Include config.h and time.h. Do not include
6429 timegm.h or time_r.h. Make __mktime_internal a macro,
6430 and include mktime-internal.h to get its declaration.
6431 (timegm): Temporary is now mktime_offset_t, not time_t.
6432 This affects only Gnulib.
6434 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
6437 * string/test-strstr.c (pr23637): New function.
6438 (test_main): Add tests with longer needles.
6439 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
6440 * string/strstr.c (AVAILABLE): Likewise.
6442 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
6444 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
6446 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
6448 * NEWS: Mention pow improvements.
6449 * math/Makefile (type-double-routines): Add e_pow_log_data.
6450 * sysdeps/generic/math_private.h (__exp1): Remove.
6451 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
6452 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
6453 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
6455 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
6456 (exp_inline): Remove.
6457 (__ieee754_exp): Only single double input is handled.
6458 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
6459 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
6460 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
6461 (__pow_log_data): Define.
6462 * sysdeps/ieee754/dbl-64/upow.h: Remove.
6463 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
6464 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
6465 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
6467 (CFLAGS-e_pow-fma4.c): Likewise.
6469 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
6471 Simplify tzfile fstat failure code
6473 * time/tzfile.c (__tzfile_read): Simplify slightly.
6475 Fix tzfile low-memory assertion failure
6477 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
6478 when registering time zone abbreviations.
6480 2018-09-18 Joseph Myers <joseph@codesourcery.com>
6482 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
6483 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
6484 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
6485 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
6486 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
6487 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
6488 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
6489 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6490 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6492 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
6494 (__ceill): Call ceil instead of __ceil.
6495 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
6497 (__floorl): Call floor instead of __floor.
6499 2018-09-17 Joseph Myers <joseph@codesourcery.com>
6501 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6502 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
6503 using MATH_REDIRECT.
6504 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
6506 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
6507 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6508 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6509 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
6510 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6511 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6512 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6513 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
6514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
6515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
6516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
6517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
6518 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6519 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6520 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
6521 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
6522 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
6523 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
6524 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
6526 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
6527 functions instead of __ceil variants.
6528 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6529 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
6531 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
6533 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6534 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
6536 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6537 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6540 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
6542 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
6543 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
6544 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
6545 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
6546 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
6547 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
6548 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
6549 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
6550 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
6551 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
6552 (ILL_BADIADDR): Remove constant.
6553 (TRAP_BRANCH): Likewise.
6554 (TRAP_HWBKPT): Likewise.
6556 2018-09-14 Joseph Myers <joseph@codesourcery.com>
6559 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
6560 Remove [_MIPS_SIM = _ABIN32] conditional case.
6561 (struct elf_prpsinfo): Likewise.
6564 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
6565 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
6566 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
6568 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
6569 elf_prpsinfo): Likewise.
6570 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
6571 elf_prpsinfo): Likewise.
6572 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
6575 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6576 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
6577 using MATH_REDIRECT.
6578 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
6580 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
6581 * sysdeps/alpha/fpu/s_rint.c: Likewise.
6582 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
6583 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6584 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6585 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6586 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
6587 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6588 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6589 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6590 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
6591 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
6592 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
6593 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
6594 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
6595 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6596 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6597 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
6598 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
6600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
6601 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
6602 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
6603 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
6604 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
6605 * sysdeps/x86_64/fpu/math_private.h: Remove file.
6606 * math/e_scalb.c (invalid_fn): Use rint functions instead of
6608 * math/e_scalbf.c (invalid_fn): Likewise.
6609 * math/e_scalbl.c (invalid_fn): Likewise.
6610 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6612 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6614 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6615 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
6616 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6618 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6620 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6622 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
6623 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
6625 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6626 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
6628 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6629 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
6630 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6631 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
6632 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6633 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
6634 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6635 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
6636 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6637 && !NO_MATH_REDIRECT] (floor): Likewise.
6638 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
6640 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
6641 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6642 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6643 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
6644 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6645 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6646 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6647 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
6648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
6649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
6650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
6651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
6652 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6653 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6654 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
6655 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
6656 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
6657 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
6658 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
6660 [_ARCH_PWR5X] (__floorf): Likewise.
6661 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
6663 [__SSE4_1__] (__floorf): Likewise.
6664 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
6665 instead of __floor variants.
6666 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
6667 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
6668 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
6669 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
6670 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
6671 * math/w_tgamma_compat.c (__tgamma): Likewise.
6672 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
6673 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
6674 * math/w_tgammal_compat.c (__tgammal): Likewise.
6675 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
6676 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6678 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
6679 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
6680 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
6681 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6683 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6684 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
6686 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
6687 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
6689 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6690 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
6692 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6693 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6694 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
6695 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
6696 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6697 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6699 2018-09-12 Joseph Myers <joseph@codesourcery.com>
6701 * elf/Makefile (modules-names-tests): New variable.
6703 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6705 * NEWS: Mention log2 improvements.
6706 * math/Makefile (type-double-routines): Add e_log2_data.
6707 * sysdeps/i386/fpu/e_log2_data.c: New file.
6708 * sysdeps/ia64/fpu/e_log2_data.c: New file.
6709 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
6710 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
6711 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
6712 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
6713 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
6715 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6717 * NEWS: Mention log improvement.
6718 * math/Makefile (type-double-routines): Add e_log_data.
6719 * sysdeps/i386/fpu/e_log_data.c: New file.
6720 * sysdeps/ia64/fpu/e_log_data.c: New file.
6721 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
6722 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
6723 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
6724 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
6725 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
6726 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
6728 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
6729 Xuepeng Guo <xuepeng.guo@intel.com>
6732 * sysdeps/i386/start.S: Include <sysdep.h>
6733 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
6734 enabled. Add cfi_undefined (eip).
6736 2018-09-11 Joseph Myers <joseph@codesourcery.com>
6738 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
6740 (EXTRACT_WORDS64): Likewise.
6741 (INSERT_WORDS64): Likewise.
6742 (GET_FLOAT_WORD): Likewise.
6743 (SET_FLOAT_WORD): Likewise.
6745 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
6747 (Config.build_gcc): Use --disable-libsanitizer for first GCC
6748 build, but not for second build if --full-gcc. Use
6749 --enable-languages=all for second build if --full-gcc.
6750 (get_parser): Add --full-gcc option.
6751 (main): Update call to Context.
6753 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
6756 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
6757 Single Quotation Mark).
6758 (thousands_sep): Likewise.
6759 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
6760 * localedata/locales/it_IT (thousands_sep): Use ".".
6761 (grouping): Use "3;3".
6763 2018-09-10 Joseph Myers <joseph@codesourcery.com>
6765 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
6766 x86_64 and i686 configs using --enable-obsolete-rpc
6767 --enable-obsolete-nsl.
6769 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
6771 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6773 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
6775 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
6776 Increment size of new_argv by one.
6778 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
6781 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
6782 * localedata/locales/ar_IN (d_fmt): Likewise.
6783 * localedata/locales/bhb_IN (d_fmt): Likewise.
6784 * localedata/locales/bho_IN (d_fmt): Likewise.
6785 * localedata/locales/bn_BD (d_fmt): Likewise.
6786 * localedata/locales/bn_IN (d_fmt): Likewise.
6787 * localedata/locales/doi_IN (d_fmt): Likewise.
6788 * localedata/locales/gu_IN (d_fmt): Likewise.
6789 * localedata/locales/hi_IN (d_fmt): Likewise.
6790 * localedata/locales/hne_IN (d_fmt): Likewise.
6791 * localedata/locales/kn_IN (d_fmt): Likewise.
6792 * localedata/locales/mag_IN (d_fmt): Likewise.
6793 * localedata/locales/mai_IN (d_fmt): Likewise.
6794 * localedata/locales/mjw_IN (d_fmt): Likewise.
6795 * localedata/locales/ml_IN (d_fmt): Likewise.
6796 * localedata/locales/mni_IN (d_fmt): Likewise.
6797 * localedata/locales/mr_IN (d_fmt): Likewise.
6798 * localedata/locales/pa_IN (d_fmt): Likewise.
6799 * localedata/locales/raj_IN (d_fmt): Likewise.
6800 * localedata/locales/sat_IN (d_fmt): Likewise.
6801 * localedata/locales/sd_IN (d_fmt): Likewise.
6802 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
6803 * localedata/locales/ta_IN (d_fmt): Likewise.
6804 * localedata/locales/ta_LK (d_fmt): Likewise.
6805 * localedata/locales/tcy_IN (d_fmt): Likewise.
6806 * localedata/locales/ur_IN (d_fmt): Likewise.
6808 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
6809 * localedata/locales/ks_IN (d_fmt): Likewise.
6810 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
6812 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
6813 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
6814 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
6815 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
6817 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
6819 * NEWS: Mention exp and exp2 improvements.
6820 * math/Makefile (libm-support): Remove t_exp.
6821 (type-double-routines): Add math_err and e_exp_data.
6822 * sysdeps/aarch64/libm-test-ulps: Update.
6823 * sysdeps/arm/libm-test-ulps: Update.
6824 * sysdeps/i386/fpu/e_exp_data.c: New file.
6825 * sysdeps/i386/fpu/math_err.c: New file.
6826 * sysdeps/i386/fpu/t_exp.c: Remove.
6827 * sysdeps/ia64/fpu/e_exp_data.c: New file.
6828 * sysdeps/ia64/fpu/math_err.c: New file.
6829 * sysdeps/ia64/fpu/t_exp.c: Remove.
6830 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
6831 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
6832 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
6833 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
6834 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
6835 * sysdeps/ieee754/dbl-64/math_config.h: New file.
6836 * sysdeps/ieee754/dbl-64/math_err.c: New file.
6837 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
6838 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
6839 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
6840 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
6841 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
6842 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
6843 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
6844 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6845 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6847 2018-09-05 Joseph Myers <joseph@codesourcery.com>
6849 * sysdeps/alpha/fpu/math_private.h: Remove.
6851 * sysdeps/generic/math_private.h
6852 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
6853 Move this inline function ....
6854 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
6855 * include/math.h [!_ISOMAC]: To here....
6857 2018-09-04 Joseph Myers <joseph@codesourcery.com>
6859 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
6861 [!FE_HAVE_ROUNDING_MODES]: And this code ....
6862 * include/fenv.h [!_ISOMAC]: ... to here.
6863 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
6864 (feraiseexcept): Likewise.
6865 * math/fromfp.h: Do not include <fenv_private.h>.
6866 * math/s_cexp_template.c: Likewise.
6867 * math/s_csin_template.c: Likewise.
6868 * math/s_csinh_template.c: Likewise.
6869 * math/s_ctan_template.c: Likewise.
6870 * math/s_ctanh_template.c: Likewise.
6871 * math/s_iseqsig_template.c: Likewise.
6872 * math/w_acos_compat.c: Likewise.
6873 * math/w_acosf_compat.c: Likewise.
6874 * math/w_acosl_compat.c: Likewise.
6875 * math/w_asin_compat.c: Likewise.
6876 * math/w_asinf_compat.c: Likewise.
6877 * math/w_asinl_compat.c: Likewise.
6878 * math/w_j0_compat.c: Likewise.
6879 * math/w_j0f_compat.c: Likewise.
6880 * math/w_j0l_compat.c: Likewise.
6881 * math/w_j1_compat.c: Likewise.
6882 * math/w_j1f_compat.c: Likewise.
6883 * math/w_j1l_compat.c: Likewise.
6884 * math/w_jn_compat.c: Likewise.
6885 * math/w_jnf_compat.c: Likewise.
6886 * math/w_log10_compat.c: Likewise.
6887 * math/w_log10f_compat.c: Likewise.
6888 * math/w_log10l_compat.c: Likewise.
6889 * math/w_log2_compat.c: Likewise.
6890 * math/w_log2f_compat.c: Likewise.
6891 * math/w_log2l_compat.c: Likewise.
6892 * math/w_log_compat.c: Likewise.
6893 * math/w_logf_compat.c: Likewise.
6894 * math/w_logl_compat.c: Likewise.
6895 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6896 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6897 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6898 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6899 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6900 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6901 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6902 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6903 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6904 * sysdeps/ieee754/k_standardl.c: Likewise.
6905 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6906 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6907 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6908 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6909 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6910 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6911 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6912 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6913 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6914 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6915 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6916 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6917 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6918 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6919 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6920 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6921 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6922 * math/w_ilogb_template.c: Include <fenv.h> instead of
6924 * math/w_llogb_template.c: Likewise.
6925 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6926 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6928 2018-09-03 Joseph Myers <joseph@codesourcery.com>
6930 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
6931 * math/fromfp.h: Include <fenv_private.h>.
6932 * math/math-narrow.h: Likewise.
6933 * math/s_cexp_template.c: Likewise.
6934 * math/s_csin_template.c: Likewise.
6935 * math/s_csinh_template.c: Likewise.
6936 * math/s_ctan_template.c: Likewise.
6937 * math/s_ctanh_template.c: Likewise.
6938 * math/s_iseqsig_template.c: Likewise.
6939 * math/w_acos_compat.c: Likewise.
6940 * math/w_acosf_compat.c: Likewise.
6941 * math/w_acosl_compat.c: Likewise.
6942 * math/w_asin_compat.c: Likewise.
6943 * math/w_asinf_compat.c: Likewise.
6944 * math/w_asinl_compat.c: Likewise.
6945 * math/w_ilogb_template.c: Likewise.
6946 * math/w_j0_compat.c: Likewise.
6947 * math/w_j0f_compat.c: Likewise.
6948 * math/w_j0l_compat.c: Likewise.
6949 * math/w_j1_compat.c: Likewise.
6950 * math/w_j1f_compat.c: Likewise.
6951 * math/w_j1l_compat.c: Likewise.
6952 * math/w_jn_compat.c: Likewise.
6953 * math/w_jnf_compat.c: Likewise.
6954 * math/w_llogb_template.c: Likewise.
6955 * math/w_log10_compat.c: Likewise.
6956 * math/w_log10f_compat.c: Likewise.
6957 * math/w_log10l_compat.c: Likewise.
6958 * math/w_log2_compat.c: Likewise.
6959 * math/w_log2f_compat.c: Likewise.
6960 * math/w_log2l_compat.c: Likewise.
6961 * math/w_log_compat.c: Likewise.
6962 * math/w_logf_compat.c: Likewise.
6963 * math/w_logl_compat.c: Likewise.
6964 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6965 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6966 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6967 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6968 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6969 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6970 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6971 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6972 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6973 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6974 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6975 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6976 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
6977 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
6978 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6979 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6980 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6981 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6982 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6983 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6984 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6985 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6986 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6987 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6988 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6989 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6990 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6991 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
6992 * sysdeps/ieee754/float128/float128_private.h: Likewise.
6993 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6994 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6995 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6996 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
6997 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6998 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6999 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7000 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7001 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7002 * sysdeps/ieee754/k_standardl.c: Likewise.
7003 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7004 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7005 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7006 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7007 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7008 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7009 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7010 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7011 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7012 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7013 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7014 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7015 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7016 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7017 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7018 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
7019 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7020 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
7021 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7022 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7023 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7024 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7025 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7026 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7027 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7028 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7029 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7030 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7031 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
7032 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7033 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7034 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7035 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7036 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7037 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7038 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7039 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7040 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7041 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7042 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7043 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7044 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7045 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7046 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7047 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7048 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7049 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7050 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7051 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7052 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7053 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7054 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7055 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7056 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7057 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7058 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7059 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
7060 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
7061 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7062 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
7063 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7064 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
7065 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
7066 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
7067 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
7068 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
7069 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
7070 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
7071 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
7072 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7073 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7075 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7078 * include/stdio.h (__libc_fatal): Mention newline in comment.
7079 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
7080 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
7081 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7082 * nss/nsswitch.c (__nss_next2): Likewise.
7083 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
7084 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
7085 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
7086 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7087 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
7088 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
7089 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
7090 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
7091 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
7092 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
7093 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
7094 * sysdeps/unix/sysv/linux/netlink_assert_response.c
7095 (__netlink_assert_response): Likewise.
7097 2018-08-31 Joseph Myers <joseph@codesourcery.com>
7099 * conform/glibcconform.py: New file.
7100 * conform/list-header-symbols.py: Likewise.
7101 * conform/list-header-symbols.pl: Remove.
7102 * conform/Makefile (tests-special): Only add linknamespace tests
7104 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
7106 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
7109 * support/Makefile (libsupport-routines): Add
7110 support_copy_file_range and xcopy_file_range.
7111 * support/support.h: Include <sys/types.h>.
7112 (support_copy_file_range): New prototype.
7113 * support/support_copy_file_range.c: New file. Copied and
7114 modified from io/copy_file_range-compat.c.
7115 * support/test-container.c (copy_one_file): Call xcopy_file_rang
7116 instead of copy_file_range.
7117 * support/xcopy_file_range.c: New file.
7118 * support/xunistd.h (xcopy_file_range): New prototype.
7120 2018-08-30 Carlos O'Donell <carlos@redhat.com>
7122 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
7123 xpthread_create and xpthread_join.
7125 2018-08-30 Florian Weimer <fweimer@redhat.com>
7127 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
7129 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
7131 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
7134 2018-08-29 Joseph Myers <joseph@codesourcery.com>
7136 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
7137 and minus_oflow as non-finite.
7139 2018-08-28 Joseph Myers <joseph@codesourcery.com>
7141 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
7142 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
7143 moved to fenv_private.h except for ...
7144 (TOINT_INTRINSICS): Kept in math_private.h.
7145 (roundtoint): Likewise.
7146 (converttoint): Likewise.
7147 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
7148 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7149 * sysdeps/arm/math_private.h: Remove.
7150 * sysdeps/generic/fenv_private.h: New file. Contents moved from
7152 * sysdeps/generic/math_private.h: ... this file. Include
7153 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
7154 Include <fenv_private.h>. Remove functions and macros moved to
7156 * sysdeps/i386/fpu/math_private.h: Remove.
7157 * sysdeps/mips/math_private.h: Move to ....
7158 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
7159 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
7160 [__mips_hard_float] conditional. Include next <fenv_private.h>.
7161 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
7162 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7163 * sysdeps/powerpc/fpu/math_private.h: Do not include
7165 * sysdeps/riscv/rvf/math_private.h: Move to ....
7166 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
7167 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
7169 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
7170 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7171 * sysdeps/sparc/fpu/math_private.h: Remove.
7172 * sysdeps/i386/fpu/fenv_private.h: Move to ....
7173 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
7174 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
7176 * sysdeps/x86_64/fpu/math_private.h: Do not include
7177 <sysdeps/i386/fpu/fenv_private.h>.
7179 2018-08-28 Florian Weimer <fweimer@redhat.com>
7182 * posix/tst-regcomp-truncated.c: New file.
7183 * posix/Makefile (tests): Add it.
7184 (tst-regcomp-truncated.out): Depend on generated locales.
7186 2018-08-28 Florian Weimer <fweimer@redhat.com>
7188 * support/test-container.c (main): Treat unshare failure with
7189 EPERM as an unsupported test.
7191 2018-08-28 Florian Weimer <fweimer@redhat.com>
7194 nscd: Fix use-after-free in addgetnetgrentX and its callers.
7195 * nscd/netgroupcache.c
7196 (addgetnetgrentX): Add tofreep parameter. Do not free
7197 heap-allocated buffer.
7198 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
7199 (addgetnetgrentX_ignore): New function.
7200 (addgetnetgrent): Call it.
7201 (readdgetnetgrent): Likewise.
7203 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7205 * string/memmem.c: Use memcmp for first match.
7207 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
7210 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
7212 2018-08-27 DJ Delorie <dj@redhat.com>
7214 * support/Makefile (others): Don't list programs explicitly as a
7215 dependency of "others".
7217 2018-08-27 Joseph Myers <joseph@codesourcery.com>
7219 * sysdeps/generic/math-tests-trap-force.h: New file.
7220 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
7221 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
7222 * sysdeps/powerpc/math-tests.h: Remove file.
7223 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
7225 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
7226 Torvald Riegel <triegel@redhat.com>
7229 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
7230 Update r to include the set wake-request flag if waiters are
7231 remaining after spinning.
7233 2018-08-27 Joseph Myers <joseph@codesourcery.com>
7235 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
7237 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
7240 regex: fix uninitialized memory access
7241 I introduced this bug into gnulib in commit
7242 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
7243 eventually it was merged into glibc. The bug was found by
7244 project-repo <bugs@feusi.co> and reported here:
7245 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
7246 Diagnosis and draft fix reported by Assaf Gordon here:
7247 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
7248 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
7249 * posix/regex_internal.c (build_wcs_upper_buffer):
7250 Fix bug when mbrtowc returns 0.
7252 2018-08-24 Carlos O'Donell <carlos@redhat.com>
7254 * po/be.po: Update translation.
7256 2018-08-24 DJ Delorie <dj@delorie.com>
7258 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
7261 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7264 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
7265 create temporary files in source tree.
7267 2018-08-24 Joseph Myers <joseph@codesourcery.com>
7269 * sysdeps/generic/math-tests-trap.h: New file.
7270 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
7271 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
7272 * sysdeps/aarch64/math-tests.h: Remove file.
7273 * sysdeps/arm/math-tests.h: Likewise.
7274 * sysdeps/riscv/math-tests.h: Likewise.
7275 * sysdeps/aarch64/math-tests-trap.h: New file.
7276 * sysdeps/arm/math-tests-trap.h: Likewise.
7277 * sysdeps/riscv/math-tests-trap.h: Likewise.
7279 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
7281 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
7282 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
7283 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
7284 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
7285 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
7286 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
7287 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7288 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
7289 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
7290 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7291 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7292 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7293 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7294 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
7295 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
7296 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
7297 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7298 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7300 2018-08-23 Joseph Myers <joseph@codesourcery.com>
7302 * sysdeps/generic/math-tests-exceptions.h: New file.
7303 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
7304 (EXCEPTION_TESTS_float): Do not define here.
7305 (EXCEPTION_TESTS_double): Likewise.
7306 (EXCEPTION_TESTS_long_double): Likewise.
7307 (EXCEPTION_TESTS_float128): Likewise.
7308 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
7310 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
7311 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
7312 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
7313 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
7314 * sysdeps/mips/math-tests.h: Likewise.
7315 * sysdeps/nios2/math-tests.h: Likewise.
7316 * sysdeps/riscv/math-tests.h [!__riscv_flen]
7317 (EXCEPTION_TESTS_float): Do not define here.
7318 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
7319 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
7320 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
7322 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
7324 * NEWS: Move optimized sinf entry to 2.29.
7326 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
7328 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
7330 2018-08-22 DJ Delorie <dj@redhat.com>
7332 * Makefile (testroot.pristine): New rules to initialize the
7333 test-in-container "testroot".
7334 * Makerules (all-testsuite): Add tests-container.
7335 * Rules (tests-expected): Add tests-container.
7336 (binaries-all-tests): Likewise.
7337 (tests-container): New, run these tests in the testroot container.
7338 * support/Makefile (others): Add *-container, support_paths.c,
7339 xmkdirp, and links-dso-program.
7340 * support/links-dso-program-c.c: New.
7341 * support/links-dso-program.cc: New.
7342 * support/test-container.c: New.
7343 * support/shell-container.c: New.
7344 * support/echo-container.c: New.
7345 * support/true-container.c: New.
7346 * support/xmkdirp.c: New.
7347 * support/xsymlink.c: New.
7348 * support/support_paths.c: New.
7349 * support/support.h: Add support paths prototypes.
7350 * support/xunistd.h: Add xmkdirp () and xsymlink ().
7352 * nss/tst-nss-test3.c: Convert to test-in-container.
7353 * nss/tst-nss-test3.root/: New.
7355 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
7357 regex: port Gnulib code to z/OS POSIX environment
7358 Problem reported by Arnold Robbins in:
7359 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
7360 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
7363 2018-08-22 Joseph Myers <joseph@codesourcery.com>
7365 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
7366 (ROUNDING_TESTS_double): Remove.
7367 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
7368 (ROUNDING_TESTS_double): Remove.
7369 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
7370 (ROUNDING_TESTS_double): Remove.
7371 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
7372 (ROUNDING_TESTS_float): Remove.
7373 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
7374 (ROUNDING_TESTS_float): Remove.
7375 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
7376 (ROUNDING_TESTS_float): Remove.
7377 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
7379 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7380 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7382 * sysdeps/generic/math-tests-rounding.h: New file.
7383 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
7384 (ROUNDING_TESTS_float): Do not define here.
7385 (ROUNDING_TESTS_double): Likewise.
7386 (ROUNDING_TESTS_long_double): Likewise.
7387 (ROUNDING_TESTS_float128): Likewise.
7388 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
7389 (ROUNDING_TESTS_double): Undefine before defining.
7390 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
7391 (ROUNDING_TESTS_double): Undefine before defining.
7392 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
7393 (ROUNDING_TESTS_double): Undefine before defining.
7394 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
7395 (ROUNDING_TESTS_float): Undefine before defining.
7396 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
7397 (ROUNDING_TESTS_float): Undefine before defining.
7398 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
7399 (ROUNDING_TESTS_float): Undefine before defining.
7400 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
7401 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
7403 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
7404 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
7405 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
7406 * sysdeps/riscv/math-tests.h [!__riscv_flen]
7407 (ROUNDING_TESTS_float): Do not define here.
7408 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
7409 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
7410 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
7411 (ROUNDING_TESTS_float): Likewise.
7412 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
7413 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
7414 * sysdeps/mips/math-tests.h [__mips_soft_float]
7415 (ROUNDING_TESTS_float): Likewise.
7416 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
7417 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
7418 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
7419 (ROUNDING_TESTS_double): Likewise.
7420 (ROUNDING_TESTS_long_double): Likewise.
7422 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
7424 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
7425 (PF_XDP): New macro.
7426 (AF_XDP): New macro.
7427 (SOL_XDP): New macro.
7429 2018-08-21 Joseph Myers <joseph@codesourcery.com>
7431 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
7432 (TCP_INQ): Likewise.
7433 (TCP_CM_INQ): Likewise.
7434 (TCP_REPAIR_ON): Likewise.
7435 (TCP_REPAIR_OFF): Likewise.
7436 (TCP_REPAIR_OFF_NO_WP): Likewise.
7437 (struct tcp_zerocopy_receive): New type.
7439 2018-08-21 Florian Weimer <fweimer@redhat.com>
7441 * support/support.h (support_descriptor_supports_holes): Declare.
7442 * support/Makefile (libsupport-routines): Add
7443 support_descriptor_supports_holes.
7444 * support/support_descriptor_supports_holes.c: New file.
7445 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
7446 and stop testing if holes are not supported.
7447 * io/test-lfs.c (do_prepare): Likewise.
7448 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
7450 * timezone/tst-tzset.c (create_tz_file): Likewise.
7451 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
7453 (do_prepare): Set it.
7454 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
7456 2018-08-21 Florian Weimer <fweimer@redhat.com>
7459 * Makeconfig (+cflags): Do not sort (and deduplicate).
7461 2018-08-21 Florian Weimer <fweimer@redhat.com>
7463 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
7464 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
7466 2018-08-20 Florian Weimer <fweimer@redhat.com>
7468 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
7469 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
7471 2018-08-20 Joseph Myers <joseph@codesourcery.com>
7473 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
7474 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
7475 and ssi_arch members.
7477 * elf/elf.c (NT_VMCOREDD): New macro.
7478 (AT_MINSIGSTKSZ): Likewise.
7480 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7482 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
7483 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
7484 s_cosf-ppc64 and s_cosf-power8.
7485 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
7486 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7487 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7488 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
7490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
7491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
7492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
7493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
7494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
7495 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
7496 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
7498 2018-08-17 Florian Weimer <fweimer@redhat.com>
7500 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7502 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
7504 * malloc/malloc.c (_int_malloc): Additional binning code checks.
7506 2018-08-16 Florian Weimer <fweimer@redhat.com>
7508 * configure.ac: Add --with-nonshared-cflags option.
7509 * config.make.in (extra-nonshared-cflags): Set variable.
7510 * Makeconfig (CFLAGS-.oS): Use it.
7511 * manual/install.texi (Configuring and compiling): Document
7512 --with-nonshared-cflags.
7513 * configure: Regenerate.
7514 * INSTALL: Likewise.
7516 2018-08-16 Florian Weimer <fweimer@redhat.com>
7518 * Makeconfig (ASFLAGS): Always append required assembler flags.
7520 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
7522 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
7523 (malloc_consolidate): Likewise.
7525 2018-08-16 Pochang Chen <johnchen902@gmail.com>
7527 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
7529 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7531 * benchtests/bench-strlen.c (do_test): Allocate buffers before
7534 * benchtests/bench-strlen.c: Print performance numbers in json.
7536 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7538 * sysdeps/powerpc/powerpc64/multiarch/Makefile
7539 (sysdep_routines): Build strcmp-power9 and strncmp-power9
7540 only for little endian.
7541 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7542 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
7543 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
7544 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
7545 Add check for little endian.
7546 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
7547 (__strcmp_power9): Add check for little endian.
7548 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
7549 Add check for little endian.
7550 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
7551 (__strncmp_power9): Add check for little endian.
7552 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
7553 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
7554 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
7555 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
7556 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
7558 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
7560 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
7561 [!STRLEN](STRLEN): Set to __strlen.
7562 * sysdeps/aarch64/multiarch/strlen.c: New file.
7563 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
7564 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
7565 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7566 (__libc_ifunc_impl_list): Add strlen.
7567 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
7568 strlen_generic and strlen_asimd.
7570 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
7572 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
7573 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
7574 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
7576 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
7578 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
7580 2018-08-14 Florian Weimer <fweimer@redhat.com>
7583 * include/stdio.h (__vfxprintf): Declare.
7584 * stdio-common/fxprintf.c (__vfxprintf): New function.
7585 (__fxprintf): Call it.
7586 * misc/err.c (convert_and_print): Remove function.
7587 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
7588 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
7589 * misc/Makefile (tests): Add tst-warn-wide.
7590 * misc/tst-warn-wide.c: New file.
7592 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
7593 Szabolcs Nagy <szabolcs.nagy@arm.com>
7595 * NEWS: Mention sinf, cosf, sincosf.
7596 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
7597 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
7598 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
7599 constants rather than including generic sincosf.h.
7600 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
7601 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
7602 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
7603 (reduced_cos): Remove.
7604 (sinf_poly): New function.
7605 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
7607 2018-08-14 Florian Weimer <fweimer@redhat.com>
7611 * nss/nss_files/files-alias.c (get_next_alias): During :include:
7612 processing, bail out if no room, and close the stream before
7614 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
7615 (tst-nss-files-alias-leak): Link with libdl.
7616 (tst-nss-files-alias-leak.out): Depend on nss_files.
7618 * nss/tst-nss-files-alias-leak.c: New file.
7620 2018-08-14 Florian Weimer <fweimer@redhat.com>
7622 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
7623 server_user, stat_user.
7625 2018-08-13 Joseph Myers <joseph@codesourcery.com>
7627 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7629 (io_pgetevents): New syscall.
7632 * manual/install.texi (Configuring and compiling): Do not list
7633 tools used for testing pretty printers here.
7634 (Tools for Compilation): List Python, PExpect and GDB here.
7635 Update descriptions of uses of Perl and Python.
7636 * INSTALL: Regenerate.
7638 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7641 2018-08-13 Florian Weimer <fweimer@redhat.com>
7643 * misc/error.c (error): Add missing va_end call.
7644 (error_at_line): Likewise.
7646 2018-08-13 Florian Weimer <fweimer@redhat.com>
7648 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
7650 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
7652 * benchtests/scripts/benchout.schema.json (properties): Add
7655 * benchtests/bench-skeleton.c (main): Add duration and
7656 iterations attributes.
7658 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
7660 regex: Gnulib unibyte RRI uses bytes not chars
7661 Adjust the non-glibc code to agree with what Gawk needs for
7662 rational range interpretation (RRI) for regular expression ranges.
7663 In unibyte locales, Gawk wants ranges to use the underlying byte
7664 rather than the character code point. This change does not affect
7666 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
7667 In unibyte locales, use the byte value rather than
7668 running it through btowc.
7670 2018-08-10 Joseph Myers <joseph@codesourcery.com>
7672 * sysdeps/generic/math-tests-snan.h: New file.
7673 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
7674 (SNAN_TESTS_float): Do not define here.
7675 (SNAN_TESTS_double): Likewise.
7676 (SNAN_TESTS_long_double): Likewise.
7677 (SNAN_TESTS_float128): Likewise.
7678 * sysdeps/i386/fpu/math-tests-snan.h: New file.
7679 * sysdeps/i386/fpu/math-tests.h: Remove file.
7680 * sysdeps/ia64/math-tests-snan.h: New file.
7681 * sysdeps/ia64/math-tests.h: Remove file.
7682 * sysdeps/x86/math-tests.h: Likewise.
7683 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
7685 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7686 Szabolcs Nagy <szabolcs.nagy@arm.com>
7688 * math/Makefile: Add s_sincosf_data.c.
7689 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
7690 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
7691 (sincosf_poly): Likewise.
7692 (reduce_small): Likewise.
7693 (reduce_large): Likewise.
7694 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
7695 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
7696 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
7697 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
7699 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7700 Szabolcs Nagy <szabolcs.nagy@arm.com>
7702 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
7703 (converttoint): Use lround.
7704 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
7705 document the semantics when TOINT_INTRINSICS is set.
7706 (converttoint): Likewise.
7707 (TOINT_RINT): Remove.
7708 (TOINT_SHIFT): Remove.
7709 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
7712 2018-08-10 Florian Weimer <fweimer@redhat.com>
7715 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
7717 (__old_getdents64): Use getdents64. Convert entries without
7719 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
7720 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
7721 tst-readdir64-compat.
7723 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7725 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
7728 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7730 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
7731 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
7732 code to s390x-mcount.h and #include it.
7733 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
7734 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7737 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7739 * stdlib/Versions: Remove __fentry__.
7740 * sysdeps/i386/Versions: Add __fentry__.
7741 * sysdeps/x86_64/Versions: Add __fentry__.
7743 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7745 * sysdeps/s390/Makefile: Register the new tests.
7746 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
7747 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
7748 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
7749 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
7750 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
7751 * sysdeps/s390/tst-dl-runtime.c: New file.
7753 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7755 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7758 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7760 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
7763 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7765 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7768 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7770 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7773 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7775 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7776 Use symbolic offsets for stack variables.
7778 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7780 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
7781 Use symbolic offsets for stack variables.
7783 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7785 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7786 Use symbolic offsets for stack variables.
7788 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7790 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7791 Use symbolic offsets for stack variables.
7793 2018-08-09 Joseph Myers <joseph@codesourcery.com>
7795 * math/gen-libm-test.py: New file.
7796 * math/gen-libm-test.pl: Remove.
7797 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
7798 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
7800 ($(libm-test-c-noauto-obj)): Likewise.
7801 ($(libm-test-c-auto-obj)): Likewise.
7802 ($(libm-test-c-narrow-obj)): Likewise.
7803 (regen-ulps): Likewise.
7804 * math/README.libm-test: Update references to gen-libm-test.pl.
7805 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
7806 referencing gen-libm-test.pl.
7807 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
7808 * math/libm-test-support.c: Likewise.
7809 * math/libm-test-support.h: Likewise.
7810 * sysdeps/generic/libm-test-ulps: Likewise.
7812 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
7814 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
7817 2018-08-08 Joseph Myers <joseph@codesourcery.com>
7819 * math/libm-test-nextdown.inc (do_test): Move comment to ....
7820 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
7822 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
7824 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
7826 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
7827 __pthread_setspecific): Add hidden proto.
7828 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
7829 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
7831 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
7833 * benchtests/bench-string.h (buf1_size, buf2_size): New
7835 (init_sizes): New function.
7836 (test_init): Use it.
7837 (alloc_buf, exit_error): New functions.
7838 (alloc_bufs): Use ALLOC_BUF.
7839 (realloc_bufs): Remove.
7840 * benchtests/bench-memcmp.c (do_test): Adjust.
7841 * benchtests/bench-memset-large.c (do_test): Likewise.
7842 * benchtests/bench-memset-walk.c (do_test): Likewise.
7843 * benchtests/bench-memset.c (do_test): Likewise.
7844 * benchtests/bench-strncmp.c (do_test): Likewise.
7846 2018-08-06 Andreas Schwab <schwab@suse.de>
7848 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
7849 of CONST_THREAD_AREA.
7851 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
7853 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
7854 (STATE_SAVE_MASK): Likewise.
7855 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
7856 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
7857 (STATE_SAVE_MASK): Likewise.
7858 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
7859 instead of <cpu-features.h>.
7861 2018-08-03 DJ Delorie <dj@redhat.com>
7863 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
7864 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
7866 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
7868 2018-08-03 Joseph Myers <joseph@codesourcery.com>
7870 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
7872 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
7873 * math/libm-test-logb.inc (logb_test_data): Likewise.
7875 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
7877 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
7878 * string/strstr.c (AVAILABLE): Likewise.
7880 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
7882 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
7884 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
7885 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
7886 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
7888 2018-08-03 Carlos O'Donell <carlos@redhat.com>
7890 * po/be.po: Update translation.
7892 * po/be.po: Update translation.
7894 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
7896 * sysdeps/x86/cpu-features-offsets.sym
7897 (rtld_global_ro_offsetof): Removed.
7898 (CPU_FEATURES_SIZE): Likewise.
7899 (CPUID_OFFSET): Likewise.
7900 (CPUID_SIZE): Likewise.
7901 (CPUID_EAX_OFFSET): Likewise.
7902 (CPUID_EBX_OFFSET): Likewise.
7903 (CPUID_ECX_OFFSET): Likewise.
7904 (CPUID_EDX_OFFSET): Likewise.
7905 (FAMILY_OFFSET): Likewise.
7906 (MODEL_OFFSET): Likewise.
7907 (FEATURE_OFFSET): Likewise.
7908 (FEATURE_SIZ): Likewise.
7909 (COMMON_CPUID_INDEX_1): Likewise.
7910 (COMMON_CPUID_INDEX_7): Likewise.
7911 (FEATURE_INDEX_1): Likewise.
7912 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
7914 2018-08-02 Carlos O'Donell <carlos@redhat.com>
7916 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
7917 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
7918 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
7919 (install-locales): Depend on install-locale-archive.
7920 (install-locale-archive): Define.
7921 (install-locale-files): Define.
7922 (build-one-locale): Define macro.
7923 * manual/install.texi (Running make install): Document.
7924 * manual/INSTALL: Regenerate.
7926 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
7928 * benchtests/scripts/compare_strings.py: Import traceback.
7929 (parse_file): Pretty-print error.
7931 * NEWS: Mention the change.
7932 * elf/dl-tunables.list: Rename tune namespace to cpu.
7933 * sysdeps/powerpc/dl-tunables.list: Likewise.
7934 * sysdeps/x86/dl-tunables.list: Likewise.
7935 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
7937 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
7938 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
7939 * manual/README.tunables: Likewise.
7940 * manual/tunables.texi: Likewise.
7941 * sysdeps/powerpc/cpu-features.c: Likewise.
7942 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
7943 (init_cpu_features): Likewise.
7944 * sysdeps/x86/cpu-features.c: Likewise.
7945 * sysdeps/x86/cpu-features.h: Likewise.
7946 * sysdeps/x86/cpu-tunables.c: Likewise.
7947 * sysdeps/x86_64/Makefile: Likewise.
7948 * sysdeps/x86/dl-cet.c: Likewise.
7950 2018-08-02 Joseph Myers <joseph@codesourcery.com>
7953 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
7954 [__mips_hard_float].
7955 (FE_UNDERFLOW): Likewise.
7956 (FE_OVERFLOW): Likewise.
7957 (FE_DIVBYZERO): Likewise.
7958 (FE_INVALID): Likewise.
7959 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
7960 (FE_TOWARDZERO): Define only if [__mips_hard_float].
7961 (FE_UPWARD): Likewise.
7962 (FE_DOWNWARD): Likewise.
7963 (__FE_UNDEFINED): Define if [!__mips_hard_float]
7964 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
7965 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
7966 [__mips_hard_float].
7967 (FP_ROUNDMODE): Likewise.
7968 (FP_RND_NEAREST): Likewise.
7969 (FP_RND_ZERO): Likewise.
7970 (FP_RND_PINF): Likewise.
7971 (FP_RND_MINF): Likewise.
7972 (FP_EX_INVALID): Likewise.
7973 (FP_EX_OVERFLOW): Likewise.
7974 (FP_EX_UNDERFLOW): Likewise.
7975 (FP_EX_DIVZERO): Likewise.
7976 (FP_EX_INEXACT): Likewise.
7977 (FP_INIT_ROUNDMODE): Likewise.
7978 * sysdeps/mips/nofpu/fesetenv.c: New file.
7979 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
7981 2018-08-01 Joseph Myers <joseph@codesourcery.com>
7983 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
7984 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
7985 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
7986 conditional on [FE_UPWARD].
7988 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
7990 regex: fix memory leak in Gnulib
7991 Problem and fix reported by Assaf Gordon in:
7992 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
7993 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
7994 range_ends members too, as they are defined in 'struct
7995 re_charset_t' even if not _LIBC. This affects only Gnulib.
7997 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
7999 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
8001 (get_common_indices): This.
8002 (init_cpu_features): Updated.
8004 2018-08-01 Joseph Myers <joseph@codesourcery.com>
8006 * sysdeps/generic/math-tests-snan-payload.h: New file.
8007 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
8008 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
8009 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
8010 * sysdeps/generic/math-tests.h: Include
8011 <math-tests-snan-payload.h>.
8012 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8013 * sysdeps/hppa/math-tests.h: Remove file.
8014 * sysdeps/mips/math-tests.h [!__mips_nan2008]
8015 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8016 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
8019 * sysdeps/generic/math-tests-snan-cast.h: New file.
8020 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
8021 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
8022 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
8023 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
8025 2018-08-01 Carlos O'Donel <carlos@redhat.com>
8027 * version.h (RELEASE): Set to "development".
8028 (VERSION): Set to "2.28.9000".
8029 * NEWS (2.29): New section.
8031 * version.h (RELEASE): Set to "stable".
8032 (VERSION): Set to "2.28".
8033 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
8034 * NEWS: Add the list of bugs fixed in 2.28.
8036 * po/ca.po: Update to latest version.
8037 * po/cs.po: Likewise
8038 * po/da.po: Likewise
8039 * po/el.po: Likewise
8040 * po/eo.po: Likewise
8041 * po/es.po: Likewise
8042 * po/fi.po: Likewise
8043 * po/fr.po: Likewise
8044 * po/gl.po: Likewise
8045 * po/hu.po: Likewise
8046 * po/ia.po: Likewise
8047 * po/id.po: Likewise
8048 * po/it.po: Likewise
8049 * po/ja.po: Likewise
8050 * po/ko.po: Likewise
8051 * po/lt.po: Likewise
8052 * po/nb.po: Likewise
8053 * po/nl.po: Likewise
8054 * po/pt_BR.po: Likewise
8055 * po/ru.po: Likewise
8056 * po/rw.po: Likewise
8057 * po/sk.po: Likewise
8058 * po/sl.po: Likewise
8059 * po/tr.po: Likewise
8060 * po/zh_CN.po: Likewise
8061 * po/zh_TW.po: Likewise
8063 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8065 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
8067 (init): ... before initializing libpthread.
8069 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
8070 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
8071 (__mach_setup_tls): ... new function.
8072 (mach_setup_tls): New alias.
8073 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
8074 __mach_setup_thread.
8075 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
8076 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
8077 * mach/Versions [libc] (mach_setup_tls): Add symbol.
8078 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
8080 2018-07-31 Carlos O'Donell <carlos@redhat.com>
8082 * manual/install.texi: Update versions.
8083 * INSTALL: Regenerate.
8085 * manual/contrib.texi (Contributors): Update contributions.
8087 2018-07-31 Carlos O'Donell <carlos@redhat.com>
8089 * po/be.po: Update translations.
8091 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8093 * sysdeps/sh/libm-test-ulps: Update.
8095 2018-07-30 Carlos O'Donell <carlos@redhat.com>
8097 * po/bg.po: Update translations.
8098 * po/de.po: Likewise.
8099 * po/hr.po: Likewise.
8100 * po/pt_BR.po: Likewise.
8101 * po/sv.po: Likewise.
8102 * po/vi.po: Likewise.
8104 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
8107 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
8108 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
8109 (CFLAGS-tst-cet-property-1.o): New.
8110 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
8111 ($(objpfx)tst-cet-property-2): Likewise.
8112 ($(objpfx)tst-cet-property-2.out): Likewise.
8113 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
8114 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
8115 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
8116 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
8117 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
8119 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
8122 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
8124 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8126 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
8127 __sbrk): Do not set attribute_hidden.
8128 * sysdeps/mach/hurd/not-errno.h: New file.
8129 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
8130 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
8132 2018-07-27 Carlos O'Donell <carlos@redhat.com>
8134 * po/uk.po: Update translations.
8135 * po/cs.po: Likewise.
8136 * po/pl.po: Likewise.
8138 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
8140 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
8141 parse beyond the note end.
8143 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8145 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
8146 kernel does not support OFD locks.
8147 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
8149 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8151 * sysdeps/mach/hurd/Versions (libc): Make __access and
8152 __access_noerrno external so they can override the ld symbols.
8153 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
8154 __writev, __open64, __access_noerrno extern so they can be overrided.
8155 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
8156 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
8158 2018-07-26 Carlos O'Donell <carlos@redhat.com>
8160 * po/libc.pot: Regenerate.
8162 2018-07-26 Joseph Myers <joseph@codesourcery.com>
8164 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
8166 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
8169 * sysdeps/x86/cpu-features.c (get_extended_indices): New
8171 (init_cpu_features): Call get_extended_indices for both Intel
8173 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
8174 Remove "for AMD" comment.
8176 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
8179 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
8180 COMMON_CPUID_INDEX_80000001.
8182 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
8184 * string/tst-xbzero-opt.c (use_test_buffer): New function.
8185 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
8187 2018-07-26 Florian Weimer <fweimer@redhat.com>
8189 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
8190 aliases for symbols not in the implementation namespace.
8192 2018-07-25 Carlos O'Donell <carlos@redhat.com>
8195 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
8196 lowercase in LATIN script.
8197 * localedata/Makefile (test-input): Add en_US.UTF-8.
8198 * localedata/en_US.UTF-8.in: New file.
8199 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
8200 and restore old tests.
8201 * posix/tst-regexloc.c (do_test): Add back range expression test.
8203 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8205 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
8207 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8209 * nptl/threads.h: Move to ...
8210 * sysdeps/nptl/threads.h: ... here.
8211 * sysdeps/hurd/stdc-predef.h: New file.
8213 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8215 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
8216 tst-cet-setcontext-1 if CET is enabled.
8217 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
8218 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
8220 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8222 * include/threads.h: Move to ...
8223 * sysdeps/nptl/threads.h: ... here.
8224 * sysdeps/htl/threads.h: New file.
8225 * conform/Makefile (linknamespace-libs-ISO11): Use
8226 static-thread-library instead of linking libpthread.
8227 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
8229 2018-07-25 Florian Weimer <fweimer@redhat.com>
8231 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
8232 nanoseconds into seconds.
8233 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
8234 (do_test): Likewise.
8235 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
8236 (do_test): Likewise. Avoid nanosecond overflow and spurious
8237 timeouts due to system load.
8238 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
8239 (child_wait): Increment it.
8240 (do_test): Wait as long as necessary until all expected threads
8243 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
8244 H.J. Lu <hongjiu.lu@intel.com>
8246 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
8248 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
8249 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
8250 (__push___start_context): New.
8251 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
8253 (__getcontext): Record the current shadow stack base. Save the
8254 caller's shadow stack pointer and base.
8255 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
8256 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
8257 (__push___start_context): New prototype.
8258 (__makecontext): Call __push___start_context to allocate a new
8259 shadow stack, push __start_context onto the new stack as well
8260 as the new shadow stack.
8261 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
8263 (__setcontext): Restore the target shadow stack.
8264 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
8266 (__swapcontext): Record the current shadow stack base. Save
8267 the caller's shadow stack pointer and base. Restore the target
8269 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8270 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
8271 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
8273 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8275 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
8276 tst-setcontext8 and tst-setcontext9.
8277 * stdlib/tst-setcontext6.c: New file.
8278 * stdlib/tst-setcontext7.c: Likewise.
8279 * stdlib/tst-setcontext8.c: Likewise.
8280 * stdlib/tst-setcontext9.c: Likewise.
8282 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8284 * stdlib/Makefile ((tests): Add tst-setcontext5.
8285 * stdlib/tst-setcontext5.c: New file.
8287 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8289 * stdlib/Makefile (tests): Add tst-setcontext4.
8290 * stdlib/tst-setcontext4.c: New file.
8292 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8294 * stdlib/Makefile (tests): Add tst-swapcontext1.
8295 * stdlib/tst-swapcontext1.c: New test.
8297 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8299 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
8300 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
8301 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
8302 and tst-cet-legacy-4c.
8303 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
8304 and tst-cet-legacy-mod-4.
8305 (CFLAGS-tst-cet-legacy-2.c): New.
8306 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
8307 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
8308 (CFLAGS-tst-cet-legacy-3.c): Likewise.
8309 (CFLAGS-tst-cet-legacy-4.c): Likewise.
8310 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
8311 ($(objpfx)tst-cet-legacy-1): Likewise.
8312 ($(objpfx)tst-cet-legacy-2): Likewise.
8313 ($(objpfx)tst-cet-legacy-2.out): Likewise.
8314 ($(objpfx)tst-cet-legacy-2a): Likewise.
8315 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
8316 ($(objpfx)tst-cet-legacy-4): Likewise.
8317 ($(objpfx)tst-cet-legacy-4.out): Likewise.
8318 ($(objpfx)tst-cet-legacy-4a): Likewise.
8319 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
8320 (tst-cet-legacy-4a-ENV): Likewise.
8321 ($(objpfx)tst-cet-legacy-4b): Likewise.
8322 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
8323 (tst-cet-legacy-4b-ENV): Likewise.
8324 ($(objpfx)tst-cet-legacy-4c): Likewise.
8325 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
8326 (tst-cet-legacy-4c-ENV): Likewise.
8327 * sysdeps/x86/tst-cet-legacy-1.c: New file.
8328 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
8329 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
8330 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
8331 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
8332 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
8333 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
8334 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
8335 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
8336 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
8337 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
8339 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8341 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8342 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8344 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8345 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8348 2018-07-25 Andreas Schwab <schwab@suse.de>
8351 * locale/weightwc.h (findidx): Handle the case where usrc is a
8352 prefix of cp but one character too short.
8354 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8356 * NEWS: Add ISO C threads addition.
8358 2018-07-24 Florian Weimer <fweimer@redhat.com>
8360 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8361 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
8362 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
8365 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8367 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
8368 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
8369 <sys/prctl.h> and <asm/prctl.h>.
8370 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
8371 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
8373 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
8374 ARCH_CET_LEGACY_BITMAP.
8375 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
8376 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
8377 * sysdeps/x86/libc-start.c: Include <startup.h>.
8379 2018-07-24 Florian Weimer <fweimer@redhat.com>
8381 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
8382 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
8384 2018-07-24 Rical Jasan <rj@2c3t.io>
8385 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8386 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8389 * manual/debug.texi: Update adjacent chapter name.
8390 * manual/probes.texi: Likewise.
8391 * manual/threads.texi (ISO C Threads): New section.
8392 (POSIX Threads): Convert to a section.
8394 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8395 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8398 * nptl/Makefile (tests): Add new test files.
8399 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
8400 * nptl/tst-cnd-basic.c: Likewise.
8401 * nptl/tst-cnd-broadcast.c: Likewise.
8402 * nptl/tst-cnd-timedwait.c: Likewise.
8403 * nptl/tst-mtx-basic.c: Likewise.
8404 * nptl/tst-mtx-recursive.c: Likewise.
8405 * nptl/tst-mtx-timedlock.c: Likewise.
8406 * nptl/tst-mtx-trylock.c: Likewise.
8407 * nptl/tst-thrd-basic.c: Likewise.
8408 * nptl/tst-thrd-detach.c: Likewise.
8409 * nptl/tst-thrd-sleep.c: Likewise.
8410 * nptl/tst-tss-basic.c: Likewise.
8412 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8415 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
8416 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
8418 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8419 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8420 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8421 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8422 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8423 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8424 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8425 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8426 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8427 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8428 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8429 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
8436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8437 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
8438 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8439 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8440 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8441 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8442 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8443 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8444 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8445 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
8446 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
8447 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
8448 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
8449 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
8451 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
8452 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
8453 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
8454 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
8455 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
8456 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
8457 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
8458 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
8459 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
8460 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
8461 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
8462 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
8464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
8465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8469 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
8470 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
8471 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
8472 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
8473 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
8474 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
8475 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
8476 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
8479 * conform/data/threads.h-data (thread_local): New macro.
8480 (TSS_DTOR_ITERATIONS): Likewise.
8482 (tss_dtor_t): Likewise.
8483 (tss_create): New function.
8484 (tss_get): Likewise.
8485 (tss_set): Likewise.
8486 (tss_delete): Likewise.
8487 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
8488 tss_get, and tss_set objects.
8489 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
8490 * nptl/tss_create.c: New file.
8491 * nptl/tss_delete.c: Likewise.
8492 * nptl/tss_get.c: Likewise.
8493 * nptl/tss_set.c: Likewise.
8494 * sysdeps/nptl/threads.h (thread_local): New define.
8495 (TSS_DTOR_ITERATIONS): Likewise.
8496 (tss_t): New typedef.
8497 (tss_dtor_t): Likewise.
8498 (tss_create): New prototype.
8499 (tss_get): Likewise.
8500 (tss_set): Likewise.
8501 (tss_delete): Likewise.
8504 * conform/data/threads.h-data (cnd_t): New type.
8505 (cnd_init): New function.
8506 (cnd_signal): Likewise.
8507 (cnd_broadcast): Likewise.
8508 (cnd_wait): Likewise.
8509 (cnd_timedwait): Likewise.
8510 (cnd_destroy): Likewise.
8511 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
8512 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
8514 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
8515 * nptl/cnd_broadcast.c: New file.
8516 * nptl/cnd_destroy.c: Likewise.
8517 * nptl/cnd_init.c: Likewise.
8518 * nptl/cnd_signal.c: Likewise.
8519 * nptl/cnd_timedwait.c: Likewise.
8520 * nptl/cnd_wait.c: Likewise.
8521 * sysdeps/nptl/threads.h (cnd_t): New type.
8522 (cnd_init): New prototype.
8523 (cnd_signa): Likewise.
8524 (cnd_broadcast): Likewise.
8525 (cnd_wait): Likewise.
8526 (cnd_timedwait): Likewise.
8527 (cnd_destroy): Likewise.
8530 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
8531 (once_flag): New type.
8532 (call_once): New function.
8533 * nptl/Makefile (libpthread-routines): Add call_once object.
8534 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
8535 * nptl/call_once.c: New file.
8536 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
8537 (once_flag): New type.
8538 (call_once): New prototype.
8541 * conform/data/threads.h-data (mtx_plain): New constant.
8542 (mtx_recursive): Likewise.
8543 (mtx_timed): Likewise.
8545 (mtx_init): New function.
8546 (mtx_lock): Likewise.
8547 (mtx_timedlock): Likewise.
8548 (mtx_trylock): Likewise.
8549 (mtx_unlock): Likewise.
8550 (mtx_destroy): Likewise.
8551 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
8552 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
8553 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
8554 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
8555 * nptl/mtx_destroy.c: New file.
8556 * nptl/mtx_init.c: Likewise.
8557 * nptl/mtx_lock.c: Likewise.
8558 * nptl/mtx_timedlock.c: Likewise.
8559 * nptl/mtx_trylock.c: Likewise.
8560 * nptl/mtx_unlock.c: Likewise.
8561 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
8562 (mtx_recursive): Likewise.
8563 (mtx_timed): Likewise.
8565 (mtx_init): New prototype.
8566 (mtx_lock): Likewise.
8567 (mtx_timedlock): Likewise.
8568 (mtx_trylock): Likewise.
8569 (mtx_unlock): Likewise.
8570 (mtx_destroy): Likewise.
8573 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
8574 (linknamespace-libs-ISO11): Add libpthread.a.
8575 * conform/data/threads.h-data: New file: add C11 thrd_* types and
8577 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
8578 * nptl/Makefile (headers): Add threads.h.
8579 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
8580 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
8582 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
8583 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
8584 thrd_join, thrd_sleep, and thrd_yield symbols.
8585 * nptl/descr.h (struct pthread): Add c11 field.
8586 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
8587 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
8588 routine with expected function prototype.
8589 (__pthread_create_2_1): Add C11 threads check based on attribute
8591 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
8592 * nptl/thrd_create.c: New file.
8593 * nptl/thrd_current.c: Likewise.
8594 * nptl/thrd_detach.c: Likewise.
8595 * nptl/thrd_equal.c: Likewise.
8596 * nptl/thrd_exit.c: Likewise.
8597 * nptl/thrd_join.c: Likewise.
8598 * nptl/thrd_priv.h: Likewise.
8599 * nptl/thrd_sleep.c: Likewise.
8600 * nptl/thrd_yield.c: Likewise.
8601 * include/threads.h: Likewise.
8603 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8605 * bits/indirect-return.h: New file.
8606 * misc/sys/cdefs.h (__glibc_has_attribute): New.
8607 * sysdeps/x86/bits/indirect-return.h: Likewise.
8608 * stdlib/Makefile (headers): Add bits/indirect-return.h.
8609 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
8610 (swapcontext): Add __INDIRECT_RETURN.
8611 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
8612 (prepare_test_buffer): Use it.
8614 2018-07-24 Andreas Schwab <schwab@suse.de>
8617 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
8618 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
8620 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8622 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
8623 Redefine if shadow stack is enabled.
8624 (SYSCALL_ERROR_LABEL): Likewise.
8625 (__vfork): Pop shadow stack and jump back to to caller directly
8626 when shadow stack is in use.
8627 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
8628 Redefine if shadow stack is enabled.
8629 (SYSCALL_ERROR_LABEL): Likewise.
8630 (__vfork): Pop shadow stack and jump back to to caller directly
8631 when shadow stack is in use.
8633 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8635 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
8638 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
8641 2018-07-20 Joseph Myers <joseph@codesourcery.com>
8643 * scripts/build-many-glibcs.py (Context.checkout): Default
8644 binutils version to 2.31 branch.
8646 2018-07-20 Zong Li <zong@andestech.com>
8648 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
8649 URL of gcc's tarball.
8651 2018-07-20 Florian Weimer <fweimer@redhat.com>
8654 * posix/regcomp.c (build_equiv_class): When comparing weights, do
8655 not compare an extra byte after the end of the weights.
8657 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
8659 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
8661 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
8663 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
8664 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
8665 * scripts/check-execstack.awk: Consider `xfail' variable containing a
8666 list of libraries whose stack executability is expected.
8667 * elf/Makefile ($(objpfx)check-execstack.out): Pass
8668 $(check-execstack-xfail) to check-execstack.awk through `xfail'
8670 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
8671 libc.so libpthread.so.
8673 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
8675 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
8677 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
8679 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
8681 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
8683 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8685 * benchtests/scripts/compare_bench.py (__main__): use the argparse
8686 library to improve command line parsing.
8687 (__main__): make schema file as optional parameter (--schema),
8688 defaulting to benchtests/scripts/benchout.schema.json.
8689 (main): move out of the parsing stuff to __main_ and leave it
8690 only as caller of main comparison functions.
8692 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
8694 * NEWS: Add a note for Intel CET status.
8695 * manual/install.texi: Likewise.
8696 * INSTALL: Regenerated.
8698 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
8701 * localedata/locales/oc_FR (mon): Rename to...
8702 (alt_mon): This, then update October (typo fix).
8703 (mon): New content (genitive case, month names preceded by
8707 * localedata/locales/oc_FR (abday): Update all items.
8708 (day): Update Wednesday and Saturday (typo fixes).
8709 (abmon): Update all items, except May.
8710 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
8711 (LC_IDENTIFICATION): Bump the revision number and date.
8712 Keep the "category" entries in alphabetic order.
8713 (LC_ADDRESS): Remove no longer needed comment.
8714 (LC_COLLATE): Use “copy "ca_ES"”.
8715 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
8718 2018-07-18 Joseph Myers <joseph@codesourcery.com>
8720 * grp/tst_fgetgrent.c: Include <unistd.h>.
8721 (main): Use mkstemp instead of tmpnam.
8722 * io/test-utime.c (main): Likewise.
8723 * posix/annexc.c (macrofile): Change to modifiable array.
8724 (main): Remove macrofile here.
8725 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
8727 (check_header): Do not remove macrofile here.
8728 * posix/bug-getopt1.c: Include <stdlib.h>.
8729 (do_test): Use mkstemp instead of tmpnam.
8730 * posix/bug-getopt2.c: Include <stdlib.h>.
8731 (do_test): Use mkstemp instead of tmpnam.
8732 * posix/bug-getopt3.c: Include <stdlib.h>.
8733 (do_test): Use mkstemp instead of tmpnam.
8734 * posix/bug-getopt4.c: Include <stdlib.h>.
8735 (do_test): Use mkstemp instead of tmpnam.
8736 * posix/bug-getopt5.c: Include <stdlib.h>.
8737 (do_test): Use mkstemp instead of tmpnam.
8738 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
8739 (main): Use mkstemp instead of tmpnam.
8740 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
8741 (main): Use mkstemp instead of tmpnam.
8742 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
8743 (main): use mkstemp instead of tmpnam.
8744 * stdlib/isomac.c (macrofile): Change to modifiable array.
8745 (main): Remove macrofile here.
8746 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
8748 (check_header): Do not remove macrofile here.
8750 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8752 * manual/tunables.texi: Document glibc.tune.x86_ibt and
8753 glibc.tune.x86_shstk.
8755 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8757 * NEWS: Mention --enable-cet.
8758 * manual/install.texi: Document --enable-cet.
8759 * INSTALL: Regenerated.
8761 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8763 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
8764 Add _CET_NOTRACK before indirect jump to jump table.
8766 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8768 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
8769 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8772 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8774 * sysdeps/i386/i686/multiarch/strcat-sse2.S
8775 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8778 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8780 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
8781 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8784 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8786 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
8787 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8790 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8792 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
8793 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8795 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
8797 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8799 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
8800 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8803 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8805 * sysdeps/i386/i686/multiarch/memset-sse2.S
8806 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8809 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8811 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
8812 indirect jump to jump table.
8814 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8816 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
8817 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8821 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8823 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
8824 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8828 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8830 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
8831 _CET_NOTRACK before indirect jump to jump table.
8833 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8835 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
8836 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8839 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8841 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
8842 indirect jump to jump table.
8844 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
8847 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
8848 (LOCALES): Likewise.
8849 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
8850 * localedata/locales/sah_RU: New file.
8851 * localedata/sah_RU.UTF-8.in: New file.
8853 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8855 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
8857 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
8858 _CET_ENDBR to indirect jump targets and adjust jump destination
8860 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
8862 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
8863 _CET_ENDBR to indirect jump targets and adjust jump destination
8865 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
8867 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
8868 _CET_ENDBR to indirect jump targets and adjust jump destination
8871 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8873 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
8876 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8878 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
8880 (_dl_tlsdesc_undefweak): Likewise.
8881 (_dl_tlsdesc_dynamic): Likewise.
8882 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
8883 (_dl_tlsdesc_resolve_rel): Likewise.
8884 (_dl_tlsdesc_resolve_rela): Likewise.
8885 (_dl_tlsdesc_resolve_hold): Likewise.
8886 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
8887 (_dl_tlsdesc_undefweak): Likewise.
8888 (_dl_tlsdesc_dynamic): Likewise.
8889 (_dl_tlsdesc_resolve_rela): Likewise.
8890 (_dl_tlsdesc_resolve_hold): Likewise.
8892 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8894 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
8896 * sysdeps/x86_64/crti.S (_init): Likewise.
8899 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
8902 * localedata/locales/os_RU (mon): Rename to...
8904 (mon): Import from CLDR (genitive case).
8906 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8908 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
8909 cet-tunables.h> when CET is enabled.
8911 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
8914 * configure.ac: Add --enable-cet.
8915 * configure: Regenerated.
8916 * elf/Makefille (all-built-dso): Add a comment.
8917 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
8918 Include <dl-prop.h>.
8919 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
8921 * elf/dl-open.c: Include <dl-prop.h>.
8922 (dl_open_worker): Call _dl_open_check.
8923 * elf/rtld.c: Include <dl-prop.h>.
8924 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
8926 * sysdeps/generic/dl-prop.h: New file.
8927 * sysdeps/i386/dl-cet.c: Likewise.
8928 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
8929 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
8930 * sysdeps/x86/cet-tunables.h: Likewise.
8931 * sysdeps/x86/check-cet.awk: Likewise.
8932 * sysdeps/x86/configure: Likewise.
8933 * sysdeps/x86/configure.ac: Likewise.
8934 * sysdeps/x86/dl-cet.c: Likewise.
8935 * sysdeps/x86/dl-procruntime.c: Likewise.
8936 * sysdeps/x86/dl-prop.h: Likewise.
8937 * sysdeps/x86/libc-start.h: Likewise.
8938 * sysdeps/x86/link_map.h: Likewise.
8939 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
8941 (_dl_runtime_profile): Likewise.
8942 (_dl_runtime_resolve_shstk): New.
8943 (_dl_runtime_profile_shstk): Likewise.
8944 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
8946 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
8947 (CFLAGS-.os): Likewise.
8948 (CFLAGS-.op): Likewise.
8949 (CFLAGS-.oS): Likewise.
8950 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
8952 (tests-special): Add $(objpfx)check-cet.out.
8953 (cet-built-dso): New.
8954 (+$(cet-built-dso:=.note)): Likewise.
8955 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
8956 ($(objpfx)check-cet.out): New.
8957 (generated): Add check-cet.out.
8958 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
8960 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
8961 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
8962 (init_cpu_features): Call get_cet_status to check CET status
8963 and update dl_x86_feature_1 with CET status. Call
8964 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
8965 (set_x86_shstk). Disable and lock CET in libc.a.
8966 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
8967 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
8968 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
8969 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
8970 (_CET_ENDBR): Define if not defined.
8971 (ENTRY): Add _CET_ENDBR.
8972 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
8974 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
8976 (_dl_runtime_profile): Likewise.
8978 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
8981 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
8982 restore r2 on longjmp.
8983 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
8985 Added rules to build test tst-setjmp-bug21895-static.
8986 Added module setjmp-bug21895 and rules to build a shared object from it.
8987 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
8988 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
8990 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
8992 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
8993 * benchtests/bench-strstr.c: Likewise.
8994 * string/memmem.c (FASTSEARCH): Define.
8995 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
8996 Add support for FASTSEARCH.
8997 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
8998 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
8999 (FASTSEARCH): Define.
9000 * string/test-strcasestr.c: Rename __strnlen to strnlen.
9001 * string/test-strstr.c: Likewise.
9003 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
9005 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
9006 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
9008 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
9009 H.J. Lu <hongjiu.lu@intel.com>
9011 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
9012 (__longjmp): Restore shadow stack pointer if shadow stack is
9013 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9014 isn't defined for __longjmp_cancel.
9015 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
9016 (_setjmp): Save shadow stack pointer if shadow stack is enabled
9017 and SHADOW_STACK_POINTER_OFFSET is defined.
9018 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
9019 (setjmp): Save shadow stack pointer if shadow stack is enabled
9020 and SHADOW_STACK_POINTER_OFFSET is defined.
9021 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
9022 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9023 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9024 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
9026 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9027 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9028 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
9029 Remove jmp_buf-ssp.sym.
9030 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9032 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9033 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9034 * sysdeps/x86/Makefile (gen-as-const-headers): Add
9036 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
9037 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
9038 (__longjmp): Restore shadow stack pointer if shadow stack is
9039 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9040 isn't defined for __longjmp_cancel.
9041 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
9042 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9043 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9045 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
9048 * nptl/pthread_create.c: Include <tls-setup.h>.
9049 (__pthread_create_2_1): Call tls_setup_tcbhead.
9050 * sysdeps/generic/tls-setup.h: New file.
9051 * sysdeps/x86/nptl/tls-setup.h: Likewise.
9052 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
9053 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
9055 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
9057 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
9058 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
9059 (X86_FEATURE_1_SHSTK): Likewise.
9060 (CET_ENABLED): Likewise.
9061 (IBT_ENABLED): Likewise.
9062 (SHSTK_ENABLED): Likewise.
9064 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
9067 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
9068 (LOCALES): Likewise.
9069 * localedata/dsb_DE.UTF-8.in: New file.
9070 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
9072 2018-07-12 Florian Weimer <fweimer@redhat.com>
9074 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
9075 __mprotect, not mprotect.
9077 2018-07-11 Florian Weimer <fweimer@redhat.com>
9079 * io/Makefile (headers): Add bits/statx.h.
9081 2018-07-10 Mike FABIAN <mfabian@redhat.com>
9083 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
9084 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
9086 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
9087 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
9090 2018-07-10 Florian Weimer <fweimer@redhat.com>
9092 * io/Makefile (routines): Add statx.
9093 (tests-internal): Add tst-statx.
9094 * io/Versions (GLIBC_2.28): Export statx.
9095 * io/bits/statx.h: New file.
9096 * io/sys/stat.h [__USE_GNU]: Include it.
9097 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
9098 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
9100 * io/statx.c: New file.
9101 * io/statx_generic.: Likewise.
9102 * io/tst-statx.: Likewise.
9103 * include/bits/statx.h: Likewise.
9104 * sysdeps/unix/sysv/linux/kernel-features.h
9105 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
9106 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9107 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
9108 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
9110 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9111 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
9112 * sysdeps/unix/sysv/linux/statx.c: New file.
9113 * manual/filesys.texi: Note that statx is undocumented.
9114 * sysdeps/**/libc*.abilist: Update.
9116 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9118 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
9119 a kernel issue which lead to test failure in some cases.
9121 2018-07-10 Florian Weimer <fweimer@redhat.com>
9124 * posix/regexec.c (check_node_accept_bytes): When comparing
9125 weights, do not compare an extra byte after the end of the
9128 2018-07-10 Florian Weimer <fweimer@redhat.com>
9130 * libio/readline.c: Fix copyright year.
9131 * libio/tst-readline.c Likewise.
9132 * nss/tst-nss-files-hosts-getent.c: Likewise.
9134 2018-07-06 Florian Weimer <fweimer@redhat.com>
9137 * nss/nss_files/files-XXX.c (internal_getent): Use
9138 __libc_readline_unlocked. Seek back to the start of the line if
9139 parsing failes with ERANGE.
9140 (get_contents_ret, get_contents): Remove.
9141 * nss/tst-nss-files-hosts-getent.c: New file.
9142 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
9143 (tst-nss-files-hosts-getent): Link with -ldl.
9145 2018-07-06 Florian Weimer <fweimer@redhat.com>
9147 * include/stdio.h (__libc_readline_unlocked): Declare.
9148 (__ftello64, __fseeko64): Declare aliases.
9149 * libio/readline.c: New file.
9150 * libio/tst-readline.c: Likewise.
9151 (routines): Add readline.
9152 (tests-internal): Add tst-readlime.
9153 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
9154 __libc_readline_unlocked.
9155 * libio/fseeko.c (__fseeko): Rename from fseeko.
9156 (fseeko): Add alias.
9157 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
9158 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
9159 (fseeko64): Add alias.
9160 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
9161 * libio/ftello64.c (__ftello64): Rename from ftello64.
9162 (ftello64): Add alias.
9164 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
9166 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
9169 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
9171 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
9172 Use dl_hwcap without masking.
9173 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
9176 2018-07-06 Florian Weimer <fweimer@redhat.com>
9178 * conform/conformtest.pl (checknamespace): Escape literal braces
9179 in regular expressions.
9181 2018-07-06 Amit Pawar <amit.pawar@amd.com>
9183 * sysdeps/x86/cpu-features.c (get_common_indeces):
9184 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
9185 * sysdeps/x86/cpu-features.c (init_cpu_features):
9186 AVX_Fast_Unaligned_Load is disabled for Excavator core.
9188 2018-07-05 Florian Weimer <fweimer@redhat.com>
9190 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
9192 (CFLAGS-elf-init.oS): Likewise.
9194 2018-07-05 Florian Weimer <fweimer@redhat.com>
9195 Carlos O'Donell <carlos@redhat.com>
9197 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
9198 $(no-stack-protector). stack_chk_fail_local.c can be compiled
9199 with stack protector enabled because there is no risk of infinite
9202 2018-07-05 Maciej W. Rozycki <macro@mips.com>
9206 * libc-abis (ABSOLUTE): New ABI.
9207 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
9208 * NEWS: Mention the new ABI.
9210 2018-07-05 Florian Weimer <fweimer@redhat.com>
9213 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
9214 (RENAME_WHITEOUT): Define.
9215 [__USE_GNU] (renameat2): Declare.
9216 * stdio-common/Makefile (routines): Add renameat2.
9217 (tests): Add tst-renameat2.
9218 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
9219 * stdio-common/renameat2.c: New file.
9220 * stdio-common/tst-renameat2.c: Likewise.
9221 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
9222 * manual/filesys.texi (Temporary Files): Note that renameat2 is
9224 * sysdeps/unix/sysv/linux/kernel-features.h
9225 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
9226 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9227 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
9228 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9229 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
9230 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9231 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
9232 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9233 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
9234 * include/stdio.h (__renameat): Add alias for renameat.
9235 * stdio-common/renameat.c (__renameat): Rename from renameat.
9236 Add hidden definition and alias.
9237 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
9238 * sysdeps/mach/hurd/renameat.c: Likewise.
9239 * sysdeps/**/libc*.abilist: Add renameat2.
9241 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9243 * posix/bug-regex33.c: Fix build after regex sync.
9245 2018-07-04 Carlos O'Donell <carlos@redhat.com>
9248 * localedata/tst-langinfo-setlocale.c: New file.
9249 * localedata/tst-langinfo-setlocale-static.c: New file.
9250 * localedata/tst-langinfo-newlocale.c: New file.
9251 * localedata/tst-langinfo-newlocale-static.c: New file.
9252 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
9253 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
9254 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
9255 (tests-static): Remove tst-langinfo-static. Add
9256 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
9257 (tests-special): Remove $(objpfx)tst-langinfo.out,
9258 $(objpfx)tst-langinfo-static.out. Add
9259 $(objpfx)tst-langinfo-setlocale.out,
9260 $(objpfx)tst-langinfo-newlocale.out,
9261 $(objpfx)tst-langinfo-setlocale-static.out,
9262 $(objpfx)tst-langinfo-newlocale-static.out.
9263 ($(objpfx)tst-langinfo.out): Remove.
9264 ($(objpfx)tst-langinfo-static.out): Remove.
9265 ($(objpfx)tst-langinfo-newlocale.out): New target.
9266 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
9267 (test-xfail-tst-langinfo-newlocale-static): Add.
9268 ($(objpfx)tst-langinfo-setlocale.out): New target.
9269 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
9270 * localedata/tst-langinfo.c: Call test_locale.
9271 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
9274 2018-07-04 Florian Weimer <fweimer@redhat.com>
9276 testrun.sh: Implement --tool=strace, --tool=valgrind
9277 * Makefile (testrun-script): Define variable.
9278 (testrun.sh): Use variable.
9279 * manual/install.texi (Tools for Compilation): make 4.0 or later
9281 * configure.ac: Check for make 4.0 or later.
9282 * INSTALL: Regenerate.
9283 * configure: Likewise.
9285 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9291 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
9292 * posix/PCRE.tests: Remove invalid test.
9293 * posix/bug-regex28.c: Fix expected values for used syntax.
9294 * posix/bug-regex37.c: New file.
9295 * posix/bug-regex38.c: Likewise.
9296 * posix/regcomp.c: Sync with gnulib.
9297 * posix/regex.c: Likewise.
9298 * posix/regex.h: Likewise.
9299 * posix/regex_internal.c: Likewise.
9300 * posix/regex_internal.h: Likewise.
9301 * posix/regexec.c: Likewise.
9303 2018-06-26 Mike FABIAN <mfabian@redhat.com>
9306 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
9307 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
9308 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
9309 * localedata/unicode-gen/PropList.txt: likewise.
9310 * localedata/unicode-gen/UnicodeData.txt: likewise.
9311 * localedata/charmaps/UTF-8: Regenerate.
9312 * localedata/locales/i18n_ctype: likewise.
9313 * localedata/locales/tr_TR: likewise.
9314 * localedata/locales/translit_circle: likewise.
9315 * localedata/locales/translit_cjk_compat: likewise.
9316 * localedata/locales/translit_combining: likewise.
9317 * localedata/locales/translit_compat: likewise.
9318 * localedata/locales/translit_font: likewise.
9319 * localedata/locales/translit_fraction: likewise.
9321 2018-07-03 Florian Weimer <fweimer@redhat.com>
9324 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
9325 * stdio-common/tst-printf.sh: Adjust expected output.
9328 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9330 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
9333 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9335 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
9336 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
9337 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
9338 * stdio-common/tst-printfsz-islongdouble.c: New file.
9339 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
9340 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
9341 [subdir == stdio-common] (routines): Add ieee128-printf_size.
9342 [subdir == stdio-common] (tests-internal): Add
9343 test-printf-size-ieee128, and test-printf-size-ibm128.
9344 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
9345 (CFLAGS-test-printf-size-ibm128.c): New variables.
9346 [subdir == stdio-common] (tests-special): Add
9347 $(objpfx)test-printf-size-ieee128.out and
9348 $(objpfx)test-printf-size-ibm128.out.
9349 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
9350 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
9351 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
9352 __printf_sizeieee128.
9353 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
9355 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
9357 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
9360 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
9362 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
9363 (exp2f_inline): Likewise.
9364 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
9365 (__math_uflowf): Likewise.
9366 (__math_may_uflowf): Likewise.
9367 (__math_divzerof): Likewise.
9368 (__math_invalidf): Likewise.
9369 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
9370 (__math_oflowf): Likewise.
9371 (__math_uflowf): Likewise.
9372 (__math_may_uflowf): Likewise.
9373 (__math_divzerof): Likewise.
9374 (__math_invalidf): Likewise.
9376 2018-06-29 DJ Delorie <dj@redhat.com>
9377 Carlos O'Donell <carlos@redhat.com>
9380 * include/libc-symbols.h: Comment the freeres framework.
9381 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
9382 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
9383 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
9384 * dlfcn/dlerror.c: Include libc-symbols.h
9385 (__dlerror_main_freeres): New function.
9386 * dlfcn/dlfreeres.c: New file.
9387 * dlfcn/sdlfreeres.c: New file.
9388 * include/dlfcn.h: Declare __dlerror_main_freeres.
9389 * malloc/set-freeres.c: Declare __libdl_freeres, and
9390 __libpthread_freeres.
9391 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
9392 the releavant libraries are loaded.
9393 * malloc/thread-freeres.c: Add comments.
9394 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
9395 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
9396 * nptl/allocatestack.c (__nptl_free_stacks): New function.
9397 (__free_stacks): Rename to...
9398 (free_stacks): ...this. Mark static.
9399 (queue_stack): Call free_stacks.
9400 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
9401 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
9402 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
9403 ptr_freeres element from struct.
9404 (pthread_functions): Remove .ptr_freeres from struct initializer.
9405 [SHARED] (nptl_freeres): Remove.
9406 * nptl/nptlfreeres.c: New file.
9408 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
9409 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
9411 (__free_stacks): Rename to...
9412 (__nptl_stacks_freeres): ...this.
9413 (__shm_directory_freeres): Declare.
9414 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
9415 (__nptl_unwind_freeres): ...this.
9416 * resolv/res-close.c: Add comment.
9417 * resolv/resolv_conf.c: Include libc-symbols.h.
9418 * string/strerror_l.c: Include libc-symbols.h.
9419 * sunrpc/rpc_thread.c: Include libc-symbols.h.
9420 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
9421 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
9422 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
9424 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9426 * stdlib/tst-strfmon_l.c: Add tests for long double.
9428 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
9431 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
9432 * localedata/locales/dsb_DE: New file.
9434 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9437 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
9439 (alt_mon): New entry, import from CLDR (nominative case).
9441 2018-06-29 Sylvain Lesage <severo@rednegra.net>
9444 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
9446 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
9448 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
9449 Use vector registers.
9451 * sysdeps/aarch64/multiarch/memmove_falkor.S
9452 (__memcpy_falkor): Use vector registers.
9454 2018-06-29 Martin Sebor <msebor@redhat.com>
9456 * manual/stdio.texi (Customizing Printf): Mention interaction
9459 2018-06-29 Maciej W. Rozycki <macro@mips.com>
9462 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
9463 `st_value' is 0 if `st_shndx' is SHN_ABS.
9464 * elf/tst-absolute-zero.c: New file.
9465 * elf/tst-absolute-zero-lib.c: New file.
9466 * elf/tst-absolute-zero-lib.lds: New file.
9467 * elf/Makefile (tests): Add `tst-absolute-zero'.
9468 (modules-names): Add `tst-absolute-zero-lib'.
9469 (LDLIBS-tst-absolute-zero-lib.so): New variable.
9470 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
9471 ($(objpfx)tst-absolute-zero: New dependency.
9473 2018-06-29 Zack Weinberg <zackw@panix.com>
9475 * configure.ac: New command-line option --disable-crypt.
9476 Force --disable-nss-crypt when --disable-crypt is given, with a
9477 warning if it was explicitly enabled.
9478 * configure: Regenerate.
9479 * config.make.in: New boolean substitution variable $(build-crypt).
9480 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
9481 when $(build-crypt).
9482 * manual/install.texi: Document --disable-crypt.
9483 * INSTALL: Regenerate.
9485 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
9487 * conform/Makefile: Only include libcrypt.a in
9488 linknamespace-libs-xsi and linknamespace-libs-XPG4
9489 when $(build-crypt).
9490 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
9491 USE_CRYPT to 1 when $(build-crypt).
9492 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
9493 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
9494 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
9496 2018-06-29 Zack Weinberg <zackw@panix.com>
9498 * crypt/crypt.h, posix/unistd.h: Update comments and
9499 prototypes for crypt and crypt_r.
9501 * manual/crypt.texi (Cryptographic Functions): New initial
9503 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
9504 (Unpredictable Bytes): Improve initial exposition. Clarify error
9505 behavior of getentropy and getrandom.
9506 * manual/examples/genpass.c: Generate a salt using getentropy
9507 instead of the current time. Use hash $5$ (SHA-2-256).
9508 * manual/examples/testpass.c: Demonstrate validation against
9509 hashes generated with three different one-way functions.
9511 * manual/intro.texi: crypt.texi does not need an overview
9514 * manual/nss.texi, manual/memory.texi, manual/socket.texi
9515 * manual/terminal.texi: Consistently refer to "passphrases"
9516 * instead of "passwords", and to the "user database" instead
9517 * of the "password database".
9518 * manual/users.texi: Similarly. Add notes about how actual
9519 passphrase hashes are now stored in the shadow database.
9520 Remove 20-year-old junk todo note.
9522 2018-06-29 Zack Weinberg <zackw@panix.com>
9524 * manual/crypt.texi: Use a normal top-level @node declaration.
9525 Move most of the introductory text to the 'crypt' section.
9526 Move the example programs below the @deftypefun for 'crypt_r'.
9527 Move the 'getpass' section...
9528 * manual/terminal.texi: ...here.
9530 2018-06-29 Zack Weinberg <zackw@panix.com>
9531 Florian Weimer <fweimer@redhat.com>
9533 * posix/unistd.h: Do not declare encrypt.
9534 (_XOPEN_CRYPT): Remove macro definition.
9535 (crypt): Declare only for _USE_MISC.
9536 * stdlib/stdlib.h: Do not declare setkey.
9537 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
9538 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
9540 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
9541 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
9542 into compat symbols. Don't define initial_perm if it's not
9544 * crypt/cert.c: Link explicitly with the expected versions for
9545 setkey and encrypt. If they are not available at all, mark
9546 the test as unsupported.
9548 * sunrpc/des_crypt.c: Unconditionally block linkage with
9549 cbc_crypt and ecb_crypt for new binaries.
9550 * sunrpc/des_soft.c: Unconditionally block linkage with
9551 des_setparity for new binaries.
9553 * manual/crypt.texi: Remove the entire "DES Encryption"
9554 section. Also remove the paragraph talking about FIPS 140-2
9555 from the introduction.
9556 * manual/string.texi (strfry, memfrob): Revise. Recommend use
9557 of libgcrypt for "real" encryption, not DES.
9558 * manual/conf.texi (Constants for Sysconf): Mention that
9559 _XOPEN_CRYPT is no longer impelemented.
9561 * conform/data/unistd.h-data: Remove crypt function declaration.
9563 2018-06-29 Florian Weimer <fweimer@redhat.com>
9566 * malloc/hooks.c: Update comments on restoring of dumped heaps.
9567 (disallow_malloc_check): Remove variable.
9568 (__malloc_check_init): Adjust.
9569 (malloc_set_state): Update comment.
9570 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
9573 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9576 * localedata/locales/ast_ES (mon): Rename to...
9578 (mon): Import from CLDR (genitive case).
9580 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
9581 Jakub Sitnicki <jkbs@redhat.com>
9584 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
9587 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
9589 * manual/llio.texi: Remove spurious space.
9591 2018-06-28 Florian Weimer <fweimer@redhat.com>
9594 * time/bits/types/struct_timespec.h: Change header inclusion guard to
9597 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9599 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
9600 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
9601 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
9602 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
9603 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
9604 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
9605 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
9607 2018-06-27 Maciej W. Rozycki <macro@mips.com>
9610 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
9611 Copy and null-terminate entries that are not terminated, in
9612 addition to empty ones.
9614 2018-06-27 Florian Weimer <fweimer@redhat.com>
9617 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
9618 (extend_alloca_account): Remove.
9619 * manual/stdio.texi (Variable Arguments Output): Update comment.
9621 2018-06-27 Joseph Myers <joseph@codesourcery.com>
9623 * nptl/sockperf.c: Remove file.
9625 2018-06-27 Florian Weimer <fweimer@redhat.com>
9628 * elf/dl-deps.c (_dl_map_object_deps): Use struct
9629 scratch_buffer instead of extend_alloca.
9631 2018-06-27 Florian Weimer <fweimer@redhat.com>
9634 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
9635 scratch_buffer instead of extend_alloca. Update comments.
9637 2018-06-27 Florian Weimer <fweimer@redhat.com>
9640 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
9641 instead of extend_alloca.
9643 2018-06-26 Joseph Myers <joseph@codesourcery.com>
9646 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
9647 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
9649 * scripts/test-installation.pl: Put temporary files in build
9650 directory, not /tmp.
9651 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
9652 (CFLAGS-bug4.c): Likewise.
9653 (CFLAGS-bug5.c): Likewise.
9654 (CFLAGS-test-fseek.c): Likewise.
9655 (CFLAGS-test-popen.c): Likewise.
9656 (CFLAGS-test_rdwr.c): Likewise.
9657 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
9659 * stdio-common/bug4.c (main): Likewise.
9660 * stdio-common/bug5.c (main): Likewise.
9661 * stdio-common/test-fseek.c (TESTFILE): Likewise.
9662 * stdio-common/test-popen.c (do_test): Likewise.
9663 * stdio-common/test_rdwr.c (main): Likewise.
9665 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
9667 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
9668 (sem_open): Set sem.newsem.pad to zero for valgrind.
9670 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9673 * NEWS: Mention fcntl64 addition.
9674 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
9675 * login/utmp_file.c: Likewise.
9676 * sysdeps/posix/fdopendir.c: Likewise.
9677 * sysdeps/posix/opendir.c: Likewise.
9678 * sysdeps/unix/pt-fcntl.c: Likewise.
9679 * include/fcntl.h (__libc_fcntl64, __fcntl64,
9680 __fcntl64_nocancel_adjusted): New prototype.
9681 (__fcntl_nocancel_adjusted): Remove prototype.
9682 * io/Makefile (routines): Add fcntl64.
9683 (CFLAGS-fcntl64.c): New rule.
9684 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
9685 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
9686 * io/fcntl.h (fcntl64): Add prototype and redirect if
9687 __USE_FILE_OFFSET64 is defined.
9688 * io/fcntl64.c: New file.
9689 * manual/llio.text: Add a note for which commands fcntl acts a
9691 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
9692 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
9693 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
9695 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
9696 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
9698 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
9699 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
9700 to __fcntl64_nocancel.
9701 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
9702 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
9703 to __fcntl64_nocancel.
9704 * sysdeps/generic/not-cancel.h: Likewise.
9705 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
9706 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
9707 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9708 (fcntl64): New symbol.
9709 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9710 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9711 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9714 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9715 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9716 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9717 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9718 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9719 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
9721 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9722 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
9723 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9724 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9725 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9726 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9727 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9728 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9729 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9734 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9735 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9736 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9738 2018-06-26 Florian Weimer <fweimer@redhat.com>
9740 Run thread shutdown functions in an explicit order.
9741 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
9743 (__libc_thread_freeres): Call thread shutdown functions
9745 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
9746 * include/string.h (__strerror_thread_freeres): Declare.
9747 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
9748 arena_thread_freeres. No longer static. Remove thread shutdown
9750 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
9752 * resolv/res-close.c (__res_thread_freeres): Renamed from
9753 res_thread_freeres. No longer static. Remove thread shutdown
9755 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
9756 * resolv/resolv_conf.c (freeres): Remove incorrect section
9757 attribute and use libc_freeres_fn.
9758 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
9759 strerror_thread_freeres. No longer static. Remove thread
9760 shutdown hook registration.
9761 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
9762 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
9763 shutdown hook registration.
9764 * Makerules (shlib.lds): Do not provide section boundary symbols
9765 for __libc_thread_subfreeres.
9766 * manual/memory.texi (Basic Allocation): Update comment.
9768 2018-06-26 Florian Weimer <fweimer@redhat.com>
9770 Remove always-defined _RPC_THREAD_SAFE_ macro.
9771 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
9772 Do not define _RPC_THREAD_SAFE_.
9773 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
9775 * sunrpc/clnt_perr.c: Likewise.
9776 * sunrpc/clnt_raw.c: Likewise.
9777 * sunrpc/clnt_simp.c: Likewise.
9778 * sunrpc/key_call.c: Likewise.
9779 * sunrpc/rpc_common.c: Likewise.
9780 * sunrpc/rpc_main.c: Likewise.
9781 * sunrpc/rpc_thread.c: Likewise.
9782 * sunrpc/svc.c: Likewise.
9783 * sunrpc/svc_raw.c: Likewise.
9784 * sunrpc/svc_simple.c: Likewise.
9785 * sumrpc/svcauth_des.c: Likewise.
9787 2018-06-26 Florian Weimer <fweimer@redhat.com>
9789 * libio/Makefile (tests-internal): Add tst-vtables,
9790 tst-vtables-interposed.
9791 * libio/tst-vtables.c: New file.
9792 * libio/tst-vtables-common.c: Likewise.
9793 * libio/tst-vtables-interposed.c: Likewise.
9795 2018-06-26 Florian Weimer <fweimer@redhat.com>
9797 * support/support_test_main.c (support_test_main): Only call
9798 setvbuf if not disables.
9799 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
9800 * support/test-driver.h (struct test_config): Add no_setvbuf member.
9802 2018-06-26 Florian Weimer <fweimer@redhat.com>
9805 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
9807 2018-06-25 Florian Weimer <fweimer@redhat.com>
9810 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9811 Use struct scratch_buffer instead of extend_alloca.
9813 2018-06-25 Florian Weimer <fweimer@redhat.com>
9816 * nss/getent.c (initgroups_keys): Use dynarray instead of
9819 2018-06-25 Florian Weimer <fweimer@redhat.com>
9822 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
9823 Use struct scratch_buffer instead of extend_alloca.
9825 2018-06-25 Florian Weimer <fweimer@redhat.com>
9828 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
9829 back to malloc directly, without stack allocations.
9831 2018-06-25 Florian Weimer <fweimer@redhat.com>
9834 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
9837 2018-06-25 Florian Weimer <fweimer@redhat.com>
9840 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
9842 * nscd/hstcache.c (addhstbyX): Likewise.
9843 * nscd/pwdcache.c (addpwbyX): Likewise.
9844 * nscd/servicescache.c (addservbyX): Likewise.
9846 2018-06-25 Florian Weimer <fweimer@redhat.com>
9849 * nscd/connections.c (read_cmdline): New function.
9850 (restart): Use it. Update comment.
9852 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
9855 * localedata/locales/csb_PL (mon): Rename to...
9857 (abmon): Rename to...
9859 (mon): Add with proper genitive forms, copy from Wikipedia.
9862 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
9865 * localedata/locales/csb_PL (mon): Fix typos:
9866 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
9867 (yesstr): Add, value is "jo".
9868 (nostr): Add, value is "nié".
9870 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9872 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
9873 all log1p and significand functions on m680x0.
9874 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
9875 of s_significand.c..
9876 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
9877 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
9878 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
9879 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
9880 s_log1p.c and include it..
9882 2018-06-21 Vincent Chen <vincentc@andestech.com>
9884 * elf/elf.h (R_NDS32_NONE): New define.
9885 (R_NDS32_32_RELA): Likewise.
9886 (R_NDS32_COPY): Likewise.
9887 (R_NDS32_GLOB_DAT): Likewise.
9888 (R_NDS32_JUMP_SLOT): Likewise.
9889 (R_NDS32_RELATIVE): Likewise.
9890 (R_NDS32_TLS_TPOFF): Likewise.
9891 (R_NDS32_TLS_DESC): Likewise.
9893 2018-06-21 Mark Wielaard <mark@klomp.org>
9895 * elf/elf.h (R_BPF_MAP_FD): Removed.
9896 (R_BPF_64_64, R_BPF_64_32): New.
9898 2018-06-21 Florian Weimer <fweimer@redhat.com>
9901 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
9902 Renamed from libc_feholdsetround_ctx.
9903 (default_libc_feresetround_ctx): Renamed from
9904 libc_feresetround_ctx.
9905 (default_libc_feholdsetround_noex_ctx): Renamed from
9906 libc_feholdsetround_noex_ctx.
9907 (default_libc_feresetround_noex_ctx): Renamed from
9908 libc_feresetround_noex_ctx.
9909 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
9910 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
9911 forwardning to the old implementations under the new names.
9912 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
9913 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
9914 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
9915 (libc_feresetround_ctx): Forward to default implements for i386
9916 and MATH_SET_BOTH_ROUNDING_MODES.
9917 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
9918 Add -DMATH_SET_BOTH_ROUNDING_MODES.
9920 2018-06-20 Joseph Myers <joseph@codesourcery.com>
9922 * string/tst-cmp.c: Include <libc-diag.h>.
9923 (strncmp_max): Disable -Wstringop-overflow= around call to
9925 (strncasecmp_max): Disable -Wstringop-overflow= around call to
9928 * string/bug-strpbrk1.c: Include <libc-diag.h>.
9929 (main): Disable -Wunused-value around call to strpbrk.
9930 * string/bug-strspn1.c: Include <libc-diag.h>.
9931 (main): Disable -Wunused-value around call to strspn.
9933 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9934 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9936 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
9937 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
9939 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9941 * math/Makefile (libm-calls): Move s_significandF to...
9942 (gen-libm-calls): ... here.
9943 * math/s_significand_template.c: New file.
9944 * math/s_significand.c: Removed.
9945 * math/s_significandf.c: Removed.
9946 * math/s_significandl.c: Removed.
9947 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
9948 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
9950 * math/e_exp2_template.c (declare_mgen_finite_alias,
9951 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
9952 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
9953 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
9955 2018-06-20 Florian Weimer <fweimer@redhat.com>
9957 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
9959 2018-06-19 Joseph Myers <joseph@codesourcery.com>
9962 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
9963 floating-point number to strtod functions rather than possibly
9964 negating result of those functions.
9965 * stdio-common/tst-scanf-round.c: New file.
9966 * stdio-common/Makefile (tests): Add tst-scanf-round.
9967 ($(objpfx)tst-scanf-round): Depend on $(libm).
9969 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
9971 * sysdeps/mach/hurd/localplt.data: Move to...
9972 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
9973 R_386_GLOB_DAT like on Linux i386.
9975 2018-06-18 Joseph Myers <joseph@codesourcery.com>
9977 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
9978 (SHM_STAT_ANY): New macro.
9979 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
9980 (SHM_STAT_ANY): Likewise.
9981 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
9982 (SHM_STAT_ANY): Likewise.
9983 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
9984 (SHM_STAT_ANY): Likewise.
9985 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
9986 (SHM_STAT_ANY): Likewise.
9987 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
9988 (SHM_STAT_ANY): Likewise.
9989 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
9990 (SHM_STAT_ANY): Likewise.
9991 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
9992 (SHM_STAT_ANY): Likewise.
9993 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
9994 (SHM_STAT_ANY): Likewise.
9995 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
9996 (SHM_STAT_ANY): Likewise.
9997 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
9998 (SHM_STAT_ANY): Likewise.
9999 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
10000 (SHM_STAT_ANY): Likewise.
10002 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
10003 (SEM_STAT_ANY): New macro.
10004 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
10005 (SEM_STAT_ANY): Likewise.
10006 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
10007 (SEM_STAT_ANY): Likewise.
10008 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
10009 (SEM_STAT_ANY): Likewise.
10010 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
10011 (SEM_STAT_ANY): Likewise.
10012 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
10013 (SEM_STAT_ANY): Likewise.
10014 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
10015 (SEM_STAT_ANY): Likewise.
10016 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
10017 (SEM_STAT_ANY): Likewise.
10018 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
10019 (SEM_STAT_ANY): Likewise.
10020 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
10021 (SEM_STAT_ANY): Likewise.
10023 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
10024 (MSG_STAT_ANY): New macro.
10025 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
10026 (MSG_STAT_ANY): Likewise.
10027 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
10028 (MSG_STAT_ANY): Likewise.
10029 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
10030 (MSG_STAT_ANY): Likewise.
10031 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
10032 (MSG_STAT_ANY): Likewise.
10033 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
10034 (MSG_STAT_ANY): Likewise.
10035 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
10036 (MSG_STAT_ANY): Likewise.
10037 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
10038 (MSG_STAT_ANY): Likewise.
10039 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
10040 (MSG_STAT_ANY): Likewise.
10041 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
10042 (MSG_STAT_ANY): Likewise.
10044 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10045 (MAP_TYPE): Change value to 0x2b.
10047 2018-06-18 Florian Weimer <fweimer@redhat.com>
10050 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
10051 socket with SOCK_CLOEXEC.
10053 2018-06-18 Joseph Myers <joseph@codesourcery.com>
10056 * sysdeps/powerpc/powerpc64/le/Makefile
10057 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
10058 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
10059 (gnulib-tests): Also add $(f128-loader-link) for
10060 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
10062 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10064 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
10065 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
10067 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
10068 (sendfile64): New strong alias.
10069 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
10070 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
10071 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
10072 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
10074 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
10075 ___pthread_get_cleanup_stack.
10076 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
10077 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
10078 * mach/shortcut.awk: Make syscall stubs include
10079 <mach-shortcuts-hidden.h> and add hidden definition.
10080 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
10081 (__mach_msg): Add hidden prototype.
10082 * mach/msg.c: Include <mach.h>.
10083 (__mach_msg): Add hidden definition.
10084 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
10085 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
10086 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
10087 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
10088 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
10089 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
10090 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
10091 prototype and definition.
10092 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
10093 hidden target for _hurd_self_sigstate.
10095 2018-06-15 Joseph Myers <joseph@codesourcery.com>
10098 * stdlib/tst-strtod-nan-sign-main.c: New file.
10099 * stdlib/tst-strtod-nan-sign.c: Likewise.
10100 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
10101 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
10102 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
10103 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
10104 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
10106 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
10109 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
10112 2018-06-14 Florian Weimer <fweimer@redhat.com>
10115 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
10116 that the result stays within the ISO-8859-1 range.
10117 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
10118 characters are defined in IBM273.
10120 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
10122 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
10123 __mach_task_self): Remove attribute_hidden.
10125 2018-06-14 Joseph Myers <joseph@codesourcery.com>
10127 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
10128 ignore -Wrestrict for one test.
10130 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
10131 Szabolcs Nagy <szabolcs.nagy@arm.com>
10133 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
10135 2018-06-14 Florian Weimer <fweimer@redhat.com>
10137 * scripts/update-abilist.sh: Accept empty list of files to patch.
10139 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
10141 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
10142 test-xfail-check-abi-libmachuser): Add.
10143 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
10144 __libc_read and __libc_write to __read and __write.
10145 * sysdeps/hurd/include/hurd/port.h: New file.
10146 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
10147 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
10148 __thread_switch, __evc_wait): Move declarations to...
10149 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
10151 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
10152 use PLT to call _hurd_self_sigstate.
10154 2018-06-13 Joseph Myers <joseph@codesourcery.com>
10157 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
10158 MAX_EXP as overflowing.
10159 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
10161 (round_str): Output also whether result overflows in each rounding
10163 * stdlib/tst-strtod-round-data: Add more tests.
10164 * stdlib/tst-strtod-round-data.h: Regenerated.
10165 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
10166 (TEST): Handle extra arguments for overflow flags.
10167 (struct test_overflow): New type.
10168 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
10169 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
10170 (test_in_one_mode): Take argument with overflow information.
10171 (do_test): Update calls to test_in_one_mode.
10173 2018-06-12 Carlos O'Donell <carlos@redhat.com>
10175 * elf/dl-load (_dl_dst_substitute): Correct comment.
10176 (_dl_dst_count): Likewise.
10178 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
10179 lll_futex_timed_wait.
10181 2018-06-12 Joseph Myers <joseph@codesourcery.com>
10184 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
10186 * math/test-nan-const.c: New file.
10187 * math/Makefile (tests): Add test-nan-const.
10188 (CFLAGS-test-nan-const.c): New variable.
10190 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
10192 * benchtests/scripts/compare_strings.py (process_results): Add
10193 funcs argument. Compare only functions which are selected.
10194 (main): Check if base function is among selected functions.
10195 Pass selected functions to process_results.
10196 (__main__): Add -f/--functions argument.
10198 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
10199 Hongbo Zhang <hongbo.zhang@linaro.org>
10201 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
10202 __memcpy_falkor for phecda core.
10203 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
10204 __memmove_falkor for phecda core.
10205 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
10206 __memset_falkor for phecda core.
10207 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
10209 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
10210 macro to identify phecda core.
10212 2018-06-12 Carlos O'Donell <carlos@redhat.com>
10213 Andreas Schwab <schwab@suse.de>
10214 Dmitry V. Levin <ldv@altlinux.org>
10215 Florian Weimer <fweimer@redhat.com>
10222 * elf/dl-dst.h: Remove DL_DST_COUNT.
10223 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
10224 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
10225 (is_dst): Comment. Support ELF gABI.
10226 (_dl_dst_count): Comment. Simplify and count DSTs.
10227 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
10228 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
10231 2018-06-12 Zack Weinberg <zackw@panix.com>
10233 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
10234 * sysdeps/unix/sysv/linux/dl-sysdep.c
10235 Include not-cancel.h. Use __close_nocancel instead of __close,
10236 __open64_nocancel instead of __open, __read_nocancel instead of
10237 __libc_read, and __write_nocancel instead of __libc_write.
10239 * csu/check_fds.c (check_one_fd)
10240 * sysdeps/posix/fdopendir.c (__fdopendir)
10241 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
10242 instead of __fcntl and/or __libc_fcntl.
10244 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
10245 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
10246 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
10247 Use __open64_nocancel instead of __open_nocancel.
10249 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
10250 hidden_proto declarations to the end and issue them if either
10251 IS_IN(libc) or IS_IN(rtld).
10252 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
10253 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
10254 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
10255 read_nocancel, waitpid_nocancel, write_nocancel.
10257 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
10258 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
10259 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
10261 * nptl/pt-fcntl.c: New file.
10262 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
10263 (libpthread-routines): Add pt-fcntl.
10264 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
10265 (__libc_fcntl): Remove attribute_hidden.
10266 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
10267 __fcntl_nocancel_adjusted, not fcntl_common.
10268 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
10269 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
10270 to fcntl_nocancel.c.
10271 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
10272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
10273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10274 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
10276 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
10277 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
10278 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
10279 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
10280 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
10281 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
10282 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
10283 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
10284 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
10285 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
10286 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
10287 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
10288 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
10289 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
10290 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
10291 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
10292 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
10293 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
10294 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
10295 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
10297 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
10298 libpthread-routines.
10299 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
10302 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
10303 __libc_read, and __write instead of __libc_write. Define
10304 __open64 in addition to __open.
10306 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
10310 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
10311 to _private_tm[3] and add __glibc_reserved2.
10312 Add _Static_assert of offset of __private_ss == 0x30.
10313 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
10314 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
10316 2018-06-12 Florian Weimer <fweimer@redhat.com>
10318 x86: Make strncmp usable from rtld.
10319 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
10320 __strncmp_ia32 if in libc (and not in rtld).
10321 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
10322 strncmp if not in libc (and not to __strncmp_sse2).
10324 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
10327 * localedata/locales/gd_GB (mon): Rename to...
10329 (mon): Import from CLDR (genitive case).
10330 * localedata/locales/hsb_DE (mon): Rename to...
10332 (mon): Import from CLDR (genitive case).
10333 * localedata/locales/wa_BE (mon): Rename to...
10335 (mon): Add, fill with the proper genitive forms, but CLDR data
10336 is incomplete; completed according to the comments in this file.
10337 (d_t_fmt): Do not use "di" before the month name, no longer needed.
10339 * localedata/locales/wa_BE (country_name): Reword
10340 "Beljike" -> "Beldjike".
10342 2018-06-11 Joseph Myers <joseph@codesourcery.com>
10345 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
10346 cases of non-finite arguments.
10347 * math/libm-test-fma.inc (fma_test_data): Add more tests.
10349 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
10352 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
10354 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10357 * include/unistd.h (__execvpex): New prototype.
10358 * posix/Makefile (tests): Add tst-spawn4.
10359 (tests-internal): Add tst-spawn4-compat.
10360 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
10361 * posix/tst-spawn4-compat.c: New file.
10362 * posix/tst-spawn4.c: Likewise.
10363 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
10364 binaries as shell scripts.
10365 * sysdeps/posix/spawni.c (__spawni): Likewise.
10367 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
10370 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
10371 ($(all-built-dso:=.dynsym): New target.
10372 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
10373 ($(objpfx)check-initfini.out): New target.
10374 (generated): Add check-initfini.out.
10375 * scripts/check-initfini.awk: New file.
10376 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
10378 * sysdeps/alpha/crti.S (_init): Mark as hidden.
10380 * sysdeps/arm/crti.S (_init): Mark as hidden.
10382 * sysdeps/hppa/crti.S (_init): Mark as hidden.
10384 * sysdeps/i386/crti.S (_init): Mark as hidden.
10386 * sysdeps/ia64/crti.S (_init): Mark as hidden.
10388 * sysdeps/m68k/crti.S (_init): Mark as hidden.
10390 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
10392 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
10394 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
10396 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
10398 * sysdeps/nios2/crti.S (_init): Mark as hidden.
10400 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
10402 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
10404 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
10406 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
10408 * sysdeps/sh/crti.S (_init): Mark as hidden.
10410 * sysdeps/sparc/crti.S (_init): Mark as hidden.
10412 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
10415 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10417 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
10418 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
10419 and TF redirection to KFtype and KF only when the default
10420 long double type is not the IEEE 128-bit floating point type.
10422 2018-06-05 Joseph Myers <joseph@codesourcery.com>
10424 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
10426 (HWCAP_USCAT): Likewise.
10427 (HWCAP_ILRCPC): Likewise.
10428 (HWCAP_FLAGM): Likewise.
10429 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
10431 (_dl_aarch64_cap_flags): Add new flag names.
10433 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
10434 (MAP_FIXED_NOREPLACE): New macro.
10435 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
10436 (MAP_FIXED_NOREPLACE): Likewise.
10437 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
10438 (MAP_FIXED_NOREPLACE): Likewise.
10439 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10440 (MAP_FIXED_NOREPLACE): Likewise.
10441 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
10442 (MAP_FIXED_NOREPLACE): Likewise.
10443 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
10444 (MAP_FIXED_NOREPLACE): Likewise.
10445 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
10446 (MAP_FIXED_NOREPLACE): Likewise.
10447 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
10448 (MAP_FIXED_NOREPLACE): Likewise.
10449 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
10450 (MAP_FIXED_NOREPLACE): Likewise.
10451 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
10452 (MAP_FIXED_NOREPLACE): Likewise.
10453 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
10454 (MAP_FIXED_NOREPLACE): Likewise.
10455 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
10456 (MAP_FIXED_NOREPLACE): Likewise.
10457 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
10458 (MAP_FIXED_NOREPLACE): Likewise.
10459 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
10460 (MAP_FIXED_NOREPLACE): Likewise.
10461 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
10462 (MAP_FIXED_NOREPLACE): Likewise.
10464 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10467 2018-06-04 Joseph Myers <joseph@codesourcery.com>
10469 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10472 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10474 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
10476 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
10478 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10480 * benchtests/scripts/compare_string.py: (process_results) Catch
10481 exception in non-existent base_func and catch exception in
10482 non-existent attribute.
10483 (parse_file) Catch exception if input file does not exist.
10485 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10487 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
10488 options to avoid diff calculation and omit header, respectively.
10489 (main): process --no-diff and --no-header
10491 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10492 H.J. Lu <hongjiu.lu@intel.com>
10494 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10495 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
10497 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10498 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
10499 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
10500 and __wcsncmp_sse2.
10501 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
10502 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
10503 AVX unaligned load is fast and vzeroupper is preferred.
10504 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
10505 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
10506 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
10507 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
10508 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
10509 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
10510 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
10511 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
10512 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
10513 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
10516 2018-06-01 Florian Weimer <fweimer@redhat.com>
10518 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
10519 configuring with --disable-multi-arch, building with
10520 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
10523 2018-06-01 Florian Weimer <fweimer@redhat.com>
10525 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
10526 results from building with “-march=x86-64 -mtune=generic
10527 -mfpmath=sse” and running on a Haswell-era CPU.
10529 2018-06-01 Joseph Myers <joseph@codesourcery.com>
10532 * soft-fp/sqrttf2.c: Remove file.
10533 * soft-fp/sqrtdf2.c: Move to ....
10534 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
10536 (__sqrtdf2): Make conditional on
10537 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
10539 * soft-fp/sqrtsf2.c: Move to ....
10540 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
10542 (__sqrtsf2): Make conditional on
10543 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
10545 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
10546 (gcc-double-routines): Remove sqrtdf2.
10547 (gcc-quad-routines): Remove sqrttf2.
10548 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
10549 Do not filter out sqrtsf2 and sqrtdf2.
10550 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10551 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
10553 2018-06-01 Florian Weimer <fweimer@redhat.com>
10555 * sysdeps/generic/libcidn.abilist: Remove file.
10557 2018-06-01 Florian Weimer <fweimer@redhat.com>
10560 * libio/strfile.h (struct _IO_str_fields): Rename members to
10561 discourage their use and add comment.
10562 (_IO_STR_DYNAMIC): Remove unused macro.
10563 * libio/strops.c (_IO_str_init_static_internal): Do not use
10564 callback pointers. Call malloc and free.
10565 (_IO_str_overflow): Do not use callback pointers. Call malloc
10567 (enlarge_userbuf): Likewise.
10568 (_IO_str_finish): Call free.
10569 * libio/wstrops.c (_IO_wstr_init_static): Initialize
10570 _allocate_buffer_unused.
10571 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
10573 (enlarge_userbuf): Likewise.
10574 (_IO_wstr_finish): Call free.
10575 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
10576 _allocate_buffer_unused, _free_buffer_unused.
10577 * libio/memstream.c (__open_memstream): Likewise.
10578 * libio/vasprintf.c (_IO_vasprintf): Likewise.
10579 * libio/wmemstream.c (open_wmemstream): Likewise.
10581 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
10583 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
10586 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10588 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
10589 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
10590 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
10592 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
10594 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
10596 2018-05-29 Florian Weimer <fweimer@redhat.com>
10598 * support/Makefile (libsupport-routines): Add
10599 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
10600 xpthread_barrierattr_setpshared.
10601 * support/xpthread_barrierattr_destroy.c: New file.
10602 * support/xpthread_barrierattr_init.c: Likewise.
10603 * support/xpthread_barrierattr_setpshared.c: Likewise.
10605 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
10608 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
10609 _r_debug and update DT_DEBUG for debugger.
10611 2018-05-29 Florian Weimer <fweimer@redhat.com>
10613 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
10614 (tst-strtod5i.out): Likewise.
10616 2018-05-25 Joseph Myers <joseph@codesourcery.com>
10618 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
10619 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
10620 (sparc64-quad-routines): New variable. Moved from ....
10621 [$(subdir) = soft-fp] (sysdep_routines): Add
10622 $(sparc64-quad-routines). Moved from ....
10623 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
10624 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
10625 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
10627 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
10628 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
10629 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
10630 * sysdeps/sparc/sparc64/qp_add.c: ... here.
10631 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
10632 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
10633 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
10634 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
10635 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
10636 * sysdeps/sparc/sparc64/qp_div.c: ... here.
10637 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
10638 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
10639 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
10640 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
10641 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
10642 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
10643 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
10644 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
10645 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
10646 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
10647 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
10648 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
10649 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
10650 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
10651 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
10652 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
10653 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
10654 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
10655 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
10656 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
10657 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
10658 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
10659 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
10660 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
10661 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
10662 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
10663 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
10664 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
10665 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
10666 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
10667 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
10668 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
10669 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
10670 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
10671 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
10672 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
10673 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
10674 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
10675 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
10676 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
10677 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
10678 * sysdeps/sparc/sparc64/qp_util.c: ... here.
10679 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
10680 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
10681 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
10682 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
10683 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
10684 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
10686 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
10687 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
10688 (sparc32-quad-routines): New variable. Moved from ....
10689 [$(subdir) = soft-fp] (sysdep_routines): Add
10690 $(sparc32-quad-routines). Moved from ....
10691 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
10692 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
10694 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
10695 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
10696 * sysdeps/sparc/sparc32/q_add.c: ... here.
10697 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
10698 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
10699 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
10700 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
10701 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
10702 * sysdeps/sparc/sparc32/q_div.c: ... here.
10703 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
10704 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
10705 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
10706 * sysdeps/sparc/sparc32/q_feq.c: ... here.
10707 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
10708 * sysdeps/sparc/sparc32/q_fge.c: ... here.
10709 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
10710 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
10711 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
10712 * sysdeps/sparc/sparc32/q_fle.c: ... here.
10713 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
10714 * sysdeps/sparc/sparc32/q_flt.c: ... here.
10715 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
10716 * sysdeps/sparc/sparc32/q_fne.c: ... here.
10717 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
10718 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
10719 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
10720 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
10721 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
10722 * sysdeps/sparc/sparc32/q_mul.c: ... here.
10723 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
10724 * sysdeps/sparc/sparc32/q_neg.c: ... here.
10725 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
10726 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
10727 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
10728 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
10729 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
10730 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
10731 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
10732 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
10733 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
10734 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
10735 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
10736 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
10737 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
10738 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
10739 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
10740 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
10741 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
10742 * sysdeps/sparc/sparc32/q_sub.c: ... here.
10743 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
10744 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
10745 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
10746 * sysdeps/sparc/sparc32/q_util.c: ... here.
10747 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
10748 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
10749 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
10750 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
10752 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10753 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10755 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
10756 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
10757 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
10758 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
10760 2018-05-24 Joseph Myers <joseph@codesourcery.com>
10762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
10764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10766 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
10767 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
10769 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10772 * math/math.h [C++] (iseqsig): Fix parameter type for the long
10775 2018-05-23 Joseph Myers <joseph@codesourcery.com>
10777 * sysdeps/sh/Implies: Remove sh/soft-fp.
10778 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
10779 * sysdeps/sh/sfp-machine.h: ... here.
10781 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
10783 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10784 (__mempcpy_erms): Skip zero length.
10785 (__memmove_erms): Likewise.
10786 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10787 (__memset_erms): Likewise.
10789 2018-05-23 Joseph Myers <joseph@codesourcery.com>
10791 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
10792 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
10793 Add functions moved from ....
10794 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
10795 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
10796 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
10798 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
10799 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
10800 * sysdeps/alpha/e_sqrtl.c: ... here.
10801 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
10802 * sysdeps/alpha/local-soft-fp.h: ... here.
10803 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
10804 * sysdeps/alpha/ots_add.c: ... here.
10805 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
10806 * sysdeps/alpha/ots_cmp.c: ... here.
10807 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
10808 * sysdeps/alpha/ots_cmpe.c: ... here.
10809 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
10810 * sysdeps/alpha/ots_cvtqux.c: ... here.
10811 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
10812 * sysdeps/alpha/ots_cvtqx.c: ... here.
10813 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
10814 * sysdeps/alpha/ots_cvttx.c: ... here.
10815 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
10816 * sysdeps/alpha/ots_cvtxq.c: ... here.
10817 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
10818 * sysdeps/alpha/ots_cvtxt.c: ... here.
10819 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
10820 * sysdeps/alpha/ots_div.c: ... here.
10821 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
10822 * sysdeps/alpha/ots_mul.c: ... here.
10823 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
10824 * sysdeps/alpha/ots_nintxq.c: ... here.
10825 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
10826 * sysdeps/alpha/ots_sub.c: ... here.
10827 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
10828 * sysdeps/alpha/sfp-machine.h: ... here.
10830 2018-05-23 Florian Weimer <fweimer@redhat.com>
10838 Switch to extern IDNA implementation (libidn2).
10839 * libidn: Remove subdirectory.
10840 * LICENSES: Do not mention licensing conditions for the removed
10842 * config.h.in (HAVE_LIBIDN): Remove.
10843 * include/dlfcn.h (__libc_dlopen): Update comment.
10844 * include/idna.h: Remove file.
10845 * inet/Makefile (routines): Add idna.
10846 (tests-static, tests-internal): Add tst-idna_name_classify.
10847 (LOCALES): Generate locales for tests.
10848 (tst-idna_name_classify.out): Depend on generated locales.
10849 * inet/idna_name_classify.c: New file.
10850 * inet/tst-idna_name_classify.c: Likewise.
10851 * inet/net-internal.h (__idna_to_dns_encoding)
10852 (__idna_from_dns_encoding): Declare.
10853 * inet/net-internal.h (enum idna_name_classification): Define.
10854 (__idna_name_classify): Declare.
10855 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
10856 __idna_from_dns_encoding.
10857 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
10858 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
10859 name as a fallback in case of encoding errors.
10860 (getnameinfo): Use DEPRECATED_NI_IDN.
10861 * inet/idna.c: New file.
10862 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
10863 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
10864 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
10865 (modules-names): Add tst-no-libidn2.
10866 (extra-test-objs): Add tst-no-libidn2.os.
10867 (LDFLAGS-tst-no-libidn2.so): Set soname.
10868 (LOCALES): Set, and generate locales.
10869 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
10870 (tst-resolv-ai_idn-latin1): Likewise.
10871 (tst-resolv-ai_idn-nolibidn2): Likewise.
10872 (tst-resolv-ai_idn.out): Depend on locales.
10873 (tst-resolv-ai_idn-latin1.out): Depend on locales.
10874 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
10876 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
10877 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
10878 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
10879 * resolv/tst-resolv-ai_idn.c: New file.
10880 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
10881 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
10882 * resolv/tst-no-libidn2.c: Likewise.
10883 * support/support_format_addrinfo.c (format_ai_flags): Do not
10884 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
10885 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
10886 (gaih_inet): Call __idna_to_dns_encoding and
10887 __idna_from_dns_encoding, and use the original (punycode) name if
10888 __idna_from_dns_encoding fails due to an encoding error.
10889 (getaddrinfo): Use DEPRECATED_AI_IDN.
10890 * sysdeps/unix/inet/Subdirs (libidn): Remove.
10891 * sysdeps/unix/inet/configure: Remove file.
10892 * sysdeps/unix/inet/configure.ac: Likewise.
10894 2018-05-23 Florian Weimer <fweimer@redhat.com>
10896 Implement allocate_once.
10897 * include/allocate_once.h: New file.
10898 * misc/allocate_once.c: Likewise.
10899 * misc/tst-allocate_once.c: Likewise.
10900 * misc/Makefile (routines): Add allocate_once.
10901 (tests-internal): Add tst-allocate_once.
10902 (generated): Add tst-allocate_once.mtrace,
10903 tst-allocate_once-mem.out.
10904 (tests-special): Add tst-allocate_once-mem.out.
10905 (tst-allocate_once-ENV): Set MALLOC_TRACE.
10906 (tst-allocate_once-mem.out): Call mtrace.
10907 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
10909 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
10912 * string/test-memcpy.c (do_test1): New function.
10913 (test_main): Call it.
10915 2018-05-23 Andreas Schwab <schwab@suse.de>
10919 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
10920 (L(preloop_large)): Save initial destination pointer in %r11 and
10921 use it instead of %rax after the loop.
10922 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
10924 2018-05-22 Joseph Myers <joseph@codesourcery.com>
10926 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
10927 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
10928 -I../soft-fp. Moved from ....
10929 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
10930 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
10931 * sysdeps/aarch64/e_sqrtl.c: ... here.
10932 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
10933 * sysdeps/aarch64/sfp-machine.h: ... here.
10935 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
10936 -Wmaybe-uninitialized around access to fq[0].
10937 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10941 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
10942 aliases for non-libc case of versioned symbols.
10943 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
10944 (llseek): Define as compat symbol if
10945 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
10947 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
10948 Make into a compat symbol, disabled for minimum symbol version
10949 GLIBC_2.28 and later.
10950 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
10952 2018-05-22 Florian Weimer <fweimer@redhat.com>
10954 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
10955 not add -mpreferred-stack-boundary=4.
10956 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
10957 (stack-align-test-flags): Likewise.
10958 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
10960 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
10961 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
10962 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
10963 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
10964 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
10965 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
10966 (CFLAGS-tst-align2.c): Likewise.
10968 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
10970 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
10971 (index_arch_Prefer_FSRM): Likewise.
10972 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
10973 Also check Prefer_FSRM.
10974 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
10975 Also return OPTIMIZE (erms) for Prefer_FSRM.
10977 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
10979 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
10980 (index_cpu_FSRM): Likewise.
10981 (reg_FSRM): Likewise.
10983 2018-05-18 Joseph Myers <joseph@codesourcery.com>
10985 * math/gen-tgmath-tests.py: Import sys.
10986 (Tests.__init__): Initialize macros_seen.
10987 (Tests.add_tests): Add macro to macros_seen. Only generate tests
10988 if requested to do so for this macro.
10989 (Tests.add_all_tests): Take argument for macro for which to
10991 (Tests.check_macro_list): New function.
10992 (main): Handle check-list argument and argument specifying macro
10993 for which to generate tests.
10994 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
10995 [PYTHON] (tgmath3-macro-tests): Likewise.
10996 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
10997 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
10998 not test-tgmath3.c.
10999 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
11000 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
11002 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
11003 [PYTHON] ($(foreach
11004 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
11006 [PYTHON] (tests-special): Add
11007 $(objpfx)test-tgmath3-macro-list.out.
11008 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
11010 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
11011 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
11015 * time/tzset.c (SECSPERDAY): Cast to time_t.
11016 * time/tst-y2039.c: New file.
11017 * time/Makefile (tests): Add tst-y2039.
11019 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11021 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11022 (PREFETCH_ONE_SET): Remove duplicate line.
11024 2018-05-17 Florian Weimer <fweimer@redhat.com>
11026 * sysdeps/generic/math-type-macros-double.h: Include
11027 <math-nan-payload-double.h> after <libm-alias-double.h>.
11028 * sysdeps/generic/math-type-macros-float.h: Include
11029 <math-nan-payload-float.h> after <libm-alias-float.h>.
11030 * sysdeps/generic/math-type-macros-float128.h: Include
11031 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
11032 * sysdeps/generic/math-type-macros-ldouble.h: Include
11033 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
11035 2018-05-17 Andreas Schwab <schwab@suse.de>
11037 * resolv/res_send.c (__res_context_send): Don't set errno when
11038 returing error after malloc failure.
11040 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
11042 * nptl/allocatestack.c (allocate_stack): Remove the
11043 !__ASSUME_PRIVATE_FUTEX paths.
11044 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
11045 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11047 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
11048 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11049 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11050 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11051 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
11052 !__ASSUME_PRIVATE_FUTEX path.
11053 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
11054 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
11055 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11056 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
11057 !__ASSUME_PRIVATE_FUTEX macros.
11058 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11059 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11060 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11061 * sysdeps/unix/sysv/linux/kernel-features.h
11062 (__ASSUME_PRIVATE_FUTEX): Removed.
11064 2018-05-17 Joseph Myers <joseph@codesourcery.com>
11066 * math/Makefile (libm-narrow-fns): Add div.
11067 (libm-test-funcs-narrow): Likewise.
11068 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
11069 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
11070 * math/gen-auto-libm-tests.c (test_functions): Add div.
11071 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
11072 (NARROW_DIV_ROUND_TO_ODD): Likewise.
11073 (NARROW_DIV_TRIVIAL): Likewise.
11074 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
11076 (__ddivl): Likewise.
11077 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
11079 (CFLAGS-nldbl-ddiv.c): New variable.
11080 (CFLAGS-nldbl-fdiv.c): Likewise.
11081 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11083 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
11085 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
11086 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
11087 * math/auto-libm-test-in: Add tests of div.
11088 * math/auto-libm-test-out-narrow-div: New generated file.
11089 * math/libm-test-narrow-div.inc: New file.
11090 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
11091 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
11092 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
11093 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
11094 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
11095 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
11096 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
11097 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
11098 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
11099 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
11100 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
11101 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
11102 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
11103 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
11104 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
11105 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
11106 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
11107 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
11108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11109 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11110 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11111 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11112 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11113 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11114 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11115 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11116 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11117 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11118 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11119 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11120 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11121 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11126 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11127 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11128 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11129 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11130 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11131 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11132 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11133 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11135 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11138 * nscd/nscd-client.h (sendfileall): Remove prototype.
11139 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
11140 (handle_request): Use writeall instead of sendfileall.
11141 * nscd/aicache.c (addhstaiX): Likewise.
11142 * nscd/grpcache.c (cache_addgr): Likewise.
11143 * nscd/hstcache.c (cache_addhst): Likewise.
11144 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11145 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
11146 * nscd/pwdcache.c (cache_addpw): Likewise.
11147 * nscd/servicescache.c (cache_addserv): Likewise.
11148 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
11149 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
11150 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
11153 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
11155 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
11156 Include <string/strncat.c>.
11157 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
11159 (__GI___strncat): New hidden alias.
11161 2018-05-16 Joseph Myers <joseph@codesourcery.com>
11163 * sysdeps/mips/mips32/libm-test-ulps: Update.
11164 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11166 2018-05-16 Florian Weimer <fweimer@redhat.com>
11168 * support/Makefile (libsupport-routines): Add support_quote_blob,
11169 support_test_compare_blob.
11170 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
11171 * support/check.h (TEST_COMPARE_BLOB): Define.
11172 (support_test_compare_blob): Declare.
11173 * support/support.h (support_quote_blob): Declare.
11174 * support/support_quote_blob.c: New file.
11175 * support/support_test_compare_blob.c: Likewise.
11176 * support/tst-support_quote_blob.c: Likewise.
11177 * support/tst-test_compare_blob.c: Likewise.
11179 2018-05-16 Florian Weimer <fweimer@redhat.com>
11181 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
11182 of <strtod_nan_double.h>.
11183 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
11184 instead of SET_MANTISSA.
11185 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
11186 of include <strtod_nan_float.h>.
11187 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
11188 instead of <strtod_nan_ldouble.h>.
11189 * stdlib/strtod_nan_double.h: Move to ...
11190 * sysdeps/generic/math-nan-payload-double.h: ... here.
11191 (FLOAT): Remove definition.
11192 (SET_MANTISSA): Rename to ...
11193 (SET_NAN_PAYLOAD): ... this.
11194 * stdlib/strtod_nan_float.h: Move to ...
11195 * sysdeps/generic/math-nan-payload-float.h: ... here.
11196 (FLOAT): Remove definition.
11197 (SET_MANTISSA): Rename to ...
11198 (SET_NAN_PAYLOAD): ... this.
11199 * sysdeps/generic/math-type-macros-double.h: Include
11200 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
11201 instead of <math-svid-compat.h>.
11202 * sysdeps/generic/math-type-macros-float.h: Include
11203 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
11204 instead of <math-svid-compat.h>.
11205 * sysdeps/generic/math-type-macros-float128.h: Include
11206 <math-nan-payload-float128.h>.
11207 * sysdeps/generic/math-type-macros-ldouble.h: Include
11208 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
11209 instead of <math-svid-compat.h>.
11210 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
11211 check for definition.
11212 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
11213 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
11214 Include <ieee754_float128.h>.
11215 (FLOAT): Remove definition.
11216 (SET_MANTISSA): Rename to ...
11217 (SET_NAN_PAYLOAD): ... this.
11218 * sysdeps/ieee754/float128/strtof128_nan.c: Include
11219 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
11220 Do not include <float128_private.h>.
11221 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
11222 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
11223 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
11224 (FLOAT): Remove definition.
11225 (SET_MANTISSA): Rename to ...
11226 (SET_NAN_PAYLOAD): ... this.
11227 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
11228 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
11229 (FLOAT): Remove definition.
11230 (SET_MANTISSA): Rename to ...
11231 (SET_NAN_PAYLOAD): ... this.
11232 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
11233 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
11234 (FLOAT): Remove definition.
11235 (SET_MANTISSA): Rename to ...
11236 (SET_NAN_PAYLOAD): ... this.
11237 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
11238 of "../stdlib/strtod_nan_double.h".
11239 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
11240 of "../stdlib/strtod_nan_float.h".
11241 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
11242 instead of "../stdlib/strtod_nan_ldouble.h".
11243 * manual/arith.texi (Parsing of Floats): Adjust comment.
11245 2018-05-16 Joseph Myers <joseph@codesourcery.com>
11247 * math/Makefile (libm-narrow-fns): Add mul.
11248 (libm-test-funcs-narrow): Likewise.
11249 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
11250 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
11251 * math/gen-auto-libm-tests.c (test_functions): Add mul.
11252 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
11253 (NARROW_MUL_ROUND_TO_ODD): Likewise.
11254 (NARROW_MUL_TRIVIAL): Likewise.
11255 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
11256 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
11258 (__dmull): Likewise.
11259 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
11261 (CFLAGS-nldbl-dmul.c): New variable.
11262 (CFLAGS-nldbl-fmul.c): Likewise.
11263 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11265 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
11267 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
11268 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
11269 * math/auto-libm-test-in: Add tests of mul.
11270 * math/auto-libm-test-out-narrow-mul: New generated file.
11271 * math/libm-test-narrow-mul.inc: New file.
11272 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
11273 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
11274 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
11275 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
11276 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
11277 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
11278 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
11279 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
11280 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
11281 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
11282 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
11283 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
11284 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
11285 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
11286 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
11287 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
11288 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
11289 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
11290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11291 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11292 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11293 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11294 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11295 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11296 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11297 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11298 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11299 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11300 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11301 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11302 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11303 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11308 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11309 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11310 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11311 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11312 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11313 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11314 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11315 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11317 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11319 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
11320 with *%eax in call.
11322 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11324 * sysdeps/i386/ldsodefs.h: Removed.
11325 * sysdeps/x86_64/ldsodefs.h: Moved to ...
11326 * sysdeps/x86/ldsodefs.h: This.
11327 (La_i86_regs): New.
11328 (La_i86_retval): Likewise.
11329 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
11330 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
11332 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11334 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
11337 2018-05-13 Alan Modra <amodra@gmail.com>
11339 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
11340 R_PARISC_TLS_DTPOFF32 reloc addend.
11342 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11344 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
11345 * math/math.h: Restrict the prototype definition for the functions
11346 issignaling(_Float128) and iszero(_Float128); and template
11347 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
11348 __HAVE_FLOAT128_UNLIKE_LDBL.
11349 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
11350 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
11351 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
11352 __f128() constants; define the type _Float128 as long double;
11353 and reuse long double in __CFLOAT128.
11355 2018-05-11 Joseph Myers <joseph@codesourcery.com>
11357 * sysdeps/generic/math_private.h: Do not include
11359 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
11361 * math/fromfp.h: Include <math-barriers.h>.
11362 * math/math-narrow.h: Likewise.
11363 * math/s_nextafter.c: Likewise.
11364 * math/s_nexttowardf.c: Likewise.
11365 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
11366 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
11367 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
11368 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
11369 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11370 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11371 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11372 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11373 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11374 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11375 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11376 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11377 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11378 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11379 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11380 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11381 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11382 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11383 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11384 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11385 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11386 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11387 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11388 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11389 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11390 * sysdeps/ieee754/k_standardl.c: Likewise.
11391 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11392 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11393 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11394 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11395 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11396 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11397 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11398 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11399 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11400 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11401 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11402 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11403 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11404 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11405 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11406 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11407 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11408 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11409 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11410 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11411 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
11412 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
11414 2018-05-11 Florian Weimer <fweimer@redhat.com>
11416 Use 64-bit epoch values in the time zone file parser.
11417 * include/time.h (internal_time_t): Define.
11418 (__tzfile_compute): Use it.
11419 * time/tzfile.c (struct leap): Use internal_time_t for epoch
11421 (transitions): Switch to internal_time_t.
11422 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
11424 (__tzfile_compute): Use internal_time_t for timer argument. Check
11425 for truncation before calling __offtime.
11427 2018-05-11 Florian Weimer <fweimer@redhat.com>
11430 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
11431 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
11433 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
11434 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
11435 export without --enable-obsolete-rpc.
11436 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
11437 symbol. This should not have been exported, ever.
11439 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
11442 * localedata/locales/gd_GB (abmon): Fix typo in May:
11443 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
11445 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11447 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11448 Use multiple registers to copy data in loop tail.
11450 * sysdeps/aarch64/multiarch/memmove_falkor.S
11451 (__memmove_falkor): Use multiple registers to move data in
11454 2018-05-10 Joseph Myers <joseph@codesourcery.com>
11456 * math/math-underflow.h: New file.
11457 * sysdeps/generic/math_private.h: Do not include <float.h>.
11458 (fabs_tg): Remove macro. Moved to math-underflow.h.
11459 (min_of_type_f): Likewise.
11460 (min_of_type_): Likewise.
11461 (min_of_type_l): Likewise.
11462 (min_of_type_f128): Likewise.
11463 (min_of_type): Likewise.
11464 (math_check_force_underflow): Likewise.
11465 (math_check_force_underflow_nonneg): Likewise.
11466 (math_check_force_underflow_complex): Likewise.
11467 * math/e_exp2_template.c: Include <math-underflow.h>.
11468 * math/k_casinh_template.c: Likewise.
11469 * math/s_catan_template.c: Likewise.
11470 * math/s_catanh_template.c: Likewise.
11471 * math/s_ccosh_template.c: Likewise.
11472 * math/s_cexp_template.c: Likewise.
11473 * math/s_clog10_template.c: Likewise.
11474 * math/s_clog_template.c: Likewise.
11475 * math/s_csin_template.c: Likewise.
11476 * math/s_csinh_template.c: Likewise.
11477 * math/s_csqrt_template.c: Likewise.
11478 * math/s_ctan_template.c: Likewise.
11479 * math/s_ctanh_template.c: Likewise.
11480 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11481 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11482 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11483 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11484 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11485 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11486 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11487 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11488 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11489 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11490 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11491 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11492 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11493 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11494 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11495 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11496 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11497 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11498 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11499 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11500 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11501 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11502 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11503 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11504 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11505 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11506 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11507 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11508 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11509 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11510 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11511 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11512 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11513 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11514 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11515 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11516 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11517 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11518 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11519 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11520 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11521 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11522 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11523 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11524 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11525 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11526 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11527 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11528 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11529 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11530 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11531 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11532 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11533 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11534 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11535 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11536 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11537 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11538 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11539 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11540 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11541 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11542 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11543 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11544 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11545 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11546 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11547 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11548 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11549 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11550 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11551 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11552 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
11553 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
11554 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11555 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11556 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11557 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11558 * sysdeps/x86/fpu/powl_helper.c: Likewise.
11559 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
11560 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
11561 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11562 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
11563 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
11565 2018-05-09 Joseph Myers <joseph@codesourcery.com>
11567 * sysdeps/generic/math-barriers.h: New file.
11568 * sysdeps/generic/math_private.h [!math_opt_barrier]
11569 (math_opt_barrier): Move to math-barriers.h.
11570 [!math_opt_barrier] (math_force_eval): Likewise.
11571 * sysdeps/aarch64/fpu/math-barriers.h: New file.
11572 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
11574 (math_force_eval): Likewise.
11575 * sysdeps/alpha/fpu/math-barriers.h: New file.
11576 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
11578 (math_force_eval): Likewise.
11579 * sysdeps/x86/fpu/math-barriers.h: New file.
11580 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
11582 (math_force_eval): Likewise.
11583 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
11584 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
11585 multiple-include guard for rename.
11586 * sysdeps/powerpc/fpu/math-barriers.h: New file.
11587 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
11589 (math_force_eval): Likewise.
11591 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
11595 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
11597 * stdlib/Makefile (test-bz22786): New test.
11598 * stdlib/test-bz22786.c: New test.
11600 2018-05-09 Joseph Myers <joseph@codesourcery.com>
11602 * include/math-narrow-eval.h: New file. Contents moved from ....
11603 * sysdeps/generic/math_private.h: ... here.
11604 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
11605 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
11606 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
11607 * stdlib/strtod_l.c: Likewise.
11608 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
11609 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
11610 * sysdeps/i386/fpu/s_fdim.c: Likewise.
11611 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11612 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11613 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11614 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11615 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11616 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11617 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11618 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11619 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
11620 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11621 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11622 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11623 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11624 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11625 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11626 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11627 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11628 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11629 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11630 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11631 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11632 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11633 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11634 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11635 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11636 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11638 2018-05-08 Andreas Schwab <schwab@suse.de>
11640 * sysdeps/nptl/internaltypes.h: Fix comment.
11642 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
11644 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11645 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
11648 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
11650 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
11651 of I into loop header.
11652 * benchtests/bench-memmove-walk.c
11653 (test_main): Likewise.
11655 2018-05-07 Alexandre Oliva <oliva@gnu.org>
11658 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
11659 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
11661 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11664 * elf/dl-load.c (open_verify): Fix stack overflow.
11665 * elf/Makefile (tst-big-note): New test.
11666 * elf/tst-big-note-lib.S: New.
11667 * elf/tst-big-note.c: New.
11669 2018-05-04 Joseph Myers <joseph@codesourcery.com>
11671 * scripts/abilist.awk: Ignore absolute symbols.
11672 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
11673 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
11674 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
11675 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
11676 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
11677 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
11678 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11679 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
11680 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
11681 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
11682 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
11683 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
11684 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
11685 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
11686 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
11687 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
11688 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
11689 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
11690 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11691 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
11692 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11693 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
11694 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
11695 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
11696 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
11697 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
11698 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
11699 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
11700 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11701 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
11702 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
11703 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11704 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
11705 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11706 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
11707 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
11708 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
11709 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
11710 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
11711 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
11712 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
11713 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11714 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
11715 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
11716 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11717 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
11718 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11719 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
11720 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
11721 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
11722 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
11723 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
11724 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
11725 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
11726 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11727 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
11728 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
11729 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11730 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
11731 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11732 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
11733 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
11734 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
11735 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
11736 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
11737 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
11738 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
11739 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11740 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
11741 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
11742 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11743 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
11744 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11745 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
11746 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
11747 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
11748 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
11749 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
11750 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
11751 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
11752 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11753 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
11754 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
11755 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11756 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
11757 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11758 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
11759 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
11760 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
11761 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
11762 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
11763 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11765 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
11766 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11767 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
11768 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
11769 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11770 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
11771 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
11772 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
11773 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
11774 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
11775 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
11776 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
11777 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11779 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
11780 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11781 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
11782 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
11783 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11784 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
11785 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
11786 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
11787 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
11788 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
11789 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
11790 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
11791 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
11792 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
11793 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11794 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
11795 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
11796 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11797 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
11798 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
11799 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
11800 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
11801 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
11802 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
11803 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11804 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
11805 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
11807 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
11808 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
11809 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
11810 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
11811 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11812 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
11813 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
11814 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
11815 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
11816 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
11817 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
11818 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
11819 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
11820 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
11821 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
11822 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
11823 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
11824 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
11825 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11826 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
11828 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
11829 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
11830 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
11831 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11832 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
11833 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
11834 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
11835 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
11836 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
11837 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
11838 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11839 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
11840 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
11841 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11842 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
11843 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
11844 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
11845 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
11846 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11847 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
11848 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
11849 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11850 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
11851 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
11852 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
11853 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
11854 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
11855 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
11856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
11857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
11859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
11862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
11863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
11864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
11865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
11867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
11869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
11870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
11873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
11878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
11879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
11885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
11886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
11891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
11892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
11893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
11897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
11898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
11906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
11907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
11908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
11915 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
11916 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
11918 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
11919 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11920 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
11921 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
11922 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11923 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
11924 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
11925 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
11926 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
11927 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
11928 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
11929 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
11930 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
11931 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
11933 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11934 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
11935 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
11936 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11937 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
11938 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
11939 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
11940 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
11941 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
11942 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
11943 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
11944 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
11946 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11947 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
11948 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
11949 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11950 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
11951 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
11952 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
11953 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
11954 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
11955 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
11956 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
11957 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
11958 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
11959 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11960 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
11961 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
11962 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11963 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
11964 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
11965 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
11966 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
11967 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
11968 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
11969 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
11970 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
11972 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
11973 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11974 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
11975 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
11976 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11977 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
11978 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
11979 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
11980 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
11981 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
11982 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
11983 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
11984 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
11986 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
11987 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11988 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
11989 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
11990 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11991 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
11992 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
11993 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
11994 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
11995 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
11996 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
11997 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
11998 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
11999 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
12000 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12001 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
12002 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
12003 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12004 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
12005 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
12006 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
12007 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
12008 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
12009 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
12010 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
12011 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
12012 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
12013 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
12014 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12015 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
12016 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
12017 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12018 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
12019 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
12020 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
12021 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
12022 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
12023 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
12025 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
12028 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
12029 Use atomic_load_acquire to load __tid.
12031 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12033 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
12034 Restore the pointer into %rdx, after syscall and use %rdx,
12035 instead of %rsi, to restore context.
12037 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12039 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
12040 Pop the pointer into %rdx after syscall and use %rdx, instead
12041 of %rsi, to restore context.
12043 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12045 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
12046 handlers after setjmp.
12047 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
12049 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
12050 <libc-pointer-arith.h>.
12051 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
12052 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
12053 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
12054 _JUMP_BUF_SIGSET_BITS_PER_WORD.
12055 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
12056 * sysdeps/x86/__longjmp_cancel.S: New file.
12057 * sysdeps/x86/longjmp.c: Likewise.
12058 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
12060 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12062 * NEWS: Add ustat.h deprecation entry.
12063 * bits/ustat.h: Remove file.
12064 * misc/sys/ustat.h: Likewise.
12065 * misc/ustat.h: Likewise.
12066 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
12067 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
12068 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
12069 compatibility mode.
12070 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
12071 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
12072 generic Linux implementation.
12074 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12076 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
12077 * math/w_expl_compat.c: Likewise.
12078 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
12080 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12082 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12084 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12086 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
12087 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
12088 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
12090 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
12091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12092 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12093 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
12094 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
12097 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12099 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
12101 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
12102 * math/w_asin_template.c: Likewise.
12103 * math/w_atanh_template.c: Likewise.
12105 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12107 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
12108 to powerpc/powerpc64/be for big-endian.
12109 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
12112 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
12113 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
12114 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
12115 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
12116 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
12117 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
12118 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
12119 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
12120 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
12121 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12122 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
12123 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
12124 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
12125 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
12126 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
12127 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
12128 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
12129 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
12130 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
12131 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
12132 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
12133 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12134 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
12135 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
12136 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
12137 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12138 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
12139 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
12140 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
12141 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
12142 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
12143 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
12145 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
12146 adjusted to imply powerpc64 and older processors on powerpc64/be.
12147 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
12148 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
12149 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
12150 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
12151 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
12152 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
12153 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
12154 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
12155 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
12156 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
12157 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
12158 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
12159 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
12160 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
12161 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
12162 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
12163 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
12164 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
12165 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
12166 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
12167 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
12168 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
12169 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
12170 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
12171 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
12172 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
12173 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
12174 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
12175 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
12176 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
12177 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
12179 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
12180 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
12181 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
12182 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
12184 * sysdeps/powerpc/powerpc64/be/Implies: New file.
12185 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
12186 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
12187 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
12189 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
12190 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
12191 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
12192 * sysdeps/powerpc/powerpc64le/configure: Likewise.
12193 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
12194 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
12195 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
12196 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
12197 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
12198 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
12199 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
12201 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
12202 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
12203 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
12204 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
12205 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
12206 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
12207 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
12208 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
12209 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
12210 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
12211 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
12213 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
12214 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
12215 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
12216 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
12217 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
12218 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
12219 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
12220 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
12221 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
12222 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
12223 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
12224 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
12226 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
12227 and adjusted to imply olders processors.
12228 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
12229 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
12230 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
12231 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
12232 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
12233 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
12234 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
12235 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
12236 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
12237 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
12238 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
12240 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
12242 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
12243 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
12245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
12247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
12248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
12250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
12252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
12254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
12256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
12257 powerpc64 and adjusted.
12258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
12259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
12260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
12263 2018-04-27 Joseph Myers <joseph@codesourcery.com>
12265 * sysdeps/tile: Remove.
12266 * sysdeps/unix/sysv/linux/tile: Likewise.
12267 * README (tilegx-*-linux-gnu): Remove from list of supported
12269 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
12270 contribution of support for generic Linux kernel syscall
12272 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
12273 tilegx configurations.
12274 (Config.install_linux_headers): Do not handle tile.
12275 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
12277 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
12278 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
12279 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
12280 conditional undefine and redefine.
12281 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
12283 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
12284 conditional undefine and redefine.
12286 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
12288 * signal/tst-sigaction.c: New file to test BZ #23069.
12289 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
12291 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12294 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
12295 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
12296 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
12297 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
12299 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12301 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
12302 _DIRENT_MATCHES_DIRENT64 is not defined.
12303 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
12304 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
12306 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
12307 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
12309 2018-04-25 Joseph Myers <joseph@codesourcery.com>
12311 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
12312 version to GCC 8 branch.
12314 2018-04-24 Joseph Myers <joseph@codesourcery.com>
12316 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
12317 (check_no_hidden): Use type of original function when declaring
12320 * sysdeps/unix/sysv/linux/sys/ptrace.h
12321 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
12322 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
12323 (struct __ptrace_seccomp_metadata): New type.
12324 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
12325 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12326 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
12327 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12328 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
12329 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12330 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
12331 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12332 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
12333 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12334 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
12335 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12336 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
12337 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12338 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
12339 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12341 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12343 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
12345 * dirent/versionsort.c (versionsort): Likewise.
12346 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
12347 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
12348 * dirent/versionsort64.c (versionsort64): Likewise.
12349 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
12350 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
12351 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
12352 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
12353 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
12354 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
12355 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
12356 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
12357 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
12358 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
12359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
12360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
12361 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
12362 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
12364 2018-04-23 Joseph Myers <joseph@codesourcery.com>
12366 * elf/elf.h (NT_PPC_PKEY): New macro.
12368 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
12371 * localedata/locales/hr_HR: fix thousands_sep and
12374 2018-04-20 Joseph Myers <joseph@codesourcery.com>
12376 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
12377 (XTABS): Define to TAB3.
12379 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12381 * sysdeps/hppa/fpu/libm-test-ulps: Update.
12383 * dirent/scandir-tail-common.c: New file.
12384 * dirent/scandir-tail.c: Use scandir-tail-common.c.
12385 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
12386 * dirent/scandir.c: Use scandir-tail-common.c.
12387 * dirent/scandirat.c: Likewise.
12388 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
12389 * dirent/scandir64.c (scandir64): Always build and alias to scandir
12390 if _DIRENT_MATCHES_DIRENT64 is defined.
12391 * dirent/scandirat64.c (scandirat64): Likewise.
12392 * include/dirent.h (__scandir_tail): Only define iff
12393 _DIRENT_MATCHES_DIRENT64 is not defined.
12394 (__scandir64_tail): Define regardless.
12395 (__scandirat, scandirat64): Remove libc_hidden_proto.
12396 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
12397 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
12398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
12399 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
12400 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12401 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
12402 * sysdeps/unix/sysv/linux/scandir64.c: New file.
12404 2018-04-20 Joseph Myers <joseph@codesourcery.com>
12406 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
12408 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12410 (_dl_aarch64_cap_flags): Add asimdfhm.
12412 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
12414 * sysdeps/nios2/libm-test-ulps: Update.
12416 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12418 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
12419 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
12421 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
12423 (_DIRENT_MATCHES_DIRENT64): Undef
12424 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
12425 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
12426 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
12427 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
12428 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
12429 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
12430 use getdents64 syscalls as base.
12431 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
12432 symbol if required.
12433 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
12434 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
12435 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
12436 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
12437 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
12438 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
12439 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
12440 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
12441 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12442 (__get_clockfreq_via_proc_openprom): Use __getdents64.
12443 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
12445 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12447 * scripts/test_printers_common.py (init_test): Disable lock elision.
12449 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12451 * math/test-tgmath.c (count_double, count_float,
12452 count_ldouble, count_cdouble, count_cfloat,
12453 count_cldouble): Use volatile int.
12455 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
12457 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
12458 (conformtest-xfail-conds): Add i386-gnu.
12459 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
12461 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
12462 ipc_perm.cuid, ipc_perm.cgid): Likewise.
12463 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
12464 msqid_ds.msg_lrpid): Likewise.
12465 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
12467 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
12468 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
12469 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
12470 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
12472 (struct statvfs64): Likewise.
12473 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
12475 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
12476 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
12477 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
12478 instead of wait_queue.
12479 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
12480 instead of vm_area_struct.
12481 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
12482 struct sched_param definition to it.
12483 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12484 * bits/types/struct_sched_param.h: New file.
12485 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
12486 <bits/types/struct_sched_param.h> instead of <sched.h>.
12487 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
12488 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
12489 generic version but include <bits/pthreadtypes.h> to make struct
12490 sigevent's sigev_notify_attributes field a pthread_attr_t*.
12491 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
12493 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
12494 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
12495 [__USE_XOPEN] (OFDEL): New macro.
12496 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
12497 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
12498 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
12500 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
12501 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
12502 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
12504 * sysdeps/i386/sys/ucontext.h: Likewise.
12505 * sysdeps/m68k/sys/ucontext.h: Likewise.
12506 * sysdeps/mips/sys/ucontext.h: Likewise.
12507 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
12508 * sysdeps/mach/hurd/i386/Makefile
12509 (test-xfail-POSIX/fcntl.h/conform): Add.
12510 (test-xfail-POSIX/signal.h/conform): Add.
12511 (test-xfail-POSIX/semaphore.h/conform): Add.
12512 (test-xfail-POSIX/regex.h/conform): Add.
12513 (test-xfail-POSIX/aio.h/conform): Add.
12514 (test-xfail-POSIX/mqueue.h/conform): Add.
12515 (test-xfail-POSIX/sys/types.h/conform): Add.
12516 (test-xfail-UNIX98/fcntl.h/conform): Add.
12517 (test-xfail-UNIX98/netdb.h/conform): Add.
12518 (test-xfail-UNIX98/signal.h/conform): Add.
12519 (test-xfail-UNIX98/semaphore.h/conform): Add.
12520 (test-xfail-UNIX98/regex.h/conform): Add.
12521 (test-xfail-UNIX98/aio.h/conform): Add.
12522 (test-xfail-UNIX98/ftw.h/conform): Add.
12523 (test-xfail-UNIX98/mqueue.h/conform): Add.
12524 (test-xfail-UNIX98/netinet/in.h/conform): Add.
12525 (test-xfail-UNIX98/sys/wait.h/conform): Add.
12526 (test-xfail-UNIX98/sys/sem.h/conform): Add.
12527 (test-xfail-UNIX98/sys/uio.h/conform): Add.
12528 (test-xfail-UNIX98/sys/socket.h/conform): Add.
12529 (test-xfail-UNIX98/sys/types.h/conform): Add.
12530 (test-xfail-UNIX98/stdlib.h/conform): Add.
12531 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
12532 (test-xfail-POSIX2008/fcntl.h/conform): Add.
12533 (test-xfail-POSIX2008/netdb.h/conform): Add.
12534 (test-xfail-POSIX2008/signal.h/conform): Add.
12535 (test-xfail-POSIX2008/semaphore.h/conform): Add.
12536 (test-xfail-POSIX2008/regex.h/conform): Add.
12537 (test-xfail-POSIX2008/aio.h/conform): Add.
12538 (test-xfail-POSIX2008/mqueue.h/conform): Add.
12539 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
12540 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
12541 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
12542 (test-xfail-POSIX2008/sys/types.h/conform): Add.
12543 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
12544 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
12545 (test-xfail-XOPEN2K/netdb.h/conform): Add.
12546 (test-xfail-XOPEN2K/signal.h/conform): Add.
12547 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
12548 (test-xfail-XOPEN2K/regex.h/conform): Add.
12549 (test-xfail-XOPEN2K/aio.h/conform): Add.
12550 (test-xfail-XOPEN2K/ftw.h/conform): Add.
12551 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
12552 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
12553 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
12554 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
12555 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
12556 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
12557 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
12558 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
12559 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
12560 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
12561 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
12562 (test-xfail-XOPEN2K8/signal.h/conform): Add.
12563 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
12564 (test-xfail-XOPEN2K8/regex.h/conform): Add.
12565 (test-xfail-XOPEN2K8/aio.h/conform): Add.
12566 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
12567 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
12568 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
12569 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
12570 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
12571 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
12572 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
12573 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
12574 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
12575 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
12576 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
12578 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
12579 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
12581 2018-04-18 Joseph Myers <joseph@codesourcery.com>
12583 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
12584 --enable-obsolete for powerpc-linux-gnuspe.
12586 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12588 * conform/data/sys/un.h-data: Allow sun_ prefix.
12589 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
12591 * sysdeps/mach/include/mach.h: Likewise.
12592 * sysdeps/mach/include/mach/mig_support.h: Likewise.
12593 * sysdeps/mach/include/mach_error.h: Likewise.
12595 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12597 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
12598 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
12599 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
12600 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
12602 2018-04-16 Andreas Schwab <schwab@suse.de>
12605 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
12607 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
12609 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
12610 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
12612 2018-04-12 DJ Delorie <dj@redhat.com>
12614 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12617 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12619 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
12620 (struct kernel_sigaction): Use the same definition on 31bit as is used
12623 2018-04-09 Florian Weimer <fweimer@redhat.com>
12626 * resolv/res_send.c (send_dg): Use designated initializers instead
12627 of assignment to zero-initialize other fields of struct mmsghdr.
12629 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12631 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
12632 __READDIR_ALIAS): Undefine after usage.
12633 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
12634 __READDIR_R_ALIAS): Likewise.
12635 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
12636 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
12637 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
12638 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
12639 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
12640 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
12641 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
12642 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12643 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
12644 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
12645 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
12646 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
12647 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
12648 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
12649 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
12650 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
12651 * sysdeps/unix/sysv/linux/readdir.c: New file.
12652 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
12653 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
12654 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
12656 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
12658 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
12660 * manual/charset.texi (Converting a Character): Fix typo.
12662 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12664 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12666 * sysdeps/arm/libm-test-ulps: Update.
12668 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
12669 as base implementation.
12670 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12671 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12672 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12673 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12674 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12675 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
12676 remove unrequired definitions and update comments.
12677 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
12678 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
12679 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
12680 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
12681 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
12682 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
12683 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
12684 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
12685 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
12686 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
12687 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
12688 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12689 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12690 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
12691 and RESET_SA_RESTORER hooks.
12693 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
12695 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12697 2018-04-05 Florian Weimer <fweimer@redhat.com>
12699 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
12700 integer overflow, memory leak on error, and indeterminate errno
12701 value. Add a null wide character to terminate the result string.
12702 * manual/charset.texi (Converting a Character): Mention embedded
12703 null bytes in the mbrtowc input string. Explain what happens in
12704 the -2 result case. Do not claim that mbrtowc is simple or
12705 obvious to use. Adjust the description of the code example. Use
12706 @code, not @var, for concrete variables.
12708 2018-04-05 Florian Weimer <fweimer@redhat.com>
12710 * manual/examples/mbstouwcs.c: New file.
12711 * manual/charset.texi (Converting a Character): Include it.
12713 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
12715 * include/dirent.h (dirfd): Add hidden proto.
12716 * dirent/dirfd.c (dirfd): Add hidden def.
12717 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
12718 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
12720 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12722 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
12723 sin, cos and sincos to 1 ULP.
12725 2018-04-04 Maciej W. Rozycki <macro@mips.com>
12728 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
12730 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
12731 * elf/tst-absolute-sym.c: New file.
12732 * elf/tst-absolute-sym-lib.c: New file.
12733 * elf/tst-absolute-sym-lib.lds: New file.
12734 * elf/Makefile (tests): Add `tst-absolute-sym'.
12735 (modules-names): Add `tst-absolute-sym-lib'.
12736 (LDLIBS-tst-absolute-sym-lib.so): New variable.
12737 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
12738 ($(objpfx)tst-absolute-sym): New dependency.
12741 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
12743 (SYMBOL_ADDRESS): New macro.
12744 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
12745 SYMBOL_ADDRESS for symbol address calculation.
12746 * elf/dl-runtime.c (_dl_fixup): Likewise.
12747 (_dl_profile_fixup): Likewise.
12748 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
12749 * elf/rtld.c (dl_main): Likewise.
12750 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
12751 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
12752 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
12753 (elf_machine_rela): Likewise.
12754 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
12755 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
12756 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12757 (elf_machine_rela): Likewise.
12758 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12759 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
12760 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
12761 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
12763 (elf_machine_reloc): Likewise.
12764 (elf_machine_got_rel): Likewise.
12765 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
12766 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
12767 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12769 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12771 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
12772 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12774 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12776 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12777 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12779 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12781 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
12782 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12784 2018-04-04 Zack Weinberg <zackw@panix.com>
12786 * sysdeps/generic/internal-signals.h: Include signal.h,
12787 sigsetops.h, and stdbool.h.
12788 (__libc_signal_block_all): Actually block all signals.
12789 (__libc_signal_block_app): Likewise.
12790 (__libc_signal_restore_set): Actually restore the signal mask.
12792 2018-04-04 Florian Weimer <fweimer@redhat.com>
12794 inet: Actually build and run tst-deadline.
12795 * inet/Makefile (tests-internal): Add tst-deadline and do not
12796 overwrite the variable.
12797 (tests-static-internal): Remove variable.
12799 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
12802 * bits/uio-ext.h (RWF_APPEND): New.
12803 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
12804 * manual/llio.texi: Document RWF_APPEND.
12805 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
12806 (RWF_SUPPORTED): Add RWF_APPEND.
12808 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12811 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
12812 check for internal nptl signals.
12813 * nptl/sigaction.c (__sigaction): Likewise.
12814 * signal/sigaddset.c (sigaddset): Likewise.
12815 * signal/sigdelset.c (sigdelset): Likewise.
12816 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
12817 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
12819 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
12820 to filter out internal nptl signals.
12821 * signal/tst-sigset.c (do_test): Check ech signal indidually and
12822 also check realtime signals using standard macros.
12823 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
12824 __is_internal_signal, __libc_signal_block_all,
12825 __libc_signal_block_app, __libc_signal_restore_set): New functions.
12826 * sysdeps/nptl/sigfillset.c: Remove file.
12827 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
12828 Change return to bool.
12829 (__clear_internal_signals): Remove SIGTIMER clean since it is
12830 equal to SIGCANEL on Linux.
12831 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
12832 signal set was constructed using standard functions.
12834 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
12836 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
12837 ifname is too long.
12838 * hurd/hurdsig.c (interrupted_reply_port_location): Use
12839 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
12840 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
12842 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
12843 * signal/sigaddset.c: Include <sigsetopts.h>.
12844 * signal/sigdelset.c: Likewise.
12846 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12848 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
12850 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
12851 logic as sin and cos.
12853 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12855 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
12856 inputs. Return correct sign.
12857 (do_sincos): Remove small input check before do_sin, let do_sin set
12862 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12864 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
12865 (do_cos_slow): Likewise.
12866 (do_sin_slow): Likewise.
12867 (reduce_and_compute): Likewise.
12872 (sloww1): Likewise.
12873 (sloww2): Likewise.
12875 (bslow1): Likewise.
12876 (bslow2): Likewise.
12877 (cslow2): Likewise.
12879 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12881 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
12882 (do_cos): Remove corp parameter and calculations.
12883 (do_sin): Likewise.
12884 (do_sincos): Remove cor variable.
12885 (__sin): Use do_sincos for huge inputs.
12887 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12888 (reduce_and_compute_sincos): Remove unused function.
12890 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12892 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
12893 reduce_sincos, improve accuracy to 136 bits.
12894 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
12895 (__sin): Use improved reduction and simplified do_sincos calculation.
12897 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12899 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12901 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
12902 (do_sincos_2): Likewise.
12903 (__sin): Remove middle range reduction case.
12905 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
12908 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12910 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
12911 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
12914 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
12916 2018-04-03 Joseph Myers <joseph@codesourcery.com>
12918 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12921 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12923 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
12924 Remove definitions.
12925 (opendir_oflags): Use O_DIRECTORY regardless.
12926 (__opendir, __opendirat): Remove need_isdir_precheck usage.
12927 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
12929 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12931 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
12932 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
12934 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
12935 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
12936 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
12937 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
12938 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
12939 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
12941 * htl/Makefile: Bump licence to LGPL 2.1+.
12942 * htl/alloca_cutoff.c: Likewise.
12943 * htl/cthreads-compat.c: Likewise.
12944 * htl/lockfile.c: Likewise.
12945 * htl/pt-alloc.c: Likewise.
12946 * htl/pt-cancel.c: Likewise.
12947 * htl/pt-cleanup.c: Likewise.
12948 * htl/pt-create.c: Likewise.
12949 * htl/pt-dealloc.c: Likewise.
12950 * htl/pt-detach.c: Likewise.
12951 * htl/pt-exit.c: Likewise.
12952 * htl/pt-getattr.c: Likewise.
12953 * htl/pt-initialize.c: Likewise.
12954 * htl/pt-internal.h: Likewise.
12955 * htl/pt-join.c: Likewise.
12956 * htl/pt-self.c: Likewise.
12957 * htl/pt-setcancelstate.c: Likewise.
12958 * htl/pt-setcanceltype.c: Likewise.
12959 * htl/pt-sigmask.c: Likewise.
12960 * htl/pt-spin-inlines.c: Likewise.
12961 * htl/pt-testcancel.c: Likewise.
12962 * htl/pt-yield.c: Likewise.
12963 * htl/tests/test-1.c: Likewise.
12964 * htl/tests/test-10.c: Likewise.
12965 * htl/tests/test-11.c: Likewise.
12966 * htl/tests/test-12.c: Likewise.
12967 * htl/tests/test-13.c: Likewise.
12968 * htl/tests/test-14.c: Likewise.
12969 * htl/tests/test-15.c: Likewise.
12970 * htl/tests/test-16.c: Likewise.
12971 * htl/tests/test-17.c: Likewise.
12972 * htl/tests/test-2.c: Likewise.
12973 * htl/tests/test-3.c: Likewise.
12974 * htl/tests/test-4.c: Likewise.
12975 * htl/tests/test-5.c: Likewise.
12976 * htl/tests/test-6.c: Likewise.
12977 * htl/tests/test-7.c: Likewise.
12978 * htl/tests/test-8.c: Likewise.
12979 * htl/tests/test-9.c: Likewise.
12980 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
12981 * sysdeps/htl/bits/cancelation.h: Likewise.
12982 * sysdeps/htl/bits/pthread-np.h: Likewise.
12983 * sysdeps/htl/bits/pthread.h: Likewise.
12984 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
12985 * sysdeps/htl/bits/semaphore.h: Likewise.
12986 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
12987 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
12988 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
12989 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
12990 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
12991 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
12992 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
12993 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
12994 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
12995 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
12996 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
12997 * sysdeps/htl/old_pt-atfork.c: Likewise.
12998 * sysdeps/htl/pt-atfork.c: Likewise.
12999 * sysdeps/htl/pt-attr-destroy.c: Likewise.
13000 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
13001 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
13002 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
13003 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
13004 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
13005 * sysdeps/htl/pt-attr-getscope.c: Likewise.
13006 * sysdeps/htl/pt-attr-getstack.c: Likewise.
13007 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
13008 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
13009 * sysdeps/htl/pt-attr-init.c: Likewise.
13010 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
13011 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
13012 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
13013 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
13014 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
13015 * sysdeps/htl/pt-attr-setscope.c: Likewise.
13016 * sysdeps/htl/pt-attr-setstack.c: Likewise.
13017 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
13018 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
13019 * sysdeps/htl/pt-attr.c: Likewise.
13020 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
13021 * sysdeps/htl/pt-barrier-init.c: Likewise.
13022 * sysdeps/htl/pt-barrier-wait.c: Likewise.
13023 * sysdeps/htl/pt-barrier.c: Likewise.
13024 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
13025 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
13026 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
13027 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
13028 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
13029 * sysdeps/htl/pt-cond-destroy.c: Likewise.
13030 * sysdeps/htl/pt-cond-init.c: Likewise.
13031 * sysdeps/htl/pt-cond-signal.c: Likewise.
13032 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
13033 * sysdeps/htl/pt-cond-wait.c: Likewise.
13034 * sysdeps/htl/pt-cond.c: Likewise.
13035 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
13036 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
13037 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
13038 * sysdeps/htl/pt-condattr-init.c: Likewise.
13039 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
13040 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
13041 * sysdeps/htl/pt-destroy-specific.c: Likewise.
13042 * sysdeps/htl/pt-equal.c: Likewise.
13043 * sysdeps/htl/pt-getconcurrency.c: Likewise.
13044 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
13045 * sysdeps/htl/pt-getschedparam.c: Likewise.
13046 * sysdeps/htl/pt-getspecific.c: Likewise.
13047 * sysdeps/htl/pt-init-specific.c: Likewise.
13048 * sysdeps/htl/pt-key-create.c: Likewise.
13049 * sysdeps/htl/pt-key-delete.c: Likewise.
13050 * sysdeps/htl/pt-key.h: Likewise.
13051 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
13052 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
13053 * sysdeps/htl/pt-mutex-init.c: Likewise.
13054 * sysdeps/htl/pt-mutex-lock.c: Likewise.
13055 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
13056 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
13057 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
13058 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
13059 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
13060 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
13061 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
13062 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
13063 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
13064 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
13065 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
13066 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
13067 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
13068 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
13069 * sysdeps/htl/pt-mutexattr.c: Likewise.
13070 * sysdeps/htl/pt-once.c: Likewise.
13071 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
13072 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
13073 * sysdeps/htl/pt-rwlock-init.c: Likewise.
13074 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
13075 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
13076 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
13077 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
13078 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
13079 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
13080 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
13081 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
13082 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
13083 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
13084 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
13085 * sysdeps/htl/pt-setconcurrency.c: Likewise.
13086 * sysdeps/htl/pt-setschedparam.c: Likewise.
13087 * sysdeps/htl/pt-setschedprio.c: Likewise.
13088 * sysdeps/htl/pt-setspecific.c: Likewise.
13089 * sysdeps/htl/pt-spin.c: Likewise.
13090 * sysdeps/htl/pt-startup.c: Likewise.
13091 * sysdeps/htl/pthread.h: Likewise.
13092 * sysdeps/htl/sem-close.c: Likewise.
13093 * sysdeps/htl/sem-destroy.c: Likewise.
13094 * sysdeps/htl/sem-getvalue.c: Likewise.
13095 * sysdeps/htl/sem-init.c: Likewise.
13096 * sysdeps/htl/sem-open.c: Likewise.
13097 * sysdeps/htl/sem-post.c: Likewise.
13098 * sysdeps/htl/sem-timedwait.c: Likewise.
13099 * sysdeps/htl/sem-trywait.c: Likewise.
13100 * sysdeps/htl/sem-unlink.c: Likewise.
13101 * sysdeps/htl/sem-wait.c: Likewise.
13102 * sysdeps/hurd/htl/pt-kill.c: Likewise.
13103 * sysdeps/i386/htl/pt-machdep.h: Likewise.
13104 * sysdeps/mach/htl/pt-block.c: Likewise.
13105 * sysdeps/mach/htl/pt-spin.c: Likewise.
13106 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
13107 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
13108 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
13109 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
13110 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
13111 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
13112 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
13113 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
13114 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
13115 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
13116 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
13117 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
13118 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
13119 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
13120 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
13121 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
13122 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
13123 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
13124 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
13125 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
13126 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
13127 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
13128 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
13129 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
13130 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
13131 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
13132 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
13133 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
13134 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
13135 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
13136 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
13137 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
13138 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
13139 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
13140 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
13141 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
13142 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
13143 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
13144 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
13145 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
13146 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
13147 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
13148 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
13150 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
13151 * README: Remove the mention of out-of-tree patches needed for
13154 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
13155 (UTIME_NOW, UTIME_OMIT): Define macros.
13157 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
13158 instead of pthread_detach.
13159 (__cthread_fork): Call __pthread_create instead of pthread_create.
13160 (__cthread_keycreate): Call __pthread_key_create instead of
13161 pthread_key_create.
13162 (__cthread_getspecific): Call __pthread_getspecific instead of
13163 pthread_getspecific.
13164 (__cthread_setspecific): Call __pthread_setspecific instead of
13165 pthread_setspecific.
13166 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
13167 __pthread_mutex_unlock instead of pthread_mutex_lock and
13168 pthread_mutex_unlock.
13169 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
13170 ___pthread_get_cleanup_stack.
13171 (__pthread_get_cleanup_stack): New strong alias.
13172 * htl/pt-create.c: Include <pthreadP.h>.
13173 (entry_point): Call __pthread_exit instead of pthread_exit.
13174 (pthread_create): Rename to __pthread_create.
13175 (pthread_create): New strong alias.
13176 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
13177 (pthread_detach): New strong alias.
13178 (__pthread_detach): Call __pthread_cond_broadcast instead of
13179 pthread_cond_broadcast.
13180 * htl/pt-exit.c: Include <pthreadP.h>.
13181 (__pthread_exit): Call __pthread_setcancelstate and
13182 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
13183 __pthread_get_cleanup_stack.
13184 * htl/pt-testcancel.c: Include <pthreadP.h>.
13185 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
13186 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
13187 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
13188 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
13189 pthread_attr_getstacksize.
13190 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
13191 Rename to __pthread_attr_getstackaddr.
13192 (pthread_attr_getstackaddr): New strong alias.
13193 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
13194 Rename to __pthread_attr_getstacksize.
13195 (pthread_attr_getstacksize): New strong alias.
13196 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
13197 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
13198 (pthread_attr_setstack): New strong alias.
13199 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
13200 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
13201 pthread_attr_getstacksize, pthread_attr_setstacksize and
13202 pthread_attr_setstackaddr.
13203 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
13204 Rename to __pthread_attr_setstackaddr.
13205 (pthread_attr_setstackaddr): New strong alias.
13206 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
13207 Rename to __pthread_attr_setstacksize.
13208 (pthread_attr_setstacksize): New strong alias.
13209 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
13210 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
13212 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
13213 (__pthread_key_create): New hidden def.
13214 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
13215 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
13216 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
13217 __pthread_exit, __pthread_key_create, __pthread_getspecific,
13218 __pthread_setspecific, __pthread_setcancelstate,
13219 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
13220 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
13221 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
13223 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
13224 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
13225 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
13226 (pthread_attr_setstackaddr): New strong alias.
13227 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
13228 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
13229 (pthread_attr_setstacksize): New strong alias.
13230 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
13231 (call_exit): Call __pthread_exit instead of pthread_exit.
13232 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
13233 (_pthread_mutex_init): New hidden definition.
13234 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
13235 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
13236 instead of pthread_attr_init and pthread_attr_setstack.
13238 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
13239 __vm_deallocate instead of vm_allocate and vm_deallocate.
13240 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
13242 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
13244 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
13246 * hurd/siginfo.c: Include <libioP.h>.
13247 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
13248 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
13250 * mach/devstream.c: Include <libioP.h>.
13251 (dealloc_ref): Call __mach_port_deallocate instead of
13252 mach_port_deallocate.
13253 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
13254 Call __mach_port_deallocate instead of mach_port_deallocate.
13255 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
13257 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
13259 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
13260 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
13261 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
13263 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
13265 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
13266 instead of sysconf.
13267 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
13268 __clock_gettime instead of clock_gettime.
13269 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
13270 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
13271 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
13272 * sysdeps/unix/bsd/stty.c (stty): Likewise.
13273 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
13275 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
13276 __clock_gettime and __nanosleep instead of clock_gettime and
13278 * hurd/catch-signal.c (hurd_catch_signal): Rename to
13279 __hurd_catch_signal.
13280 (hurd_catch_signal): New strong alias.
13281 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
13282 __hurd_catch_signal instead of hurd_catch_signal.
13283 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
13284 * hurd/hurdexec.c (_hurd_init): Add hidden def.
13285 * hurd/hurdinit.c (_hurd_init): Add hidden def.
13286 * hurd/hurdsig.c: Include <mach/mig_support.h>.
13287 (_hurd_thread_sigstate): Add hidden def.
13288 (_hurd_internal_post_signal): Use __mutex_unlock instead of
13290 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
13291 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
13292 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
13293 __hurd_file_name_path_lookup.
13294 (hurd_file_name_path_lookup): New strong alias.
13295 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
13296 hurd_file_name_path_lookup.
13297 * mach/errstring.c (mach_error_type): Add hidden def.
13298 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
13299 * mach/mutex-init.c (__mutex_init): Add hidden def.
13300 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
13301 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
13302 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
13303 * sysdeps/mach/hurd/getcwd.c
13304 (_hurd_canonicalize_directory_name_internal): Rename to
13305 __hurd_canonicalize_directory_name_internal.
13306 (_hurd_canonicalize_directory_name_internal): New strong alias.
13307 (__canonicalize_directory_name_internal, __getcwd): Call
13308 __hurd_canonicalize_directory_name_internal instead of
13309 _hurd_canonicalize_directory_name_internal.
13310 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
13311 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
13313 * sysdeps/hurd/include/hurd.h: New file.
13314 * sysdeps/hurd/include/hurd/fd.h: New file.
13315 * sysdeps/hurd/include/hurd/signal.h: New file.
13316 * sysdeps/mach/include/lock-intern.h: New file.
13317 * sysdeps/mach/include/mach.h: New file.
13318 * sysdeps/mach/include/mach/mig_support.h: New file.
13319 * sysdeps/mach/include/mach_error.h: New file.
13320 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
13322 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
13323 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
13324 _HEADER_H_HIDDEN_DEF macro.
13325 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
13326 _hurd_fd_error_signal): Add hidden prototype.
13327 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
13329 * libio/iolibio.h (_IO_puts): New hidden prototype.
13330 * libio/ioputs.c (_IO_puts): New hidden def.
13331 * sysdeps/mach/hurd/localplt.data: New file.
13333 2018-04-02 Agustina Arzille <avarzille@riseup.net>
13334 Amos Jeffries <squid3@treenet.co.nz>
13335 David Michael <fedora.dm0@gmail.com>
13336 Marco Gerards <marco@gnu.org>
13337 Marcus Brinkmann <marcus@gnu.org>
13338 Neal H. Walfield <neal@gnu.org>
13339 Pino Toscano <toscano.pino@tiscali.it>
13340 Richard Braun <rbraun@sceen.net>
13341 Roland McGrath <roland@gnu.org>
13342 Samuel Thibault <samuel.thibault@ens-lyon.org>
13343 Thomas DiModica <ricinwich@yahoo.com>
13344 Thomas Schwinge <tschwinge@gnu.org>
13346 * htl: New directory.
13347 * sysdeps/htl: New directory.
13348 * sysdeps/hurd/htl: New directory.
13349 * sysdeps/i386/htl: New directory.
13350 * sysdeps/mach/htl: New directory.
13351 * sysdeps/mach/hurd/htl: New directory.
13352 * sysdeps/mach/hurd/i386/htl: New directory.
13353 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
13354 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
13355 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
13357 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13359 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
13360 signals in thread created for runing timers.
13362 2018-04-01 Florian Weimer <fweimer@redhat.com>
13364 * support/support_format_addrinfo.c (support_format_addrinfo):
13365 Include unknown error number in formatted result.
13367 2018-03-29 Florian Weimer <fweimer@redhat.com>
13369 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
13372 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13374 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
13375 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
13376 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13377 (__ASSUME_CLONE_BACKWARDS): Define.
13379 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
13382 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
13383 early when linux sentinel value is set.
13385 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13387 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
13389 2018-03-27 Andreas Schwab <schwab@suse.de>
13392 * resolv/res_send.c (__res_context_send): Return ENOMEM if
13393 allocation of private copy of nsaddr_list fails.
13395 2018-03-26 Joseph Myers <joseph@codesourcery.com>
13398 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
13399 * sysdeps/unix/sysv/linux/umount.c: ... here.
13400 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
13401 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
13402 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
13403 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
13404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
13405 * sysdeps/unix/sysv/linux/umount.S: Likewise.
13406 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
13408 2018-03-26 Andreas Schwab <schwab@suse.de>
13410 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
13411 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
13412 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
13413 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
13414 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
13415 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
13416 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
13417 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
13418 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
13419 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
13420 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
13421 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
13422 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
13423 (R_RISCV_NUM): Define.
13425 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
13427 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
13428 TLS declaration of errno.
13429 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
13431 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
13432 (ARCH_SETUP_TLS): Likewise.
13433 * sysdeps/mach/hurd/libc-start.h: New file copied from
13434 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
13435 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
13436 instead of __libc_setup_tls.
13437 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
13438 __libc_setup_tls before initializing libpthread and running _hurd_init
13439 which starts the signal thread.
13440 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
13442 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13444 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
13447 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
13448 after it is defined.
13450 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
13451 Max Horn <max@quendi.de>
13455 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
13457 * string/test-memmove.c (do_test2): New testcase.
13459 2018-03-22 Joseph Myers <joseph@codesourcery.com>
13461 * sysdeps/generic/frame.h: Remove file.
13462 * sysdeps/arm/frame.h: Likewise.
13463 * sysdeps/hppa/frame.h: Likewise.
13464 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
13466 (GET_FRAME): Likewise.
13467 (GET_STACK): Likewise.
13468 (CALL_SIGHANDLER): Likewise.
13469 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
13471 (GET_FRAME): Likewise.
13472 (GET_STACK): Likewise.
13473 (CALL_SIGHANDLER): Likewise.
13474 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
13475 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13476 (GET_FRAME): Likewise.
13477 (GET_STACK): Likewise.
13478 (CALL_SIGHANDLER): Likewise.
13479 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
13480 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13481 (GET_FRAME): Likewise.
13482 (GET_STACK): Likewise.
13483 (ADVANCE_STACK_FRAME): Likewise.
13484 (CALL_SIGHANDLER): Likewise.
13485 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
13486 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13487 (GET_FRAME): Likewise.
13488 (GET_STACK): Likewise.
13489 (CALL_SIGHANDLER): Likewise.
13490 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
13491 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13492 (GET_FRAME): Likewise.
13493 (GET_STACK): Likewise.
13494 (CALL_SIGHANDLER): Likewise.
13495 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
13496 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13497 (GET_FRAME): Likewise.
13498 (GET_STACK): Likewise.
13499 (CALL_SIGHANDLER): Likewise.
13500 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
13501 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13502 (GET_FRAME): Likewise.
13503 (GET_STACK): Likewise.
13504 (CALL_SIGHANDLER): Likewise.
13505 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
13506 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13507 (GET_FRAME): Likewise.
13508 (GET_STACK): Likewise.
13509 (CALL_SIGHANDLER): Likewise.
13510 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
13511 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13512 (GET_FRAME): Likewise.
13513 (GET_STACK): Likewise.
13514 (CALL_SIGHANDLER): Likewise.
13515 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
13516 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13517 (GET_FRAME): Likewise.
13518 (GET_STACK): Likewise.
13519 (CALL_SIGHANDLER): Likewise.
13520 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
13521 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13522 (GET_FRAME): Likewise.
13523 (GET_STACK): Likewise.
13524 (CALL_SIGHANDLER): Likewise.
13525 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
13526 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13527 (GET_FRAME): Likewise.
13528 (GET_STACK): Likewise.
13529 (CALL_SIGHANDLER): Likewise.
13530 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
13531 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13532 (FIRST_FRAME_POINTER): Likewise.
13533 (ADVANCE_STACK_FRAME): Likewise.
13534 (GET_STACK): Likewise.
13535 (GET_FRAME): Likewise.
13536 (CALL_SIGHANDLER): Likewise.
13537 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
13538 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13539 (ADVANCE_STACK_FRAME): Likewise.
13540 (GET_STACK): Likewise.
13541 (GET_FRAME): Likewise.
13542 (CALL_SIGHANDLER): Likewise.
13543 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
13544 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13545 (GET_FRAME): Likewise.
13546 (GET_STACK): Likewise.
13547 (CALL_SIGHANDLER): Likewise.
13548 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
13549 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13550 (GET_FRAME): Likewise.
13551 (GET_STACK): Likewise.
13552 (CALL_SIGHANDLER): Likewise.
13554 2018-03-21 Joseph Myers <joseph@codesourcery.com>
13556 * sysdeps/x86_64/backtrace.c: Move to ....
13557 * debug/backtrace.c: ... here.
13558 * sysdeps/aarch64/backtrace.c: Remove file.
13559 * sysdeps/alpha/backtrace.c: Likewise.
13560 * sysdeps/hppa/backtrace.c: Likewise.
13561 * sysdeps/ia64/backtrace.c: Likewise.
13562 * sysdeps/mips/backtrace.c: Likewise.
13563 * sysdeps/nios2/backtrace.c: Likewise.
13564 * sysdeps/riscv/backtrace.c: Likewise.
13565 * sysdeps/sh/backtrace.c: Likewise.
13566 * sysdeps/tile/backtrace.c: Likewise.
13568 2018-03-20 Joseph Myers <joseph@codesourcery.com>
13571 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
13574 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
13577 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
13578 possibly overflowing computations.
13580 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
13582 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
13583 values from Linux-specific section now that it is in the GNU section.
13584 * sysdeps/gnu/errlist.c: Regenerate.
13586 2018-03-20 Joseph Myers <joseph@codesourcery.com>
13588 * math/Makefile (libm-narrow-fns): Add sub.
13589 (libm-test-funcs-narrow): Likewise.
13590 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
13591 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
13592 * math/gen-auto-libm-tests.c (test_functions): Add sub.
13593 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
13594 (NARROW_SUB_ROUND_TO_ODD): Likewise.
13595 (NARROW_SUB_TRIVIAL): Likewise.
13596 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
13598 (__dsubl): Likewise.
13599 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
13601 (CFLAGS-nldbl-dsub.c): New variable.
13602 (CFLAGS-nldbl-fsub.c): Likewise.
13603 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13605 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
13607 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
13608 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
13609 * math/auto-libm-test-in: Add tests of sub.
13610 * math/auto-libm-test-out-narrow-sub: New generated file.
13611 * math/libm-test-narrow-sub.inc: New file.
13612 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
13613 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
13614 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
13615 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
13616 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
13617 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
13618 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
13619 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
13620 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
13621 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
13622 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
13623 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
13624 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
13625 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
13626 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
13627 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
13628 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
13629 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
13630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13631 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13632 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13633 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13634 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13635 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13636 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13637 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13638 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13639 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13640 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13641 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13642 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13643 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13648 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13649 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13650 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13651 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13652 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13653 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13654 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
13655 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
13656 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13657 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13659 2018-03-19 Joseph Myers <joseph@codesourcery.com>
13662 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
13664 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
13666 * benchtests/bench-timing.h (attribute_hidden): Undefine.
13668 2018-03-18 Richard Braun <rbraun@sceen.net>
13670 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
13673 2018-03-18 Agustina Arzille <avarzille@riseup.net>
13675 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
13676 (__libc_cleanup_fct): Define function.
13677 (__libc_cleanup_region_start, __libc_cleanup_region_end,
13678 __libc_cleanup_end): Rewrite implementation using
13679 __attribute__ ((__cleanup__)).
13680 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
13681 * hurd/Makefile (routines): Add hurdlock.
13682 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
13684 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
13685 * hurd/hurdpid.c: Include <lowlevellock.h>
13686 (_S_msg_proc_newids): Use lll_wait to synchronize.
13687 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
13688 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
13689 * mach/Makefile (lock-headers): Remove machine-lock.h.
13690 * mach/lock-intern.h: Include <lowlevellock.h> instead of
13692 (__spin_lock_t): New type.
13693 (__SPIN_LOCK_INITIALIZER): New macro.
13694 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
13695 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
13696 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
13697 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
13698 (__mutex_init): Initialize with lll.
13699 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
13700 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
13702 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13703 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
13704 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
13705 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
13706 (__setpgid): Use lll for synchronization.
13707 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
13708 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
13709 instead of <cthreads.h>.
13710 (_IO_lock_inexpensive): New macro
13711 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
13712 (__libc_lock_self0): New declaration.
13713 (__libc_lock_owner_self): New macro.
13714 (__libc_key_t): Remove type.
13715 (_LIBC_LOCK_INITIALIZER): New macro.
13716 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
13717 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
13718 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
13719 __libc_lock_define_initialized_recursive,
13720 __rtld_lock_define_initialized_recursive,
13721 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
13722 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
13723 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
13724 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
13725 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
13726 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
13727 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
13729 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
13730 * hurd/hurdlock.c: New file.
13731 * hurd/hurdlock.h: New file.
13732 * mach/lowlevellock.h: New file
13734 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13736 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
13737 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
13738 when opening a symlink with O_NOFOLLOW.
13739 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
13740 path when flags contains O_NOFOLLOW.
13741 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
13742 if flags contains O_DIRECTORY and the result is a directory.
13743 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
13744 oneself when the pointer given in D is nul (as set by ext2fs).
13745 * sysdeps/mach/hurd/mlockall.c: New file.
13746 * sysdeps/mach/hurd/munlockall.c: New file.
13748 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
13750 * hurd/hurdsig.c: Include <pthread.h>.
13751 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
13752 get the signal thread stack layout.
13753 * hurd/Makefile (headers): Remove threadvar.h.
13754 (inline-headers): Remove threadvar.h.
13755 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
13756 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
13757 __hurd_threadvar_max, __hurd_errno_location.
13758 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
13759 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
13760 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
13761 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
13762 unless TLS is not initialized yet, in which case we do not need a
13763 critical section yet anyway.
13764 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
13766 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
13768 (__hurd_threadvar_index): Remove enum.
13769 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
13770 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
13772 (__hurd_reply_port0): New variable declaration.
13773 (__hurd_local_reply_port): New macro.
13774 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
13775 (interrupted_reply_port_location): Add thread_t parameter. Use it
13776 with THREAD_TCB to access thread-local variables.
13777 (_hurdsig_abort_rpcs): Pass ss->thread to
13778 interrupted_reply_port_location.
13779 (_hurd_internal_post_signal): Likewise.
13780 (_hurdsig_init): Use presence of cthread_fork instead of
13781 __hurd_threadvar_stack_mask to start signal thread by hand.
13782 Remove signal thread threadvar initialization.
13783 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
13784 * hurd/sigunwind.c: Include <hurd/threadvar.h>
13785 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
13787 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
13789 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
13790 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
13791 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
13792 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
13793 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
13794 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
13795 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
13797 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
13798 <hurd/threadvar.h>.
13799 [IS_IN(rtld)] (rtld_errno): New variable.
13800 [IS_IN(rtld)] (__errno_location): New weak function.
13801 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
13802 * sysdeps/mach/hurd/errno.c: Remove file.
13803 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
13804 (__fork): Remove THREADVAR_SPACE macro and its use.
13805 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
13807 (init): Do not initialize threadvar.
13808 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
13810 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
13811 __hurd_local_reply_port instead of threadvar.
13812 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
13813 _hurd_sigstate fields.
13814 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
13815 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
13816 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
13817 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
13818 instead of threadvar.
13819 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
13820 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
13821 (use_threadvar, global_reply_port): Remove variables.
13822 (__hurd_reply_port0): New variable.
13823 (__mig_get_reply_port): Use __hurd_local_reply_port and
13824 __hurd_reply_port0 instead of threadvar.
13825 (__mig_dealloc_reply_port): Likewise.
13826 (__mig_init): Do not initialize threadvar.
13827 * sysdeps/mach/hurd/profil.c: Fix comment.
13828 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
13829 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
13830 cthread_keycreate, cthread_getspecific, cthread_setspecific to
13831 __cthread_fork, __cthread_detach, __pthread_getattr_np,
13832 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
13833 __cthread_setspecific.
13834 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
13835 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
13836 __cthread_t instead of cthread_fork, cthread_detach,
13837 pthread_getattr_np, pthread_attr_getstack.
13838 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
13839 __cthread_keycreate.
13840 (cthread_getspecific): Rename to __cthread_getspecific.
13841 (cthread_setspecific): Rename to __cthread_setspecific.
13842 (__libc_getspecific): Use __cthread_getspecific instead of
13843 cthread_getspecific.
13844 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
13845 __cthread_keycreate instead of cthread_keycreate.
13846 (__libc_setspecific): Use __cthread_setspecific instead of
13847 cthread_setspecific.
13848 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
13850 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
13851 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
13852 testing whether it is defined.
13854 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13856 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
13858 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
13859 * sysdeps/mach/i386/thread_state.h
13860 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
13862 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
13864 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
13866 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
13867 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
13869 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
13871 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
13872 descriptor instead of creating a new one.
13873 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
13875 * mach/setup-thread.c: Include <ldsodefs.h>.
13876 (__mach_setup_thread): Call _dl_allocate_tls, pass
13877 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
13878 MACHINE_THREAD_STATE_FLAVOR, before getting
13879 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
13880 MACHINE_THREAD_STATE_FLAVOR with the result.
13881 * hurd/hurdfault.c (_hurdsig_fault_init): Call
13882 MACHINE_THREAD_STATE_FIX_NEW.
13883 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
13884 too. Add original thread parameter.
13886 2018-03-16 Joseph Myers <joseph@codesourcery.com>
13888 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
13889 Remove inline function.
13891 * sysdeps/i386/fpu/libm-test-ulps: Update.
13892 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
13894 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
13896 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
13899 2018-03-15 Joseph Myers <joseph@codesourcery.com>
13901 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
13902 (__sincos_code): Remove define and undefine.
13903 [__FAST_MATH__] (__sincos): Remove inline function.
13904 [__FAST_MATH__] (__sincosf): Remove inline function.
13905 [__FAST_MATH__] (__sincosl): Remove inline function.
13906 (__atan2l): Remove inline functions.
13907 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
13908 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
13910 (floor): Remove inline function.
13912 [__FAST_MATH__] (__ldexp_code): Remove macro.
13913 [__FAST_MATH__] (ldexp): Remove inline function.
13914 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
13915 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
13916 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
13917 [__USE_ISOC99] (__lrint_code): Remove macro.
13918 [__USE_ISOC99] (__llrint_code): Likewise.
13919 [__USE_ISOC99] (lrintf): Remove inline function.
13920 [__USE_ISOC99] (lrint): Likewise.
13921 [__USE_ISOC99] (lrintl): Likewise.
13922 [__USE_ISOC99] (llrint): Likewise.
13923 [__USE_ISOC99] (llrintf): Likewise.
13924 [__USE_ISOC99] (llrintl): Likewise.
13926 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13928 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
13929 (__ieee754_sqrtf): Remove.
13930 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
13931 (__ieee754_sqrtf): Remove.
13932 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
13933 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
13934 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
13935 (__ieee754_sqrtf): Remove.
13936 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
13937 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
13940 (__ieee754_sqrt): Remove.
13941 (__ieee754_sqrtf): Remove.
13942 (__ieee754_sqrtl): Remove.
13943 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
13944 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
13945 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
13946 (__ieee754_sqrtf): Remove.
13947 (__ieee754_sqrtl): Remove.
13949 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13951 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
13952 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
13953 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
13954 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
13955 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
13956 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13957 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13958 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13960 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
13961 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
13962 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
13963 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
13964 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
13965 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
13966 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
13967 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
13968 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
13969 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
13970 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
13971 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
13972 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
13973 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
13974 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
13975 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13976 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13977 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13978 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
13979 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
13980 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13981 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13982 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
13983 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
13984 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
13985 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
13986 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13987 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13988 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
13989 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
13990 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
13991 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
13992 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13993 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
13994 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13995 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13996 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
13997 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
13998 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
13999 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
14001 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14003 * include/math.h (sqrt): Declare with asm redirect.
14006 (sqrtf128): Likewise.
14007 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
14008 nonlib and libnldbl with -fmath-errno.
14009 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
14010 * math/w_sqrt_template.c: Likewise.
14011 * math/w_sqrtf_compat.c: Likewise.
14012 * math/w_sqrtl_compat.c: Likewise.
14013 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
14014 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
14015 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
14018 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14020 * benchtests/Makefile: Define _ISOMAC.
14021 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
14022 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
14023 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
14024 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
14025 * benchtests/bench-timing.h: Define attribute_hidden.
14027 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
14029 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
14032 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14035 * localedata/locales/cs_CZ (mon): Rename to...
14037 (mon): Import from CLDR (genitive case).
14039 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14042 * localedata/locales/el_CY (abmon): Rename to...
14043 (ab_alt_mon): This.
14044 (abmon): Import from CLDR (abbreviated genitive case).
14045 * localedata/locales/el_GR (abmon): Rename to...
14046 (ab_alt_mon): This.
14047 (abmon): Import from CLDR (abbreviated genitive case).
14049 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14052 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
14054 2018-03-15 Robert Buj <robert.buj@gmail.com>
14057 * localedata/locales/ca_ES (abmon): Rename to...
14058 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
14059 (mon): Rename to...
14061 (abmon): Import from CLDR (genitive case, month names preceded by
14064 (abday): Synchronize with CLDR.
14065 (d_t_fmt): Likewise.
14069 (LC_TIME): Improve indentation.
14070 (LC_TELEPHONE): Likewise.
14071 (LC_NAME): Likewise.
14072 (LC_ADDRESS): Likewise.
14074 2018-03-14 Joseph Myers <joseph@codesourcery.com>
14076 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
14077 (lrintf): Remove definitions used only with old GCC.
14078 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
14079 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
14080 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
14081 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
14082 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
14083 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
14084 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
14085 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
14086 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
14087 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
14088 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
14089 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
14090 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
14091 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
14092 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
14093 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
14094 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
14095 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
14096 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
14097 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
14098 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
14099 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
14100 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
14101 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
14102 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
14103 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
14104 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
14105 [__FAST_MATH__] (__M_SQRT2): Remove macro.
14107 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
14109 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
14110 instruction to unbreak builds with binutils 2.26 and older.
14112 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
14114 * sysdeps/aarch64/strncmp.S (count): New macro.
14115 (strncmp): Store misaligned length in SRC1 in COUNT.
14116 (mutual_align): Adjust.
14117 (misaligned8): Load dword at a time when it is safe.
14119 2018-03-12 Zack Weinberg <zackw@panix.com>
14123 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
14124 if the _IO_EOF_SEEN bit is already set; update commentary.
14125 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
14126 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
14128 * support/support_openpty.c, support/tty.h: New files.
14129 * support/Makefile (libsupport-routines): Add support_openpty.
14131 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
14133 * libio/Makefile (tests): Add tst-fgetc-after-eof.
14134 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
14136 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
14138 * po/pt_BR.po: Update translations.
14140 2018-03-12 David Michael <fedora.dm0@gmail.com>
14142 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
14143 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
14144 get a port to the startup server.
14146 2018-03-11 Zack Weinberg <zackw@panix.com>
14148 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
14149 before nldbl-compat.h.
14151 2018-03-10 Zack Weinberg <zackw@panix.com>
14153 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
14154 math.h or math_private.h.
14156 * sysdeps/alpha/fpu/s_isnan.c
14157 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
14158 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
14159 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
14160 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
14161 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
14162 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
14163 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
14164 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
14165 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
14166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
14167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
14168 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
14169 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
14170 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
14171 Include math_private.h.
14173 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
14174 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
14175 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
14176 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
14177 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
14178 * sysdeps/powerpc/power7/fpu/s_logb.c:
14179 Include math.h and math_private.h.
14181 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
14182 uses of $at in .set noat / .set at.
14184 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
14186 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
14187 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
14188 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
14189 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
14192 2018-03-09 Florian Weimer <fweimer@redhat.com>
14194 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
14197 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
14200 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
14201 Add nop before __startcontext, add explaining comments.
14203 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14206 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
14208 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
14209 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
14210 Do not build hardware transactional code for __SPE__.
14211 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
14212 (__lll_trylock_elision): Likewise.
14213 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
14214 (__lll_unlock_elision): Likewise.
14216 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
14217 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
14218 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
14219 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
14220 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
14221 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
14222 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
14223 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
14224 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
14225 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
14226 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
14227 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
14228 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
14229 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
14230 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
14231 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
14232 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
14233 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
14234 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
14235 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
14236 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
14237 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14238 (__ASSUME_CLONE_BACKWARDS): Define.
14239 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
14240 __clone2 if __NR_clone2 is defined.
14241 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14242 (__ASSUME_CLONE_BACKWARDS): Likewise.
14243 * sysdeps/unix/sysv/linux/i386/kernel-features.h
14244 (__ASSUME_CLONE_BACKWARDS): Likewise.
14245 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14246 (__ASSUME_CLONE2): Likewise.
14247 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14248 (__ASSUME_CLONE_BACKWARDS3): Likewise.
14249 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
14250 variants and the define architecture can use.
14251 (__ASSUME_CLONE_DEFAULT): Define as default.
14252 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14253 (__ASSUME_CLONE_BACKWARDS): Likewise.
14254 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14255 (__ASSUME_CLONE_BACKWARDS): Likewise.
14256 * sysdeps/unix/sysv/linux/s390/kernel-features.h
14257 (__ASSUME_CLONE_BACKWARDS2): Likewise.
14259 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
14261 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
14263 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
14266 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
14267 (do_test_limit): Likewise.
14269 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
14270 for every implementation.
14271 (do_test): Likewise.
14273 * benchtests/bench-strncmp.c: Convert output to json.
14275 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14277 * io/futimens.c: Add missing start-of-file descriptive comment.
14278 * io/utime.c: Likewise.
14279 * misc/futimesat.c: Likewise.
14280 * misc/utimes.c: Likewise.
14281 * sysdeps/mach/hurd/futimesat.c: Likewise.
14282 * sysdeps/mach/hurd/utimes.c: Likewise.
14283 * sysdeps/posix/utime.c: Likewise.
14284 * sysdeps/posix/utimes.c: Likewise.
14285 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
14286 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14287 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
14288 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
14290 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14292 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
14294 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
14295 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
14296 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
14297 (__futimens): Move implementation to...
14298 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
14299 utime_tvalue_from_tspec): ... new helper functions.
14300 (hurd_futimens): New function.
14301 * sysdeps/mach/hurd/futimesat.c: New file.
14302 * sysdeps/mach/hurd/utimensat.c: New file.
14304 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
14306 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
14307 UTIME_OMIT): New macros.
14308 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
14309 before reverting to converting time spec to time value and calling
14311 * sysdeps/mach/hurd/utime-helper.c: New file.
14312 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
14313 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
14314 reverting to utime_tvalue_from_tval and __file_utimes.
14315 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
14316 (__lutimes): Just call hurd_futimens after lookup.
14317 * sysdeps/mach/hurd/utimes.c: Likewise.
14319 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14321 * bits/sigaction.h: Add include guard.
14322 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
14323 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
14324 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
14325 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
14326 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
14327 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
14328 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
14329 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
14330 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
14332 2018-03-05 Joseph Myers <joseph@codesourcery.com>
14334 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
14335 -Wmaybe-uninitialized for -Os.
14336 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
14339 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14341 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
14342 __INO_T_MATCHES_INO64_T is defined.
14343 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
14344 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
14346 * dirent/alphasort64.c: Likewise.
14347 * dirent/scandir.c: Likewise.
14348 * dirent/scandir64-tail.c: Likewise.
14349 * dirent/scandir64.c: Likewise.
14350 * dirent/scandirat.c: Likewise.
14351 * dirent/scandirat64.c: Likewise.
14352 * dirent/versionsort.c: Likewise.
14353 * dirent/versionsort64.c: Likewise.
14354 * include/dirent.h: Likewise.
14356 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
14357 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
14358 for socketpair endpoint.
14359 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
14360 WRITE_BUFFER_SIZE as buffer size for sending socket.
14361 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
14362 issue on system where send is implemented with sendto syscall.
14363 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
14364 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
14365 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
14366 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
14369 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
14370 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
14371 sa_restorer for vDSO case.
14372 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
14374 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14376 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
14377 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
14378 * hurd/hurd/ioctl.h: Include <mach/port.h>
14379 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
14380 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
14381 <mach/mach_types.h> and <mach/message.h>.
14382 (headers): Move mach/param.h to bits/mach/param.h.
14383 * sysdeps/mach/i386/mach/param.h: Move file to ...
14384 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
14385 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
14387 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
14388 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
14389 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
14390 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
14391 trivial, for C++ conformity.
14392 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
14393 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
14394 Process mig output through $(migheadersed).
14395 * hurd/Makefile (migheadersed): Define variable.
14396 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
14397 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
14399 * hurd/hurd.h: Include <bits/types/sigset_t.h>
14400 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
14401 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
14402 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
14403 <bits/types/sigset_t.h>.
14404 [!defined __USE_GNU]: Do not #error out.
14405 (struct hurd_sigstate): Use _NSIG instead of NSIG.
14406 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
14407 Include <stddef.h> and <bits/types/sigset_t.h>
14408 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
14409 instead of sighandler_t.
14410 * stdlib/errno.h (error_t): Move definition to...
14411 * bits/types/error_t.h: ... new header.
14412 * stdlib/Makefile (headers): Add bits/types/error_t.h.
14413 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
14414 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
14415 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
14416 * hurd/hurd.h: Include <bits/types/error_t.h>
14417 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
14418 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
14419 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
14420 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
14421 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
14422 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
14423 * sysdeps/mach/hurd/futimens.c: New file.
14425 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
14428 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
14429 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
14430 * nscd/gai.c (__nss_hosts_database): Readd definition.
14431 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
14432 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
14433 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
14435 2018-03-02 Joseph Myers <joseph@codesourcery.com>
14437 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
14438 (ifunc_one): Likewise.
14440 2018-03-01 DJ Delorie <dj@delorie.com>
14443 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
14446 2018-03-01 Maciej W. Rozycki <macro@mips.com>
14448 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
14449 `match_pid' parameter.
14450 (td_ta_thr_iter): Update accordingly.
14452 2018-03-01 Florian Weimer <fweimer@redhat.com>
14454 * nptl/Makefile (install-lib-ldscripts): Remove.
14455 (install): Remove rule.
14456 ($(inst_libdir)/libpthread.so): Likewise.
14458 2018-03-01 Mike FABIAN <mfabian@redhat.com>
14461 * localedata/locales/an_ES: update month and day names,
14462 improve d_fmt, improve postal_fmt, add country_post,
14465 2018-03-01 Mike FABIAN <mfabian@redhat.com>
14467 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
14468 Ukrainian instead of Bulgarian.
14470 2018-03-01 Florian Weimer <fweimer@redhat.com>
14472 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
14475 2018-03-01 Florian Weimer <fweimer@redhat.com>
14477 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
14478 * nptl/Makefile (routines): Add pthread_atfork.
14479 (static-only-routines): Set to pthread_atfork.
14480 (libpthread-routines): Remove pthread_atfork.
14481 (libpthread-static-only-routines): Remove.
14482 (install): Update comment.
14483 (libpthread.so): Do not install libpthread_nonshared.a.
14484 (tests): Do not link with libpthread_nonshared.a.
14485 (generated): Remove libpthread_nonshared.a.
14486 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
14487 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
14488 with libpthread_nonshared.a.
14490 2018-02-28 Joseph Myers <joseph@codesourcery.com>
14493 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
14494 (libc_feholdexcept_setroundf128): New macro.
14495 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
14498 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
14500 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
14501 * include/inttypes.h: New file.
14503 2018-02-27 Joseph Myers <joseph@codesourcery.com>
14505 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
14506 -Os in two more places.
14508 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14510 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
14511 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
14512 be sorted correctly at the moment because of a bug.
14514 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14516 [BZ #22550] - es_ES locale (and other es_* locales): collation should
14517 treat ñ as a primary different character, sync the collation
14518 for Spanish with CLDR.
14519 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
14520 * localedata/Makefile: Add new test files.
14521 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
14522 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
14524 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
14525 * localedata/am_ET.UTF-8.in: New test file.
14526 * localedata/az_AZ.UTF-8.in: Likewise.
14527 * localedata/be_BY.UTF-8.in: Likewise.
14528 * localedata/ber_DZ.UTF-8.in: Likewise.
14529 * localedata/ber_MA.UTF-8.in: Likewise.
14530 * localedata/bg_BG.UTF-8.in: Likewise.
14531 * localedata/br_FR.UTF-8.in: Likewise.
14532 * localedata/cmn_TW.UTF-8.in: Likewise.
14533 * localedata/crh_UA.UTF-8.in: Likewise.
14534 * localedata/csb_PL.UTF-8.in: Likewise.
14535 * localedata/cv_RU.UTF-8.in: Likewise.
14536 * localedata/cy_GB.UTF-8.in: Likewise.
14537 * localedata/dz_BT.UTF-8.in: Likewise.
14538 * localedata/eo.UTF-8.in: Likewise.
14539 * localedata/es_ES.UTF-8.in: Likewise.
14540 * localedata/fa_IR.UTF-8.in: Likewise.
14541 * localedata/fi_FI.UTF-8.in: Likewise.
14542 * localedata/fil_PH.UTF-8.in: Likewise.
14543 * localedata/fur_IT.UTF-8.in: Likewise.
14544 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
14545 * localedata/ha_NG.UTF-8.in: Likewise.
14546 * localedata/ig_NG.UTF-8.in: Likewise.
14547 * localedata/ik_CA.UTF-8.in: Likewise.
14548 * localedata/kk_KZ.UTF-8.in: Likewise.
14549 * localedata/ku_TR.UTF-8.in: Likewise.
14550 * localedata/ky_KG.UTF-8.in: Likewise.
14551 * localedata/ln_CD.UTF-8.in: Likewise.
14552 * localedata/mi_NZ.UTF-8.in: Likewise.
14553 * localedata/ml_IN.UTF-8.in: Likewise.
14554 * localedata/mn_MN.UTF-8.in: Likewise.
14555 * localedata/mr_IN.UTF-8.in: Likewise.
14556 * localedata/mt_MT.UTF-8.in: Likewise.
14557 * localedata/nb_NO.UTF-8.in: Likewise.
14558 * localedata/om_KE.UTF-8.in: Likewise.
14559 * localedata/os_RU.UTF-8.in: Likewise.
14560 * localedata/ps_AF.UTF-8.in: Likewise.
14561 * localedata/ro_RO.UTF-8.in: Likewise.
14562 * localedata/ru_RU.UTF-8.in: Likewise.
14563 * localedata/sc_IT.UTF-8.in: Likewise.
14564 * localedata/se_NO.UTF-8.in: Likewise.
14565 * localedata/sq_AL.UTF-8.in: Likewise.
14566 * localedata/sv_SE.UTF-8.in: Likewise.
14567 * localedata/szl_PL.UTF-8.in: Likewise.
14568 * localedata/tg_TJ.UTF-8.in: Likewise.
14569 * localedata/tk_TM.UTF-8.in: Likewise.
14570 * localedata/tt_RU.UTF-8.in: Likewise.
14571 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
14572 * localedata/ug_CN.UTF-8.in: Likewise.
14573 * localedata/uz_UZ.UTF-8.in: Likewise.
14574 * localedata/vi_VN.UTF-8.in: Likewise.
14575 * localedata/yi_US.UTF-8.in: Likewise.
14576 * localedata/yo_NG.UTF-8.in: Likewise.
14577 * localedata/zh_CN.UTF-8.in: Likewise.
14578 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
14579 file and fix bugs in the collation.
14580 * localedata/locales/az_AZ: Likewise.
14581 * localedata/locales/be_BY: Likewise.
14582 * localedata/locales/ber_DZ: Likewise.
14583 * localedata/locales/ber_MA: Likewise.
14584 * localedata/locales/bg_BG: Likewise.
14585 * localedata/locales/br_FR: Likewise.
14586 * localedata/locales/br_FR@euro: Likewise.
14587 * localedata/locales/ca_ES: Likewise.
14588 * localedata/locales/cns11643_stroke: Likewise.
14589 * localedata/locales/crh_UA: Likewise.
14590 * localedata/locales/cs_CZ: Likewise.
14591 * localedata/locales/csb_PL: Likewise.
14592 * localedata/locales/cv_RU: Likewise.
14593 * localedata/locales/cy_GB: Likewise.
14594 * localedata/locales/da_DK: Likewise.
14595 * localedata/locales/dz_BT: Likewise.
14596 * localedata/locales/en_CA: Likewise.
14597 * localedata/locales/eo: Likewise.
14598 * localedata/locales/es_CU: Likewise.
14599 * localedata/locales/es_EC: Likewise.
14600 * localedata/locales/es_ES: Likewise.
14601 * localedata/locales/es_US: Likewise.
14602 * localedata/locales/et_EE: Likewise.
14603 * localedata/locales/fa_IR: Likewise.
14604 * localedata/locales/fi_FI: Likewise.
14605 * localedata/locales/fil_PH: Likewise.
14606 * localedata/locales/fur_IT: Likewise.
14607 * localedata/locales/gez_ER@abegede: Likewise.
14608 * localedata/locales/ha_NG: Likewise.
14609 * localedata/locales/hr_HR: Likewise.
14610 * localedata/locales/hsb_DE: Likewise.
14611 * localedata/locales/hu_HU: Likewise.
14612 * localedata/locales/ig_NG: Likewise.
14613 * localedata/locales/ik_CA: Likewise.
14614 * localedata/locales/is_IS: Likewise.
14615 * localedata/locales/iso14651_t1_pinyin: Likewise.
14616 * localedata/locales/kk_KZ: Likewise.
14617 * localedata/locales/ku_TR: Likewise.
14618 * localedata/locales/ky_KG: Likewise.
14619 * localedata/locales/ln_CD: Likewise.
14620 * localedata/locales/lt_LT: Likewise.
14621 * localedata/locales/lv_LV: Likewise.
14622 * localedata/locales/mi_NZ: Likewise.
14623 * localedata/locales/ml_IN: Likewise.
14624 * localedata/locales/mn_MN: Likewise.
14625 * localedata/locales/mr_IN: Likewise.
14626 * localedata/locales/mt_MT: Likewise.
14627 * localedata/locales/nb_NO: Likewise.
14628 * localedata/locales/om_KE: Likewise.
14629 * localedata/locales/os_RU: Likewise.
14630 * localedata/locales/pl_PL: Likewise.
14631 * localedata/locales/ps_AF: Likewise.
14632 * localedata/locales/ro_RO: Likewise.
14633 * localedata/locales/ru_RU: Likewise.
14634 * localedata/locales/ru_UA: Likewise.
14635 * localedata/locales/sc_IT: Likewise.
14636 * localedata/locales/se_NO: Likewise.
14637 * localedata/locales/si_LK: Likewise.
14638 * localedata/locales/sq_AL: Likewise.
14639 * localedata/locales/sv_FI: Likewise.
14640 * localedata/locales/sv_FI@euro: Likewise.
14641 * localedata/locales/sv_SE: Likewise.
14642 * localedata/locales/szl_PL: Likewise.
14643 * localedata/locales/tg_TJ: Likewise.
14644 * localedata/locales/ti_ER: Likewise.
14645 * localedata/locales/tk_TM: Likewise.
14646 * localedata/locales/tl_PH: Likewise.
14647 * localedata/locales/tr_TR: Likewise.
14648 * localedata/locales/tt_RU: Likewise.
14649 * localedata/locales/tt_RU@iqtelif: Likewise.
14650 * localedata/locales/ug_CN: Likewise.
14651 * localedata/locales/uk_UA: Likewise.
14652 * localedata/locales/uz_UZ: Likewise.
14653 * localedata/locales/uz_UZ@cyrillic: Likewise.
14654 * localedata/locales/vi_VN: Likewise.
14655 * localedata/locales/yi_US: Likewise.
14656 * localedata/locales/yo_NG: Likewise.
14658 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14660 * gen-locales.mk: Make test files which contain @ modifiers in their
14662 * localedata/gen-locale.sh: Likewise.
14664 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14666 * posix/tst-fnmatch.input: Fix results for range expressions
14668 * posix/tst-regexloc.c: Do not use a range expression for
14669 de_DE.ISO-8859-1 locale.
14671 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14673 * posix/bug-regex5.c: Fix test case because with the new
14674 iso14651_t1_common file, the da_DK locale now has 6 collating elements
14675 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
14678 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14680 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
14681 downloaded from ISO, the collation order of @-. and space has changed.
14682 Therefore, this test file needed to be adapted.
14683 * localedata/fr_CA.UTF-8.in: Likewise.
14684 * localedata/fr_FR.UTF-8.in: Likewise.
14685 * localedata/uk_UA.UTF-8.in: Likewise.
14687 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14689 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
14690 order of ȥ in the new iso14651_t1_common file.
14691 * localedata/pl_PL.UTF-8.in: Likewise.
14693 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14695 * localedata/locales/iso14651_t1_common: Add sections for various
14696 scripts to the iso14651_t1_common file.
14698 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14700 * localedata/locales/iso14651_t1_common: Use the code point of a
14701 character in the fourth collation level instead of IGNORE for all
14702 entries which have IGNORE on all 4 levels.
14704 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14706 * localedata/locales/iso14651_t1_common: Add some convenient collation
14707 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
14708 rules similar to those in CLDR.
14710 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14712 * localedata/locales/iso14651_t1_common: The new version of this
14713 file downloaded from ISO contained several syntax errors which
14714 are fixed by this patch.
14716 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14718 * localedata/locales/iso14651_t1_common: replace all <U.....>
14719 with <U000.....> because glibc understands only 4 digit or 8 digit
14721 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14723 * localedata/locales/iso14651_t1_common: Necessary changes
14724 to make the file downloaded from ISO usable by glibc.
14726 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14729 * localedata/locales/iso14651_t1_common: Update file to
14730 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
14732 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14734 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
14735 of <nptl/pthreadP.h>
14736 (thread_attr_compare): Move function to...
14737 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
14738 * sysdeps/nptl/timer_routines.h: ... new header.
14739 * sysdeps/mach/hurd/gai_misc.h: New file.
14741 2018-02-26 Joseph Myers <joseph@codesourcery.com>
14743 * string/strcoll_l.c: Include <libc-diag.h>.
14744 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
14745 declarations of seq1 and seq2.
14748 * stdlib/atoi.c (atoi): Use libc_hidden_def.
14749 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
14751 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
14755 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
14756 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
14757 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
14758 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
14759 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
14760 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
14762 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14764 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
14765 macros used in __ptrace_request.
14767 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
14770 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
14772 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
14773 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
14774 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
14777 2018-02-23 Joseph Myers <joseph@codesourcery.com>
14780 * ctype/ctype.c (tolower): Use libc_hidden_def.
14781 (toupper): Likewise.
14782 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
14783 [!_ISOMAC] (toupper): Likewise.
14785 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14787 * localedata/Makefile: Remove --quiet argument when
14790 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14793 * localedata/locales/pt_BR (LC_TIME): use / instead of -
14795 * localedata/locales/pt_PT (LC_TIME): likewise
14797 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14800 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
14801 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
14802 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
14804 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14808 * nptl/Makefile (routines): Remove unregister-atfork.
14809 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
14810 (fork_handler_alloc): Remove function.
14811 (fork_handlers, fork_handler_init): New variables.
14812 (__fork_lock): Rename to atfork_lock.
14813 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
14814 to use a dynamic array to add/remove atfork handlers.
14815 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14816 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
14817 Remove declaration.
14818 (fork_handler): Remove next, refcntr, and need_signal member.
14819 (__run_fork_handler_type): New enum.
14820 (__run_fork_handlers): New prototype.
14821 * nptl/register-atfork.c: Remove file.
14822 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
14824 * sysdeps/nptl/nptl-signals.h: Move to ...
14825 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
14827 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
14828 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
14829 unnecessary check for SIGTIMER.
14830 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
14831 remove unnecessary removal of SIGTIMER.
14832 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
14833 include-signals.h rename.
14834 * nptl/pthreadP.h: Likewise.
14835 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
14836 __is_internal_signal instead of __nptl_is_internal_signal.
14838 2018-02-22 Andrew Waterman <andrew@sifive.com>
14841 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
14842 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
14843 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
14844 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
14846 2018-02-22 DJ Delorie <dj@delorie.com>
14848 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
14850 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
14852 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
14853 do_misaligned, not misaligned8.
14855 2018-02-22 Steve Ellcey <sellcey@cavium.com>
14857 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
14858 Add memcpy_thunderx2.
14859 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
14861 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
14862 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
14863 and IS_THUNDERX2PA checks.
14864 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
14865 Use macro to set name appropriately.
14866 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
14867 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
14868 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
14870 (IS_THUNDERX2): New macro.
14872 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
14874 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14876 2018-02-21 Zack Weinberg <zackw@panix.com>
14878 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
14879 Define here, unconditionally.
14880 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
14881 * libio/libioP.h: Remove #if 0 blocks.
14882 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
14883 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
14884 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
14886 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
14887 Assume weak_alias is always defined.
14889 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
14890 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
14891 Remove #if 0 and #ifdef TODO blocks.
14892 Assume text_set_element is always defined.
14894 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
14895 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
14896 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
14898 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
14899 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
14900 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
14901 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
14902 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
14903 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
14904 Reformat bit flags for _flags field to make occupancy clearer.
14906 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
14907 Keep definitions consistent with those in libio/libio.h.
14909 * libio/libio.h (_IO_file_flags): Remove macro.
14910 All uses changed to _flags.
14912 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
14913 (__HAVE_COLUMN, _IO_BE): Don't define.
14914 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
14915 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
14916 * libio/libioP.h (EOF): Don't define.
14917 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
14918 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
14919 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
14920 testing _IO_UNIFIED_JUMPTABLES.
14922 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
14923 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
14924 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
14925 (_IO_size_t): Delete; all uses changed to size_t.
14926 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
14927 (_IO_off_t): Delete; all uses changed to off_t.
14928 (_IO_off64_t): Delete; all uses changed to off64_t.
14929 (_IO_pid_t): Delete; all uses changed to pid_t.
14930 (_IO_uid_t): Delete; all uses changed to uid_t.
14931 (_IO_wint_t): Delete; all uses changed to wint_t.
14932 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
14933 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
14934 (_IO_cookie_io_functions_t): Delete; all uses changed to
14935 cookie_io_functions_t.
14936 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
14937 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
14938 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
14939 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
14941 * libio/iofopncook.c: Remove unnecessary forward declarations.
14942 * libio/iolibio.h: Correct outdated commentary.
14943 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
14944 * stdio-common/fxprintf.c (__fxprintf_nocancel):
14945 Remove unnecessary casts.
14946 * stdio-common/getline.c: Use _IO_getdelim directly.
14947 Don't redefine ssize_t.
14948 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
14949 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
14950 Remove outdated comments.
14951 * stdio-common/vfscanf.c: Don't redefine va_list.
14953 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
14954 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
14955 Remove preprocessor conditionals on _LIBC and __USE_GNU,
14956 which are always true, and __cplusplus, which is always false.
14958 2018-02-21 Joseph Myers <joseph@codesourcery.com>
14962 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
14963 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
14964 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
14965 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
14967 [!_ISOMAC] (putc_unlocked): Likewise.
14968 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
14969 define inline if [__USE_EXTERN_INLINES].
14970 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
14975 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
14976 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
14977 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
14978 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
14979 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
14981 * time/tzfile.c (__tzfile_read): Likewise.
14983 2018-02-21 Mike FABIAN <mfabian@redhat.com>
14986 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
14988 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
14990 * io/fcntl.h: Fix a typo in a comment.
14992 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
14995 * include/features.h: Add _ISOC11_SOURCE to test for whether to
14996 define _DEFAULT_SOURCE.
14997 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
14999 2018-02-21 Florian Weimer <fweimer@redhat.com>
15002 * elf/cache.c (save_cache): Call fsync on temporary file before
15004 (save_aux_cache): Call fdatasync on temporary file before renaming
15007 2018-02-21 Florian Weimer <fweimer@redhat.com>
15010 * include/caller.h: Remove file.
15011 * elf/dl-caller.c: Likewise.
15012 * elf/Makefile (dl-routines): Remove dl-caller.
15013 (shared-only-routines): Do not add dl-caller.
15014 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
15016 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
15018 (dl_open_worker): Do not call __check_caller.
15019 (_dl_open): Do not set caller_dl_open member.
15020 * elf/rtld.c (_rtld_global_ro): Do not initialize
15021 _dl_check_caller member.
15022 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
15023 _dl_check_caller member.
15024 (_dl_check_caller): Remove declaration.
15025 * sysdeps/unix/sysv/linux/dl-execstack.c
15026 (_dl_make_stack_executable): Do not call __check_caller.
15028 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
15030 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
15031 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
15033 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
15035 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
15038 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
15041 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
15042 of 199606L, 200112L, and 200809L.
15043 (_XOPEN_SOURCE): Document special values of 600 and 700.
15044 (_ISOC11_SOURCE): Document macro.
15045 (_ATFILE_SOURCE): Likewise.
15046 (_FORTIFY_SOURCE): Likewise.
15048 2018-02-19 Joseph Myers <joseph@codesourcery.com>
15052 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
15053 and define as weak alias of __ferror_unlocked. Use
15055 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
15057 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
15058 function if [__USE_EXTERN_INLINES].
15059 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
15062 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
15065 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
15067 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15070 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
15071 the GLIBC_2.1 version.
15073 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15076 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
15077 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
15078 intl/tst-gettext-de.po from po/de.po by removing the
15079 POT-Creation-Date line.
15080 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
15082 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
15085 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15087 * mach/Makefile (headers): Add mach/param.h.
15088 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
15089 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
15090 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
15091 (__ptsname_r): Move implementation to...
15092 (__ptsname_internal): ... new function. Add filling the STP
15095 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
15097 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
15100 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
15102 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
15105 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15107 * nptl/Makefile (tst-mutex8-ENV): Delete.
15108 * nptl/tst-mutex8.c (check_type):
15109 Add runtime check if mutex will be elided.
15111 2018-02-15 Joseph Myers <joseph@codesourcery.com>
15115 * manual/install.texi (Configuring and compiling): Describe
15116 passing CC and CFLAGS on configure command line, not as
15117 environment variables. Use @code markup on those variables.
15118 Specify what options go in CC and what go in CFLAGS. Note the
15119 requirement to compile with optimization.
15120 * INSTALL: Regenerated.
15123 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
15124 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
15125 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
15126 __sigprocmask instead of sigprocmask.
15127 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
15129 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
15130 __sigsetjmp and sigprocmask.
15133 * include/argz.h (argz_next): Use libc_hidden_proto.
15134 (__argz_next): Likewise.
15135 * string-argz-next.c (__argz_next): Use libc_hidden_def.
15136 (argz_next): Use libc_hidden_weak.
15139 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
15141 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
15145 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
15147 * libio/iofputs.c (fputs): Use libc_hidden_weak.
15151 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
15152 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
15153 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
15154 (__feof_unlocked): New declaration, and inline function if
15155 [__USE_EXTERN_INLINES].
15156 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
15157 instead of feof_unlocked.
15158 * intl/localealias.c [_LIBC] (FEOF): Likewise.
15159 * nss/nsswitch.c (nss_parse_file): Likewise.
15160 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
15162 * time/getdate.c (__getdate_r): Likewise.
15163 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
15164 Define as macro to call __feof_unlocked.
15166 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
15168 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
15170 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
15172 * math/Makefile: Remove mpexp.c and mplog.c
15173 * sysdeps/i386/fpu/mpexp.c: Delete file.
15174 * sysdeps/i386/fpu/mplog.c: Likewise.
15175 * sysdeps/ia64/fpu/mpexp.c: Likewise.
15176 * sysdeps/ia64/fpu/mplog.c: Likewise.
15177 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
15178 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
15179 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
15180 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15181 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
15182 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
15183 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
15184 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
15185 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
15186 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15187 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
15188 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
15189 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15190 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
15191 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
15192 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15194 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
15196 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15198 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15200 * sysdeps/sh/libm-test-ulps: Update.
15202 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15204 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
15207 2018-02-12 Zack Weinberg <zackw@panix.com>
15210 * posix/sys/types.h: Don't include sys/sysmacros.h.
15211 * misc/sys/sysmacros.h: Remove the conditional deprecation
15212 warnings for the macros defined by this header.
15214 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
15216 * manual/probes.texi: Remove slowexp probes.
15217 * math/Makefile: Remove slowexp.
15218 * sysdeps/generic/math_private.h (__slowexp): Remove.
15219 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
15220 document error bounds.
15221 * sysdeps/i386/fpu/slowexp.c: Remove.
15222 * sysdeps/ia64/fpu/slowexp.c: Remove.
15223 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
15224 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
15225 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
15226 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
15227 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
15228 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
15229 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
15230 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
15231 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
15232 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
15233 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
15235 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
15238 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
15239 * benchtests/pow-inputs: Update comment for slow path cases.
15240 * manual/probes.texi (slowpow_p10): Delete removed probe.
15241 (slowpow_p10): Likewise.
15242 * math/Makefile: Remove halfulp.c and slowpow.c.
15243 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
15244 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
15245 (__halfulp): Remove.
15246 (__slowpow): Remove.
15247 * sysdeps/i386/fpu/halfulp.c: Delete file.
15248 * sysdeps/i386/fpu/slowpow.c: Likewise.
15249 * sysdeps/ia64/fpu/halfulp.c: Likewise.
15250 * sysdeps/ia64/fpu/slowpow.c: Likewise.
15251 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
15252 improve comments and add error analysis.
15253 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
15254 (power1): Remove function:
15255 (log1): Remove error argument, add error analysis.
15256 (my_log2): Remove function.
15257 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
15258 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15259 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
15260 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
15261 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
15262 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
15263 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
15264 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
15265 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
15266 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
15267 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
15268 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15269 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
15270 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15272 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
15274 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
15275 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
15277 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
15280 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
15281 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
15282 and PTRACE_SETHBPREGS.
15284 2018-02-10 Zack Weinberg <zackw@panix.com>
15287 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
15289 * malloc/tst-malloc-stats-cancellation.c: New test case.
15290 * malloc/Makefile: Add new test case.
15292 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
15294 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
15296 2018-02-10 Joseph Myers <joseph@codesourcery.com>
15298 * math/Makefile (libm-narrow-fns): Add add.
15299 (libm-test-funcs-narrow): Likewise.
15300 * math/Versions (GLIBC_2.28): Add narrowing add functions.
15301 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
15302 * math/gen-auto-libm-tests.c (test_functions): Add add.
15303 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
15304 (NARROW_ADD_ROUND_TO_ODD): Likewise.
15305 (NARROW_ADD_TRIVIAL): Likewise.
15306 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
15308 (__daddl): Likewise.
15309 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
15311 (CFLAGS-nldbl-dadd.c): New variable.
15312 (CFLAGS-nldbl-fadd.c): Likewise.
15313 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15315 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
15317 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
15318 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
15319 * math/auto-libm-test-in: Add tests of add.
15320 * math/auto-libm-test-out-narrow-add: New generated file.
15321 * math/libm-test-narrow-add.inc: New file.
15322 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
15323 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
15324 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
15325 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
15326 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
15327 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
15328 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
15329 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
15330 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
15331 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
15332 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
15333 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
15334 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
15335 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
15336 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
15337 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
15338 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
15339 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
15340 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15341 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15342 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15343 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15344 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15345 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15346 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15347 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15348 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15349 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15350 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15351 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15352 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15353 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15358 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15359 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15360 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15361 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15362 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15363 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15364 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
15365 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
15366 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15367 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15369 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
15370 (f128-pairs): New variable.
15371 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
15372 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
15374 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
15375 Also make tests add $(f128-loader-link) to gnulib-tests.
15377 2018-02-09 DJ Delorie <dj@redhat.com>
15380 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
15381 64-bit ELF type for 64-bit ELF objects.
15383 2018-02-09 Joseph Myers <joseph@codesourcery.com>
15385 * math/libm-test-driver.c (snan_tests_arg): New variable.
15386 * math/libm-test-support.h (snan_tests_arg): New declaration.
15387 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
15389 * math/Makefile (test-type-pairs): New variable.
15390 (test-type-pairs-f64xf128-yes): Likewise.
15391 (tests): Add test-narrow-macros.
15392 (libm-test-funcs-narrow): New variable.
15393 (libm-test-c-narrow): Likewise.
15394 (generated): Add $(libm-test-c-narrow).
15395 (libm-tests-base-narrow): New variable.
15396 (libm-tests-narrow): Likewise.
15397 (libm-tests): Add $(libm-tests-narrow).
15398 (libm-tests-for-type): Handle $(libm-tests-narrow).
15399 (libm-test-c-narrow-obj): New variable.
15400 ($(libm-test-c-narrow-obj)): New rule.
15401 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
15402 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
15403 $(o-iterator) to set dependencies and CFLAGS.
15404 * math/gen-auto-libm-tests.c: Document use for narrowing
15406 (output_for_one_input_case): Take argument NARROW.
15407 (generate_output): Likewise. Update call to
15408 output_for_one_input_case.
15409 (main): Take --narrow option. Update call to generate_output.
15410 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
15411 (apply_lit): Update call to _apply_lit.
15412 (apply_arglit): New function.
15413 (parse_args): Handle "a" arguments.
15414 (parse_auto_input): Handle format names using ":".
15415 * math/README.libm-test: Document "a" parameter type.
15416 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
15417 (ARG_TYPE_TRUE_MIN): Likewise.
15418 (ARG_TYPE_MAX): Likwise.
15419 (ARG_MIN_EXP): Likewise.
15420 (ARG_MAX_EXP): Likewise.
15421 (ARG_MANT_DIG): Likewise.
15422 (TEST_COND_arg_ibm128): Likewise.
15423 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
15424 (TEST_COND_arg_fmt): New macro.
15425 (init_max_error): Update prototype.
15426 * math/libm-test-support.c (test_ibm128): New variable.
15427 (init_max_error): Take argument testing_ibm128 and set test_ibm128
15428 instead of using [TEST_COND_ibm128] conditional.
15429 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
15430 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
15431 [TEST_NARROW] (TEST_MSG): New definition.
15432 (arg_plus_zero): New macro.
15433 (arg_minus_zero): Likewise.
15434 (arg_plus_infty): Likewise.
15435 (arg_minus_infty): Likewise.
15436 (arg_qnan_value_pl): Likewise.
15437 (arg_qnan_value): Likewise.
15438 (arg_snan_value_pl): Likewise.
15439 (arg_snan_value): Likewise.
15440 (arg_max_value): Likewise.
15441 (arg_min_value): Likewise.
15442 (arg_min_subnorm_value): Likewise.
15443 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
15444 (RUN_TEST_LOOP_aa_f): New macro.
15445 (TEST_SUFF): New macro.
15446 (TEST_SUFF_STR): Likewise.
15447 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
15448 (TEST_COND_any_ibm128): New macro.
15449 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
15450 this_func. Update call to init_max_error.
15451 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
15452 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
15453 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
15454 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
15455 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
15456 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
15457 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
15458 * math/test-math-scalar.h (TEST_NARROW): Likewise.
15459 * math/test-math-vector.h (TEST_NARROW): Likewise.
15460 * math/test-arg-double.h: New file.
15461 * math/test-arg-float128.h: Likewise.
15462 * math/test-arg-float32x.h: Likewise.
15463 * math/test-arg-float64.h: Likewise.
15464 * math/test-arg-float64x.h: Likewise.
15465 * math/test-arg-ldouble.h: Likewise.
15466 * math/test-math-narrow.h: Likewise.
15467 * math/test-narrow-macros.c: Likewise.
15468 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
15469 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
15470 test-narrow-macros-ldbl-64.
15471 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
15473 * math/bits/mathcalls-narrow.h: New file.
15474 * include/bits/mathcalls-narrow.h: Likewise.
15475 * math/math-narrow.h: Likewise.
15476 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
15477 (__MATHCALL_NARROW_ARGS_2): Likewise.
15478 (__MATHCALL_NARROW_ARGS_3): Likewise.
15479 (__MATHCALL_NARROW_NORMAL): Likewise.
15480 (__MATHCALL_NARROW_REDIR): Likewise.
15481 (__MATHCALL_NARROW): Likewise.
15482 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
15483 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
15485 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
15486 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
15487 (libm-narrow-fns): New variable.
15488 (libm-narrow-types-basic): Likewise.
15489 (libm-narrow-types-ldouble-yes): Likewise.
15490 (libm-narrow-types-float128-yes): Likewise.
15491 (libm-narrow-types-float128-alias-yes): Likewise.
15492 (libm-narrow-types): Likewise.
15493 (libm-routines): Add narrowing functions.
15494 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
15495 (libc_feholdexcept_setroundf128): New macro.
15496 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
15497 * sysdeps/ieee754/float128/float128_private.h: Include
15498 <math/math-narrow.h>.
15499 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
15500 Undefine and redefine.
15501 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
15502 (libm_alias_float_ldouble): Undefine and redefine.
15503 (libm_alias_double_ldouble): Likewise.
15505 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
15507 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
15509 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
15512 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
15514 * manual/creature.texi: Convert references to gcc.info to gcc.
15515 * manual/stdio.texi: Likewise.
15516 * manual/string.texi: Likewise.
15518 2018-02-07 Joseph Myers <joseph@codesourcery.com>
15521 * posix/bits/types.h (__int_least8_t): New typedef.
15522 (__uint_least8_t): Likewise.
15523 (__int_least16_t): Likewise.
15524 (__uint_least16_t): Likewise.
15525 (__int_least32_t): Likewise.
15526 (__uint_least32_t): Likewise.
15527 (__int_least64_t): Likewise.
15528 (__uint_least64_t): Likewise.
15529 * sysdeps/generic/stdint.h (int_least8_t): Define using
15531 (int_least16_t): Define using __int_least16_t.
15532 (int_least32_t): Define using __int_least32_t.
15533 (int_least64_t): Define using __int_least64_t.
15534 (uint_least8_t): Define using __uint_least8_t.
15535 (uint_least16_t): Define using __uint_least16_t.
15536 (uint_least32_t): Define using __uint_least32_t.
15537 (uint_least64_t): Define using __uint_least64_t.
15538 * wcsmbs/uchar.h: Include <bits/types.h>.
15539 (char16_t): Define using __uint_least16_t conditional only on
15541 (char32_t): Define using __uint_least32_t conditional only on
15543 * wcsmbs/test-char-types.c: New file.
15544 * wcsmbs/Makefile (tests): Add test-char-types.
15546 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
15549 2018-02-07 Zack Weinberg <zackw@panix.com>
15551 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
15552 Delete all contents except for definitions of _G_HAVE_MMAP and
15553 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
15554 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
15555 sysdeps/unix/sysv/linux/_G_config.h. Make same content
15558 * libio/libio.h: Don't include bits/_G_config.h here.
15559 Include stddef.h with __need_wchar_t defined. Include
15560 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
15561 Define _IO_iconv_t here, directly.
15562 Don't define _IO_HAVE_ST_BLKSIZE.
15563 * libio/libioP.h: Include _G_config.h here. Move include of
15564 shlib-compat.h up with rest of includes. Simplify conditionals
15565 controlling definition of _IO_JUMPS_OFFSET.
15567 * csu/init.c: Remove always-true #if around entire file.
15568 Don't include stdio.h. Set _IO_stdin_used to hardwired
15569 constant 0x20001, and update commentary.
15570 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
15571 Replace all uses of _G_va_list with __gnuc_va_list.
15572 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
15573 instead of #if _IO_HAVE_ST_BLKSIZE.
15574 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
15575 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
15578 * libio/bits/libio.h: Move back to libio/libio.h and adjust
15579 multiple-include guard to match.
15580 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
15582 Remove preprocessor conditionals that are always true and/or
15583 redundant to other preprocessor conditionals in the same nest.
15584 Include shlib-compat.h unconditionally.
15585 Error out if _LIBC is not defined, or if _ISOMAC is defined,
15586 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
15587 defined after including stdio.h.
15588 Use __BEGIN_DECLS/__END_DECLS.
15590 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
15591 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
15592 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
15594 2018-02-07 Zack Weinberg <zackw@panix.com>
15596 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
15597 New single-type headers split from _G_config.h.
15598 * libio/bits/types/cookie_io_functions_t.h
15599 * libio/bits/types/struct_FILE.h
15600 New single-type headers split from libio.h.
15602 * libio/Makefile: Install the above new headers. Don't install
15603 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
15605 * libio/_G_config.h, libio/libio.h: Delete file.
15607 * libio/bits/libio.h: Remove improper-inclusion guard.
15608 Include stdio.h and don't repeat anything that it does.
15609 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
15610 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
15611 __io_read_fn as cookie_read_function_t,
15612 __io_write_fn as cookie_write_function_t,
15613 __io_seek_fn as cookie_seek_function_t,
15614 __io_close_fn as cookie_close_function_t,
15615 and _IO_cookie_io_functions_t as cookie_io_functions_t.
15616 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
15617 here, in the "compatibility defines" section. Remove an #if 0
15618 block. Use the "body" macros from bits/types/struct_FILE.h to
15619 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
15620 and _IO_ferror_unlocked.
15621 Move prototypes of __uflow and __overflow...
15623 * libio/stdio.h: ...here. Don't include bits/libio.h.
15624 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
15625 directly from stdarg.h. Include bits/types/__fpos_t.h,
15626 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
15627 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
15628 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
15629 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
15630 cookie_io_functions_t, not _IO_cookie_io_functions_t;
15631 __ssize_t, not _IO_ssize_t. Unconditionally define
15632 BUFSIZ as 8192 and EOF as (-1).
15634 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
15635 macros from bits/types/struct_FILE.h instead of _IO_* macros
15636 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
15637 instead of _IO_ssize_t.
15638 * libio/bits/stdio2.h: Similarly.
15640 * libio/iolibio.h: Add multiple-include guard.
15641 Include bits/libio.h after stdio.h.
15642 * libio/libioP.h: Add multiple-include guard.
15643 Include stdio.h and bits/libio.h before iolibio.h.
15645 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
15646 * include/bits/types/cookie_io_functions_t.h
15647 * include/bits/types/struct_FILE.h: New wrappers.
15649 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
15650 Get definitions of _G_fpos_t and _G_fpos64_t from
15651 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
15652 respectively. Remove improper-inclusion guards.
15654 * conform/data/stdio.h-data: Update expectations of va_list.
15655 * scripts/check-installed-headers.sh: Remove special case for
15656 libio.h and _G_config.h.
15658 2018-02-07 Joseph Myers <joseph@codesourcery.com>
15662 * include/sys/sysmacros.h [!_ISOMAC]
15663 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
15664 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
15665 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
15666 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
15668 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
15669 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
15671 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
15672 Undefine and redefine to add use __gnu_dev_ prefix.
15673 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
15675 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
15676 and define as hidden inline function.
15677 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
15679 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
15681 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
15682 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
15683 (gnu_dev_minor): Likewise.
15684 (gnu_dev_makedev): Likewise.
15685 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
15687 * posix/wordexp.c (exec_comm_child): Likewise.
15688 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
15689 instead of minor and __gnu_dev_major instead of major.
15690 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
15691 __gnu_dev_major instead of major.
15692 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
15693 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
15694 instead of gnu_dev_minor.
15695 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
15696 (SLAVE_P): Likewise.
15697 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
15698 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
15702 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
15704 * locale/weightwc.h (findidx): Likewise.
15706 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
15708 * manual/probes.texi (slowlog): Delete documentation of removed probe.
15709 (slowlog_inexact): Likewise
15710 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
15711 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
15713 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
15716 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
15717 missing second underscore to parameter name.
15719 2018-02-06 Joseph Myers <joseph@codesourcery.com>
15725 * bits/byteswap.h: Update file comment. Do not include
15726 <bits/byteswap-16.h>.
15727 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
15729 (__bswap_16): Define as inline function.
15730 (__bswap_constant_32): Reformat definition.
15731 (__bswap_32): Always define as inline function, not macro, using
15732 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
15733 otherwise __bswap_constant_32.
15734 (__bswap_constant_64): Reformat definition. Do not use
15735 __extension__ here.
15736 (__bswap_64): Always define as inline function, not macro. Use
15737 __extension__ on function definition. Use __builtin_bswap64 if
15738 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
15739 * string/test-endian-file-scope.c: New file.
15740 * string/test-endian-sign-conversion.c: Likewise.
15741 * string/Makefile (headers): Remove bits/byteswap-16.h.
15742 (tests): Add test-endian-file-scope and
15743 test-endian-sign-conversion.
15744 (CFLAGS-test-endian-sign-conversion.c): New variable.
15745 * bits/byteswap-16.h: Remove file.
15746 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
15747 * sysdeps/ia64/bits/byteswap.h: Likewise.
15748 * sysdeps/m68k/bits/byteswap.h: Likewise.
15749 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15750 * sysdeps/s390/bits/byteswap.h: Likewise.
15751 * sysdeps/tile/bits/byteswap.h: Likewise.
15752 * sysdeps/x86/bits/byteswap-16.h: Likewise.
15753 * sysdeps/x86/bits/byteswap.h: Likewise.
15756 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
15757 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
15758 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
15759 199901L] (__restrict): Define to restrict.
15762 * string/testcopy.c: Include <support/support.h>. Do not include
15763 <malloc.h>. Use <support/test-driver.c>.
15764 (main): Rename to do_test. Make static. Use xmalloc instead of
15768 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
15769 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
15770 (SSIZE_MAX): Define to INT_MAX.
15771 * posix/test-ssize-max.c: New file.
15772 * posix/Makefile (tests): Add test-ssize-max.
15775 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
15776 <support/support.h>. Do not include <malloc.h>.
15777 (query_auxv): Use xmalloc instead of malloc.
15780 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
15781 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
15784 2018-02-06 Florian Weimer <fweimer@redhat.com>
15787 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15788 Use scratch_buffer instead of extend_alloca.
15790 2018-02-06 Zack Weinberg <zackw@panix.com>
15792 * libio/stdio.h: Don't define getc or putc as macros.
15793 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
15794 not _IO_getc and _IO_putc.
15796 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
15797 * stdio-common/tstgetln.c: Don't redefine ssize_t.
15799 2018-02-06 Joseph Myers <joseph@codesourcery.com>
15801 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
15802 (TCP_FASTOPEN_NO_COOKIE): Likewise.
15804 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
15807 * elf/elf.h (NT_PRFPREG): New macro.
15808 (NT_S390_VXRS_LOW): Likewise.
15809 (NT_S390_VXRS_HIGH): Likewise.
15810 (NT_S390_GS_CB): Likewise.
15811 (NT_S390_GS_BC): Likewise.
15812 (NT_S390_RI_CB): Likewise.
15814 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
15815 (MAP_SYNC): New macro.
15816 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
15818 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
15819 (MAP_SYNC): Likewise.
15820 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
15821 (MAP_SYNC): Likewise.
15822 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
15823 (MAP_SYNC): Likewise.
15824 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
15825 (MAP_SYNC): Likewise.
15826 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
15827 (MAP_SYNC): Likewise.
15828 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
15829 (MAP_SYNC): Likewise.
15830 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
15832 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
15835 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
15836 (MAP_SHARED_VALIDATE): New macro.
15837 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15838 (MAP_SHARED_VALIDATE): Likewise.
15840 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15842 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
15843 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
15844 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
15846 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15848 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
15849 (DT_NUM): Updated to 35.
15851 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15853 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
15854 __builtin_expect with __glibc_likely and __glibc_unlikely.
15855 (elf_machine_rela): Likewise.
15856 (elf_machine_lazy_rel): Likewise.
15858 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15860 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
15861 __builtin_expect with __glibc_likely and __glibc_unlikely.
15862 (elf_machine_lazy_rel): Likewise.
15864 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15867 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
15869 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
15871 2018-02-05 Andreas Schwab <schwab@suse.de>
15874 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
15877 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15879 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
15880 not check against PTHREAD_STACK_MIN.
15882 2018-02-02 Sean McKean <smckean83@gmail.com>
15885 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
15887 2018-02-02 Florian Weimer <fweimer@redhat.com>
15890 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
15891 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
15892 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
15893 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
15894 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
15895 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
15896 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
15897 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
15898 * manual/llio.texi (Scatter-Gather): Mention offset -1.
15899 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
15900 * misc/tst-preadvwritev2.c (do_test): Call it.
15901 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
15903 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
15905 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
15907 * benchtests/bench-memcmp.c: Print json instead of plain text.
15909 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
15912 2018-02-01 Joseph Myers <joseph@codesourcery.com>
15914 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15916 (s390_sthyi): New syscall.
15918 * sysdeps/generic/ldbl-classify-compat.h: New file.
15919 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
15920 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
15921 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
15922 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
15923 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
15924 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
15925 * sysdeps/ieee754/dbl-64/s_finite.c: Include
15926 <ldbl-classify-compat.h>.
15927 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15928 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
15929 <ldbl-classify-compat.h>.
15930 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15931 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
15932 <ldbl-classify-compat.h>.
15933 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15934 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
15935 <ldbl-classify-compat.h>.
15936 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15937 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
15938 <ldbl-classify-compat.h>.
15939 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15940 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
15941 <ldbl-classify-compat.h>.
15942 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15943 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
15944 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15945 * sysdeps/m68k/coldfire/math_private.h: Remove file.
15946 * sysdeps/microblaze/math_private.h: Likewise.
15947 * sysdeps/nios2/math_private.h: Likewise.
15948 * sysdeps/sh/math_private.h: Likewise.
15950 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
15951 * sysdeps/m68k/coldfire/math_private.h: ... here.
15952 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
15953 * sysdeps/tile/math_private.h: Likewise.
15954 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
15956 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
15959 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
15961 (libc_fetestexcept): Likewise.
15962 (libc_feupdateenv_test): Likewise.
15963 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
15964 (libc_fetestexcept): Likewise.
15965 (libc_feupdateenv_test): Likewise.
15966 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
15967 (libc_fetestexcept): Likewise.
15968 (libc_feupdateenv_test): Likewise.
15969 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
15970 (libc_fetestexcept): Likewise.
15971 (libc_feupdateenv_test): Likewise.
15973 * sysdeps/generic/math_private.h
15974 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
15975 New inline function.
15976 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
15979 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
15980 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
15981 * sysdeps/generic/math_private.h
15982 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
15984 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
15986 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
15988 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
15990 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
15992 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
15994 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
15995 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
15996 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
15997 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
15998 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
15999 (__fegetenv): Likewise.
16000 (fesetenv): Likewise.
16001 (__fesetenv): Likewise.
16002 (feupdateenv): Likewise.
16003 (__feupdateenv): Likewise.
16004 (fegetround): Likewise.
16005 (__fegetround): Likewise.
16006 (fesetround): Likewise.
16007 (__fesetround): Likewise.
16009 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
16010 (feraiseexcept): New macro.
16011 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
16012 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
16014 (__feraiseexcept): Likewise.
16015 (feclearexcept): Likewise.
16016 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
16017 (__feraiseexcept): Likewise.
16018 (feclearexcept): Likewise.
16019 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
16020 (__feraiseexcept): Likewise.
16021 (feclearexcept): Likewise.
16022 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
16023 (__feraiseexcept): Likewise.
16024 (feclearexcept): Likewise.
16025 (fetestexcept): Likewise.
16027 * sysdeps/m68k/coldfire/math-tests.h: New file.
16029 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
16030 * sysdeps/m68k/bits/fenv.h: ... here.
16031 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
16033 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
16035 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
16037 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
16039 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
16041 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
16043 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
16044 (__FE_UNDEFINED): New enum constant.
16045 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
16047 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
16049 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
16051 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
16052 to match generic bits/fenv.h.
16053 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
16056 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
16058 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
16059 * soft-fp/half.h (union _FP_UNION_H): Likewise.
16060 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
16061 * soft-fp/single.h (union _FP_UNION_S): Likewise.
16063 2018-02-01 Carlos O'Donell <carlos@redhat.com>
16064 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
16065 Joseph Myers <joseph@codesourcery.com>
16068 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
16069 (__log1p): Disable -Wmaybe-uninitialized for -Os around
16070 computation using c.
16071 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
16072 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
16073 computation using c.
16075 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
16077 * version.h (RELEASE): Set to "development".
16078 (VERSION): Set to "2.27.9000".
16079 * NEWS (2.28): New section.
16081 * version.h (RELEASE): Set to "stable".
16082 (VERSION): Set to "2.27".
16083 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
16085 * NEWS: Add the list of bugs fixed in 2.27.
16087 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16089 * stdlib/test-atexit-race-common.c (do_test): Check stack size
16090 against PTHREAD_STACK_MIN.
16092 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
16094 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
16096 (Rafal Luzynski, Andreas Schwab): Update.
16098 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
16101 * NEWS: List the languages which actually use the alternative
16102 months feature in this release. Also explain that "alt_mon" and
16103 "ab_alt_mon" are optional.
16105 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
16108 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
16110 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
16112 * manual/install.texi (Tools for Compilation): Update the newest
16113 versions of gcc, binutils, texinfo, gawk, bison, and sed.
16114 * INSTALL: Regenerated.
16116 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16118 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
16119 instead of __builtin_expect.
16121 2018-01-30 Florian Weimer <fweimer@redhat.com>
16123 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
16125 * nss/tst-nss-getpwent.c (do_test): Likewise.
16127 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
16130 * localedata/locales/hr_HR (mon): Rename to...
16132 (mon): Import from CLDR (genitive case).
16133 (d_t_fmt): Update the comment.
16135 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
16137 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
16138 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
16139 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
16141 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16143 * mach/Versions: Fix version when __mach_host_self_ was added.
16144 * hurd/Versions: Fix version when _hurd_exec_paths was added.
16145 * sysdeps/mach/hurd/i386/ld.abilist: New file.
16146 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
16147 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
16148 * sysdeps/mach/hurd/i386/libc.abilist: New file.
16149 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
16150 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
16151 * sysdeps/mach/hurd/i386/libm.abilist: New file.
16152 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
16153 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
16154 * sysdeps/mach/hurd/i386/librt.abilist: New file.
16155 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
16156 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
16157 || to respect codestyle.
16158 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
16159 (do_test_bz20181): Rename accordingly.
16160 * malloc/malloc.c: Include <assert.h>.
16161 (assert): Do not define.
16162 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
16163 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
16164 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
16165 * sysdeps/mach/hurd/hp-timing.h: New file.
16166 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
16168 2018-01-29 Darius Rad <darius@bluespec.com>
16170 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
16172 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
16174 * sysdeps/init_array/crti.S (.section .init_array): Add
16175 PREINIT_FUNCTION when defined.
16176 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
16177 * config.h.in: Regenerate.
16178 * manual/platform.texi: Add RISC-V documenation for
16179 __riscv_flush_icache.
16180 * sysdeps/riscv/__longjmp.S: New file.
16181 * sysdeps/riscv/backtrace.c: Likewise.
16182 * sysdeps/riscv/bits/endian.h: Likewise.
16183 * sysdeps/riscv/bits/setjmp.h: Likewise.
16184 * sysdeps/riscv/bits/wordsize.h: Likewise.
16185 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
16186 * sysdeps/riscv/bsd-setjmp.c: Likewise.
16187 * sysdeps/riscv/dl-trampoline.S: Likewise.
16188 * sysdeps/riscv/gccframe.h: Likewise.
16189 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
16190 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
16191 * sysdeps/riscv/machine-gmon.h: Likewise.
16192 * sysdeps/riscv/memusage.h: Likewise.
16193 * sysdeps/riscv/setjmp.S: Likewise.
16194 * sysdeps/riscv/sys/asm.h: Likewise.
16195 * sysdeps/riscv/tls-macros.h: Likewise.
16196 * sysdeps/riscv/dl-tls.h: New file.
16197 * sysdeps/riscv/libc-tls.c: Likewise.
16198 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
16199 * sysdeps/riscv/nptl/tls.h: Likewise.
16200 * sysdeps/riscv/stackinfo.h: Likewise.
16201 * sysdeps/riscv/bits/fenv.h: New file.
16202 * sysdeps/riscv/e_sqrtl.c: Likewise.
16203 * sysdeps/riscv/fpu_control.h: Likewise.
16204 * sysdeps/riscv/math-tests.h: Likewise.
16205 * sysdeps/riscv/nofpu/Implies: Likewise.
16206 * sysdeps/riscv/sfp-machine.h: Likewise.
16207 * sysdeps/riscv/tininess.h: Likewise.
16208 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
16209 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
16210 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
16211 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
16212 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
16213 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
16214 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
16215 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
16216 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
16217 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
16218 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
16219 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
16220 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
16221 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
16222 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
16223 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
16224 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
16225 * sysdeps/riscv/rvd/s_finite.c: Likewise.
16226 * sysdeps/riscv/rvd/s_fma.c: Likewise.
16227 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
16228 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
16229 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
16230 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
16231 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
16232 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
16233 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
16234 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
16235 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
16236 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
16237 * sysdeps/riscv/rvf/fegetround.c: Likewise.
16238 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
16239 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
16240 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
16241 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
16242 * sysdeps/riscv/rvf/fesetround.c: Likewise.
16243 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
16244 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
16245 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
16246 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
16247 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
16248 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
16249 * sysdeps/riscv/rvf/math_private.h: Likewise.
16250 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
16251 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
16252 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
16253 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
16254 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
16255 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
16256 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
16257 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
16258 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
16259 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
16260 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
16261 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
16262 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
16263 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
16264 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
16265 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
16266 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
16267 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
16268 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
16269 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
16270 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
16271 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
16272 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
16273 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
16274 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
16275 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
16276 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
16277 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
16278 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
16279 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
16280 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
16281 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
16282 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
16283 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
16284 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
16285 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
16286 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
16287 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
16288 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
16289 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
16290 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
16291 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
16292 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
16293 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
16294 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
16295 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
16296 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
16297 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
16298 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
16299 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
16300 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
16301 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
16302 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
16303 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
16304 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
16305 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
16306 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
16307 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
16308 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
16309 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
16310 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
16311 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
16312 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16313 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
16314 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16315 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
16316 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
16317 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
16318 * sysdeps/riscv/Implies: New file.
16319 * sysdeps/riscv/Makefile: Likewise.
16320 * sysdeps/riscv/configure: Likewise.
16321 * sysdeps/riscv/configure.ac: Likewise.
16322 * sysdeps/riscv/nptl/Makefile: Likewise.
16323 * sysdeps/riscv/preconfigure: Likewise.
16324 * sysdeps/riscv/rv64/Implies-after: Likewise.
16325 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
16326 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
16327 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
16328 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
16329 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
16330 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
16331 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
16332 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
16333 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
16334 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
16335 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
16336 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
16337 (Config): Likewise.
16339 2018-01-29 Florian Weimer <fweimer@redhat.com>
16342 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
16343 libnsl_hidden_proto.
16344 * include/rpcsvc/yp.h (yp_xdrall): Declare with
16345 libnsl_hidden_proto.
16346 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
16347 * nis/Makefile (libnsl-routines): Add nss-default only for
16348 build-obsolete-nsl.
16349 * nis/nis_defaults.c (__nis_default_ttl): Add
16350 libnsl_hidden_nolink_def.
16351 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
16353 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
16354 * nis/ypclnt.c (yp_maplist): Likewise.
16356 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
16358 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16359 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
16361 2018-01-29 Joseph Myers <joseph@codesourcery.com>
16363 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
16364 clean -dxfq for git updates when replacing sources.
16366 * scripts/build-many-glibcs.py (Config.build_gcc): Use
16367 --disable-libcilkrts unconditionally, not just for the final GCC
16370 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16373 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16376 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
16379 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16382 * localedata/locales/be_BY (mon): Rename to...
16383 (alt_mon): This, then synchronize with CLDR (nominative case).
16384 (abmon): Rename to...
16385 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16386 (mon): Import from CLDR (genitive case).
16388 * localedata/locales/be_BY@latin (mon): Rename to...
16390 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
16392 * localedata/locales/be_BY@latin (lang_name): Reworded to
16393 "biełaruskaja mova".
16395 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16398 * localedata/locales/el_CY (mon): Renamed to...
16400 (mon): Import from CLDR (genitive case).
16401 * localedata/locales/el_GR: Likewise.
16403 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16406 * localedata/locales/ru_RU (mon): Rename to...
16408 (abmon): Rename to...
16409 (ab_alt_mon): This.
16410 (mon): Import from CLDR (genitive case).
16411 (abmon): Copy from the old content except the 5th month which is
16412 now in the genitive case, even when abbreviated.
16413 * localedata/locales/ru_UA: Likewise.
16414 * time/tst-strptime.c (day_tests): Add an actual example of
16415 a difference between %b and %Ob in Russian.
16417 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16419 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
16420 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
16422 * resolv/res-close.c: Include <stdlib.h>.
16423 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
16424 <sys/wait.h>, <time.h>, <sys/uio.h>.
16425 (NOT_CANCEL_H): Add inclusion guard.
16426 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
16427 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
16428 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
16430 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
16431 vm_address_t * to ElfW(Addr) * for dl_main parameter.
16432 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
16434 * sysdeps/pthread/timer_create.c (timer_create): Do not use
16435 timer_ptr2id to cast struct timer_node * to void *.
16436 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
16437 --disable-libcilkrts to gcc configure.
16438 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
16439 and make them the default for now.
16440 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
16441 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
16442 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
16443 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
16444 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
16446 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
16447 __task_terminate would ever return successfully.
16448 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
16450 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
16451 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
16452 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
16453 critical section to make code simpler and avoid warning.
16454 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
16455 critical section to make code simpler and avoid warning.
16456 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
16457 const char * instead of char *.
16458 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
16459 __hurd_file_name_split, hurd_file_name_split,
16460 __hurd_directory_name_split, hurd_directory_name_split,
16461 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
16462 hurd_file_name_path_lookup): Make lookup function parameter take a
16463 const char *name instead of char *name.
16464 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
16465 __hurd_directory_name_split): Likewise.
16466 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
16467 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
16468 * sysdeps/mach/hurd/check_native.c: New file.
16469 * sysdeps/mach/hurd/check_pf.c: New file.
16470 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
16471 (__freeifaddrs): Define macro to freeifaddrs.
16472 * sysdeps/mach/hurd/libhurduser.abilist: New file.
16473 * sysdeps/mach/libmachuser.abilist: New file.
16474 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
16475 (do_test_bz20181): Rename accordingly.
16476 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
16477 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
16479 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
16480 version only if __USE_EXTERN_INLINES is defined.
16481 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
16482 __hurd_sockfail): Likewise.
16483 (_hurd_fd_get): Always declare functions, and provide inline versions
16484 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
16485 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
16486 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
16487 _hurd_port_set): Always declare functions, and provide inline versions
16488 only if __USE_EXTERN_INLINES and _LIBC are defined and
16490 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
16491 _hurd_critical_section_unlock): Likewise.
16492 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
16493 * __hurd_threadvar_location): Likewise.
16494 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
16495 _hurd_userlink_clear): Likewise.
16496 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
16497 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
16498 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
16499 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
16500 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
16501 __spin_lock_locked): Likewise.
16502 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
16503 __spin_lock_locked): Likewise.
16504 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
16505 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
16506 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
16507 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
16508 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
16509 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
16510 _POSIX_NO_TRUNC): Define to 0.
16511 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
16512 check size against PTHREAD_STACK_MIN.
16513 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
16514 IS_IN(libpthread)]: Include <sigsetops.h>.
16515 * mach/Makefile (user-interfaces): Add mach/gnumach.
16516 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
16517 * sysdeps/mach/configure (mach_interface_list): Regenerate.
16518 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
16519 instead of invalid -1.
16520 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
16521 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
16522 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
16525 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
16527 * hurd/fcntl-internal.h: New file.
16529 2018-01-27 James Clarke <jrtc27@jrtc27.com>
16531 * sysdeps/hppa/fpu/libm-test-ulps: Update.
16533 * sysdeps/alpha/fpu/libm-test-ulps: Update.
16535 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
16538 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
16539 Build only shared objects.
16541 2018-01-26 Carlos O'Donell <carlos@redhat.com>
16543 * README: Update for hppa.
16545 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16547 * sysdeps/sparc/fpu/libm-test-ulps: Update
16548 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
16550 2018-01-26 Carlos O'Donell <carlos@redhat.com>
16554 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16557 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16558 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
16559 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16560 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
16563 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16566 * bits/types/__cancel_jmp_buf_tag.h: New file.
16567 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
16568 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
16569 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
16570 * nptl/Makefile (headers): Add
16571 bits/types/__cancel_jmp_buf_tag.h.
16572 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
16573 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
16574 * sysdeps/nptl/pthread.h: Include
16575 <bits/types/__cancel_jmp_buf_tag.h>.
16576 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
16578 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
16580 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
16583 * localedata/locales/uk_UA (mon): Renamed to...
16585 (alt_digits): "0" removed and then renamed to...
16587 (date_fmt): Definition changed not to use the alternative
16590 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
16592 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
16593 FLAG_RISCV_FLOAT_ABI_DOUBLE.
16594 * elf/elf.h (EF_RISCV_RVC): New define.
16595 (EF_RISCV_FLOAT_ABI): Likewise.
16596 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
16597 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
16598 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
16599 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
16600 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
16602 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
16604 2018-01-25 Andreas Schwab <schwab@suse.de>
16606 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
16608 * sysdeps/gnu/configure: Regenerate.
16609 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
16610 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
16612 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
16613 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
16614 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
16615 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
16616 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
16618 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16620 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
16621 URL, and run autoconf, make it the default for now.
16623 2018-01-24 Joseph Myers <joseph@codesourcery.com>
16625 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16626 soft-float ColdFire configuration.
16628 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
16629 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
16630 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
16632 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
16635 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
16637 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
16639 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
16642 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
16643 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
16644 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
16647 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
16650 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
16651 Rename to __reserved and add comment.
16652 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
16653 Rename to __reserved.
16655 2018-01-24 Joseph Myers <joseph@codesourcery.com>
16657 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16658 i686-gnu configurations.
16659 (Context.run_builds): Include mig, gnumach and hurd in components
16661 (Context.checkout): Add mig, gnumach and hurd to components.
16662 (Context.checkout_tar): Add URL mappings for mig, gnumach and
16664 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
16665 (Config.build): Install gnumach headers, build mig and install
16666 hurd headers for 'gnu' OS.
16667 (Config.install_gnumach_headers): New function.
16668 (Config.install_hurd_headers): Likewise.
16669 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
16670 when building for 'gnu' OS.
16672 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
16674 * manual/tunables.texi (Hardware Capability Tunables): Fix
16677 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
16679 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
16680 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
16681 (ALTMON_11, ALTMON_12): Improve documentation.
16682 * manual/time.texi (strftime): Likewise.
16684 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16687 * localedata/locales/pl_PL: Alternative month names added,
16688 primary month names are genitive now.
16689 * time/tst-strptime.c (day_tests): Actually use a genitive case
16690 of a month name in Polish language.
16692 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16695 * manual/locale.texi: Document ALTMON_1..12 constants for
16696 nl_langinfo. Specify when to use ALTMON instead of MON.
16697 * manual/time.texi (strftime, strptime): Document GNU extension
16698 permitting O modifier with %B and %b. Specify when to use
16701 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16704 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
16705 names, define them as the same as abbreviated month names explicitly.
16706 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
16707 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
16708 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
16709 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
16710 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
16711 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
16712 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
16713 _NL_WABALTMON_12): New enum constants.
16714 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
16715 wab_alt_mon, and ab_alt_mon_defined members.
16716 (time_output): Output ab_alt_mon and wab_alt_mon members.
16717 (time_read): Read them, initialize them as copies of abmon and wabmon
16718 respectively if they are missing, initialize ab_alt_mon_defined.
16719 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
16720 * locale/programs/locfile-kw.h: Regenerate.
16721 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
16722 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
16724 * time/strftime_l.c (a_altmonth, aam_len): New macros.
16725 [!COMPILE_WIDE] (ABALTMON_1): New macro.
16726 (__strftime_internal): Handle %Ob and %Oh formats.
16727 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
16728 (__strptime_internal): Handle %Ob and %Oh formats.
16729 * time/tst-strptime.c (day_tests): Add more tests to parse different
16730 forms of month names including the new %Ob format specifier.
16732 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16735 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
16736 define them as the same as primary full month names explicitly.
16737 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
16738 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
16739 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
16740 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
16741 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
16742 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
16743 _NL_WALTMON_12): New enum constants.
16744 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
16745 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
16747 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
16748 walt_mon, and alt_mon_defined members.
16749 (time_output): Output alt_mon and walt_mon members.
16750 (time_read): Read them, initialize them as copies of mon and wmon
16751 respectively if they are missing, initialize alt_mon_defined.
16752 * locale/programs/locfile-kw.gperf (alt_mon): Define.
16753 * locale/programs/locfile-kw.h: Regenerate.
16754 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
16755 * localedata/tst-langinfo.c (map): Add tests for the new constants
16756 ALTMON_1 .. ALTMON_12.
16757 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
16759 * time/strftime_l.c (f_altmonth): New macro.
16760 (__strftime_internal): Handle %OB format.
16761 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
16762 (__strptime_internal): Handle %OB format.
16763 * time/tst-strptime.c (day_tests): Add tests to parse different forms
16764 of month names including the new %OB format specifier.
16766 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16769 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
16770 from ABORT_TRANSACTION.
16771 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
16772 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
16773 ABORT_TRANSACTION_IMPL): Likewise.
16774 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
16775 Linux code, but remove the code that aborts transactions.
16777 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
16779 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
16781 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
16783 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
16784 in date: "2004-14-09" should be "2004-09-14".
16785 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
16786 "2003-15-09" should be "2003-09-15".
16788 2018-01-18 Arjun Shankar <arjun@redhat.com>
16794 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
16796 (_int_memalign): check for integer overflow before calling
16798 * malloc/tst-malloc-too-large.c: New test.
16799 * malloc/Makefile: Add tst-malloc-too-large.
16801 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
16803 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
16804 in date: "2017-24-07" should be "2017-07-24".
16805 * localedata/locales/mai_IN: Likewise.
16806 * localedata/locales/mai_NP: Likewise.
16808 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
16810 * po/ru.po: Update translations.
16812 2018-01-17 Joseph Myers <joseph@codesourcery.com>
16815 * sysdeps/hppa/backtrace.c: New file.
16817 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
16820 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
16821 align La_x86_64_retval to VEC_SIZE.
16823 2018-01-16 Joseph Myers <joseph@codesourcery.com>
16825 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
16826 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
16828 2018-01-16 Florian Weimer <fweimer@redhat.com>
16830 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
16831 Move tst-thread-exit-clobber ...
16832 [$(CXX)] (tests-unsupported): ... to here.
16834 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
16836 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
16837 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
16838 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
16839 (_dl_aarch64_cap_flags): Update.
16840 (_DL_HWCAP_COUNT): Update.
16842 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
16844 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
16845 (_DL_HWCAP_LAST): Remove.
16846 (_DL_HWCAP_COUNT): Move to ...
16847 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
16848 (_DL_HWCAP_COUNT): ... here.
16850 2018-01-16 Florian Weimer <fweimer@redhat.com>
16852 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
16853 mode with GNU extensions.
16855 2018-01-15 Alan Hayward <alan.hayward@arm.com>
16857 * elf/elf.h (NT_ARM_SVE): Define.
16859 2018-01-15 Florian Weimer <fweimer@redhat.com>
16862 * nptl/tst-minstack-throw.cc: New file.
16863 * nptl/Makefile (tests): Add tst-minstack-throw.
16864 (LDLIBS-tst-minstack-throw): Link with libstdc++.
16865 [!CXX] (tests-unsupported): Add tst-minstack-throw.
16867 2018-01-15 Joseph Myers <joseph@codesourcery.com>
16869 * scripts/build-many-glibcs.py (Context.checkout): Default
16870 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
16873 2018-01-13 Carlos O'Donell <carlos@redhat.com>
16876 * elf/elf.h (DF_1_STUB): Define.
16877 (DF_1_PIE): Define.
16879 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16882 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
16883 Do not add 0.5 to integer or out-of-range arguments.
16885 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
16887 * po/bg.po: Update translations.
16888 * po/cs.po: Likewise.
16889 * po/de.po: Likewise.
16890 * po/ko.po: Likewise.
16891 * po/pl.po: Likewise.
16892 * po/sv.po: Likewise.
16893 * po/uk.po: Likewise.
16894 * po/vi.po: Likewise.
16896 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16898 * aarch64/start.S (_start): Use __wrap_main.
16899 (__wrap_main): New local symbol.
16901 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
16905 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
16906 generic_getcwd if the path returned by getcwd syscall is not absolute.
16907 * io/tst-getcwd-abspath.c: New test.
16908 * io/Makefile (tests): Add tst-getcwd-abspath.
16910 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
16912 * malloc/malloc.c (malloc_consolidate): Add size check.
16914 2018-01-12 Florian Weimer <fweimer@redhat.com>
16916 * support/write_message.c (write_message): Preserve errno.
16917 * support/check.c (print_failure): Likewise.
16918 * support/support_test_verify_impl.c (support_test_verify_impl):
16920 * support/support_test_compare_failure.c
16921 (support_test_compare_failure): Likewise.
16923 2018-01-12 Florian Weimer <fweimer@redhat.com>
16926 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
16927 Prevent installation of libnsl.so.
16928 (libnsl-inhibit-o): Do not build (or install) static libraries.
16930 2018-01-12 Egmont Koblinger <egmont@gmail.com>
16933 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
16934 before the day number which may produce a double space.
16935 (date_fmt): Likewise.
16937 2018-01-12 Joseph Myers <joseph@codesourcery.com>
16939 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
16940 instead of fegetenv.
16942 2018-01-11 Joseph Myers <joseph@codesourcery.com>
16945 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
16946 comment to say exceptions are discarded.
16947 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
16949 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
16952 2018-01-11 Florian Weimer <fweimer@redhat.com>
16954 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
16957 2018-01-11 Florian Weimer <fweimer@redhat.com>
16960 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
16961 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
16963 2018-01-10 Joseph Myers <joseph@codesourcery.com>
16966 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
16967 negative arguments in test for NaN or infinity argument.
16969 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
16971 * po/libc.pot: Regenerate.
16973 2018-01-10 Florian Weimer <fweimer@redhat.com>
16976 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
16977 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
16979 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16981 * hurd/hurd/fd.h: Include <fcntl.h>
16982 (__hurd_at_flags): New function.
16983 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
16984 with call to __hurd_at_flags.
16985 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
16986 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
16988 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
16989 (__access_noerrno): Use __faccessat_common instead of access_common.
16990 (__access): Likewise.
16991 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
16992 with a call to __faccessat.
16993 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
16994 (__faccessat_common): ... this. Move implementation of __access into it when
16995 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
16996 reauthenticate_cwdir_at helper to implement AT mechanism.
16997 (__faccessat_noerrno): New function, just calls __faccessat_common.
16998 (__faccessat): New function, just calls __faccessat_common.
16999 (faccessat): Define weak alias.
17001 2018-01-10 Joseph Myers <joseph@codesourcery.com>
17004 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17005 (CFLAGS-s_fmaxmagl.c): New variable.
17006 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
17009 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
17010 long int for arguments of possibly overflowing addition or
17012 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17014 2018-01-09 Joseph Myers <joseph@codesourcery.com>
17017 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17018 (CFLAGS-e_remainderl.c): New variable.
17021 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
17023 (CFLAGS-s_cacoshl.c): Likewise.
17024 (CFLAGS-s_casinhl.c): Likewise.
17025 (CFLAGS-s_catanl.c): Likewise.
17026 (CFLAGS-s_catanhl.c): Likewise.
17027 (CFLAGS-s_cexpl.c): Likewise.
17028 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
17029 (CFLAGS-s_csinhl.c): Likewise.
17030 (CFLAGS-s_clogl.c): Likewise.
17031 (CFLAGS-s_clog10l.c): Likewise.
17032 (CFLAGS-s_csinl.c): Likewise.
17033 (CFLAGS-s_csqrtl.c): Likewise.
17035 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
17036 2017-01-09 Svante Signell <svante.signell@gmail.com>
17038 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
17039 (_hurd_exec_paths): New function.
17040 * hurd/hurd.h (_hurd_exec): Deprecate function.
17041 (_hurd_exec_paths): Declare function.
17042 * hurd/Versions: Export _hurd_exec_paths.
17043 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
17044 (__execve): Use __getcwd to build absolute path, and use
17045 _hurd_exec_paths instead of _hurd_exec.
17046 * sysdeps/mach/hurd/spawni.c: Likewise.
17047 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
17050 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
17052 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
17053 test instead of failing in case of ENOENT returned by posix_openpt.
17055 2018-01-08 Florian Weimer <fweimer@redhat.com>
17057 resolv: Support binary labels in test framework.
17058 * support/resolv_test.c (struct to_be_freed): Remove.
17059 (struct compressed_name): New.
17060 (allocate_compressed_name, ascii_tolower)
17061 (compare_compressed_name): New functions.
17062 (struct resolv_response_builder): Update type of
17063 compression_offsets for use with tsearch. Rempve to_be_freed.
17064 (response_push_pointer_to_free): Remove function.
17065 (resolv_response_add_name): Rewrite using struct compressed_name
17066 and tsearch instead of hsearch_r.
17067 (response_builder_allocate): Remove initialization of
17068 compression_offsets.
17069 (response_builder_free): Update for removal of to_be_freed. Use
17070 tdestroy instead of hdestroy_r.
17071 * resolv/Makefile (tests): Add tst-resolv-binary.
17072 (tst-resolv-binary): Link with -lresolv -lpthread.
17074 2018-01-08 Florian Weimer <fweimer@redhat.com>
17076 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
17077 time. Pass positive flag instead of negative flag to
17078 support_test_compare_failure.
17079 (support_test_compare_failure): Change negative parameter to
17081 * support/support_test_compare_failure.c (report)
17082 (support_test_compare_failure): Likewise.
17083 * support/tst-test_compare.c (return_ssize_t, return_int): New.
17084 (do_test): Check int/size_t, ssize_t/size_t comparisons.
17086 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
17089 * nptl/descr.h (stackblock, stackblock_size): Update comments.
17090 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
17091 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
17093 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
17095 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
17097 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17098 Add s_sincosf-sse2 and s_sincosf-fma.
17099 (CFLAGS-s_sincosf-fma.c): New.
17100 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
17101 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
17102 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
17103 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
17104 __sincosf is defined.
17106 2018-01-08 Florian Weimer <fweimer@redhat.com>
17108 * nptl/tst-thread-exit-clobber.cc: New file.
17109 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
17111 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
17112 (tests): Add tst-thread-exit-clobber.
17113 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
17115 2018-01-08 Florian Weimer <fweimer@redhat.com>
17117 * support/check.h (support_static_assert): Define.
17118 (TEST_COMPARE): Use it.
17120 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
17122 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
17123 [!__RLIM_T_MATCHES_RLIM64_T]
17124 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
17125 __getrlimit64. Add libc_hidden_weak.
17127 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
17129 * elf/elf.h (R_RISCV_NONE): New define.
17130 (R_RISCV_32): Likewise.
17131 (R_RISCV_64): Likewise.
17132 (R_RISCV_RELATIVE): Likewise.
17133 (R_RISCV_COPY): Likewise.
17134 (R_RISCV_JUMP_SLOT): Likewise.
17135 (R_RISCV_TLS_DTPMOD32): Likewise.
17136 (R_RISCV_TLS_DTPMOD64): Likewise.
17137 (R_RISCV_TLS_DTPREL32): Likewise.
17138 (R_RISCV_TLS_DTPREL64): Likewise.
17139 (R_RISCV_TLS_TPREL32): Likewise.
17140 (R_RISCV_TLS_TPREL64): Likewise.
17141 * Makerules (make-link-multidir): Make directories before linking into
17143 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
17145 (VDSO_HASH_LINUX_4_15): Likewise.
17146 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
17147 in subdirectories of lib.
17148 * nptl/Makefile (/librt.so): Always depend on
17149 "$(shared-thread-library)".
17151 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17153 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
17154 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
17155 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
17157 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
17158 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
17160 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
17161 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
17162 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
17163 * sysdeps/gnu/glob-lstat-compat.c: New file.
17164 * sysdeps/gnu/glob64-lstat-compat.c: New file.
17165 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
17167 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17169 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
17170 Reserve 16 chars to reloc_addr before calling _itoa_word.
17172 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17175 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
17176 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
17178 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
17179 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
17181 * resource/tst-getrlimit.c: Add copyright header.
17183 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17184 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17186 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
17187 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
17188 Define __GI_getrlimit64 as weak alias of __getrlimit64.
17189 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
17191 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
17192 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
17193 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
17194 RLIM64_INFINITY): Fix values to match the kernel ones.
17195 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
17196 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
17197 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
17198 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
17199 getrlimit64@@GLIBC_2_27.
17200 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
17202 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
17203 getrlimit, setrlimit, getrlimit64 and setrlimit64.
17204 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
17205 setrlimit, getrlimit64 and setrlimit64.
17207 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17210 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
17211 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
17213 2018-01-04 Joseph Myers <joseph@codesourcery.com>
17215 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
17216 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
17217 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
17219 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17223 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
17224 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
17228 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
17229 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
17230 * sysdeps/alpha/fpu/s_floor.c: Likewise.
17231 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
17233 2018-01-04 Florian Weimer <fweimer@redhat.com>
17236 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
17237 Align the stack before calling exit.
17238 * stdlib/tst-makecontext-align.c: New file.
17239 * stdlib/Makefile (tests): Add tst-makecontext-align.
17241 2018-01-04 Florian Weimer <fweimer@redhat.com>
17243 Add support for calling dlvsym from libc.so.
17244 * include/dlfcn.h (__libc_dlvsym): Declare.
17245 * elf/Makefile (tests-static-internal): Add
17246 tst-libc_dlvsym-static.
17247 (tests-internal): Add tst-libc_dlvsym.
17248 (modules-names): Add tst-libc_dlvsym-dso.
17249 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
17250 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
17251 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
17252 object tst-libc_dlvsym-dso.so needs to be built before running
17254 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
17255 * elf/Versions: Export __libc_dlvsym.
17256 * elf/dl-libc.c (struct do_dlvsym_args): New.
17257 (do_dlvsym, __libc_dlvsym): New functions.
17258 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
17259 (_dl_open_hook2): New variable.
17260 (__libc_register_dl_open_hook): Set it.
17261 * elf/tst-libc_dlvsym-dso.c: New file.
17262 * elf/tst-libc_dlvsym-static.c: Likewise.
17263 * elf/tst-libc_dlvsym.c: Likewise.
17264 * elf/tst-libc_dlvsym.h: Likewise.
17266 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17268 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
17269 include <sys/mount.h>.
17271 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
17273 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
17274 Add __NO_MATH_ERRNO__ check.
17276 2018-01-02 Joseph Myers <joseph@codesourcery.com>
17278 * sysdeps/mips/mips32/libm-test-ulps: Update.
17279 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17281 2018-01-02 Florian Weimer <fweimer@redhat.com>
17283 * misc/tst-pselect.c: Add copyright header.
17285 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
17287 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
17289 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
17291 (settrlimit): Rename into setrlimit.
17292 (__sttrlimit): Rename into __setrlimit.
17294 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
17295 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
17296 never defined in that case.
17298 2018-01-02 Joseph Myers <joseph@codesourcery.com>
17300 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
17302 * sysdeps/arm/libm-test-ulps: Update.
17304 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
17305 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
17307 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17309 * NEWS: Add cosf and sincosf to list of optimized functions.
17311 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
17314 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
17315 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
17316 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
17317 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
17319 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
17322 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
17324 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
17325 making a copy of it.
17327 2018-01-01 Joseph Myers <joseph@codesourcery.com>
17329 * manual/texinfo.tex: Update to version 2017-12-26.21 with
17330 trailing whitespace removed.
17331 * scripts/config.guess: Update to version 2018-01-01.
17332 * scripts/config.sub: Update to version 2018-01-01.
17333 * scripts/move-if-change: Update from gnulib.
17335 * NEWS: Update copyright dates.
17336 * catgets/gencat.c (print_version): Likewise.
17337 * csu/version.c (banner): Likewise.
17338 * debug/catchsegv.sh: Likewise.
17339 * debug/pcprofiledump.c (print_version): Likewise.
17340 * debug/xtrace.sh (do_version): Likewise.
17341 * elf/ldconfig.c (print_version): Likewise.
17342 * elf/ldd.bash.in: Likewise.
17343 * elf/pldd.c (print_version): Likewise.
17344 * elf/sotruss.sh: Likewise.
17345 * elf/sprof.c (print_version): Likewise.
17346 * iconv/iconv_prog.c (print_version): Likewise.
17347 * iconv/iconvconfig.c (print_version): Likewise.
17348 * locale/programs/locale.c (print_version): Likewise.
17349 * locale/programs/localedef.c (print_version): Likewise.
17350 * login/programs/pt_chown.c (print_version): Likewise.
17351 * malloc/memusage.sh (do_version): Likewise.
17352 * malloc/memusagestat.c (print_version): Likewise.
17353 * malloc/mtrace.pl: Likewise.
17354 * manual/libc.texinfo: Likewise.
17355 * nptl/version.c (banner): Likewise.
17356 * nscd/nscd.c (print_version): Likewise.
17357 * nss/getent.c (print_version): Likewise.
17358 * nss/makedb.c (print_version): Likewise.
17359 * posix/getconf.c (main): Likewise.
17360 * scripts/test-installation.pl: Likewise.
17361 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17363 * All files with FSF copyright notices: Update copyright dates
17364 using scripts/update-copyrights.
17365 * locale/programs/charmap-kw.h: Regenerated.
17366 * locale/programs/locfile-kw.h: Likewise.
17368 2017-12-31 Zack Weinberg <zackw@panix.com>
17370 * libio/bits/libio-ldbl.h: Correct check for improper
17371 inclusion. Add own multiple include guard.
17373 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
17374 Dmitry V. Levin <ldv@altlinux.org>
17378 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
17379 string token expansion. Check for NULL pointer or empty string possibly
17380 returned by expand_dynamic_string_token.
17381 (decompose_rpath): Check for empty path after dynamic string
17384 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
17387 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
17389 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
17390 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
17391 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
17392 and PTRACE_SYSCALL.
17393 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
17394 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17395 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17396 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17397 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17398 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
17400 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
17401 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
17402 __ptrace_peeksiginfo_flags, ptrace): Move to ...
17403 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
17404 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17405 bits/ptrace-shared.h.
17406 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
17407 <bits/ptrace-shared.h>.
17408 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
17409 __ptrace_peeksiginfo_flags, ptrace): Remove.
17410 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17411 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17412 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17413 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17414 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
17416 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
17419 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
17420 end of the loop. Improve comments.
17422 2017-12-29 Zack Weinberg <zackw@panix.com>
17425 * manual/errno.texi (Checking for Errors): Explicitly say that errno
17426 might be set on success.
17428 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
17431 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
17432 is unchanged on success.
17434 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
17436 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
17438 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
17439 expand_dynamic_string_token): Likewise.
17440 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
17443 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
17446 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
17447 is set and name contains ':', and all code depending on these checks.
17449 2017-12-24 Zack Weinberg <zackw@panix.com>
17451 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
17452 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
17454 * libio/libio.h: Rename the original version of this file to
17455 libio/bits/libio.h. Error out if not included by stdio.h or the
17457 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
17458 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
17459 if not included by bits/libio.h or the stub _G_config.h.
17460 * sysdeps/unix/sysv/linux/_G_config.h: Move to
17461 sysdeps/unix/sysv/linux/bits. Error out if not included by
17462 bits/libio.h or the stub _G_config.h.
17463 * libio/stdio.h: Include bits/libio.h, not libio.h.
17464 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
17465 well as libio.h and _G_config.h.
17467 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
17468 * libio/strfile.h, stdio-common/vfscanf.c
17469 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
17470 Include stdio.h, not _G_config.h nor libio.h.
17471 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
17472 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
17474 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
17476 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
17479 * stdlib/getrandom.c (getrandom): Fix comment.
17480 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
17482 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
17485 * manual/arith.texi (strtoul): Fix a typo.
17488 * manual/arith.texi (finite): Fix the description of the return
17491 2017-12-22 Eric Blake <ebb9@byu.net>
17493 Avoid gcc warnings on cygwin
17494 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
17495 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
17496 Avoid unused variable.
17498 2017-12-22 Florian Weimer <fweimer@redhat.com>
17500 * io/Makefile (routines): Add copy_file_range.
17501 (tests): Add tst-copy_file_range.
17502 (tests-static, tests-internal): Add tst-copy_file_range-compat.
17503 * io/Versions (GLIBC_2.27): Export copy_file_range.
17504 * io/copy_file_range-compat.c: New file.
17505 * io/copy_file_range.c: Likewise.
17506 * io/tst-copy_file_range-compat.c: Likewise.
17507 * io/tst-copy_file_range.c: Likewise.
17508 * manual/llio.texi (Copying File Data): New section.
17509 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
17510 * support/Makefile (libsupport-routines): Add support-xfstat,
17511 xftruncate, xlseek.
17512 * support/support-xfstat.c: New file.
17513 * support/xftruncate.c: Likewise.
17514 * support/xlseek.c: Likewise.
17515 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
17516 * sysdeps/unix/sysv/linux/**.abilist: Update.
17517 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
17519 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
17521 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17522 disable-multi-arch variant to aarch64-linux-gnu.
17524 2017-12-20 Joseph Myers <joseph@codesourcery.com>
17526 * manual/texinfo.tex: Update to version 2017-12-18.20 with
17527 trailing whitespace removed.
17528 * scripts/config.guess: Update to version 2017-12-17.
17529 * scripts/config.sub: Update to version 2017-11-23.
17530 * scripts/install-sh: Update to version 2017-09-23.17.
17531 * scripts/move-if-change: Update to version 2017-09-13 06:45.
17533 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17535 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
17536 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
17537 * sysdeps/tile/_mcount.S (__mcount): Likewise.
17538 * sysdeps/tile/crti.S (_init, _fini): Likewise.
17539 * sysdeps/tile/crtn.S: Likewise.
17540 * sysdeps/tile/dl-start.S (_start): Likewise.
17541 * sysdeps/tile/dl-trampoline.S: Likewise.
17542 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
17543 * sysdeps/tile/start.S (_start): Likewise.
17544 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
17545 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
17546 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
17547 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
17548 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
17549 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
17550 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
17552 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
17554 * sysdeps/tile/preconfigure: Remove tilegx folder.
17555 * sysdeps/tile/tilegx/Implies: Move definitions to ...
17556 * sysdeps/tile/Implies: ... here.
17557 * sysdeps/tile/tilegx/Makefile: Move rules to ...
17558 * sysdeps/tile/Makefile: ... here.
17559 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
17560 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
17561 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
17562 * sysdeps/tile/bits/wordsize.h: ... here.
17563 * sysdeps/tile/tilegx/*: Move to ...
17564 * sysdeps/tile/*: ... here.
17565 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
17566 * sysdeps/tile/tilegx32/Implies: ... here.
17567 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
17568 * sysdeps/tile/tilegx64/Implies: ... here.
17569 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
17571 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
17572 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
17573 * sysdeps/unix/sysv/linux/tile/*: ... here.
17574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
17575 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
17576 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
17577 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
17579 * README: Remove tilepro-*-linux-gnu from supported architecture.
17580 * scripts/build-many-glibcs.py: Likewise.
17581 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
17582 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
17583 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
17584 elf_machine_matches_host, elf_machine_dynamic,
17585 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
17586 howto, elf_machine_rela): Likewise.
17587 * sysdeps/tile/dl-start.S (_start): Likewise.
17588 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
17589 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
17590 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
17591 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
17592 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
17593 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
17595 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
17596 * sysdeps/tile/preconfigure: Likewise.
17597 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
17598 POINTER_CHK_GUARD): Likewise.
17599 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
17600 * sysdeps/tile/start.S (_start): Likewise.
17601 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
17603 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
17604 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
17606 * sysdeps/unix/sysv/linux/tile/bits/environments.h
17607 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
17608 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
17610 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
17611 * sysdeps/tile/tilepro/Implies: Remove file.
17612 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
17613 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
17614 * sysdeps/tile/tilepro/memchr.c: Likewise.
17615 * sysdeps/tile/tilepro/memcpy.S: Likewise.
17616 * sysdeps/tile/tilepro/memset.c: Likewise.
17617 * sysdeps/tile/tilepro/memusage.h: Likewise.
17618 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
17619 * sysdeps/tile/tilepro/strchr.c: Likewise.
17620 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
17621 * sysdeps/tile/tilepro/strlen.c: Likewise.
17622 * sysdeps/tile/tilepro/strrchr.c: Likewise.
17623 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
17624 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
17625 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
17626 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
17627 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
17628 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17630 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
17631 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17632 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
17633 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
17634 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17635 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
17636 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
17637 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
17638 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
17639 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
17640 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
17641 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
17642 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
17643 tilepro mention in comment.
17645 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
17646 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
17647 * nptl/pthread_join_common.c: New file: common function used on
17648 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
17649 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
17650 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
17651 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
17652 (cleanup): Move definition to pthread_join_common.c.
17653 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
17654 Remove superflous checks.
17655 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
17658 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
17660 * sysdeps/aarch64/libm-test-ulps: Update.
17662 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17664 * sysdeps/aarch64/memset.S (MEMSET): Define.
17666 2017-12-20 Florian Weimer <fweimer@redhat.com>
17669 nptl: Provide full implementation of pthread_self in libc.so.
17670 * nptl/Makefile (routines): Add pthread_self.
17671 (libpthread-routines): Replace pthread_self with
17672 compat-pthread_self.
17673 * nptl/forward.c (pthread_self): Remove.
17674 * nptl/nptl-init.c (pthread_functions): Do not initialize
17676 * nptl/pthread_self.c (pthread_self): Remove weak alias.
17677 * nptl/compat-pthread_self.c: New file.
17678 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
17679 Remove ptr_pthread_self.
17681 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
17683 * posix/regcomp.c: Fix spelling in comments.
17684 * posix/regex.h: Likewise.
17685 * posix/regex_internal.c: Likewise.
17686 * posix/regexec.c: Likewise.
17688 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17691 * math/Makefile [C++] (tests): Add test for iseqsig.
17692 * math/math.h [C++] (iseqsig): New implementation, which does
17693 not rely on __MATH_TG/__builtin_types_compatible_p.
17694 * math/test-math-iseqsig.cc: New file.
17695 * sysdeps/powerpc/powerpc64le/Makefile
17696 (CFLAGS-test-math-iseqsig.cc): New variable.
17698 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
17700 * elf/dl-load.c (is_trusted_path): Remove.
17701 (fillin_rpath): Remove check_trusted argument and its use,
17702 all callers changed.
17704 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17707 * Makeconfig (link-pie-before-libc): Replace -pie with
17708 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
17709 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
17710 (tst-dlopen-aout-no-pie): New.
17711 (LDFLAGS-tst-prelink): Removed.
17712 (tst-prelink-no-pie): New.
17713 (LDFLAGS-tst-main1): Removed.
17714 (tst-main1-no-pie): New.
17715 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
17716 (tst-gmon-no-pie): New.
17718 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17720 * manual/install.texi: Document that --enable-static-pie
17722 * INSTALL: Regenerated.
17724 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
17727 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
17730 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17734 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17736 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17738 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17740 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
17741 <errno.h>. Include "eexp.tbl".
17742 (half): New constant.
17744 (__ieee754_exp): Rewrite.
17745 (__slowexp): Remove prototype.
17746 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
17747 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
17748 * sysdeps/i386/fpu/slowexp.c: Likewise.
17749 * sysdeps/ia64/fpu/slowexp.c: Likewise.
17750 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
17751 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
17752 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
17753 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17754 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
17755 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
17757 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
17758 (CPPFLAGS-slowexp.c): Remove variable.
17759 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17760 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
17761 (CFLAGS-slowexp-fma.c): Remove variable.
17762 (CFLAGS-slowexp-fma4.c): Likewise.
17763 (CFLAGS-slowexp-avx.c): Likewise.
17764 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
17766 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
17767 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
17768 * math/Makefile (type-double-routines): Remove slowexp.
17769 * manual/probes.texi (slowexp_p6): Remove.
17770 (slowexp_p32): Likewise.
17772 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17774 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
17777 * lib/glob.c (glob): Do not pass NULL to mempcpy.
17779 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17781 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17783 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17785 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
17786 <errno.h>. Include "eexp.tbl".
17787 (half): New constant.
17789 (__ieee754_exp): Rewrite.
17790 (__slowexp): Remove prototype.
17791 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
17792 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
17793 * sysdeps/i386/fpu/slowexp.c: Likewise.
17794 * sysdeps/ia64/fpu/slowexp.c: Likewise.
17795 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
17796 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
17797 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
17798 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17799 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
17800 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
17802 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
17803 (CPPFLAGS-slowexp.c): Remove variable.
17804 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17805 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
17806 (CFLAGS-slowexp-fma.c): Remove variable.
17807 (CFLAGS-slowexp-fma4.c): Likewise.
17808 (CFLAGS-slowexp-avx.c): Likewise.
17809 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
17811 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
17812 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
17813 * math/Makefile (type-double-routines): Remove slowexp.
17814 * manual/probes.texi (slowexp_p6): Remove.
17815 (slowexp_p32): Likewise.
17817 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17818 James Clarke <jrtc27@jrtc27.com>
17821 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
17824 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17827 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
17830 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17833 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17834 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17835 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17836 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17839 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17842 * bits/types/__cancel_jmp_buf_tag.h: New file.
17843 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17844 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17845 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17846 * nptl/Makefile (headers): Add
17847 bits/types/__cancel_jmp_buf_tag.h.
17848 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17849 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17850 * sysdeps/nptl/pthread.h: Include
17851 <bits/types/__cancel_jmp_buf_tag.h>.
17852 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17854 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17856 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
17858 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17859 --enable-static-pie variants to x86_64, x32 and i686.
17861 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17864 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
17865 argument for attrubutes. All callers changed.
17866 (__inline_mathop1): Likewise. All callers changed.
17867 (__inline_mathop): Likewise. All callers changed.
17868 [__USE_MISC] (scalbn): Use __inline_forward instead of
17869 __inline_forward_c.
17870 [__USE_ISOC99] (scalbln): Likewise.
17871 [__USE_ISOC99] (nearbyint): Likewise.
17872 [__USE_ISOC99] (lrint): Likewise.
17873 [__USE_MISC] (scalbnf): Likewise.
17874 [__USE_ISOC99] (scalblnf): Likewise.
17875 [__USE_ISOC99] (nearbyintf): Likewise.
17876 [__USE_ISOC99] (lrintf): Likewise.
17877 [__USE_MISC] (scalbnl): Likewise.
17878 [__USE_ISOC99] (scalblnl): Likewise.
17879 [__USE_ISOC99] (nearbyintl): Likewise.
17880 [__USE_ISOC99] (lrintl): Likewise.
17881 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
17882 __inline_mathop and __m81_defun changed.
17884 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
17885 CPU or FPU for ARM hard-float configurations.
17887 2017-12-18 Joseph Myers <joseph@codesourcery.com>
17889 * nptl/tst-attr3.c: Include <libc-diag.h>.
17890 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
17892 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
17894 * string/tester.c (test_strncat): Also disable -Warray-bounds
17895 warnings for two tests.
17897 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
17900 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
17901 $(cc-pie-default) == yes.
17902 * config.make.in (cc-pie-default): New.
17903 * configure.ac (libc_cv_pie_default): Renamed to ...
17904 (libc_cv_cc_pie_default): This.
17905 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
17906 * configure: Regenerated.
17908 2017-12-18 Florian Weimer <fweimer@redhat.com>
17911 ld.so: Harden dl-libc/libdl hooks.
17912 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
17913 (rtld_active): New function.
17914 * dlfcn/dladdr.c (__dladdr): Call it.
17915 * dlfcn/dladdr1.c (__dladdr1): Likewise.
17916 * dlfcn/dlclose.c (__dlcose): Likewise.
17917 * dlfcn/dlerror.c (__dlerror): Likewise.
17918 * dlfcn/dlinfo.c (__dlinfo): Likewise.
17919 * dlfcn/dlmopen.c (__dlmopen): Likewise.
17920 * dlfcn/dlopen.c (__dlopen): Likewise.
17921 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17922 * dlfcn/dlsym.c (__dlsym): Likewise.
17923 * dlfcn/dlvsym.c (__dlvsym): Likewise.
17924 * libio/vtables.c (_IO_vtable_check): Likewise.
17925 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
17926 (__libc_dlclose): Likewise.
17927 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
17930 2017-12-18 Joseph Myers <joseph@codesourcery.com>
17933 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
17934 buffers for readlink input and output.
17936 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
17939 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
17940 inhibit_stack_protector.
17943 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
17944 inhibit_stack_protector.
17946 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
17949 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
17950 code and invocation.
17952 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
17954 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
17956 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
17959 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
17961 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17963 * sysdeps/s390/fpu/libm-test-ulps: Update.
17965 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17969 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17971 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
17972 constants to s_sincosf.h file.
17973 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17974 * sysdeps/ieee754/flt-32/s_sincosf.c: New
17976 * sysdeps/ieee754/flt-32/s_sincosf.h:
17979 2017-12-12 Carlos O'Donell <carlos@redhat.com>
17982 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
17985 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
17988 * INSTALL: Regenerated.
17989 * Makeconfig (real-static-start-installed-name): New.
17990 (pic-default): Updated for --enable-static-pie.
17991 (pie-default): New for --enable-static-pie.
17992 (default-pie-ldflag): Likewise.
17993 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
17994 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
17995 Replace $(static-start-installed-name) with
17996 $(real-static-start-installed-name).
17997 (+prectorT): Updated for --enable-static-pie.
17998 (+postctorT): Likewise.
17999 (CFLAGS-.o): Add $(pie-default).
18000 (CFLAGS-.op): Likewise.
18001 * NEWS: Mention --enable-static-pie.
18002 * config.h.in (ENABLE_STATIC_PIE): New.
18003 * configure.ac (--enable-static-pie): New configure option.
18004 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
18005 (have-static-pie): Likewise.
18006 Enable static PIE if linker supports --no-dynamic-linker.
18007 (ENABLE_STATIC_PIE): New AC_DEFINE.
18008 (enable-static-pie): New LIBC_CONFIG_VAR.
18009 * configure: Regenerated.
18010 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
18011 gr$(start-installed-name) for --enable-static-pie.
18012 (extra-objs): Likewise.
18013 (install-lib): Likewise.
18014 (extra-objs): Add static-reloc.o and static-reloc.os
18015 ($(objpfx)$(start-installed-name)): Also depend on
18016 $(objpfx)static-reloc.o.
18017 ($(objpfx)r$(start-installed-name)): New.
18018 ($(objpfx)g$(start-installed-name)): Also depend on
18019 $(objpfx)static-reloc.os.
18020 ($(objpfx)gr$(start-installed-name)): New.
18021 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
18023 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
18025 * csu/static-reloc.c: New file.
18026 * elf/Makefile (routines): Add dl-reloc-static-pie.
18027 (elide-routines.os): Likewise.
18028 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
18029 (tst-tls1-static-non-pie-no-pie): New.
18030 * elf/dl-reloc-static-pie.c: New file.
18031 * elf/dl-support.c (_dl_get_dl_main_map): New function.
18032 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
18033 STATIC_PIE_BOOTSTRAP.
18034 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18035 * gmon/Makefile (tests): Add tst-gmon-static-pie.
18036 (tests-static): Likewise.
18037 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
18038 (tst-gmon-static-no-pie): New.
18039 (CFLAGS-tst-gmon-static-pie.c): Likewise.
18040 (CRT-tst-gmon-static-pie): Likewise.
18041 (tst-gmon-static-pie-ENV): Likewise.
18042 (tests-special): Likewise.
18043 ($(objpfx)tst-gmon-static-pie.out): Likewise.
18044 (clean-tst-gmon-static-pie-data): Likewise.
18045 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
18046 * gmon/tst-gmon-static-pie.c: New file.
18047 * manual/install.texi: Document --enable-static-pie.
18048 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
18049 (_dl_get_dl_main_map): Likewise.
18050 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
18051 * sysdeps/x86_64/configure.ac: Likewise.
18052 * sysdeps/i386/configure: Regenerated.
18053 * sysdeps/x86_64/configure: Likewise.
18054 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
18055 (ASFLAGS-.op): Likewise.
18057 2017-12-15 Joseph Myers <joseph@codesourcery.com>
18059 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
18060 * posix/tst-mmap-offset.c (fname): Use /tmp.
18061 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
18063 2017-12-15 Steve Ellcey <sellcey@cavium.com>
18065 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
18067 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
18069 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
18072 2017-12-15 Joseph Myers <joseph@codesourcery.com>
18074 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18075 --with-float=hard for arm-linux-gnueabihf configurations.
18078 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
18079 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
18080 ($(mo-installed)): Use $(objpfx)%.mo.
18081 (realclean): Remove rule.
18083 * po/Makefile (linguas): Remove rule and dependencies.
18084 (linguas.mo): Likewise.
18085 (.PHONY): Do not depend on linguas and linguas.mo.
18086 (podir): Remove variable.
18087 (pofiles): Likewise.
18088 [$(pofiles)] (%.po): Remove rule.
18090 * sysdeps/sparc/sparc32/Makefile
18091 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
18092 start-of-line whitespace in argument of echo.
18093 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
18094 with whitespace. Generate __wrap_.udiv alias.
18095 * sysdeps/sparc/sparc32/rem.S: Regenerated.
18096 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18097 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18098 * sysdeps/sparc/sparc32/urem.S: Likewise.
18100 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18102 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
18103 for aligned inputs.
18105 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
18107 * benchtests/bench-strcmp.c: Print output in JSON format.
18109 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
18111 2017-12-14 Florian Weimer <fweimer@redhat.com>
18115 * elf/dl-load.c (_dl_init_paths): Compute number of components in
18116 the expanded path string.
18118 2017-12-14 Florian Weimer <fweimer@redhat.com>
18122 * elf/dl-load.c (system_dirs): Update comment.
18123 (nsystem_dirs_len): Use array_length.
18124 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
18126 2017-12-14 Florian Weimer <fweimer@redhat.com>
18128 Simplify compiling most of support/ outside of glibc.
18129 * support/check_addrinfo.c: Include <string.h>.
18130 * support/check_dns_packet.c: Likewise.
18131 * support/check_hostent.c: Likewise.
18132 * support/support_can_chroot.c: Include <support/xunistd.h>.
18133 * support/support_format_addrinfo.c: Include <stdlib.h>
18134 * support/support_format_dns_packet.c: Include <stdbool.h>.
18135 * support/support_format_hostent.c: Include <stdlib.h>.
18136 * support/support_format_netent.c: Likewise.
18137 * support/support_write_string.c: Include <support/xunistd.h>.
18138 * support/xdlfcn.c: Include <stddef.h>.
18140 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
18142 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
18144 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18145 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18147 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
18148 (sysdeps_routines): Add memset-niagara7.
18149 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
18151 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
18153 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
18154 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
18155 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
18156 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
18157 Add niagara7 option.
18158 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
18161 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
18162 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
18163 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
18165 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
18167 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
18168 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
18169 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
18170 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
18171 and __memmove_niagara7.
18172 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
18173 Add niagara7 option.
18174 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
18175 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
18176 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
18177 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
18178 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
18180 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
18182 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
18183 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
18184 * sysdeps/sparc/sparc64/memmove.S: Likewise.
18185 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
18187 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
18188 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
18189 _dl_sparc_cap_flags array.
18190 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
18192 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
18194 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
18195 time whenever possible.
18197 2017-12-12 Carlos O'Donell <carlos@redhat.com>
18199 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
18200 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
18202 2017-12-12 Joseph Myers <joseph@codesourcery.com>
18204 * soft-fp/fmadf4.c: Move to ....
18205 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
18206 * soft-fp/fmasf4.c: Move to ....
18207 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
18208 * soft-fp/fmatf4.c: Move to ....
18209 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
18210 * sysdeps/ieee754/soft-fp/Makefile: New file.
18211 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
18212 * sysdeps/arm/preconfigure: Regenerated.
18213 * sysdeps/arm/nofpu/Implies: New file.
18214 * sysdeps/arm/s_fma.c: Remove file.
18215 * sysdeps/arm/s_fmaf.c: Likewise.
18216 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
18217 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
18218 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
18219 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
18220 * sysdeps/microblaze/s_fma.c: Remove file.
18221 * sysdeps/microblaze/s_fmaf.c: Likewise.
18222 * sysdeps/mips/mips32/nofpu/Implies: New file.
18223 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
18224 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
18225 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
18226 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
18227 * sysdeps/mips/ieee754/s_fma.c: Remove file.
18228 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
18229 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
18231 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
18232 * sysdeps/nios2/s_fma.c: Remove file.
18233 * sysdeps/nios2/s_fmaf.c: Likewise.
18234 * sysdeps/sh/nofpu/Implies: New file.
18235 * sysdeps/sh/s_fma.c: Remove file.
18236 * sysdeps/sh/s_fmaf.c: Likewise.
18237 * sysdeps/tile/Implies: Add ieee754/soft-fp.
18238 * sysdeps/tile/s_fma.c: Remove file.
18239 * sysdeps/tile/s_fmaf.c: Likewise.
18241 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
18243 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18244 Add s_cosf-sse2 and s_cosf-fma.
18245 (CFLAGS-s_cosf-fma.c): New.
18246 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
18247 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
18248 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
18250 2017-12-12 Steve Ellcey <sellcey@cavium.com>
18252 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
18254 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18256 * libio/Makefile (tests): Add tst-bz22415.
18257 (tst-bz22415-ENV): New rule.
18258 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
18259 (tests-special): Add tst-bz22415-mem.out.
18260 ($(objpfx)tst-bz22415-mem.out): New rule.
18261 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
18262 in case of a successful seek operation.
18263 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18264 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
18265 buffer is required.
18266 * libio/tst-bz22415.c: New test.
18268 * sysdeps/ia64/fpu/libm-test-ulps: Update.
18270 2017-12-12 James Clarke <jrtc27@jrtc27.com>
18272 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
18273 __IPC_64 to 0 to avoid IPC_64 being set.
18275 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18278 * math/bits/mathcalls.h (nextafter): Remove const.
18279 (nexttoward): Likewise.
18281 2017-12-12 Joseph Myers <joseph@codesourcery.com>
18283 * configure.ac (--with-fp): Remove configure option.
18284 (with_fp_cond): New variable.
18285 (libc_cv_with_fp): New configure test. Use this variable instead
18287 * configure: Regenerated.
18288 * config.make.in (with-fp): Use @libc_cv_with_fp@.
18289 * manual/install.texi (Configuring and compiling): Remove
18291 * INSTALL: Regenerated.
18292 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
18293 * sysdeps/mips/preconfigure (with_fp_cond): Define.
18294 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
18295 * sysdeps/sh/preconfigure (with_fp_cond): Define.
18296 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
18297 use --without-fp to configure glibc.
18299 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
18301 * manual/locale.texi (nl_langinfo): Fix a typo.
18303 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
18306 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
18308 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
18310 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
18311 (CFLAGS-argp-parse.c): Likewise.
18312 (CFLAGS-argp-fmtstream.c): Likewise.
18313 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
18314 (CPPFLAGS-sha512-crypt.c): Likewise.
18315 (CPPFLAGS-md5-crypt.c): Likewise.
18316 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
18317 (CFLAGS-stack_chk_fail_local.c): Likewise.
18318 (CFLAGS-backtrace.c): Likewise.
18319 (CFLAGS-sprintf_chk.c): Likewise.
18320 (CFLAGS-snprintf_chk.c): Likewise.
18321 (CFLAGS-vsprintf_chk.c): Likewise.
18322 (CFLAGS-vsnprintf_chk.c): Likewise.
18323 (CFLAGS-asprintf_chk.c): Likewise.
18324 (CFLAGS-vasprintf_chk.c): Likewise.
18325 (CFLAGS-obprintf_chk.c): Likewise.
18326 (CFLAGS-dprintf_chk.c): Likewise.
18327 (CFLAGS-vdprintf_chk.c): Likewise.
18328 (CFLAGS-printf_chk.c): Likewise.
18329 (CFLAGS-fprintf_chk.c): Likewise.
18330 (CFLAGS-vprintf_chk.c): Likewise.
18331 (CFLAGS-vfprintf_chk.c): Likewise.
18332 (CFLAGS-gets_chk.c): Likewise.
18333 (CFLAGS-fgets_chk.c): Likewise.
18334 (CFLAGS-fgets_u_chk.c): Likewise.
18335 (CFLAGS-fread_chk.c): Likewise.
18336 (CFLAGS-fread_u_chk.c): Likewise.
18337 (CFLAGS-swprintf_chk.c): Likewise.
18338 (CFLAGS-vswprintf_chk.c): Likewise.
18339 (CFLAGS-wprintf_chk.c): Likewise.
18340 (CFLAGS-fwprintf_chk.c): Likewise.
18341 (CFLAGS-vwprintf_chk.c): Likewise.
18342 (CFLAGS-vfwprintf_chk.c): Likewise.
18343 (CFLAGS-fgetws_chk.c): Likewise.
18344 (CFLAGS-fgetws_u_chk.c): Likewise.
18345 (CFLAGS-read_chk.c): Likewise.
18346 (CFLAGS-pread_chk.c): Likewise.
18347 (CFLAGS-pread64_chk.c): Likewise.
18348 (CFLAGS-recv_chk.c): Likewise.
18349 (CFLAGS-recvfrom_chk.c): Likewise.
18350 (CFLAGS-tst-longjmp_chk.c): Likewise.
18351 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
18352 (CFLAGS-tst-longjmp_chk2.c): Likewise.
18353 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
18354 (CFLAGS-tst-longjmp_chk3.c): Likewise.
18355 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18356 (CFLAGS-tst-chk1.c): Likewise.
18357 (CFLAGS-tst-chk2.c): Likewise.
18358 (CFLAGS-tst-chk3.c): Likewise.
18359 (CFLAGS-tst-chk4.cc): Likewise.
18360 (CFLAGS-tst-chk5.cc): Likewise.
18361 (CFLAGS-tst-chk6.cc): Likewise.
18362 (CFLAGS-tst-lfschk1.c): Likewise.
18363 (CFLAGS-tst-lfschk2.c): Likewise.
18364 (CFLAGS-tst-lfschk3.c): Likewise.
18365 (CFLAGS-tst-lfschk4.cc): Likewise.
18366 (CFLAGS-tst-lfschk5.cc): Likewise.
18367 (CFLAGS-tst-lfschk6.cc): Likewise.
18368 (CFLAGS-tst-ssp-1.c): Likewise.
18369 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
18370 (CFLAGS-scandir64.c): Likewise.
18371 (CFLAGS-scandir-tail.c): Likewise.
18372 (CFLAGS-scandir64-tail.c): Likewise.
18373 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
18374 (CFLAGS-dl-tunables.c): Likewise.
18375 (CFLAGS-dl-runtime.c): Likewise.
18376 (CFLAGS-dl-lookup.c): Likewise.
18377 (CFLAGS-dl-iterate-phdr.c): Likewise.
18378 (CFLAGS-vismain.c): Likewise.
18379 (CFLAGS-tst-linkall-static.c): Likewise.
18380 (CFLAGS-tst-linkall-static.c): Likewise.
18381 (CPPFLAGS-dl-load.c): Likewise.
18382 (CFLAGS-ldconfig.c): Likewise.
18383 (CFLAGS-dl-cache.c): Likewise.
18384 (CFLAGS-cache.c): Likewise.
18385 (CFLAGS-rtld.c): Likewise.
18386 (CFLAGS-multiload.c): Likewise.
18387 (CFLAGS-filtmod1.c): Likewise.
18388 (CFLAGS-tst-align.c): Likewise.
18389 (CFLAGS-tst-align2.c): Likewise.
18390 (CFLAGS-tst-alignmod.c): Likewise.
18391 (CFLAGS-tst-alignmod2.c): Likewise.
18392 (CPPFLAGS-tst-execstack.c): Likewise.
18393 (CFLAGS-tst-ptrguard1-static.c): Likewise.
18394 (CFLAGS-tst-latepthreadmod.c): Likewise.
18395 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
18396 (CFLAGS-getgrnam_r.c): Likewise.
18397 (CFLAGS-getgrent_r.c): Likewise.
18398 (CFLAGS-getgrent.c): Likewise.
18399 (CFLAGS-fgetgrent.c): Likewise.
18400 (CFLAGS-fgetgrent_r.c): Likewise.
18401 (CFLAGS-putgrent.c): Likewise.
18402 (CFLAGS-initgroups.c): Likewise.
18403 (CFLAGS-getgrgid.c): Likewise.
18404 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
18405 (CFLAGS-getsgent.c): Likewise.
18406 (CFLAGS-fgetsgent.c): Likewise.
18407 (CFLAGS-fgetsgent_r.c): Likewise.
18408 (CFLAGS-putsgent.c): Likewise.
18409 (CFLAGS-getsgnam.c): Likewise.
18410 (CFLAGS-getsgnam_r.c): Likewise.
18411 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
18412 (CFLAGS-iconv_charmap.c): Likewise.
18413 (CFLAGS-dummy-repertoire.c): Likewise.
18414 (CFLAGS-charmap.c): Likewise.
18415 (CFLAGS-linereader.c): Likewise.
18416 (CFLAGS-simple-hash.c): Likewise.
18417 (CFLAGS-gconv_conf.c): Likewise.
18418 (CFLAGS-iconvconfig.c): Likewise.
18419 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18420 (CFLAGS-gethstbyad.c): Likewise.
18421 (CFLAGS-gethstbynm_r.c): Likewise.
18422 (CFLAGS-gethstbynm.c): Likewise.
18423 (CFLAGS-gethstbynm2_r.c): Likewise.
18424 (CFLAGS-gethstbynm2.c): Likewise.
18425 (CFLAGS-gethstent_r.c): Likewise.
18426 (CFLAGS-gethstent.c): Likewise.
18427 (CFLAGS-rcmd.c): Likewise.
18428 (CFLAGS-getnetbynm_r.c): Likewise.
18429 (CFLAGS-getnetbynm.c): Likewise.
18430 (CFLAGS-getnetbyad_r.c): Likewise.
18431 (CFLAGS-getnetbyad.c): Likewise.
18432 (CFLAGS-getnetent_r.c): Likewise.
18433 (CFLAGS-getnetent.c): Likewise.
18434 (CFLAGS-getaliasent_r.c): Likewise.
18435 (CFLAGS-getaliasent.c): Likewise.
18436 (CFLAGS-getrpcent_r.c): Likewise.
18437 (CFLAGS-getrpcent.c): Likewise.
18438 (CFLAGS-getservent_r.c): Likewise.
18439 (CFLAGS-getservent.c): Likewise.
18440 (CFLAGS-getprtent_r.c): Likewise.
18441 (CFLAGS-getprtent.c): Likewise.
18442 (CFLAGS-either_ntoh.c): Likewise.
18443 (CFLAGS-either_hton.c): Likewise.
18444 (CFLAGS-getnetgrent.c): Likewise.
18445 (CFLAGS-getnetgrent_r.c): Likewise.
18446 (CFLAGS-tst-checks-posix.c): Likewise.
18447 (CFLAGS-tst-sockaddr.c): Likewise.
18448 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
18449 (CFLAGS-tst-translit.c): Likewise.
18450 (CFLAGS-tst-gettext2.c): Likewise.
18451 (CFLAGS-tst-codeset.c): Likewise.
18452 (CFLAGS-tst-gettext3.c): Likewise.
18453 (CFLAGS-tst-gettext4.c): Likewise.
18454 (CFLAGS-tst-gettext5.c): Likewise.
18455 (CFLAGS-tst-gettext6.c): Likewise.
18456 * io/Makefile (CFLAGS-open.c): Likewise.
18457 (CFLAGS-open64.c): Likewise.
18458 (CFLAGS-creat.c): Likewise.
18459 (CFLAGS-creat64.c): Likewise.
18460 (CFLAGS-fcntl.c): Likewise.
18461 (CFLAGS-poll.c): Likewise.
18462 (CFLAGS-ppoll.c): Likewise.
18463 (CFLAGS-lockf.c): Likewise.
18464 (CFLAGS-statfs.c): Likewise.
18465 (CFLAGS-fstatfs.c): Likewise.
18466 (CFLAGS-statvfs.c): Likewise.
18467 (CFLAGS-fstatvfs.c): Likewise.
18468 (CFLAGS-fts.c): Likewise.
18469 (CFLAGS-fts64.c): Likewise.
18470 (CFLAGS-ftw.c): Likewise.
18471 (CFLAGS-ftw64.c): Likewise.
18472 (CFLAGS-lockf.c): Likewise.
18473 (CFLAGS-posix_fallocate.c): Likewise.
18474 (CFLAGS-posix_fallocate64.c): Likewise.
18475 (CFLAGS-fallocate.c): Likewise.
18476 (CFLAGS-fallocate64.c): Likewise.
18477 (CFLAGS-read.c): Likewise.
18478 (CFLAGS-write.c): Likewise.
18479 (CFLAGS-test-stat.c): Likewise.
18480 (CFLAGS-test-lfs.c): Likewise.
18481 * libio/Makefile (CFLAGS-fileops.c): Likewise.
18482 (CFLAGS-fputc.c): Likewise.
18483 (CFLAGS-fputwc.c): Likewise.
18484 (CFLAGS-freopen64.c): Likewise.
18485 (CFLAGS-freopen.c): Likewise.
18486 (CFLAGS-fseek.c): Likewise.
18487 (CFLAGS-fseeko64.c): Likewise.
18488 (CFLAGS-fseeko.c): Likewise.
18489 (CFLAGS-ftello64.c): Likewise.
18490 (CFLAGS-ftello.c): Likewise.
18491 (CFLAGS-fwide.c): Likewise.
18492 (CFLAGS-genops.c): Likewise.
18493 (CFLAGS-getc.c): Likewise.
18494 (CFLAGS-getchar.c): Likewise.
18495 (CFLAGS-getwc.c): Likewise.
18496 (CFLAGS-getwchar.c): Likewise.
18497 (CFLAGS-iofclose.c): Likewise.
18498 (CFLAGS-iofflush.c): Likewise.
18499 (CFLAGS-iofgetpos64.c): Likewise.
18500 (CFLAGS-iofgetpos.c): Likewise.
18501 (CFLAGS-iofgets.c): Likewise.
18502 (CFLAGS-iofgetws.c): Likewise.
18503 (CFLAGS-iofputs.c): Likewise.
18504 (CFLAGS-iofputws.c): Likewise.
18505 (CFLAGS-iofread.c): Likewise.
18506 (CFLAGS-iofsetpos64.c): Likewise.
18507 (CFLAGS-iofsetpos.c): Likewise.
18508 (CFLAGS-ioftell.c): Likewise.
18509 (CFLAGS-iofwrite.c): Likewise.
18510 (CFLAGS-iogetdelim.c): Likewise.
18511 (CFLAGS-iogetline.c): Likewise.
18512 (CFLAGS-iogets.c): Likewise.
18513 (CFLAGS-iogetwline.c): Likewise.
18514 (CFLAGS-ioputs.c): Likewise.
18515 (CFLAGS-ioseekoff.c): Likewise.
18516 (CFLAGS-ioseekpos.c): Likewise.
18517 (CFLAGS-iosetbuffer.c): Likewise.
18518 (CFLAGS-iosetvbuf.c): Likewise.
18519 (CFLAGS-ioungetc.c): Likewise.
18520 (CFLAGS-ioungetwc.c): Likewise.
18521 (CFLAGS-oldfileops.c): Likewise.
18522 (CFLAGS-oldiofclose.c): Likewise.
18523 (CFLAGS-oldiofgetpos64.c): Likewise.
18524 (CFLAGS-oldiofgetpos.c): Likewise.
18525 (CFLAGS-oldiofsetpos64.c): Likewise.
18526 (CFLAGS-oldiofsetpos.c): Likewise.
18527 (CFLAGS-peekc.c): Likewise.
18528 (CFLAGS-putc.c): Likewise.
18529 (CFLAGS-putchar.c): Likewise.
18530 (CFLAGS-putwc.c): Likewise.
18531 (CFLAGS-putwchar.c): Likewise.
18532 (CFLAGS-rewind.c): Likewise.
18533 (CFLAGS-wfileops.c): Likewise.
18534 (CFLAGS-wgenops.c): Likewise.
18535 (CFLAGS-oldiofopen.c): Likewise.
18536 (CFLAGS-iofopen.c): Likewise.
18537 (CFLAGS-iofopen64.c): Likewise.
18538 (CFLAGS-oldtmpfile.c): Likewise.
18539 (CFLAGS-tst_putwc.c): Likewise.
18540 * locale/Makefile (CFLAGS-md5.c): Likewise.
18541 (CFLAGS-charmap.c): Likewise.
18542 (CFLAGS-locfile.c): Likewise.
18543 (CFLAGS-charmap-dir.c): Likewise.
18544 * login/Makefile (CFLAGS-grantpt.c): Likewise.
18545 (CFLAGS-getpt.c): Likewise.
18546 (CFLAGS-pt_chown.c): Likewise.
18547 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
18548 (CFLAGS-obstack.c): Likewise.
18549 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
18550 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
18551 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
18552 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
18553 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
18554 (CFLAGS-test-tgmath.c): Likewise.
18555 (CFLAGS-test-tgmath2.c): Likewise.
18556 (CFLAGS-test-tgmath-ret.c): Likewise.
18557 (CFLAGS-test-powl.c): Likewise.
18558 (CFLAGS-test-snan.c): Likewise.
18559 (CFLAGS-test-signgam-finite.c): Likewise.
18560 (CFLAGS-test-signgam-finite-c99.c): Likewise.
18561 (CFLAGS-test-signgam-finite-c11.c): Likewise.
18562 (CFLAGS-test-signgam-uchar.c): Likewise.
18563 (CFLAGS-test-signgam-uchar-init.c): Likewise.
18564 (CFLAGS-test-signgam-uchar-static.c): Likewise.
18565 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
18566 (CFLAGS-test-signgam-uint.c): Likewise.
18567 (CFLAGS-test-signgam-uint-init.c): Likewise.
18568 (CFLAGS-test-signgam-uint-static.c): Likewise.
18569 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
18570 (CFLAGS-test-signgam-ullong.c): Likewise.
18571 (CFLAGS-test-signgam-ullong-init.c): Likewise.
18572 (CFLAGS-test-signgam-ullong-static.c): Likewise.
18573 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
18574 (CFLAGS-test-math-cxx11.cc): Likewise.
18575 (CFLAGS-test-math-isinff.cc): Likewise.
18576 (CFLAGS-test-math-iszero.cc): Likewise.
18577 (CFLAGS-test-math-issignaling.cc): Likewise.
18578 (CFLAGS-test-math-iscanonical.cc): Likewise.
18579 (CFLAGS-test-iszero-excess-precision.c): Likewise.
18580 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
18581 (CFLAGS-test-flt-eval-method.c): Likewise.
18582 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
18583 (CFLAGS-test-finite-macros.c): Likewise.
18584 * misc/Makefile (CFLAGS-select.c): Likewise.
18585 (CFLAGS-tsearch.c): Likewise.
18586 (CFLAGS-lsearch.c): Likewise.
18587 (CFLAGS-pselect.c): Likewise.
18588 (CFLAGS-readv.c): Likewise.
18589 (CFLAGS-writev.c): Likewise.
18590 (CFLAGS-preadv.c): Likewise.
18591 (CFLAGS-preadv64.c): Likewise.
18592 (CFLAGS-pwritev.c): Likewise.
18593 (CFLAGS-pwritev64.c): Likewise.
18594 (CFLAGS-preadv2.c): Likewise.
18595 (CFLAGS-preadv64v2.c): Likewise.
18596 (CFLAGS-pwritev2.c): Likewise.
18597 (CFLAGS-pwritev64v2.c): Likewise.
18598 (CFLAGS-usleep.c): Likewise.
18599 (CFLAGS-syslog.c): Likewise.
18600 (CFLAGS-error.c): Likewise.
18601 (CFLAGS-getpass.c): Likewise.
18602 (CFLAGS-mkstemp.c): Likewise.
18603 (CFLAGS-mkstemp64.c): Likewise.
18604 (CFLAGS-getsysstats.c): Likewise.
18605 (CFLAGS-getusershell.c): Likewise.
18606 (CFLAGS-err.c): Likewise.
18607 (CFLAGS-tst-tsearch.c): Likewise.
18608 (CFLAGS-msync.c): Likewise.
18609 (CFLAGS-fdatasync.c): Likewise.
18610 (CFLAGS-fsync.c): Likewise.
18611 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
18612 (CFLAGS-unwind.c): Likewise.
18613 (CFLAGS-unwind-forcedunwind.c): Likewise.
18614 (CFLAGS-pthread_cancel.c): Likewise.
18615 (CFLAGS-pthread_setcancelstate.c): Likewise.
18616 (CFLAGS-pthread_setcanceltype.c): Likewise.
18617 (CFLAGS-cancellation.c): Likewise.
18618 (CFLAGS-libc-cancellation.c): Likewise.
18619 (CFLAGS-pthread_exit.c): Likewise.
18620 (CFLAGS-forward.c): Likewise.
18621 (CFLAGS-pthread_testcancel.c): Likewise.
18622 (CFLAGS-pthread_join.c): Likewise.
18623 (CFLAGS-pthread_timedjoin.c): Likewise.
18624 (CFLAGS-pthread_once.c): Likewise.
18625 (CFLAGS-pthread_cond_wait.c): Likewise.
18626 (CFLAGS-sem_wait.c): Likewise.
18627 (CFLAGS-sem_timedwait.c): Likewise.
18628 (CFLAGS-fcntl.c): Likewise.
18629 (CFLAGS-lockf.c): Likewise.
18630 (CFLAGS-pread.c): Likewise.
18631 (CFLAGS-pread64.c): Likewise.
18632 (CFLAGS-pwrite.c): Likewise.
18633 (CFLAGS-pwrite64.c): Likewise.
18634 (CFLAGS-wait.c): Likewise.
18635 (CFLAGS-waitpid.c): Likewise.
18636 (CFLAGS-sigwait.c): Likewise.
18637 (CFLAGS-msgrcv.c): Likewise.
18638 (CFLAGS-msgsnd.c): Likewise.
18639 (CFLAGS-tcdrain.c): Likewise.
18640 (CFLAGS-open.c): Likewise.
18641 (CFLAGS-open64.c): Likewise.
18642 (CFLAGS-pause.c): Likewise.
18643 (CFLAGS-recv.c): Likewise.
18644 (CFLAGS-send.c): Likewise.
18645 (CFLAGS-accept.c): Likewise.
18646 (CFLAGS-sendto.c): Likewise.
18647 (CFLAGS-connect.c): Likewise.
18648 (CFLAGS-recvfrom.c): Likewise.
18649 (CFLAGS-recvmsg.c): Likewise.
18650 (CFLAGS-sendmsg.c): Likewise.
18651 (CFLAGS-close.c): Likewise.
18652 (CFLAGS-read.c): Likewise.
18653 (CFLAGS-write.c): Likewise.
18654 (CFLAGS-nanosleep.c): Likewise.
18655 (CFLAGS-sigsuspend.c): Likewise.
18656 (CFLAGS-msync.c): Likewise.
18657 (CFLAGS-fdatasync.c): Likewise.
18658 (CFLAGS-fsync.c): Likewise.
18659 (CFLAGS-pt-system.c): Likewise.
18660 (CFLAGS-tst-cleanup2.c): Likewise.
18661 (CFLAGS-tst-cleanupx2.c): Likewise.
18662 (CFLAGS-flockfile.c): Likewise.
18663 (CFLAGS-ftrylockfile.c): Likewise.
18664 (CFLAGS-funlockfile.c): Likewise.
18665 (CFLAGS-tst-initializers1.c): Likewise.
18666 (CFLAGS-tst-initializers1-c89.c): Likewise.
18667 (CFLAGS-tst-initializers1-c99.c): Likewise.
18668 (CFLAGS-tst-initializers1-c11.c): Likewise.
18669 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
18670 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
18671 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
18672 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
18673 (CFLAGS-nscd_getgr_r.c): Likewise.
18674 (CFLAGS-nscd_gethst_r.c): Likewise.
18675 (CFLAGS-nscd_getai.c): Likewise.
18676 (CFLAGS-nscd_initgroups.c): Likewise.
18677 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
18678 (CFLAGS-pause.c): Likewise.
18679 (CFLAGS-pread.c): Likewise.
18680 (CFLAGS-pread64.c): Likewise.
18681 (CFLAGS-pwrite.c): Likewise.
18682 (CFLAGS-pwrite64.c): Likewise.
18683 (CFLAGS-sleep.c): Likewise.
18684 (CFLAGS-wait.c): Likewise.
18685 (CFLAGS-waitid.c): Likewise.
18686 (CFLAGS-waitpid.c): Likewise.
18687 (CFLAGS-getopt.c): Likewise.
18688 (CFLAGS-wordexp.c): Likewise.
18689 (CFLAGS-sysconf.c): Likewise.
18690 (CFLAGS-pathconf.c): Likewise.
18691 (CFLAGS-fpathconf.c): Likewise.
18692 (CFLAGS-spawn.c): Likewise.
18693 (CFLAGS-spawnp.c): Likewise.
18694 (CFLAGS-spawni.c): Likewise.
18695 (CFLAGS-glob.c): Likewise.
18696 (CFLAGS-glob64.c): Likewise.
18697 (CFLAGS-getconf.c): Likewise.
18698 (CFLAGS-nanosleep.c): Likewise.
18699 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
18700 (CFLAGS-getpwent.c): Likewise.
18701 (CFLAGS-getpw.c): Likewise.
18702 (CFLAGS-fgetpwent_r.c): Likewise.
18703 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
18704 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
18705 (CFLAGS-mq_timedreceive.c): Likewise.
18706 (CFLAGS-mq_timedsend.c): Likewise.
18707 (CFLAGS-clock_nanosleep.c): Likewise.
18708 (CFLAGS-librt-cancellation.c): Likewise.
18709 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
18710 (CFLAGS-getspent.c): Likewise.
18711 (CFLAGS-fgetspent.c): Likewise.
18712 (CFLAGS-fgetspent_r.c): Likewise.
18713 (CFLAGS-putspent.c): Likewise.
18714 (CFLAGS-getspnam.c): Likewise.
18715 (CFLAGS-getspnam_r.c): Likewise.
18716 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
18717 (CFLAGS-sigsuspend.c): Likewise.
18718 (CFLAGS-sigtimedwait.c): Likewise.
18719 (CFLAGS-sigwait.c): Likewise.
18720 (CFLAGS-sigwaitinfo.c): Likewise.
18721 (CFLAGS-sigreturn.c): Likewise.
18722 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
18723 (CFLAGS-vfwprintf.c): Likewise.
18724 (CFLAGS-tmpfile.c): Likewise.
18725 (CFLAGS-tmpfile64.c): Likewise.
18726 (CFLAGS-tempname.c): Likewise.
18727 (CFLAGS-psignal.c): Likewise.
18728 (CFLAGS-vprintf.c): Likewise.
18729 (CFLAGS-cuserid.c): Likewise.
18730 (CFLAGS-errlist.c): Likewise.
18731 (CFLAGS-siglist.c): Likewise.
18732 (CFLAGS-scanf15.c): Likewise.
18733 (CFLAGS-scanf17.c): Likewise.
18734 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
18735 (CFLAGS-msort.c): Likewise.
18736 (CFLAGS-qsort.c): Likewise.
18737 (CFLAGS-system.c): Likewise.
18738 (CFLAGS-fmtmsg.c): Likewise.
18739 (CFLAGS-strfmon.c): Likewise.
18740 (CFLAGS-strfmon_l.c): Likewise.
18741 (CFLAGS-strfromd.c): Likewise.
18742 (CFLAGS-strfromf.c): Likewise.
18743 (CFLAGS-strfroml.c): Likewise.
18744 (CFLAGS-tst-bsearch.c): Likewise.
18745 (CFLAGS-tst-qsort.c): Likewise.
18746 (CFLAGS-tst-makecontext2.c): Likewise.
18747 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
18748 (CFLAGS-xnlm_prot.c): Likewise.
18749 (CFLAGS-xrstat.c): Likewise.
18750 (CFLAGS-xyppasswd.c): Likewise.
18751 (CFLAGS-xklm_prot.c): Likewise.
18752 (CFLAGS-xrex.c): Likewise.
18753 (CFLAGS-xsm_inter.c): Likewise.
18754 (CFLAGS-xmount.c): Likewise.
18755 (CFLAGS-xrusers.c): Likewise.
18756 (CFLAGS-xspray.c): Likewise.
18757 (CFLAGS-xnfs_prot.c): Likewise.
18758 (CFLAGS-xrquota.c): Likewise.
18759 (CFLAGS-xkey_prot.c): Likewise.
18760 (CFLAGS-auth_unix.c): Likewise.
18761 (CFLAGS-key_call.c): Likewise.
18762 (CFLAGS-pmap_rmt.c): Likewise.
18763 (CFLAGS-clnt_perr.c): Likewise.
18764 (CFLAGS-openchild.c): Likewise.
18765 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
18766 (CFLAGS-msgsnd.c): Likewise.
18767 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
18768 * time/Makefile (CFLAGS-tzfile.c): Likewise.
18769 (CFLAGS-tzset.c): Likewise.
18770 (CFLAGS-getdate.c): Likewise.
18771 (CFLAGS-test_time.c): Likewise.
18772 (CPPFLAGS-tst-tzname.c): Likewise.
18773 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
18774 (CFLAGS-zic.c): Likewise.
18775 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
18776 (CFLAGS-wcswidth.c): Likewise.
18777 (CFLAGS-wcstol.c): Likewise.
18778 (CFLAGS-wcstoul.c): Likewise.
18779 (CFLAGS-wcstoll.c): Likewise.
18780 (CFLAGS-wcstoull.c): Likewise.
18781 (CFLAGS-wcstod.c): Likewise.
18782 (CFLAGS-wcstold.c): Likewise.
18783 (CFLAGS-wcstof128.c): Likewise.
18784 (CFLAGS-wcstof.c): Likewise.
18785 (CFLAGS-wcstol_l.c): Likewise.
18786 (CFLAGS-wcstoul_l.c): Likewise.
18787 (CFLAGS-wcstoll_l.c): Likewise.
18788 (CFLAGS-wcstoull_l.c): Likewise.
18789 (CFLAGS-wcstod_l.c): Likewise.
18790 (CFLAGS-wcstold_l.c): Likewise.
18791 (CFLAGS-wcstof128_l.c): Likewise.
18792 (CFLAGS-wcstof_l.c): Likewise.
18793 (CPPFLAGS-tst-wchar-h.c): Likewise.
18794 (CPPFLAGS-wcstold_l.c): Likewise.
18796 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
18798 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
18800 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18801 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18803 * manual/tunables.texi (Hardware Capability Tunables): Document
18804 glibc.tune.cached_memopt.
18805 * sysdeps/powerpc/cpu-features.c: New file.
18806 * sysdeps/powerpc/cpu-features.h: New file.
18807 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
18808 _dl_powerpc_cpu_features.
18809 * sysdeps/powerpc/dl-tunables.list: New file.
18810 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
18811 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
18812 (INIT_ARCH): Initialize use_aligned_memopt.
18813 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
18814 IS_IN(rtld))]: Restrict dl_platform_init availability and
18815 initialize CPU features used by tunables.
18816 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
18817 Add memcpy-power8-cached.
18818 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
18819 __memcpy_power8_cached.
18820 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
18821 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
18824 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
18826 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
18827 (CFLAGS-noinl-tester.c): Likewise.
18828 (CFLAGS-tst-strlen.c): Likewise.
18829 (CFLAGS-stratcliff.c): Likewise.
18830 (CFLAGS-test-ffs.c): Likewise.
18831 (CFLAGS-tst-inlcall.c): Likewise.
18832 (CFLAGS-tst-xbzero-opt.c): Likewise.
18833 (CFLAGS-memcpy.c): Likewise.
18834 (CFLAGS-wordcopy.c): Likewise.
18836 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18838 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
18839 Store r15 on stack and add cfi rule.
18840 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
18843 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
18846 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
18849 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
18851 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18852 Add s_sinf-sse2 and s_sinf-fma.
18853 (CFLAGS-s_sinf-fma.c): New.
18854 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
18855 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
18856 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
18858 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
18860 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
18862 2017-12-07 Joseph Myers <joseph@codesourcery.com>
18865 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
18866 part of result to imaginary part of argument if it is zero and the
18867 real part of the argument is not finite.
18868 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
18869 of result to real part of argument if it is zero and the imaginary
18870 part of the argument is not finite.
18872 2017-12-07 Mike FABIAN <mfabian@redhat.com>
18875 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
18876 and to the list of locales to be built for testing.
18877 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
18878 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
18879 and build the collation rules upon that.
18881 2017-12-07 Joseph Myers <joseph@codesourcery.com>
18883 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
18884 * manual/math.texi (Mathematics): Document support for _Float32.
18885 * math/Makefile (test-types): Add float32.
18886 * math/Versions (GLIBC_2.27): Add _Float32 functions.
18887 * stdlib/Versions (GLIBC_2.27): Likewise.
18888 * wcsmbs/Versions (GLIBC_2.27): Likewise.
18889 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
18890 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18891 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18892 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18893 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18894 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18895 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18896 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18897 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18898 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18899 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18900 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18901 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18902 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18903 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18904 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18905 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18906 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18907 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18908 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18909 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
18911 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18912 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18913 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18914 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18915 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
18927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
18929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18933 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18934 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18935 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18936 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18937 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18938 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18939 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18940 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18941 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18942 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18943 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18945 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18947 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18949 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18951 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18952 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18953 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18954 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18955 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18956 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18957 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18958 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18960 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18962 * stdlib/strtof.c: Include <bits/floatn.h>
18963 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
18964 and later undefine as macro. Define as weak alias if
18966 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
18967 and later undefine as macro. Define as weak alias if
18969 * stdlib/strtof_l.c: Include <bits/floatn.h>
18970 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
18971 and later undefine as macro. Define as weak alias if
18973 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
18974 and later undefine as macro. Define as weak alias if
18977 * stdlib/strfromf.c: Include <bits/floatn.h>.
18978 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
18979 and later undefine as macro and define as weak alias.
18981 * math/test-float32.h: New file.
18983 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
18984 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
18985 (libm_alias_float_other_r): Create f32 alias.
18986 (libm_alias_float_r): Use semicolon before call to
18987 libm_alias_float_other_r.
18989 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
18990 second argument to libm_alias_float_other.
18991 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
18992 second argument to libm_alias_float_other.
18993 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
18994 argument to libm_alias_float_other.
18997 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
18998 real part of result for argument 0 + i * NaN.
18999 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
19000 results for tests of 0 + i * NaN.
19002 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19004 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19006 2017-12-06 David S. Miller <davem@davemloft.net>
19008 * sysdeps/sparc/fpu/libm-test-ulps: Update
19009 exp_{downward,towardzero,upward} ulps.
19011 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19013 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
19016 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
19018 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
19020 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
19022 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
19025 2017-12-06 Mike FABIAN <mfabian@redhat.com>
19028 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
19029 and to the list of locales to be built for testing.
19030 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
19031 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
19032 and build the collation rules upon that.
19034 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19036 * NEWS: Add sinf to list of optimized functions.
19038 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19040 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
19041 (__HAVE_FLOAT32X): Likewise.
19042 * manual/math.texi (Mathematics): Document support for _Float64
19044 * math/Makefile (test-types): Add float64 and float32x.
19045 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
19047 * stdlib/Versions (GLIBC_2.27): Likewise.
19048 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19049 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19050 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19051 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19052 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19053 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19054 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19055 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19056 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19057 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19058 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19059 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19060 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19061 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19062 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19063 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19064 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19065 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19066 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19067 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19068 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19069 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19071 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19072 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19073 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19074 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19075 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19092 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19093 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19094 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19095 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19096 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19097 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19098 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19099 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19100 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19101 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19102 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19104 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19106 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19108 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19110 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19111 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19112 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19113 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19114 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19115 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19116 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19117 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19119 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19121 * bits/floatn-common.h: Include <bits/long-double.h>.
19122 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19123 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
19124 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19125 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
19126 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19127 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
19128 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19129 (__builtin_huge_valf64): Use __builtin_huge_vall.
19130 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19131 (__builtin_inff64): Use __builtin_infl.
19132 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19133 (__builtin_nanf64): Use __builtin_nanl.
19134 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19135 (__builtin_nansf64): Use __builtin_nansl.
19137 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
19138 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19139 Carlos O'Donnell <carlos@redhat.com>
19141 * elf/dl-tunables.list: Add elision parameters.
19142 * manual/tunables.texi: Add entries about elision tunable.
19143 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
19144 Add callback functions to dynamically enable/disable elision.
19145 Add multiple callbacks functions to set elision parameters.
19146 Deleted __libc_enable_secure check.
19147 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
19148 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
19149 * configure: Regenerated.
19150 * configure.ac: Option enable_lock_elision was deleted.
19151 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
19152 * config.make.in: Remove references to enable_lock_elision.
19153 * manual/install.texi: Elision configure option was removed.
19154 * INSTALL: Regenerated to remove enable_lock_elision.
19156 Disable elision so it can verify error case for destroying a mutex.
19157 * sysdeps/powerpc/nptl/elide.h:
19158 Cleanup ENABLE_LOCK_ELISION check.
19159 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
19160 * sysdeps/s390/configure: Regenerated.
19161 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
19162 * nptl/tst-mutex8.c:
19163 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
19164 * sysdeps/powerpc/powerpc32/sysdep.h:
19165 Deleted all ENABLE_LOCK_ELISION checks.
19166 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19167 * sysdeps/powerpc/sysdep.h: Likewise.
19168 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
19169 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
19170 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19171 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19172 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19173 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
19174 enable-lock-elision.
19176 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19178 * stdlib/strtod.c: Include <bits/floatn.h>.
19179 (BUILD_DOUBLE): New macro.
19180 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19181 (strtof64): Define and later undefine as macro. Define as weak
19182 alias if [!USE_WIDE_CHAR].
19183 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19184 (wcstof64): Define and later undefine as macro. Define as weak
19185 alias if [USE_WIDE_CHAR].
19186 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19187 (strtof32x): Define and later undefine as macro. Define as weak
19188 alias if [!USE_WIDE_CHAR].
19189 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19190 (wcstof32x): Define and later undefine as macro. Define as weak
19191 alias if [USE_WIDE_CHAR].
19192 * stdlib/strtod_l.c: Include <bits/floatn.h>.
19193 (BUILD_DOUBLE): New macro.
19194 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19195 (strtof64_l): Define and later undefine as macro. Define as weak
19196 alias if [!USE_WIDE_CHAR].
19197 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19198 (wcstof64_l): Define and later undefine as macro. Define as weak
19199 alias if [USE_WIDE_CHAR].
19200 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19201 (strtof32x_l): Define and later undefine as macro. Define as weak
19202 alias if [!USE_WIDE_CHAR].
19203 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19204 (wcstof32x_l): Define and later undefine as macro. Define as weak
19205 alias if [USE_WIDE_CHAR].
19207 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19209 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
19210 (reduced): Use ones as double instead of integer.
19212 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
19214 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
19216 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19218 * stdlib/strfromd.c: Include <bits/floatn.h>.
19219 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
19220 and later undefine as macro and define as weak alias.
19221 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
19224 * math/test-float32x.h: New file.
19225 * math/test-float64.h: Likewise.
19227 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
19228 (libm_alias_double_other_r_f64): New macro.
19229 (libm_alias_double_other_r_f32x): Likewise.
19230 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
19231 libm_alias_double_other_r_f32x.
19232 (libm_alias_double_r): Use semicolon before call to
19233 libm_alias_double_other_r.
19234 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
19236 (libm_alias_double_other_r_f64): New macro.
19237 (libm_alias_double_other_r_f32x): Likewise.
19238 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
19239 libm_alias_double_other_r_f32x.
19241 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
19243 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
19245 (SINF_FUNC): Likewise. Replace floor with simple casts.
19247 2017-12-05 Mike FABIAN <mfabian@redhat.com>
19250 * localedata/Makefile: Add et_EE.UTF-8 to test-input
19251 and to the list of locales to be built for testing.
19252 * localedata/et_EE.UTF-8.in: New file for testing the collation.
19253 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
19254 and build the collation rules upon that.
19256 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
19258 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
19259 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
19260 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
19261 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
19262 instead of __insn__xxx.
19263 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
19264 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
19265 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
19266 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
19267 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
19268 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
19270 2017-12-05 Florian Weimer <fweimer@redhat.com>
19272 Linux: Implement interfaces for memory protection keys
19273 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
19275 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
19276 * support/xunistd.h (xsysconf): Declare.
19277 * support/xraise.c: New file.
19278 * support/xsigaction.c: Likewise.
19279 * support/xsignal.c: Likewise.
19280 * support/xsysconf.c: Likewise.
19281 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
19282 pkey_set, pkey_get, pkey_mprotect.
19283 [misc] (tests): Add tst-pkey.
19284 (tst-pkey): Link with -lpthread.
19285 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
19286 pkey_free, pkey_set, pkey_get, pkey_mprotect.
19287 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
19288 (PKEY_DISABLE_WRITE): Define.
19289 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
19291 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
19292 (SEGV_PKUERR): Add.
19293 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
19294 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
19295 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
19296 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
19298 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
19299 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
19300 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
19301 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
19302 * sysdeps/unix/sysv/linux/**.abilist: Update.
19304 2017-12-05 Florian Weimer <fweimer@redhat.com>
19306 * support/tst-test_compare.c (subprocess): Use long long instead
19307 of long argument for consistent type width across 32-bit and
19308 64-bit architectures.
19309 (do_test): Adjust expected output.
19311 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19313 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
19314 (cosf): Define using libm_alias_float.
19315 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
19316 (fabsf): Define using libm_alias_float.
19317 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
19318 (fmaf): Define using libm_alias_float.
19319 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
19320 (rintf): Define using libm_alias_float.
19321 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
19322 (sinf): Define using libm_alias_float.
19323 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
19324 <libm-alias-float.h>.
19325 (modff): Define using libm_alias_float.
19326 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
19327 <libm-alias-float.h>.
19328 (logbf): Define using libm_alias_float.
19329 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
19330 <libm-alias-float.h>.
19331 (ceilf): Define using libm_alias_float.
19332 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
19333 <libm-alias-float.h>.
19334 (copysignf): Define using libm_alias_float.
19335 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
19336 <libm-alias-float.h>.
19337 (floorf): Define using libm_alias_float.
19338 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
19339 <libm-alias-float.h>.
19340 (llrintf): Define using libm_alias_float.
19341 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
19342 <libm-alias-float.h>.
19343 (llroundf): Define using libm_alias_float.
19344 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
19345 <libm-alias-float.h>.
19346 (lrintf): Define using libm_alias_float.
19347 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
19348 <libm-alias-float.h>.
19349 (lroundf): Define using libm_alias_float.
19350 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
19351 <libm-alias-float.h>.
19352 (nearbyintf): Define using libm_alias_float.
19353 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
19354 <libm-alias-float.h>.
19355 (rintf): Define using libm_alias_float.
19356 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
19357 <libm-alias-float.h>.
19358 (roundf): Define using libm_alias_float.
19359 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
19360 <libm-alias-float.h>.
19361 (truncf): Define using libm_alias_float.
19362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
19363 Include <libm-alias-float.h>.
19364 (ceilf): Define using libm_alias_float.
19365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
19366 Include <libm-alias-float.h>.
19367 (copysignf): Define using libm_alias_float.
19368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
19369 Include <libm-alias-float.h>.
19370 (floorf): Define using libm_alias_float.
19371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
19372 Include <libm-alias-float.h>.
19373 (llrintf): Define using libm_alias_float.
19374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
19375 Include <libm-alias-float.h>.
19376 (llroundf): Define using libm_alias_float.
19377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
19378 Include <libm-alias-float.h>.
19379 (logbf): Define using libm_alias_float.
19380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
19381 Include <libm-alias-float.h>.
19382 (lrintf): Define using libm_alias_float.
19383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
19384 Include <libm-alias-float.h>.
19385 (lroundf): Define using libm_alias_float.
19386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
19387 Include <libm-alias-float.h>.
19388 (modff): Define using libm_alias_float.
19389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
19390 Include <libm-alias-float.h>.
19391 (roundf): Define using libm_alias_float.
19392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
19393 Include <libm-alias-float.h>.
19394 (truncf): Define using libm_alias_float.
19395 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
19396 <libm-alias-float.h>.
19397 (llrintf): Define using libm_alias_float.
19398 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
19399 <libm-alias-float.h>.
19400 (llroundf): Define using libm_alias_float.
19401 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
19402 <libm-alias-float.h>.
19403 (ceilf): Define using libm_alias_float.
19404 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
19405 <libm-alias-float.h>.
19406 (floorf): Define using libm_alias_float.
19407 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
19408 <libm-alias-float.h>.
19409 (llroundf): Define using libm_alias_float.
19410 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
19411 <libm-alias-float.h>.
19412 (lroundf): Define using libm_alias_float.
19413 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
19414 <libm-alias-float.h>.
19415 (roundf): Define using libm_alias_float.
19416 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
19417 <libm-alias-float.h>.
19418 (truncf): Define using libm_alias_float.
19419 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
19420 <libm-alias-float.h>.
19421 (copysignf): Define using libm_alias_float.
19422 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
19423 <libm-alias-float.h>.
19424 (llrintf): Define using libm_alias_float.
19425 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
19426 <libm-alias-float.h>.
19427 (llroundf): Define using libm_alias_float.
19428 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
19429 <libm-alias-float.h>.
19430 (lrintf): Define using libm_alias_float.
19431 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
19432 <libm-alias-float.h>.
19433 (lroundf): Define using libm_alias_float.
19434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
19435 <libm-alias-float.h>.
19436 (ceilf): Define using libm_alias_float.
19437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
19438 <libm-alias-float.h>.
19439 (copysignf): Define using libm_alias_float.
19440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
19441 <libm-alias-float.h>.
19442 (cosf): Define using libm_alias_float.
19443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
19444 <libm-alias-float.h>.
19445 (floorf): Define using libm_alias_float.
19446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
19447 <libm-alias-float.h>.
19448 (llrintf): Define using libm_alias_float.
19449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
19450 <libm-alias-float.h>.
19451 (llroundf): Define using libm_alias_float.
19452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
19453 <libm-alias-float.h>.
19454 (logbf): Define using libm_alias_float.
19455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
19456 <libm-alias-float.h>.
19457 (modff): Define using libm_alias_float.
19458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
19459 <libm-alias-float.h>.
19460 (roundf): Define using libm_alias_float.
19461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
19462 <libm-alias-float.h>.
19463 (sinf): Define using libm_alias_float.
19464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
19465 <libm-alias-float.h>.
19466 (truncf): Define using libm_alias_float.
19467 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
19468 <libm-alias-float.h>.
19469 (ceilf): Define using libm_alias_float.
19470 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
19471 <libm-alias-float.h>.
19472 (copysignf): Define using libm_alias_float.
19473 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
19474 <libm-alias-float.h>.
19475 (floorf): Define using libm_alias_float.
19476 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
19477 <libm-alias-float.h>.
19478 (llrintf): Define using libm_alias_float.
19479 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
19480 <libm-alias-float.h>.
19481 (llroundf): Define using libm_alias_float.
19482 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
19483 <libm-alias-float.h>.
19484 (nearbyintf): Define using libm_alias_float.
19485 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
19486 <libm-alias-float.h>.
19487 (rintf): Define using libm_alias_float.
19488 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
19489 <libm-alias-float.h>.
19490 (roundf): Define using libm_alias_float.
19491 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
19492 <libm-alias-float.h>.
19493 (truncf): Define using libm_alias_float.
19494 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
19495 <libm-alias-float.h>.
19496 (ceilf): Define using libm_alias_float.
19497 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
19498 <libm-alias-float.h>.
19499 (floorf): Define using libm_alias_float.
19500 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
19501 <libm-alias-float.h>.
19502 (llroundf): Define using libm_alias_float.
19503 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
19504 <libm-alias-float.h>.
19505 (roundf): Define using libm_alias_float.
19506 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
19507 <libm-alias-float.h>.
19508 (truncf): Define using libm_alias_float.
19509 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
19510 <libm-alias-float.h>.
19511 (copysignf): Define using libm_alias_float.
19512 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
19513 <libm-alias-float.h>.
19514 (llrintf): Define using libm_alias_float.
19515 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
19516 <libm-alias-float.h>.
19517 (llroundf): Define using libm_alias_float.
19518 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
19519 <libm-alias-float.h>.
19520 (cosf): Define using libm_alias_float.
19521 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
19522 <libm-alias-float.h>.
19523 (llrintf): Define using libm_alias_float.
19524 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
19525 <libm-alias-float.h>.
19526 (llroundf): Define using libm_alias_float.
19527 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
19528 <libm-alias-float.h>.
19529 (sinf): Define using libm_alias_float.
19531 2017-12-04 Florian Weimer <fweimer@redhat.com>
19533 * support/check.h (TEST_COMPARE): Define.
19534 (support_test_compare_failure): Declare.
19535 * support/Makefile (libsupport-routines): Add
19536 support_test_compare_failure.
19537 (tests): Add tst-test_compare.
19538 * support /support_test_compare_failure.c: New file.
19539 * support/tst-test_compare.c: Likewise.
19541 2017-12-04 Mike FABIAN <mfabian@redhat.com>
19544 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
19545 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
19546 available, this rewrite of the collation rules does reproduce
19547 the test file in the same order.
19549 2017-12-04 Mike FABIAN <mfabian@redhat.com>
19552 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
19553 digraphs in the month and day names. Using single code points for
19554 digraphs is deprecated. While there are dedicated Unicode
19555 codepoints, for the digraphs, these are included for backwards
19556 compatibility and modern texts use a sequence of Basic Latin
19557 characters. See: https://www.unicode.org/faq/ligature_digraph.html
19558 This makes the month and day names agree exactly with CLDR now,
19559 CLDR does not use the single code points for the digraphs either.
19561 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
19563 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
19565 2017-12-04 Joseph Myers <joseph@codesourcery.com>
19567 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
19570 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
19572 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
19573 Define only for libc.so.
19575 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
19577 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19578 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
19579 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
19580 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
19581 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19583 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19586 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
19588 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
19591 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
19592 PREINIT_FUNCTION_WEAK is nonzero.
19593 (gmon_initializer): New function. Put procedure label for it in
19594 .init_array section.
19595 (_init): Don't call PREINIT_FUNCTION.
19596 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
19597 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
19598 value when map argument is null.
19600 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
19601 depi instruction from PIC pc-relative sequence.
19602 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
19603 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
19604 (elf_machine_load_address): Likewise.
19605 (elf_machine_runtime_setup): Likewise.
19607 2017-12-02 Joseph Myers <joseph@codesourcery.com>
19609 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
19610 <libm-alias-double.h>.
19611 (logb): Define using libm_alias_double.
19612 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
19613 <libm-alias-double.h>.
19614 (copysign): Define using libm_alias_double.
19615 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
19616 <libm-alias-double.h>.
19617 (llrint): Define using libm_alias_double.
19618 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
19619 <libm-alias-double.h>.
19620 (llround): Define using libm_alias_double.
19621 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
19622 <libm-alias-double.h>.
19623 (lrint): Define using libm_alias_double.
19624 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
19625 <libm-alias-double.h>.
19626 (lround): Define using libm_alias_double.
19627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
19628 Include <libm-alias-double.h>.
19629 (copysign): Define using libm_alias_double.
19630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
19631 Include <libm-alias-double.h>.
19632 (llrint): Define using libm_alias_double.
19633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
19634 Include <libm-alias-double.h>.
19635 (llround): Define using libm_alias_double.
19636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
19637 <libm-alias-double.h>.
19638 (logb): Define using libm_alias_double.
19639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
19640 Include <libm-alias-double.h>.
19641 (lrint): Define using libm_alias_double.
19642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
19643 Include <libm-alias-double.h>.
19644 (lround): Define using libm_alias_double.
19645 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
19646 <libm-alias-double.h>.
19647 (llrint): Define using libm_alias_double.
19648 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
19649 <libm-alias-double.h>.
19650 (llround): Define using libm_alias_double.
19651 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
19652 <libm-alias-double.h>.
19653 (llround): Define using libm_alias_double.
19654 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
19655 <libm-alias-double.h>.
19656 (lround): Define using libm_alias_double.
19657 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
19658 <libm-alias-double.h>.
19659 (copysign): Define using libm_alias_double.
19660 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
19661 <libm-alias-double.h>.
19662 (llrint): Define using libm_alias_double.
19663 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
19664 <libm-alias-double.h>.
19665 (llround): Define using libm_alias_double.
19666 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
19667 <libm-alias-double.h>.
19668 (lrint): Define using libm_alias_double.
19669 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
19670 <libm-alias-double.h>.
19671 (lround): Define using libm_alias_double.
19672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
19673 <libm-alias-double.h>.
19674 (copysign): Define using libm_alias_double.
19675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
19676 <libm-alias-double.h>.
19677 (llrint): Define using libm_alias_double.
19679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
19680 <libm-alias-double.h>.
19681 (llround): Define using libm_alias_double.
19682 (lround): Likewise.
19683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
19684 <libm-alias-double.h>.
19685 (logb): Define using libm_alias_double.
19686 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
19687 <libm-alias-double.h>.
19688 (copysign): Define using libm_alias_double.
19689 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
19690 <libm-alias-double.h>.
19691 (llrint): Define using libm_alias_double.
19693 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
19694 <libm-alias-double.h>.
19695 (llround): Define using libm_alias_double.
19696 (lround): Likewise.
19697 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
19698 <libm-alias-double.h>.
19699 (llround): Define using libm_alias_double.
19700 (lround): Likewise.
19701 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
19702 <libm-alias-double.h>.
19703 (copysign): Define using libm_alias_double.
19704 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
19705 <libm-alias-double.h>.
19706 (llrint): Define using libm_alias_double.
19708 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
19709 <libm-alias-double.h>.
19710 (llround): Define using libm_alias_double.
19711 (lround): Likewise.
19712 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
19713 <libm-alias-double.h>.
19714 (llrint): Define using libm_alias_double.
19716 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
19717 <libm-alias-double.h>.
19718 (llround): Define using libm_alias_double.
19719 (lround): Likewise.
19721 2017-12-01 Joseph Myers <joseph@codesourcery.com>
19723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
19724 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
19725 compat symbol based on llround.
19727 * sysdeps/powerpc/power7/fpu/s_logb.c
19728 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
19729 symbol based on __logb, not on logb.
19730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
19731 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
19732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
19733 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
19735 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
19736 (rint): Define using libm_alias_double.
19737 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
19738 <libm-alias-double.h>.
19739 (modf): Define using libm_alias_double.
19740 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
19741 <libm-alias-double.h>.
19742 (ceil): Define using libm_alias_double.
19743 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
19744 <libm-alias-double.h>.
19745 (floor): Define using libm_alias_double.
19746 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
19747 <libm-alias-double.h>.
19748 (nearbyint): Define using libm_alias_double.
19749 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
19750 <libm-alias-double.h>.
19751 (rint): Define using libm_alias_double.
19752 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
19753 <libm-alias-double.h>.
19754 (round): Define using libm_alias_double.
19755 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
19756 <libm-alias-double.h>.
19757 (trunc): Define using libm_alias_double.
19758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
19759 <libm-alias-double.h>.
19760 (ceil): Define using libm_alias_double.
19761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
19762 Include <libm-alias-double.h>.
19763 (floor): Define using libm_alias_double.
19764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
19765 <libm-alias-double.h>.
19766 (modf): Define using libm_alias_double.
19767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
19768 Include <libm-alias-double.h>.
19769 (round): Define using libm_alias_double.
19770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
19771 Include <libm-alias-double.h>.
19772 (trunc): Define using libm_alias_double.
19773 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
19774 <libm-alias-double.h>.
19775 (ceil): Define using libm_alias_double.
19776 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
19777 <libm-alias-double.h>.
19778 (floor): Define using libm_alias_double.
19779 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
19780 <libm-alias-double.h>.
19781 (round): Define using libm_alias_double.
19782 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
19783 <libm-alias-double.h>.
19784 (trunc): Define using libm_alias_double.
19785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
19786 <libm-alias-double.h>.
19787 (ceil): Define using libm_alias_double.
19788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
19789 <libm-alias-double.h>.
19790 (floor): Define using libm_alias_double.
19791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
19792 <libm-alias-double.h>.
19793 (modf): Define using libm_alias_double.
19794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
19795 <libm-alias-double.h>.
19796 (round): Define using libm_alias_double.
19797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
19798 <libm-alias-double.h>.
19799 (trunc): Define using libm_alias_double.
19800 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
19801 <libm-alias-double.h>.
19802 (ceil): Define using libm_alias_double.
19803 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
19804 <libm-alias-double.h>.
19805 (floor): Define using libm_alias_double.
19806 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
19807 <libm-alias-double.h>.
19808 (nearbyint): Define using libm_alias_double.
19809 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
19810 <libm-alias-double.h>.
19811 (rint): Define using libm_alias_double.
19812 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
19813 <libm-alias-double.h>.
19814 (round): Define using libm_alias_double.
19815 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
19816 <libm-alias-double.h>.
19817 (trunc): Define using libm_alias_double.
19818 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
19819 <libm-alias-double.h>.
19820 (ceil): Define using libm_alias_double.
19821 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
19822 <libm-alias-double.h>.
19823 (floor): Define using libm_alias_double.
19824 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
19825 <libm-alias-double.h>.
19826 (round): Define using libm_alias_double.
19827 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
19828 <libm-alias-double.h>.
19829 (trunc): Define using libm_alias_double.
19831 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
19832 (fabs): Define using libm_alias_double.
19833 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
19834 (fma): Define using libm_alias_double.
19835 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
19836 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
19837 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
19838 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
19840 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19842 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
19844 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
19845 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
19846 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
19848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
19849 due redirect macro.
19851 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
19853 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
19855 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19857 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
19858 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
19859 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
19860 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
19862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19863 (libm-sysdep_routines): Add s_nearbyintf-generic and
19864 s_nearbyint-generic.
19865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
19867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
19868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
19870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
19872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
19874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
19877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19878 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
19879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
19881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
19882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
19884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
19885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
19886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
19888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19889 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
19890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
19892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
19893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
19895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
19896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
19897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
19899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19900 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
19901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
19903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
19904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
19906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
19907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
19908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
19910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19911 (sysdep_calls): New rule.
19912 (sysdep_routines): Use sysdep_calls as base.
19913 (libm-sysdep_routines): Add generic rule for symbols shared with
19914 libc. Add s_copysign-generic and s_copysign-generic objects.
19915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
19917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
19918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
19920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
19921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
19922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
19924 2017-12-01 Mike FABIAN <mfabian@redhat.com>
19927 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
19928 the list of locales to be built for testing.
19929 * localedata/is_IS.UTF-8.in: New file.
19930 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
19933 2017-12-01 Joseph Myers <joseph@codesourcery.com>
19935 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
19936 <libm-alias-float.h>.
19937 (fabsf): Define using libm_alias_float.
19939 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
19941 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
19943 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19945 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
19946 <libm-alias-float.h>.
19947 (fabsf): Define using libm_alias_float.
19948 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
19949 <libm-alias-float.h>.
19950 (lrintf): Define using libm_alias_float.
19951 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
19952 <libm-alias-float.h>.
19953 (rintf): Define using libm_alias_float.
19955 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
19956 <libm-alias-double.h>.
19957 (fabs): Define using libm_alias_double.
19958 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
19959 <libm-alias-double.h>.
19960 (lrint): Define using libm_alias_double.
19961 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
19962 <libm-alias-double.h>.
19963 (rint): Define using libm_alias_double.
19965 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
19966 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
19967 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
19968 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
19969 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
19970 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
19971 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
19972 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
19973 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
19974 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
19975 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
19976 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
19977 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
19978 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
19979 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
19980 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
19981 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
19982 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
19984 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
19985 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
19986 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
19988 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
19989 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
19990 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
19992 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
19993 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
19994 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
19995 s_expm1_template.c.
19996 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
19997 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
19998 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
20000 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
20001 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
20002 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
20003 s_floor_template.c.
20004 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
20005 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
20006 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
20007 s_frexp_template.c.
20008 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
20009 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
20010 s_lrint_template.c.
20011 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
20012 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
20013 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
20015 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
20016 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
20017 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
20018 s_nearbyint_template.c.
20019 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
20020 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
20021 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
20022 s_remquo_template.c.
20023 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
20024 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
20025 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
20027 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
20028 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
20029 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
20031 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
20032 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
20033 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
20034 s_sincos_template.c.
20035 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
20036 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
20037 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
20039 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
20040 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
20041 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
20043 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
20044 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
20045 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
20046 s_trunc_template.c.
20047 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
20048 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
20049 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
20050 s_atan.c instead of including s_atan.c.
20051 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
20052 s_atanf.c instead of including s_atanf.c.
20053 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
20054 s_atanl.c instead of including s_atanl.c.
20055 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
20056 instead of s_atan.c.
20057 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
20058 instead of s_atanf.c.
20059 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
20060 instead of s_atanl.c.
20062 * scripts/update-copyrights: Do not handle intl/plural.c
20065 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
20068 * configure.ac (BISON): Require to be present.
20069 * configure: Regenerated.
20070 * intl/Makefile (generated): Add plural.c.
20071 [$(BISON) != no]: Make code unconditional.
20072 (plural.c): Change rule to $(objpfx)plural.c.
20073 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
20074 * intl/plural.c: Remove.
20075 * manual/install.texi (Tools for Compilation): Document bison as
20077 * INSTALL: Regenerated.
20079 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20081 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
20082 <libm-alias-double.h>.
20083 (llrint): Define using libm_alias_double.
20084 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
20085 <libm-alias-float.h>.
20086 (llrintf): Define using libm_alias_float.
20087 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
20088 <libm-alias-ldouble.h>.
20089 (llrintl): Define using libm_alias_ldouble.
20091 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
20092 declare_mgen_alias instead of weak_alias.
20093 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
20094 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
20095 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
20097 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20099 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20101 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
20102 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
20103 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
20105 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20106 Add submul_1-generic.
20107 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
20108 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
20109 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
20111 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20112 Add addmul_1-generic.
20113 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
20114 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
20115 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
20117 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20119 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
20120 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
20121 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
20123 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20125 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
20126 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
20127 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
20129 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20131 According to CLDR, collation rules for Serbian and Bosnian
20132 should be the same as for Croatian.
20135 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
20136 and to the list of locales to be built for testing.
20137 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
20138 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
20139 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
20140 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
20142 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20144 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
20145 to make test case pass.
20146 * localedata/hr_HR.UTF-8.in: Add more test strings.
20148 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20150 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
20152 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
20154 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
20155 the list of locales to built for testing.
20156 * localedata/hr_HR.UTF-8.in: New file.
20158 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
20161 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
20163 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
20164 CLDR (except use ligatures for the digraphs, CLDR does not use
20165 the ligatures), add first_workday, some fixes in the date and time
20167 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
20169 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
20170 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
20171 Add int_p_cs_precedes and int_n_cs_precedes.
20172 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
20173 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
20175 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
20176 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
20178 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
20179 and lang_lib. Change postal_fmt.
20181 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20183 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
20185 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
20186 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
20187 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
20188 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
20189 * sysdeps/generic/setjmpP.h: New file.
20190 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
20191 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
20192 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
20193 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
20194 Add jmp_buf-ssp.sym.
20195 (tests): Add tst-saved_mask-1.
20197 2017-11-30 Arjun Shankar <arjun@redhat.com>
20201 * malloc/malloc.c (__libc_malloc): Use checked_request2size
20202 instead of request2size.
20204 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
20207 (__lllrint): Remove alias.
20208 (lllrint): Likewise.
20209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
20210 (__lllrintf): Likewise.
20211 (lllrintf): Likewise.
20213 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
20214 <libm-alias-float.h>.
20215 (copysignf): Define using libm_alias_float.
20216 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
20217 <libm-alias-float.h>.
20218 (fabsf): Define using libm_alias_float.
20219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
20220 Include <libm-alias-float.h>.
20221 (copysignf): Define using libm_alias_float.
20222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
20223 <libm-alias-float.h>.
20224 (fabsf): Define using libm_alias_float.
20225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
20226 <libm-alias-float.h>.
20227 (fdimf): Define using libm_alias_float.
20228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
20229 <libm-alias-float.h>.
20230 (fmaf): Define using libm_alias_float.
20231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
20232 <libm-alias-float.h>.
20233 (llrintf): Define using libm_alias_float.
20234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20235 Include <libm-alias-float.h>.
20236 (nearbyintf): Define using libm_alias_float.
20237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
20238 <libm-alias-float.h>.
20239 (rintf): Define using libm_alias_float.
20240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
20241 <libm-alias-float.h>.
20242 (llrintf): Define using libm_alias_float.
20243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
20244 <libm-alias-float.h>.
20245 (lrintf): Define using libm_alias_float.
20246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
20247 <libm-alias-float.h>.
20248 (nearbyintf): Define using libm_alias_float.
20249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
20250 <libm-alias-float.h>.
20251 (rintf): Define using libm_alias_float.
20252 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
20253 <libm-alias-float.h>.
20254 (ceilf): Define using libm_alias_float.
20255 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
20256 <libm-alias-float.h>.
20257 (floorf): Define using libm_alias_float.
20258 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
20259 <libm-alias-float.h>.
20260 (fmaf): Define using libm_alias_float.
20261 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
20262 <libm-alias-float.h>.
20263 (lrintf): Define using libm_alias_float.
20264 (llrintf): Likewise.
20265 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
20266 <libm-alias-float.h>.
20267 (nearbyintf): Define using libm_alias_float.
20268 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
20269 <libm-alias-float.h>.
20270 (rintf): Define using libm_alias_float.
20271 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
20272 <libm-alias-float.h>.
20273 (truncf): Define using libm_alias_float.
20274 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
20275 <libm-alias-float.h>.
20276 (copysignf): Define using libm_alias_float.
20277 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
20278 <libm-alias-float.h>.
20279 (fabsf): Define using libm_alias_float.
20280 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
20281 <libm-alias-float.h>.
20282 (lrintf): Define using libm_alias_float.
20283 (llrintf): Likewise.
20284 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
20285 <libm-alias-float.h>.
20286 (nearbyintf): Define using libm_alias_float.
20287 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
20288 <libm-alias-float.h>.
20289 (rintf): Define using libm_alias_float.
20291 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20293 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
20294 <libm-alias-double.h>.
20295 (copysign): Define using libm_alias_double.
20296 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
20297 <libm-alias-double.h>.
20298 (fabs): Define using libm_alias_double.
20299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
20300 Include <libm-alias-double.h>.
20301 (copysign): Define using libm_alias_double.
20302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
20303 <libm-alias-double.h>.
20304 (fabs): Define using libm_alias_double.
20305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
20306 <libm-alias-double.h>.
20307 (fdim): Define using libm_alias_double.
20308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
20309 <libm-alias-double.h>.
20310 (fma): Define using libm_alias_double.
20311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
20312 <libm-alias-double.h>.
20313 (llrint): Define using libm_alias_double.
20314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
20315 Include <libm-alias-double.h>.
20316 (nearbyint): Define using libm_alias_double.
20317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
20318 <libm-alias-double.h>.
20319 (rint): Define using libm_alias_double.
20320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
20321 <libm-alias-double.h>.
20322 (fabs): Define using libm_alias_double.
20323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
20324 <libm-alias-double.h>.
20325 (llrint): Define using libm_alias_double.
20326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
20327 <libm-alias-double.h>.
20328 (nearbyint): Define using libm_alias_double.
20329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
20330 <libm-alias-double.h>.
20331 (rint): Define using libm_alias_double.
20332 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
20333 <libm-alias-double.h>.
20334 (ceil): Define using libm_alias_double.
20335 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
20336 <libm-alias-double.h>.
20337 (floor): Define using libm_alias_double.
20338 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
20339 <libm-alias-double.h>.
20340 (fma): Define using libm_alias_double.
20341 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
20342 <libm-alias-double.h>.
20343 (lrint): Define using libm_alias_double.
20344 (llrint): Likewise.
20345 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
20346 <libm-alias-double.h>.
20347 (nearbyint): Define using libm_alias_double.
20348 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
20349 <libm-alias-double.h>.
20350 (rint): Define using libm_alias_double.
20351 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
20352 <libm-alias-double.h>.
20353 (trunc): Define using libm_alias_double.
20354 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
20355 <libm-alias-double.h>.
20356 (copysign): Define using libm_alias_double.
20357 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
20358 <libm-alias-double.h>.
20359 (fabs): Define using libm_alias_double.
20360 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
20361 <libm-alias-double.h>.
20362 (lrint): Define using libm_alias_double.
20363 (llrint): Likewise.
20364 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
20365 <libm-alias-double.h>.
20366 (nearbyint): Define using libm_alias_double.
20367 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
20368 <libm-alias-double.h>.
20369 (rint): Define using libm_alias_double.
20372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
20374 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
20376 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20377 SPARC --disable-multi-arch glibc variants.
20379 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
20380 <libm-alias-float.h>.
20381 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20383 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
20384 <libm-alias-float.h>.
20385 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20387 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
20388 <libm-alias-float.h>.
20389 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20391 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
20392 <libm-alias-float.h>.
20393 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20395 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
20396 <libm-alias-float.h>.
20397 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20399 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
20400 <libm-alias-float.h>.
20401 (ceilf): Define using libm_alias_float.
20402 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
20403 <libm-alias-float.h>.
20404 (floorf): Define using libm_alias_float.
20405 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
20406 <libm-alias-float.h>.
20407 (fmaf): Define using libm_alias_float.
20408 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
20409 <libm-alias-float.h>.
20410 (nearbyintf): Define using libm_alias_float.
20411 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
20412 <libm-alias-float.h>.
20413 (rintf): Define using libm_alias_float.
20414 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
20415 <libm-alias-float.h>.
20416 (truncf): Define using libm_alias_float.
20417 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
20418 (copysignf): Define using libm_alias_float.
20419 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
20420 (cosf): Define using libm_alias_float.
20421 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
20422 (fabsf): Define using libm_alias_float.
20423 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20424 (fmaxf): Define using libm_alias_float.
20425 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
20426 (fminf): Define using libm_alias_float.
20427 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
20428 (llrintf): Define using libm_alias_float.
20429 [!__ILP32__] (lrintf): Likewise.
20430 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
20431 (sincosf): Define using libm_alias_float.
20432 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
20433 (sinf): Define using libm_alias_float.
20434 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
20435 (lrintf): Define using libm_alias_float.
20437 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
20438 <libm-alias-double.h>.
20439 (atan): Define using libm_alias_double.
20440 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
20441 <libm-alias-double.h>.
20442 (ceil): Define using libm_alias_double.
20443 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
20444 <libm-alias-double.h>.
20445 (floor): Define using libm_alias_double.
20446 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
20447 <libm-alias-double.h>.
20448 (fma): Define using libm_alias_double.
20449 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
20450 <libm-alias-double.h>.
20451 (nearbyint): Define using libm_alias_double.
20452 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
20453 <libm-alias-double.h>.
20454 (rint): Define using libm_alias_double.
20455 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
20456 <libm-alias-double.h>.
20457 (sin): Define using libm_alias_double.
20459 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
20460 <libm-alias-double.h>.
20461 (tan): Define using libm_alias_double.
20462 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
20463 <libm-alias-double.h>.
20464 (trunc): Define using libm_alias_double.
20465 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
20466 (copysign): Define using libm_alias_double.
20467 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
20468 (fabs): Define using libm_alias_double.
20469 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
20470 (fmax): Define using libm_alias_double.
20471 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
20472 (fmin): Define using libm_alias_double.
20473 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
20474 (llrint): Define using libm_alias_double.
20475 [!__ILP32__] (lrint): Likewise.
20476 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
20477 (lrint): Define using libm_alias_double.
20479 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20481 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20482 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
20484 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
20485 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
20486 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
20487 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
20488 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
20489 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
20491 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20492 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
20494 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
20495 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
20496 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
20497 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
20498 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
20499 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
20501 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20502 (libm-sysdep_routines): Add s_nearbyint-generic and
20503 s_nearbyintf-generic objects.
20504 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
20505 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
20506 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
20507 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
20508 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
20509 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
20511 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20512 Add s_finitef-generic and s_finite-generic objects.
20513 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
20514 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
20515 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
20516 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
20517 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
20518 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
20520 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20521 Add s_isinff-generic and s_isinf-generic objects.
20522 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
20523 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
20524 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
20525 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
20526 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
20527 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
20529 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20530 Add s_isnanf-generic and s_isnan-generic objects.
20531 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
20532 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
20533 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
20534 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
20535 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
20536 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
20538 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
20540 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
20542 (sysdep_routines): Use sysdep_calls as base.
20543 (libm-sysdep_routines): Add generic rule for symbols shared with
20544 libc. Add s_signbit-generic and s_signbitf-generic objects.
20545 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
20546 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
20547 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
20548 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
20549 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
20550 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
20552 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20554 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
20555 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
20556 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
20557 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
20558 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
20559 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
20560 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
20561 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
20562 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
20563 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
20564 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
20565 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
20566 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
20567 libm_alias_float_r.
20568 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
20569 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
20571 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
20572 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
20573 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
20574 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
20575 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
20576 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
20577 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
20578 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
20579 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
20580 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
20582 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
20584 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
20585 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
20586 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
20587 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
20588 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
20589 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
20590 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
20591 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
20592 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
20593 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
20594 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
20595 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
20596 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
20597 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
20598 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
20599 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
20600 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
20601 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
20602 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
20604 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
20605 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
20606 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
20607 * sysdeps/ia64/fpu/w_lgammaf_main.c
20608 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
20609 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
20611 2017-11-28 Mike FABIAN <mfabian@redhat.com>
20612 Alexandre Oliva <aoliva@redhat.com>
20615 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
20616 * localedata/fr_CA.UTF-8.in: New file with test data for backward
20618 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
20620 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
20621 * localedata/locales/de_DE (LC_COLLATE): Likewise.
20622 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
20623 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
20624 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
20625 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
20626 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
20627 instead of “ifdef DIACRIT_BACKWARD”.
20629 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20631 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
20632 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
20633 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
20634 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
20635 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
20636 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
20637 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
20638 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
20639 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
20640 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
20641 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
20642 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
20643 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
20644 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
20645 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
20646 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20647 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
20648 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
20649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20650 ($(have-as-vis3) == yes): Remove conditional.
20651 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
20653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
20655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
20657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
20659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
20661 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
20662 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
20663 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
20664 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
20665 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
20666 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
20667 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
20668 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
20670 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20672 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
20673 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
20674 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
20675 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
20676 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
20677 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
20678 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
20679 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
20680 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
20681 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
20682 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
20683 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
20684 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
20685 libm_alias_double_r.
20686 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
20688 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
20689 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
20690 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
20691 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
20692 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
20693 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
20694 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
20695 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
20696 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
20697 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
20698 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
20700 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
20702 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
20703 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
20704 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
20705 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
20706 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
20707 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
20708 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
20709 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
20710 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
20711 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
20712 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
20713 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
20714 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
20715 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
20716 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
20717 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
20718 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
20719 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
20721 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
20722 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
20723 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
20724 * sysdeps/ia64/fpu/w_lgamma_main.c
20725 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
20726 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
20728 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
20730 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
20731 address of $global$ into %dp register earlier. Use pc-relative
20732 instruction sequence for PIC case.
20734 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20736 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
20737 (asinhf): Define using libm_alias_float.
20738 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
20739 (atanf): Define using libm_alias_float.
20740 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
20741 (cbrtf): Define using libm_alias_float.
20742 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
20743 (ceilf): Define using libm_alias_float.
20744 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
20745 (copysignf): Define using libm_alias_float.
20746 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
20747 (expm1f): Define using libm_alias_float.
20748 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
20749 (fabsf): Define using libm_alias_float.
20750 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
20751 (floorf): Define using libm_alias_float.
20752 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20753 (fmaxf): Define using libm_alias_float.
20754 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
20755 (fminf): Define using libm_alias_float.
20756 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
20757 (frexpf): Define using libm_alias_float.
20758 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
20759 (llrintf): Define using libm_alias_float.
20760 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
20761 (logbf): Define using libm_alias_float.
20762 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
20763 (lrintf): Define using libm_alias_float.
20764 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
20765 (nearbyintf): Define using libm_alias_float.
20766 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
20767 (remquof): Define using libm_alias_float.
20768 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
20769 (rintf): Define using libm_alias_float.
20770 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
20771 (truncf): Define using libm_alias_float.
20772 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
20773 <libm-alias-float.h>.
20774 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20776 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
20777 <libm-alias-float.h>.
20778 (expf): Define using libm_alias_float, or libm_alias_float_other
20780 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
20781 <libm-alias-float.h>.
20782 (log2f): Define using libm_alias_float, or libm_alias_float_other
20784 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
20785 <libm-alias-float.h>.
20786 (logf): Define using libm_alias_float, or libm_alias_float_other
20788 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
20789 <libm-alias-float.h>.
20790 (powf): Define using libm_alias_float, or libm_alias_float_other
20792 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
20793 <libm-alias-float.h>.
20794 (cosf): Define using libm_alias_float.
20795 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
20796 <libm-alias-float.h>.
20797 (sincosf): Define using libm_alias_float.
20798 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
20799 <libm-alias-float.h>.
20800 (sinf): Define using libm_alias_float.
20801 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20802 (fmaxf): Define using libm_alias_float.
20803 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
20804 (fminf): Define using libm_alias_float.
20805 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
20806 <libm-alias-float.h>.
20807 (fmaf): Define using libm_alias_float.
20809 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
20810 (asinh): Define using libm_alias_double.
20811 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
20812 (atan): Define using libm_alias_double.
20813 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
20814 (cbrt): Define using libm_alias_double.
20815 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
20816 (ceil): Define using libm_alias_double.
20817 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
20818 (copysign): Define using libm_alias_double.
20819 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
20820 (expm1): Define using libm_alias_double.
20821 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
20822 (fabs): Define using libm_alias_double.
20823 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
20824 (fdim): Define using libm_alias_double.
20825 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
20826 (floor): Define using libm_alias_double.
20827 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
20828 (fmax): Define using libm_alias_double.
20829 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
20830 (fmin): Define using libm_alias_double.
20831 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
20832 (frexp): Define using libm_alias_double.
20833 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
20834 (llrint): Define using libm_alias_double.
20835 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
20836 (logb): Define using libm_alias_double.
20837 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
20838 (lrint): Define using libm_alias_double.
20839 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
20840 (nearbyint): Define using libm_alias_double.
20841 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
20842 (remquo): Define using libm_alias_double.
20843 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
20844 (rint): Define using libm_alias_double.
20845 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
20846 (trunc): Define using libm_alias_double.
20847 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
20848 (fmax): Define using libm_alias_double.
20849 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
20850 (fmin): Define using libm_alias_double.
20851 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
20852 (fma): Define using libm_alias_double.
20854 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
20857 * elf/dl-hwcaps.c (ROUND): Removed.
20858 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
20859 and ELF_NOTE_NEXT_OFFSET.
20860 * elf/dl-load.c (ROUND): Removed.
20861 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
20862 * elf/readelflib.c (ROUND): Removed.
20863 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
20864 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
20865 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
20866 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
20868 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20870 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
20871 [!__fmaf] (fmaf): Define using libm_alias_float.
20873 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
20874 [!__fma] (fma): Define using libm_alias_double.
20875 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
20877 2017-11-28 Mike FABIAN <mfabian@redhat.com>
20880 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
20881 and implement the collation rules for cs from CLDR on top of that.
20882 * Makefile: Add cs_CZ.UTF-8 to test-input.
20883 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
20885 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
20887 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
20889 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
20890 Icarus Sparry <icarus.w.sparry@intel.com>
20892 * benchtests/Makefile:Add BENCHSET to allow subsets of
20893 benchmarks to be run.
20894 * benchtests/README: Add documentation for: Running subsets of
20897 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
20899 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
20900 range of tests names.
20902 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
20903 result from property and remove "max", min" and "mean" from
20904 required properties based on benchtests/bench-skeleton.c.
20906 2017-11-28 Florian Weimer <fweimer@redhat.com>
20909 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
20910 due to Internet requirement.
20911 * posix/Makefile (tests): Remove tst-getaddrinfo4,
20913 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
20915 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20917 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20918 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
20919 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
20920 (sysdep_routines): Add memset-ultra1.
20921 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
20923 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
20924 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
20925 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
20926 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
20927 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
20928 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
20929 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
20930 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20932 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
20934 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
20935 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
20936 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
20937 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
20938 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
20939 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
20940 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
20942 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20943 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
20944 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
20945 (sysdep_routines): Add memcpy-ultra1.
20946 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
20947 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
20949 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20951 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
20952 (cfloat_versions): Take function argument without trailing 'f'.
20953 Call libm_alias_float_other.
20954 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
20955 * sysdeps/alpha/fpu/cargf.c: Likewise.
20956 * sysdeps/alpha/fpu/cimagf.c: Likewise.
20957 * sysdeps/alpha/fpu/conjf.c: Likewise.
20958 * sysdeps/alpha/fpu/crealf.c: Likewise.
20959 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
20960 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
20961 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
20962 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
20963 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
20964 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
20965 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
20966 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
20967 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
20968 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
20969 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
20970 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
20971 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
20972 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
20973 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
20974 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
20975 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
20976 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
20977 (clog10f): Use libm_alias_float_other.
20978 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
20979 (ceilf): Define using libm_alias_float.
20980 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
20981 (copysignf): Define using libm_alias_float.
20982 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
20983 (fabsf): Define using libm_alias_float.
20984 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
20985 (floorf): Define using libm_alias_float.
20986 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
20987 (fmaxf): Define using libm_alias_float.
20988 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
20989 (fminf): Define using libm_alias_float.
20990 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
20991 (lrintf): Define using libm_alias_float.
20992 (llrintf): Likewise.
20993 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
20994 (lroundf): Define using libm_alias_float.
20995 (llroundf): Likewise.
20996 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
20997 (rintf): Define using libm_alias_float.
20998 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
20999 (truncf): Define using libm_alias_float.
21001 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21002 (ceilf): Define using libm_alias_float.
21003 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
21004 (floorf): Define using libm_alias_float.
21005 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21006 (fmaf): Define using libm_alias_float.
21007 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
21008 (fmaxf): Define using libm_alias_float.
21009 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
21010 (fminf): Define using libm_alias_float.
21011 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
21012 (llrintf): Define using libm_alias_float.
21013 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
21014 (llroundf): Define using libm_alias_float.
21015 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21016 (lrintf): Define using libm_alias_float.
21017 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21018 (lroundf): Define using libm_alias_float.
21019 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
21020 <libm-alias-float.h>.
21021 (nearbyintf): Define using libm_alias_float.
21022 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
21023 (rintf): Define using libm_alias_float.
21024 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
21025 (roundf): Define using libm_alias_float.
21026 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
21027 (truncf): Define using libm_alias_float.
21029 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
21030 (ceil): Define using libm_alias_double.
21031 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
21032 (copysign): Define using libm_alias_double.
21033 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
21034 (fabs): Define using libm_alias_double.
21035 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
21036 (floor): Define using libm_alias_double.
21037 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
21038 (fmax): Define using libm_alias_double.
21039 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
21040 (fmin): Define using libm_alias_double.
21041 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
21042 (lrint): Define using libm_alias_double.
21043 (llrint): Likewise.
21044 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
21045 (lround): Define using libm_alias_double.
21046 (llround): Likewise.
21047 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
21048 (rint): Define using libm_alias_double.
21049 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
21050 (trunc): Define using libm_alias_double.
21052 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
21053 (libm_alias_double_r): Add semicolon after weak_alias call.
21055 2017-11-27 Joseph Myers <joseph@codesourcery.com>
21057 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
21058 (ceil): Define using libm_alias_double.
21059 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
21060 (floor): Define using libm_alias_double.
21061 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
21062 (fma): Define using libm_alias_double.
21063 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
21064 (fmax): Define using libm_alias_double.
21065 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
21066 (fmin): Define using libm_alias_double.
21067 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
21068 (llrint): Define using libm_alias_double.
21069 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
21070 (llround): Define using libm_alias_double.
21071 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
21072 (lrint): Define using libm_alias_double.
21073 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
21074 (lround): Define using libm_alias_double.
21075 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
21076 (nearbyint): Define using libm_alias_double.
21077 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
21078 (rint): Define using libm_alias_double.
21079 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
21080 (round): Define using libm_alias_double.
21081 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
21082 (trunc): Define using libm_alias_double.
21084 2017-11-27 Florian Weimer <fweimer@redhat.com>
21086 * sysdeps/unix/sysv/linux/mlock2.c: New file.
21087 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
21088 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
21089 (tests): Add tst-mlock2.
21090 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
21091 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
21092 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
21093 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
21094 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
21095 for mlock. Document mlock2.
21097 2017-11-27 Joseph Myers <joseph@codesourcery.com>
21099 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
21100 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
21102 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
21104 * sysdeps/x86/Makeconfig: New file.
21105 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
21106 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21107 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
21108 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21109 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21110 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21111 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
21113 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21114 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21115 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21116 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21117 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21118 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21119 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21120 * manual/math.texi (Mathematics): Document support for _Float64x.
21121 * math/Versions (GLIBC_2.27): Add _Float64x functions.
21122 * stdlib/Versions (GLIBC_2.27): Likewise.
21123 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21124 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21125 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21126 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21127 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21128 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21129 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21130 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21131 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21132 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21133 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21134 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21139 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21140 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21141 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21142 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21143 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21144 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21145 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21146 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21147 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21148 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21149 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21150 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21151 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21152 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21154 2017-11-27 Andreas Schwab <schwab@suse.de>
21156 * elf/Makefile (dl-routines): Add dl-sort-maps.
21157 * elf/dl-sort-maps.c: New file.
21158 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
21159 (_dl_sort_maps): Declare.
21160 * elf/dl-fini.c (_dl_sort_fini): Remove.
21161 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
21162 * elf/dl-close.c (_dl_close_worker): Likewise.
21163 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
21165 * elf/dl-open.c (dl_open_worker): Likewise.
21167 2017-11-24 Joseph Myers <joseph@codesourcery.com>
21169 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
21170 using libm_alias_float128.
21171 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
21173 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
21175 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
21176 (setpayloadsigf128): Likewise.
21177 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
21179 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
21182 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
21183 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
21184 -mfloat128 to CFLAGS.
21186 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
21188 (CFLAGS-libm-test-support-float64x.c): New variable.
21189 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
21190 $(f128-loader-link) to gnulib-tests.
21192 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
21193 (libm_alias_float128_other_r): If
21194 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
21196 (libm_alias_float128_r): Add semicolon after weak_alias call.
21197 * sysdeps/generic/libm-alias-ldouble.h
21198 (libm_alias_ldouble_other_r_f128): New macro.
21199 (libm_alias_ldouble_other_r_f64x): Likewise.
21200 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
21201 and libm_alias_ldouble_other_r_f64x.
21202 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
21203 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
21204 (libm_alias_ldouble_other_r_f128): New macro.
21205 (libm_alias_ldouble_other_r_f64x): Likewise.
21206 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
21207 and libm_alias_ldouble_other_r_f64x.
21209 * stdlib/strfroml.c: Always include <stdlib.h>.
21210 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
21211 undefine as macro and define as weak alias.
21212 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
21213 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
21215 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
21216 Define and later undefine as macro and define as weak alias.
21218 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
21219 Define and later undefine as macro. Define as weak alias if
21221 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
21222 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21223 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
21224 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
21225 Define and later undefine as macro. Define as weak alias if
21227 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
21228 Define and later undefine as macro. Define as weak alias if
21230 * sysdeps/ieee754/float128/strtof128_l.c
21231 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
21232 Define and later undefine as macro. Define as weak alias if
21234 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
21235 Define and later undefine as macro. Define as weak alias if
21237 * sysdeps/ieee754/ldbl-128/strtold_l.c
21238 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21239 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21240 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21241 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21242 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
21243 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21244 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21245 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21246 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21247 * sysdeps/ieee754/ldbl-96/strtold_l.c
21248 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21249 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21250 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21251 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21253 * math/test-float64x.h: New file.
21254 * math/Makefile (type-float64x-yes): New variable.
21255 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
21257 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
21258 function-like macro.
21259 (min_of_type_): Likewise.
21260 (min_of_type_l): Likewise.
21261 (min_of_type_f128): Likewise.
21262 (min_of_type): Pass () as last argument of __MATH_TG.
21264 * stdlib/tst-strtod-round-skeleton.c
21265 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
21268 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
21269 for combinations of long double with _Float64 and _Float64x.
21271 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
21272 (__DECL_SIMD_cosf32): Likewise.
21273 (__DECL_SIMD_cosf64): Likewise.
21274 (__DECL_SIMD_cosf32x): Likewise.
21275 (__DECL_SIMD_cosf64x): Likewise.
21276 (__DECL_SIMD_cosf128x): Likewise.
21277 (__DECL_SIMD_sinf16): Likewise.
21278 (__DECL_SIMD_sinf32): Likewise.
21279 (__DECL_SIMD_sinf64): Likewise.
21280 (__DECL_SIMD_sinf32x): Likewise.
21281 (__DECL_SIMD_sinf64x): Likewise.
21282 (__DECL_SIMD_sinf128x): Likewise.
21283 (__DECL_SIMD_sincosf16): Likewise.
21284 (__DECL_SIMD_sincosf32): Likewise.
21285 (__DECL_SIMD_sincosf64): Likewise.
21286 (__DECL_SIMD_sincosf32x): Likewise.
21287 (__DECL_SIMD_sincosf64x): Likewise.
21288 (__DECL_SIMD_sincosf128x): Likewise.
21289 (__DECL_SIMD_logf16): Likewise.
21290 (__DECL_SIMD_logf32): Likewise.
21291 (__DECL_SIMD_logf64): Likewise.
21292 (__DECL_SIMD_logf32x): Likewise.
21293 (__DECL_SIMD_logf64x): Likewise.
21294 (__DECL_SIMD_logf128x): Likewise.
21295 (__DECL_SIMD_expf16): Likewise.
21296 (__DECL_SIMD_expf32): Likewise.
21297 (__DECL_SIMD_expf64): Likewise.
21298 (__DECL_SIMD_expf32x): Likewise.
21299 (__DECL_SIMD_expf64x): Likewise.
21300 (__DECL_SIMD_expf128x): Likewise.
21301 (__DECL_SIMD_powf16): Likewise.
21302 (__DECL_SIMD_powf32): Likewise.
21303 (__DECL_SIMD_powf64): Likewise.
21304 (__DECL_SIMD_powf32x): Likewise.
21305 (__DECL_SIMD_powf64x): Likewise.
21306 (__DECL_SIMD_powf128x): Likewise.
21308 * stdlib/Versions (libc): Move entries for wcstof128 and
21309 wcstof128_l to ....
21310 * wcsmbs/Versions (libc): ... here.
21311 Include <float128-abi.h>.
21313 2017-11-24 Florian Weimer <fweimer@redhat.com>
21315 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21316 bits/mman-shared.h.
21317 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
21318 <bits/mman-shared.h>.
21319 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
21321 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
21322 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
21323 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
21324 <bits/mman-shared.h>.
21326 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21329 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
21330 posix_memalign/free.
21331 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
21333 2017-11-22 Mike FABIAN <mfabian@redhat.com>
21336 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
21337 and implement the collation rules for pl from CLDR on top of that.
21338 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
21339 of locales to be built for testing.
21340 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
21342 2017-11-23 Joseph Myers <joseph@codesourcery.com>
21344 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
21345 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
21346 libm_alias_ldouble_other.
21347 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
21348 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
21349 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
21350 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
21351 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
21352 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
21353 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
21354 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
21355 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
21356 libm_alias_ldouble_r.
21357 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
21358 libm_alias_ldouble_other.
21359 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
21360 (log10l): Likewise.
21361 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
21362 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
21363 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
21364 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
21365 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
21366 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
21367 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
21368 (atan2l): Likewise.
21369 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
21370 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
21371 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
21372 libm_alias_ldouble.
21373 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
21375 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
21376 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
21377 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
21379 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
21380 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
21381 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
21382 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
21383 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
21384 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
21385 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
21386 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
21387 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
21388 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
21389 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
21390 libm_alias_ldouble.
21391 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
21392 libm_alias_ldouble_other.
21393 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
21394 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
21395 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
21396 libm_alias_ldouble.
21397 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
21398 libm_alias_ldouble_other.
21399 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
21400 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
21401 * sysdeps/ia64/fpu/w_lgammal_main.c
21402 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
21403 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
21405 2017-11-23 Florian Weimer <fweimer@redhat.com>
21407 * malloc/malloc.c (tcache_thread_shutdown): Rename from
21408 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
21409 alike. Remove freeres marker.
21410 * malloc/arena.c (arena_thread_freeres): Call
21411 tcache_thread_shutdown.
21413 2017-11-23 Florian Weimer <fweimer@redhat.com>
21416 Export nscd hash function as __nss_hash.
21417 * include/nss.h (__nss_hash): Declare.
21418 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
21420 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
21421 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
21423 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
21424 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
21425 * nss/Makefiles (routines): Add nss_hash.
21426 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
21427 * nss/nss_hash.c: Rename from nis/nis_hash.c.
21428 (__nss_hash): Rename from __nis_hash. Define hidden alias.
21429 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
21431 2017-11-23 Florian Weimer <fweimer@redhat.com>
21434 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
21435 Return error code, not -1.
21436 * signal/tst-sigwait-eintr.c: New file.
21437 * signal/Makefile (tests): Add tst-sigwait-eintr.
21439 2017-11-23 Florian Weimer <fweimer@redhat.com>
21441 Linux: Add memfd_create system call wrapper
21442 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
21444 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
21445 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
21446 [__USE_GNU] (memfd_create): Declare.
21447 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
21448 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
21449 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
21450 * sysdeps/unix/sysv/linux/**.abilist: Update.
21451 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
21453 2017-11-22 Joseph Myers <joseph@codesourcery.com>
21455 * localedata/gen-locale.sh: Fix typo in variable name.
21457 * resolv/res_debug.c (p_secstodate): Condition definition on
21458 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
21459 directly as __p_secstodate, and as a compat symbol. Do not use
21460 libresolv_hidden_def.
21461 * resolv/resolv.h (p_secstodate): Remove macro and function
21463 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
21464 using p_secstodate.
21465 * include/resolv.h (__p_secstodate): Do not use
21466 libresolv_hidden_proto.
21467 * resolv/Makefile (tests): Move tst-p_secstodate to ....
21468 (tests-internal): ... here.
21469 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
21470 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
21471 and declare and use __p_secstodate and use compat_symbol_reference
21473 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
21474 implementation returning 77.
21477 * resolv/res_debug.c: Include <libc-diag.h>.
21478 (p_secstodate): Assert time_t at least as wide as u_long. On
21479 overflow, use integer seconds since the epoch as output, or use
21480 "<overflow>" as output and set errno to EOVERFLOW if integer
21481 seconds since the epoch would be 14 or more characters.
21482 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
21484 * resolv/tst-p_secstodate.c: New file.
21485 * resolv/Makefile (tests): Add tst-p_secstodate.
21486 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
21488 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
21489 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
21490 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
21492 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
21494 * posix/regcomp.c (init_word_char): Add comments.
21496 2017-11-22 Joseph Myers <joseph@codesourcery.com>
21499 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
21500 strlen to compute length of ut_user and set trailing NUL byte of
21503 2017-11-21 Mike FABIAN <mfabian@redhat.com>
21506 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
21507 using “copy "iso14651_t1"” and then implementing the
21508 collation rules for lv from CLDR on top of that.
21509 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
21510 of locales to be built for testing.
21511 * lv_LV.UTF-8.in: New file with test data to test the Latvian
21514 2017-11-21 Joseph Myers <joseph@codesourcery.com>
21516 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
21517 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
21518 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
21519 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
21520 [__USE_MISC] (MADV_HWPOISON): New macro.
21521 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
21523 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21525 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
21526 -Wmissing-braces on GCC 4.9.
21528 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
21530 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
21531 * sysdeps/s390/s390-32/start.S (_start): Likewise
21532 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
21533 (thread_start): Likewise.
21534 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
21535 (thread_start): Likewise.
21536 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
21537 (__makecontext_ret): Likewise.
21538 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
21539 (__makecontext_ret): Likewise.
21541 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
21543 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
21544 __wcschrnul): Remove attribute_hidden.
21546 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
21548 regex: don't assume uint64_t or uint32_t
21549 This avoids -Werror=overflow errors for 32-bit systems in
21550 the 64-bit case. Problem reported by Joseph Myers in:
21551 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
21552 Also, when this code is used in Gnulib it ports to platforms
21553 that lack uint64_t and uint32_t. The C standard doesn't guarantee
21554 them, and on some 32-bit compilers there is no uint64_t.
21555 Problem reported by Gianluigi Tiesi in:
21556 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
21557 * posix/regcomp.c (init_word_char): Don't assume that the types
21558 uint64_t and uint32_t exist. Adapted from Gnulib patch
21559 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
21560 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
21562 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
21564 * sysdeps/aarch64/memset-reg.h: New file.
21565 * sysdeps/aarch64/memset.S: Use it.
21566 (__memset): Rename to MEMSET macro.
21567 [ZVA_MACRO]: Use zva_macro.
21568 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
21569 Add memset_generic and memset_falkor.
21570 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
21571 (__libc_ifunc_impl_list): Add memset ifuncs.
21572 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
21573 local variable zva_size.
21574 * sysdeps/aarch64/multiarch/memset.c: New file.
21575 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
21576 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
21577 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
21578 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
21579 (DCZID_DZP_MASK): New macro.
21580 (DCZID_BS_MASK): Likewise.
21581 (init_cpu_features): Read and set zva_size.
21582 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
21583 (struct cpu_features): New member zva_size.
21585 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
21586 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
21587 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
21589 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
21590 backwards. Fix timing computation.
21591 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
21592 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
21593 on memset by N at a time. Fix timing computation.
21595 2017-11-20 Florian Weimer <fweimer@redhat.com>
21597 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
21598 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
21600 2017-11-19 Florian Weimer <fweimer@redhat.com>
21602 manual: Document mprotect
21603 * manual/memory.texi (Memory Protection): New section.
21604 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
21605 documentation of PROT_* flags and reference the Memory Protection
21608 2017-11-19 Florian Weimer <fweimer@redhat.com>
21610 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
21611 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
21612 (Scatter-Gather): ... to here. Remove misleading comment.
21614 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
21616 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
21619 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
21620 when /proc/<pid>/setgroups does not exist.
21622 2017-11-18 Florian Weimer <fweimer@redhat.com>
21624 * sysdeps/unix/sysv/linux/tst-ttyname.c
21625 (become_root_in_mount_ns): Remove.
21626 (do_in_chroot_1): Call support_enter_mount_namespace.
21627 (do_in_chroot_2): Likewise.
21628 (do_test): Call support_become_root early.
21630 2017-11-18 Florian Weimer <fweimer@redhat.com>
21632 * support/namespace.h (support_enter_mount_namespace): Declare.
21633 * support/support_enter_mount_namespace.c: New file.
21634 * support/Makefile (libsupport-routines): Add
21635 support_enter_mount_namespace.
21637 2017-11-18 Florian Weimer <fweimer@redhat.com>
21639 * support/temp_file.c (support_create_temp_directory): Use
21640 test_dir and do not rely on the presence of the XXXXXX suffix.
21641 * support/temp_file.h (support_create_temp_directory): Update
21643 * support/tst-xreadlink.c (do_test): Adjust.
21644 * support/support_chroot.c (support_chroot_create): Likewise.
21646 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21648 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
21650 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
21653 2017-11-17 Joseph Myers <joseph@codesourcery.com>
21655 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
21656 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
21657 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
21658 (ceill): Define using libm_alias_ldouble.
21659 * sysdeps/x86_64/fpu/s_copysignl.S: Include
21660 <libm-alias-ldouble.h>.
21661 (copysignl): Define using libm_alias_ldouble.
21662 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
21663 (fabsl): Define using libm_alias_ldouble.
21664 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
21665 (floorl): Define using libm_alias_ldouble.
21666 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21667 (fmaxl): Define using libm_alias_ldouble.
21668 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21669 (fminl): Define using libm_alias_ldouble.
21670 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
21671 (llrintl): Define using libm_alias_ldouble.
21672 (lrintl): Likewise.
21673 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
21674 <libm-alias-ldouble.h>.
21675 (nearbyintl): Define using libm_alias_ldouble.
21676 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
21677 (truncl): Define using libm_alias_ldouble.
21678 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
21679 <libm-alias-ldouble.h>.
21680 (lrintl): Define using libm_alias_ldouble.
21682 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
21683 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
21684 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
21685 (asinhl): Define using libm_alias_ldouble.
21686 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
21687 (atanl): Define using libm_alias_ldouble.
21688 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
21689 (cbrtl): Define using libm_alias_ldouble.
21690 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
21691 (ceill): Define using libm_alias_ldouble.
21692 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
21693 (copysignl): Define using libm_alias_ldouble.
21694 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
21695 (fabsl): Define using libm_alias_ldouble.
21696 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
21697 (floorl): Define using libm_alias_ldouble.
21698 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21699 (fmaxl): Define using libm_alias_ldouble.
21700 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21701 (fminl): Define using libm_alias_ldouble.
21702 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
21703 (frexpl): Define using libm_alias_ldouble.
21704 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
21705 (llrintl): Define using libm_alias_ldouble.
21706 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
21707 (logbl): Define using libm_alias_ldouble.
21708 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
21709 (lrintl): Define using libm_alias_ldouble.
21710 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
21711 (nearbyintl): Define using libm_alias_ldouble.
21712 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
21713 (nextafterl): Define using libm_alias_ldouble.
21714 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
21715 (remquol): Define using libm_alias_ldouble.
21716 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
21717 (rintl): Define using libm_alias_ldouble.
21718 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
21719 (truncl): Define using libm_alias_ldouble.
21720 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21721 (fmaxl): Define using libm_alias_ldouble.
21722 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21723 (fminl): Define using libm_alias_ldouble.
21725 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
21726 to C syntax instead of availability and properties of types.
21727 * bits/floatn.h [!__ASSEMBLER]: Likewise.
21728 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
21729 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
21730 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
21731 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
21732 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
21734 2017-11-17 Florian Weimer <fweimer@redhat.com>
21736 support_become_root: Enable file creation in namespaces.
21737 * support/support_become_root.c (setup_mapping): New function.
21738 (support_become_root): Call it.
21740 2017-11-17 Joseph Myers <joseph@codesourcery.com>
21742 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
21745 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21747 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
21748 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
21750 2017-11-16 Joseph Myers <joseph@codesourcery.com>
21752 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
21754 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
21757 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
21759 * INSTALL: Fix botched up regeneration.
21761 * NEWS: Update sourceare link to https.
21762 * configure.ac: Likewise.
21763 * crypt/md5test-giant.c: Likewise.
21764 * dlfcn/bug-atexit1.c: Likewise.
21765 * dlfcn/bug-atexit2.c: Likewise.
21766 * localedata/README: Likewise.
21767 * malloc/tst-mallocfork.c: Likewise.
21768 * manual/install.texi: Likewise.
21769 * nptl/tst-pthread-getattr.c: Likewise.
21770 * stdio-common/tst-fgets.c: Likewise.
21771 * stdio-common/tst-fwrite.c: Likewise.
21772 * sunrpc/Makefile: Likewise.
21773 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
21774 * wcsmbs/tst-mbrtowc2.c: Likewise.
21775 * configure: Regenerate.
21776 * INSTALL: Regenerate.
21778 2017-11-15 Martin Sebor <msebor@redhat.com>
21780 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
21781 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
21782 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
21784 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
21787 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
21788 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
21791 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
21792 Defer is_pty check until end of the function.
21793 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21796 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
21797 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
21798 (ttyname): Likewise.
21799 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
21800 (__ttyname_r): Likewise.
21802 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
21805 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
21807 * manual/terminal.texi (Is It a Terminal):
21808 Mention ENODEV for ttyname and ttyname_r.
21810 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21812 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
21813 constant and macro.
21815 * sysdeps/unix/sysv/linux/bits/mman-linux.h
21816 [__USE_MISC] (MADV_WIPEONFORK): New macro.
21817 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
21818 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
21819 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
21820 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
21822 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21824 * signal/sigrelse.c (sigrelse): Optimize implementation.
21826 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
21827 (__sigpause): Rely on __sigsuspend to implement single thread
21828 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
21830 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21832 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
21833 kernel version to 4.14.
21835 2017-11-15 Steve Ellcey <sellcey@cavium.com>
21838 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
21839 Check if ifname is too long.
21841 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
21843 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
21845 2017-11-15 Mike FABIAN <mfabian@redhat.com>
21847 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
21848 was accidentally lost.
21850 2017-11-15 Mike FABIAN <mfabian@redhat.com>
21852 * localedata/locales/az_IR: Add standard copyright header.
21854 2017-11-15 Florian Weimer <fweimer@redhat.com>
21857 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
21858 not just the top one. Output a new "subheaps" statistic.
21860 2017-11-15 Florian Weimer <fweimer@redhat.com>
21863 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
21864 under the per-arena lock.
21865 * malloc/Makefile (tests): Add tst-malloc_info.
21866 (tst-malloc_info): Link with libpthread.
21867 * malloc/tst-malloc_info.c: New file.
21869 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21872 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
21873 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
21874 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
21875 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
21876 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
21877 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
21878 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
21879 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
21880 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
21881 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
21882 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
21883 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
21884 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
21885 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
21886 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
21887 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
21888 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
21889 (__floating_type): Likewise.
21890 (__real_integer_type): Likewise.
21891 (__complex_integer_type): Likewise.
21892 (__expr_is_real): Likewise.
21893 (__tgmath_real_type_sub): Likewise.
21894 (__tgmath_real_type): Likewise.
21895 (__tgmath_complex_type_sub): Likewise.
21896 (__tgmath_complex_type): Likewise.
21897 (__TGMATH_F128): Likewise.
21898 (__TGMATH_CF128): Likewise.
21899 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
21901 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
21902 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
21904 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
21906 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
21907 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
21908 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
21909 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
21911 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
21912 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
21914 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
21915 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
21916 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
21918 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
21919 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
21920 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
21924 2017-11-14 Joseph Myers <joseph@codesourcery.com>
21926 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
21927 for stpncpy calls for GCC 8.
21928 (test_strncat): Disable -Wstringop-truncation warning for strncat
21929 calls for GCC 8. Disable -Wstringop-overflow= warning for one
21930 strncat call for GCC 7.
21931 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
21933 (test_memcmp): Use memcpy instead of strncpy for calls not copying
21936 * string/bug-strncat1.c: Include <libc-diag.h>.
21937 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
21939 2017-11-13 Claude Paroz <claude@2xlibre.net>
21942 * localedata/locales/aa_DJ: Improved readibility by replacing
21943 <Uxxxx> sequences in the ASCII printable range by their ASCII
21944 character equivalents.
21945 * localedata/locales/aa_ER: Likewise.
21946 * localedata/locales/aa_ER@saaho: Likewise.
21947 * localedata/locales/aa_ET: Likewise.
21948 * localedata/locales/af_ZA: Likewise.
21949 * localedata/locales/agr_PE: Likewise.
21950 * localedata/locales/ak_GH: Likewise.
21951 * localedata/locales/am_ET: Likewise.
21952 * localedata/locales/anp_IN: Likewise.
21953 * localedata/locales/ar_AE: Likewise.
21954 * localedata/locales/ar_BH: Likewise.
21955 * localedata/locales/ar_DZ: Likewise.
21956 * localedata/locales/ar_EG: Likewise.
21957 * localedata/locales/ar_IN: Likewise.
21958 * localedata/locales/ar_IQ: Likewise.
21959 * localedata/locales/ar_JO: Likewise.
21960 * localedata/locales/ar_KW: Likewise.
21961 * localedata/locales/ar_LB: Likewise.
21962 * localedata/locales/ar_LY: Likewise.
21963 * localedata/locales/ar_MA: Likewise.
21964 * localedata/locales/ar_OM: Likewise.
21965 * localedata/locales/ar_QA: Likewise.
21966 * localedata/locales/ar_SA: Likewise.
21967 * localedata/locales/ar_SD: Likewise.
21968 * localedata/locales/ar_SS: Likewise.
21969 * localedata/locales/ar_SY: Likewise.
21970 * localedata/locales/ar_TN: Likewise.
21971 * localedata/locales/ar_YE: Likewise.
21972 * localedata/locales/as_IN: Likewise.
21973 * localedata/locales/ast_ES: Likewise.
21974 * localedata/locales/ayc_PE: Likewise.
21975 * localedata/locales/az_AZ: Likewise.
21976 * localedata/locales/az_IR: Likewise.
21977 * localedata/locales/be_BY: Likewise.
21978 * localedata/locales/be_BY@latin: Likewise.
21979 * localedata/locales/bem_ZM: Likewise.
21980 * localedata/locales/ber_DZ: Likewise.
21981 * localedata/locales/ber_MA: Likewise.
21982 * localedata/locales/bg_BG: Likewise.
21983 * localedata/locales/bhb_IN: Likewise.
21984 * localedata/locales/bho_IN: Likewise.
21985 * localedata/locales/bi_VU: Likewise.
21986 * localedata/locales/bn_BD: Likewise.
21987 * localedata/locales/bn_IN: Likewise.
21988 * localedata/locales/bo_CN: Likewise.
21989 * localedata/locales/bo_IN: Likewise.
21990 * localedata/locales/br_FR: Likewise.
21991 * localedata/locales/brx_IN: Likewise.
21992 * localedata/locales/bs_BA: Likewise.
21993 * localedata/locales/byn_ER: Likewise.
21994 * localedata/locales/ca_AD: Likewise.
21995 * localedata/locales/ca_ES: Likewise.
21996 * localedata/locales/ca_FR: Likewise.
21997 * localedata/locales/ca_IT: Likewise.
21998 * localedata/locales/ce_RU: Likewise.
21999 * localedata/locales/chr_US: Likewise.
22000 * localedata/locales/cmn_TW: Likewise.
22001 * localedata/locales/crh_UA: Likewise.
22002 * localedata/locales/cs_CZ: Likewise.
22003 * localedata/locales/csb_PL: Likewise.
22004 * localedata/locales/cv_RU: Likewise.
22005 * localedata/locales/cy_GB: Likewise.
22006 * localedata/locales/da_DK: Likewise.
22007 * localedata/locales/de_AT: Likewise.
22008 * localedata/locales/de_BE: Likewise.
22009 * localedata/locales/de_CH: Likewise.
22010 * localedata/locales/de_DE: Likewise.
22011 * localedata/locales/de_IT: Likewise.
22012 * localedata/locales/de_LI: Likewise.
22013 * localedata/locales/de_LU: Likewise.
22014 * localedata/locales/doi_IN: Likewise.
22015 * localedata/locales/dv_MV: Likewise.
22016 * localedata/locales/dz_BT: Likewise.
22017 * localedata/locales/el_CY: Likewise.
22018 * localedata/locales/el_GR: Likewise.
22019 * localedata/locales/en_AG: Likewise.
22020 * localedata/locales/en_AU: Likewise.
22021 * localedata/locales/en_BW: Likewise.
22022 * localedata/locales/en_CA: Likewise.
22023 * localedata/locales/en_DK: Likewise.
22024 * localedata/locales/en_GB: Likewise.
22025 * localedata/locales/en_HK: Likewise.
22026 * localedata/locales/en_IE: Likewise.
22027 * localedata/locales/en_IL: Likewise.
22028 * localedata/locales/en_IN: Likewise.
22029 * localedata/locales/en_NG: Likewise.
22030 * localedata/locales/en_NZ: Likewise.
22031 * localedata/locales/en_PH: Likewise.
22032 * localedata/locales/en_SG: Likewise.
22033 * localedata/locales/en_US: Likewise.
22034 * localedata/locales/en_ZA: Likewise.
22035 * localedata/locales/en_ZM: Likewise.
22036 * localedata/locales/en_ZW: Likewise.
22037 * localedata/locales/eo: Likewise.
22038 * localedata/locales/es_AR: Likewise.
22039 * localedata/locales/es_BO: Likewise.
22040 * localedata/locales/es_CL: Likewise.
22041 * localedata/locales/es_CO: Likewise.
22042 * localedata/locales/es_CR: Likewise.
22043 * localedata/locales/es_CU: Likewise.
22044 * localedata/locales/es_DO: Likewise.
22045 * localedata/locales/es_EC: Likewise.
22046 * localedata/locales/es_ES: Likewise.
22047 * localedata/locales/es_GT: Likewise.
22048 * localedata/locales/es_HN: Likewise.
22049 * localedata/locales/es_MX: Likewise.
22050 * localedata/locales/es_NI: Likewise.
22051 * localedata/locales/es_PA: Likewise.
22052 * localedata/locales/es_PE: Likewise.
22053 * localedata/locales/es_PR: Likewise.
22054 * localedata/locales/es_PY: Likewise.
22055 * localedata/locales/es_SV: Likewise.
22056 * localedata/locales/es_US: Likewise.
22057 * localedata/locales/es_UY: Likewise.
22058 * localedata/locales/es_VE: Likewise.
22059 * localedata/locales/et_EE: Likewise.
22060 * localedata/locales/eu_ES: Likewise.
22061 * localedata/locales/eu_ES@euro: Likewise.
22062 * localedata/locales/fa_IR: Likewise.
22063 * localedata/locales/ff_SN: Likewise.
22064 * localedata/locales/fi_FI: Likewise.
22065 * localedata/locales/fil_PH: Likewise.
22066 * localedata/locales/fo_FO: Likewise.
22067 * localedata/locales/fr_BE: Likewise.
22068 * localedata/locales/fr_CA: Likewise.
22069 * localedata/locales/fr_CH: Likewise.
22070 * localedata/locales/fr_FR: Likewise.
22071 * localedata/locales/fr_LU: Likewise.
22072 * localedata/locales/fur_IT: Likewise.
22073 * localedata/locales/fy_DE: Likewise.
22074 * localedata/locales/fy_NL: Likewise.
22075 * localedata/locales/ga_IE: Likewise.
22076 * localedata/locales/gd_GB: Likewise.
22077 * localedata/locales/gez_ER: Likewise.
22078 * localedata/locales/gez_ET: Likewise.
22079 * localedata/locales/gl_ES: Likewise.
22080 * localedata/locales/gu_IN: Likewise.
22081 * localedata/locales/gv_GB: Likewise.
22082 * localedata/locales/ha_NG: Likewise.
22083 * localedata/locales/hak_TW: Likewise.
22084 * localedata/locales/he_IL: Likewise.
22085 * localedata/locales/hi_IN: Likewise.
22086 * localedata/locales/hif_FJ: Likewise.
22087 * localedata/locales/hne_IN: Likewise.
22088 * localedata/locales/hr_HR: Likewise.
22089 * localedata/locales/hsb_DE: Likewise.
22090 * localedata/locales/ht_HT: Likewise.
22091 * localedata/locales/hu_HU: Likewise.
22092 * localedata/locales/hy_AM: Likewise.
22093 * localedata/locales/i18n: Likewise.
22094 * localedata/locales/ia_FR: Likewise.
22095 * localedata/locales/id_ID: Likewise.
22096 * localedata/locales/ig_NG: Likewise.
22097 * localedata/locales/ik_CA: Likewise.
22098 * localedata/locales/is_IS: Likewise.
22099 * localedata/locales/it_CH: Likewise.
22100 * localedata/locales/it_IT: Likewise.
22101 * localedata/locales/iu_CA: Likewise.
22102 * localedata/locales/ja_JP: Likewise.
22103 * localedata/locales/ka_GE: Likewise.
22104 * localedata/locales/kk_KZ: Likewise.
22105 * localedata/locales/kl_GL: Likewise.
22106 * localedata/locales/kn_IN: Likewise.
22107 * localedata/locales/ko_KR: Likewise.
22108 * localedata/locales/kok_IN: Likewise.
22109 * localedata/locales/ks_IN: Likewise.
22110 * localedata/locales/ks_IN@devanagari: Likewise.
22111 * localedata/locales/ku_TR: Likewise.
22112 * localedata/locales/kw_GB: Likewise.
22113 * localedata/locales/ky_KG: Likewise.
22114 * localedata/locales/lb_LU: Likewise.
22115 * localedata/locales/lg_UG: Likewise.
22116 * localedata/locales/li_BE: Likewise.
22117 * localedata/locales/li_NL: Likewise.
22118 * localedata/locales/lij_IT: Likewise.
22119 * localedata/locales/ln_CD: Likewise.
22120 * localedata/locales/lo_LA: Likewise.
22121 * localedata/locales/lt_LT: Likewise.
22122 * localedata/locales/lv_LV: Likewise.
22123 * localedata/locales/lzh_TW: Likewise.
22124 * localedata/locales/mag_IN: Likewise.
22125 * localedata/locales/mai_IN: Likewise.
22126 * localedata/locales/mg_MG: Likewise.
22127 * localedata/locales/mhr_RU: Likewise.
22128 * localedata/locales/mi_NZ: Likewise.
22129 * localedata/locales/mk_MK: Likewise.
22130 * localedata/locales/ml_IN: Likewise.
22131 * localedata/locales/mn_MN: Likewise.
22132 * localedata/locales/mni_IN: Likewise.
22133 * localedata/locales/mr_IN: Likewise.
22134 * localedata/locales/ms_MY: Likewise.
22135 * localedata/locales/mt_MT: Likewise.
22136 * localedata/locales/my_MM: Likewise.
22137 * localedata/locales/nan_TW: Likewise.
22138 * localedata/locales/nan_TW@latin: Likewise.
22139 * localedata/locales/nb_NO: Likewise.
22140 * localedata/locales/nds_DE: Likewise.
22141 * localedata/locales/nds_NL: Likewise.
22142 * localedata/locales/ne_NP: Likewise.
22143 * localedata/locales/nhn_MX: Likewise.
22144 * localedata/locales/niu_NU: Likewise.
22145 * localedata/locales/niu_NZ: Likewise.
22146 * localedata/locales/nl_AW: Likewise.
22147 * localedata/locales/nl_BE: Likewise.
22148 * localedata/locales/nl_NL: Likewise.
22149 * localedata/locales/nn_NO: Likewise.
22150 * localedata/locales/nr_ZA: Likewise.
22151 * localedata/locales/nso_ZA: Likewise.
22152 * localedata/locales/oc_FR: Likewise.
22153 * localedata/locales/om_ET: Likewise.
22154 * localedata/locales/om_KE: Likewise.
22155 * localedata/locales/or_IN: Likewise.
22156 * localedata/locales/os_RU: Likewise.
22157 * localedata/locales/pa_IN: Likewise.
22158 * localedata/locales/pa_PK: Likewise.
22159 * localedata/locales/pap_AW: Likewise.
22160 * localedata/locales/pap_CW: Likewise.
22161 * localedata/locales/pl_PL: Likewise.
22162 * localedata/locales/ps_AF: Likewise.
22163 * localedata/locales/pt_BR: Likewise.
22164 * localedata/locales/pt_PT: Likewise.
22165 * localedata/locales/quz_PE: Likewise.
22166 * localedata/locales/raj_IN: Likewise.
22167 * localedata/locales/ro_RO: Likewise.
22168 * localedata/locales/ru_RU: Likewise.
22169 * localedata/locales/ru_UA: Likewise.
22170 * localedata/locales/rw_RW: Likewise.
22171 * localedata/locales/sa_IN: Likewise.
22172 * localedata/locales/sat_IN: Likewise.
22173 * localedata/locales/sc_IT: Likewise.
22174 * localedata/locales/sd_IN: Likewise.
22175 * localedata/locales/sd_IN@devanagari: Likewise.
22176 * localedata/locales/se_NO: Likewise.
22177 * localedata/locales/sgs_LT: Likewise.
22178 * localedata/locales/shs_CA: Likewise.
22179 * localedata/locales/si_LK: Likewise.
22180 * localedata/locales/sid_ET: Likewise.
22181 * localedata/locales/sk_SK: Likewise.
22182 * localedata/locales/sl_SI: Likewise.
22183 * localedata/locales/sm_WS: Likewise.
22184 * localedata/locales/so_DJ: Likewise.
22185 * localedata/locales/so_ET: Likewise.
22186 * localedata/locales/so_KE: Likewise.
22187 * localedata/locales/so_SO: Likewise.
22188 * localedata/locales/sq_AL: Likewise.
22189 * localedata/locales/sq_MK: Likewise.
22190 * localedata/locales/sr_ME: Likewise.
22191 * localedata/locales/sr_RS: Likewise.
22192 * localedata/locales/sr_RS@latin: Likewise.
22193 * localedata/locales/ss_ZA: Likewise.
22194 * localedata/locales/st_ZA: Likewise.
22195 * localedata/locales/sv_FI: Likewise.
22196 * localedata/locales/sv_SE: Likewise.
22197 * localedata/locales/sw_KE: Likewise.
22198 * localedata/locales/sw_TZ: Likewise.
22199 * localedata/locales/szl_PL: Likewise.
22200 * localedata/locales/ta_IN: Likewise.
22201 * localedata/locales/ta_LK: Likewise.
22202 * localedata/locales/tcy_IN: Likewise.
22203 * localedata/locales/te_IN: Likewise.
22204 * localedata/locales/tg_TJ: Likewise.
22205 * localedata/locales/th_TH: Likewise.
22206 * localedata/locales/the_NP: Likewise.
22207 * localedata/locales/ti_ER: Likewise.
22208 * localedata/locales/ti_ET: Likewise.
22209 * localedata/locales/tig_ER: Likewise.
22210 * localedata/locales/tk_TM: Likewise.
22211 * localedata/locales/tl_PH: Likewise.
22212 * localedata/locales/tn_ZA: Likewise.
22213 * localedata/locales/to_TO: Likewise.
22214 * localedata/locales/tpi_PG: Likewise.
22215 * localedata/locales/tr_CY: Likewise.
22216 * localedata/locales/tr_TR: Likewise.
22217 * localedata/locales/ts_ZA: Likewise.
22218 * localedata/locales/tt_RU: Likewise.
22219 * localedata/locales/tt_RU@iqtelif: Likewise.
22220 * localedata/locales/ug_CN: Likewise.
22221 * localedata/locales/uk_UA: Likewise.
22222 * localedata/locales/unm_US: Likewise.
22223 * localedata/locales/ur_IN: Likewise.
22224 * localedata/locales/ur_PK: Likewise.
22225 * localedata/locales/uz_UZ: Likewise.
22226 * localedata/locales/uz_UZ@cyrillic: Likewise.
22227 * localedata/locales/ve_ZA: Likewise.
22228 * localedata/locales/vi_VN: Likewise.
22229 * localedata/locales/wa_BE: Likewise.
22230 * localedata/locales/wae_CH: Likewise.
22231 * localedata/locales/wal_ET: Likewise.
22232 * localedata/locales/wo_SN: Likewise.
22233 * localedata/locales/xh_ZA: Likewise.
22234 * localedata/locales/yi_US: Likewise.
22235 * localedata/locales/yo_NG: Likewise.
22236 * localedata/locales/yue_HK: Likewise.
22237 * localedata/locales/yuw_PG: Likewise.
22238 * localedata/locales/zh_CN: Likewise.
22239 * localedata/locales/zh_HK: Likewise.
22240 * localedata/locales/zh_SG: Likewise.
22241 * localedata/locales/zh_TW: Likewise.
22242 * localedata/locales/zu_ZA: Likewise.
22244 2017-11-13 Florian Weimer <fweimer@redhat.com>
22246 * support/next_to_fault.h, support/next_to_fault.c: New files.
22247 * support/Makefile (libsupport-routines): Add next_to_fault.
22248 * resolv/tst-inet_pton.c (struct next_to_fault)
22249 (next_to_fault_allocate, next_to_fault_free): Remove.
22250 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
22252 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
22254 * elf/dl-support.c: Include <dl-procruntime.c>.
22255 * include/link.h: Include <link_map.h>.
22256 * sysdeps/generic/dl-procruntime.c: New file.
22257 * sysdeps/generic/link_map.h: Likewise.
22258 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
22259 the writable ld.so namespace.
22261 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
22263 timezone: pacify GCC -Wstringop-truncation
22264 Problem reported by Martin Sebor in:
22265 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
22266 * timezone/zic.c (writezone): Use memcpy, not strncpy.
22268 2017-11-12 Florian Weimer <fweimer@redhat.com>
22270 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
22272 (tests): Add tst-xreadlink.
22273 * support/support.h (xstrndup): Declare.
22274 * support/xunistd.h (xunlink, xreadlink): Declare.
22275 * support/temp_file.h (support_create_temp_directory): Declare.
22276 * support/temp_file.c (support_create_temp_directory): New function.
22277 * support/support_chroot.c (support_chroot_create): Use it.
22278 * support/xreadlink.c: New file.
22279 * support/xstrndup.c: Likewise.
22280 * support/xunlink.c: Likewise.
22281 * support/tst-xreadlink.c: Likewise.
22283 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
22285 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
22287 2017-11-11 Florian Weimer <fweimer@redhat.com>
22291 * resolv/res_comp.c (printable_string, binary_hnok)
22292 (binary_leading_dash): New functions.
22293 (res_hnok): Reimplement using these functions and ns_name_pton.
22294 (res_ownok): Likewise.
22295 (res_mailok): Reimplement using printable_string, ns_name_pton and
22297 (res_dnok): Reimplement using printable_string and ns_name_pton.
22298 * resolv/tst-res_hnok.c (tests): Add additional tests.
22299 (LETTERDIGITS, PRINTABLE): Define.
22300 (do_test): Adjust one_char results.
22302 2017-11-11 Florian Weimer <fweimer@redhat.com>
22305 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
22306 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
22308 2017-11-11 Florian Weimer <fweimer@redhat.com>
22310 * resolv/tst-ns_name_pton.c: New file.
22311 * resolv/Makefile (tests): Add tst-ns_name_pton.
22312 (tst-ns_name_pton): Link against libresolv.
22314 2017-11-11 Florian Weimer <fweimer@redhat.com>
22316 * resolv/tst-res_hnok.c: New file.
22317 * resolv/Makefile (tests): Add tst-res_hnok.
22318 (tst-res_hnok): Link against libresolv.
22320 2017-11-11 Florian Weimer <fweimer@redhat.com>
22322 * resolv/tst-resolv-network.c: Use test framework instead explicit
22325 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
22327 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
22328 <jmp_buf-macros.h>.
22329 [!_ISOMAC] (STR_HELPER): New.
22330 [!_ISOMAC] (STR): Likewise.
22331 [!_ISOMAC] (TEST_SIZE): Likewise.
22332 [!_ISOMAC] (TEST_ALIGN): Likewise.
22333 [!_ISOMAC] (TEST_OFFSET): Likewise.
22334 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
22335 field offsets of jmp_buf as well as sigjmp_buf.
22336 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
22337 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
22338 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
22339 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
22340 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
22341 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
22342 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
22343 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
22344 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
22345 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
22347 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
22349 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
22350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
22352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
22354 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
22355 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
22356 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
22357 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
22358 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
22359 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
22361 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
22363 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
22364 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
22365 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
22367 2017-11-07 Joseph Myers <joseph@codesourcery.com>
22370 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22371 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
22372 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22373 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
22374 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22375 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
22376 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22377 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
22378 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22379 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
22380 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22381 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
22382 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22383 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
22384 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22385 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
22386 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22387 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
22388 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22389 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
22390 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22391 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
22392 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22393 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
22394 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22395 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
22396 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22397 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
22398 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22399 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
22400 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22401 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
22402 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22403 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
22404 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22405 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
22406 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22407 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
22408 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22409 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
22410 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22411 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
22412 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22413 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
22414 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22415 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
22416 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22417 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
22418 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22419 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
22420 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22421 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
22422 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22423 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
22424 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22425 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
22426 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22427 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
22428 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22429 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
22430 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22431 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
22432 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22433 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
22434 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22435 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
22436 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22437 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
22438 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22439 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
22440 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22441 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
22442 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22443 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
22444 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22445 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
22446 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22447 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
22448 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22449 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
22450 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22451 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
22452 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22453 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
22454 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22455 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
22456 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22457 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
22459 * stdlib/tst-strtod.h (F16): New macro.
22465 (IF_FLOAT16): Likewise.
22466 (IF_FLOAT32): Likewise.
22467 (IF_FLOAT64): Likewise.
22468 (IF_FLOAT32X): Likewise.
22469 (IF_FLOAT64X): Likewise.
22470 (IF_FLOAT128X): Likewise.
22471 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
22472 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
22473 (STRTOD_TEST_FOREACH): Likewise.
22474 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
22475 (CHOOSE_f64): Likewise.
22476 (CHOOSE_f32x): Likewise.
22477 (CHOOSE_f64x): Likewise.
22479 2017-11-07 Andreas Schwab <schwab@suse.de>
22481 * nptl/Makefile (tests-internal): Remove tst-typesizes.
22483 2017-11-07 Mike FABIAN <mfabian@redhat.com>
22486 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
22488 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
22491 2017-11-07 Claude Paroz <claude@2xlibre.net>
22494 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
22496 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
22498 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
22501 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22504 * nptl/allocatestack.c (allocate_stack): Check if
22505 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
22506 __PTHREAD_MUTEX_HAVE_PREV is defined.
22507 * nptl/descr.h (pthread): Likewise.
22508 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22510 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
22511 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
22512 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
22513 * sysdeps/nptl/bits/thread-shared-types.h
22514 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
22516 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
22517 of __WORDSIZE for internal layout.
22518 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
22519 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
22520 instead of __WORDSIZE whether to use an union for __spins and __list
22522 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
22524 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
22525 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
22527 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
22528 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22530 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
22531 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22533 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
22534 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22536 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
22537 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22539 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
22540 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22542 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
22543 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22545 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
22546 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22548 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
22549 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22551 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
22552 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22554 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
22555 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22557 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
22558 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22560 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
22561 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22563 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
22564 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22566 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
22567 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22570 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
22572 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
22573 checks for expected input type size.
22574 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
22575 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
22577 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
22578 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
22579 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
22580 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
22581 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
22582 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
22583 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
22584 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
22585 superflous runtime assert check.
22586 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
22588 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
22590 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
22592 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
22594 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
22596 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
22598 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
22599 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
22600 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
22602 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
22604 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
22606 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
22608 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
22610 * nptl/pthread_attr_setinheritsched.c
22611 (__pthread_attr_setinheritsched): Likewise.
22612 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
22614 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
22616 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
22617 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
22618 __old_pthread_attr_setstack): Likewise.
22619 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
22621 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
22623 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
22625 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
22626 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
22628 * nptl/tst-typesizes.c: Remove file.
22630 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
22631 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
22632 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
22633 checks for internal pthread_mutex_t offsets.
22634 * sysdeps/aarch64/nptl/pthread-offsets.h
22635 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
22636 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
22637 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
22638 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
22639 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
22640 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
22641 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
22642 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
22643 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
22644 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
22645 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
22646 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
22647 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
22648 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
22649 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
22650 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
22651 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
22652 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
22654 2017-11-07 Florian Weimer <fweimer@redhat.com>
22656 * bits/mman-linux.h: Move ...
22657 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
22659 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
22662 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22664 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
22665 Redefine STRNLEN as __strnlen_power8.
22667 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22669 * signal/sighold.c (sighold): Optimize implementation.
22671 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
22672 __NR_rt_sigqueueinfo.
22674 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
22676 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
22677 assume __NR_rt_sigtimedwait.
22678 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
22679 and add LIBC_CANCEL_HANDLED for cancellation marking.
22680 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22682 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
22683 (sysdeps_routines): Add memchr_noneon.
22684 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
22685 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
22686 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
22687 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
22688 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
22689 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
22690 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
22692 * sysdeps/arm/arm-ifunc.h: New file.
22693 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
22694 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
22695 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
22696 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
22697 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
22698 (__memcpy_neon): Avoid create hidden alias.
22699 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
22700 (__memcpy_vfp): Likewise.
22701 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
22702 (sysdep_routines): Add memcpy_arm.
22703 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
22705 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
22708 * Makerules (make-link-multidir): New.
22709 * config.make.in (multidir): New.
22710 * configure.ac (libc_cv_multidir): New. AC_SUBST.
22711 * configure: Regenerated.
22712 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
22713 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
22714 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
22717 2017-11-06 Joseph Myers <joseph@codesourcery.com>
22720 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
22721 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
22723 2017-11-04 Mike FABIAN <mfabian@redhat.com>
22725 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
22728 2017-11-04 Florian Weimer <fweimer@redhat.com>
22730 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
22732 2017-11-03 Joseph Myers <joseph@codesourcery.com>
22734 * math/math.h [__HAVE_DISTINCT_FLOAT16
22735 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
22736 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
22737 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
22738 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
22739 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
22740 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
22741 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22742 (__MATH_TG_F32): New macro.
22743 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22744 (__MATH_TG_F64X): Likewise.
22745 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22746 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
22748 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
22750 * po/de.po: Update translations.
22751 * po/ru.po: Likewise.
22753 2017-11-03 Florian Weimer <fweimer@redhat.com>
22755 * manual/filesys.texi (Hard Links): Document linkat.
22757 2017-11-03 Joseph Myers <joseph@codesourcery.com>
22759 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
22760 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
22761 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
22762 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
22763 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
22764 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
22765 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
22766 the same as _Float128.
22767 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
22768 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
22769 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
22772 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
22774 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
22776 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
22778 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22779 (strtof32x): Likewise.
22780 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22781 (strtof64x): Likewise.
22782 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22783 (strtof128x): Likewise.
22784 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22785 (strfromf16): Likewise.
22786 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22787 (strfromf32): Likewise.
22788 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22789 (strfromf64): Likewise.
22790 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22791 (strfromf32x): Likewise.
22792 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22793 (strfromf64x): Likewise.
22794 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22795 (strfromf128x): Likewise.
22796 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
22797 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
22798 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
22799 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
22800 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
22801 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
22803 2017-11-03 Richard Henderson <rth@twiddle.net>
22805 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
22807 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22809 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
22811 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22813 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
22814 DT_TLSDESC_GOT initialization.
22815 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
22816 (_dl_tlsdesc_resolve_hold): Likewise.
22817 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
22818 (_dl_tlsdesc_resolve_hold): Likewise.
22819 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
22820 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
22822 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22824 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
22826 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22829 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
22830 non-lazily for R_ARM_TLS_DESC.
22832 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22835 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
22836 R_ARM_TLS_DESC case.
22837 (elf_machine_lazy_rel): Remove the prelink check.
22839 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22841 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
22842 DT_TLSDESC_GOT initialization.
22843 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
22844 (_dl_tlsdesc_resolve_rela): Likewise.
22845 (_dl_tlsdesc_resolve_hold): Likewise.
22846 (_dl_tlsdesc_undefweak): Remove ldar.
22847 (_dl_tlsdesc_dynamic): Likewise.
22848 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
22849 (_dl_tlsdesc_resolve_rela): Likewise.
22850 (_dl_tlsdesc_resolve_hold): Likewise.
22851 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
22852 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
22853 (_dl_tlsdesc_resolve_rela): Likewise.
22854 (_dl_tlsdesc_resolve_hold): Likewise.
22856 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22858 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
22859 binding and initialization non-lazily for R_AARCH64_TLSDESC.
22861 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22863 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
22864 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22866 2017-11-02 Joseph Myers <joseph@codesourcery.com>
22868 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
22870 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
22871 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
22872 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
22873 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
22874 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
22875 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
22876 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
22877 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
22878 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
22879 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
22880 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
22882 2017-11-02 Mike FABIAN <mfabian@redhat.com>
22885 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
22886 * localedata/locales/tpi_PG: Add standard header.
22888 2017-11-02 Florian Weimer <fweimer@redhat.com>
22890 test-errno-linux: quotactl can fail with EPERM in containers.
22891 * sysdeps/unix/sysv/linux/test-errno-linux.c
22892 (LIST, LIST_FORWARD): New macros.
22893 (check_error_in_list): New function.
22894 (test_wrp_rv): Accept list of permitted error codes.
22895 (test_wrp_rv2): Remove.
22896 (test_wrp): Call test_wrp_rv with list of error codes.
22897 (test_wrp2): Accept list of error codes.
22898 (do_test): Adjust. Allow EPERM for quotactl.
22900 2017-11-02 Florian Weimer <fweimer@redhat.com>
22902 * stdio-common/bug16.c (do_test): Use array_length.
22903 * stdio-common/errlist.c (_sys_nerr): Likewise.
22904 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
22905 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
22906 * stdio-common/psiginfo.c (psiginfo): Use array_length.
22907 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
22908 (do_test): Use array_length.
22909 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
22910 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
22911 * stdio-common/tst-printf-round.c (do_test): Likewise.
22912 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
22913 (CHECK): Use array_length.
22914 * stdio-common/tstdiomisc.c (t3, F): Likewise.
22915 * stdio-common/tstscanf.c (main): Likewise.
22916 * stdio-common/vfprintf.c (process_string_arg): Likewise.
22918 2017-11-02 Florian Weimer <fweimer@redhat.com>
22920 Add array_length and array_end macros.
22921 * include/array_length.h: New file.
22923 2017-11-02 Florian Weimer <fweimer@redhat.com>
22926 * posix/tst-glob-tilde.c (do_noescape): New variable.
22927 (one_test): Process it.
22928 (do_test): Set do_noescape. Add unescaping test case.
22930 2017-11-01 Joseph Myers <joseph@codesourcery.com>
22933 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
22934 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
22935 with appropriate macros defined and undefined.
22936 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
22937 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22938 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
22939 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22940 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
22941 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22942 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
22943 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22944 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
22945 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22948 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
22949 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
22950 that for long double. Do not condition define and undefine of
22951 _Mdouble_complex_ on [__CFLOAT128].
22953 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
22955 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
22956 of <sysdeps/generic/sysdep.h>.
22957 (ALIGNARG): Removed.
22958 (ASM_SIZE_DIRECTIVE): Likewise.
22961 (ENTRY_CHK): Likewise.
22962 (END_CHK): Likewise.
22963 (syscall_error): Likewise.
22964 (mcount): Likewise.
22965 (PSEUDO_END): Likewise.
22967 (atom_text_section): Likewise.
22968 * sysdeps/x86/sysdep.h: New file.
22969 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
22970 of <sysdeps/generic/sysdep.h>.
22971 (ALIGNARG): Removed.
22972 (ASM_SIZE_DIRECTIVE): Likewise.
22975 (ENTRY_CHK): Likewise.
22976 (END_CHK): Likewise.
22977 (syscall_error): Likewise.
22978 (mcount): Likewise.
22979 (PSEUDO_END): Likewise.
22981 (atom_text_section): Likewise.
22983 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
22985 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
22986 category of LC_CTYPE set to "i18n:2012".
22987 * localedata/locales/i18n_ctype: Regenerate.
22989 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
22991 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
22992 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
22993 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
22994 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
22996 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
22997 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
22998 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
22999 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
23001 2017-10-31 Joseph Myers <joseph@codesourcery.com>
23004 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
23006 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
23008 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
23010 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23011 (CMPLXF32X): Likewise.
23012 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23013 (CMPLXF64X): Likewise.
23014 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23015 (CMPLXF128X): Likewise.
23018 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
23019 (__MATH_EVAL_FMT2): Define to add 0.0f.
23021 2017-10-31 Alan Modra <amodra@gmail.com>
23023 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
23025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
23026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
23027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
23028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
23029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
23030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
23031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
23032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
23033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
23034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
23035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
23036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
23037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
23038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
23039 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
23040 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
23041 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
23042 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
23043 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
23044 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
23045 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
23046 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
23047 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
23048 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
23049 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
23050 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
23051 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
23052 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
23053 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
23054 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
23055 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
23056 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
23057 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
23058 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
23059 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
23060 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
23061 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
23062 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
23063 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
23064 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23065 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
23066 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
23067 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
23068 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
23069 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
23070 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
23071 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
23072 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
23073 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
23074 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
23075 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
23076 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
23077 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
23078 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
23079 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
23080 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
23081 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
23082 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
23083 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
23084 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
23085 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
23086 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
23087 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
23088 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23089 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
23090 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
23091 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
23092 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
23093 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
23095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
23096 include sysdep.h and math_ldbl_opt.h.
23098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
23099 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
23100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
23101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
23102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
23103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
23104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
23105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
23106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
23107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
23108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
23109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
23110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
23111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
23112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
23113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
23114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
23115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
23116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
23117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
23118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
23119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
23120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
23121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
23122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
23123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
23125 2017-10-31 Alan Modra <amodra@gmail.com>
23127 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
23128 string/strncase_l.c, not string/strncase.c.
23129 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
23130 (libc_hidden_def): Redefine.
23132 2017-10-31 Alan Modra <amodra@gmail.com>
23134 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
23135 (__STRCMP, STRCMP, __strcasecmp_l): Define.
23136 (__strcasecmp): Don't define.
23138 2017-10-31 Alan Modra <amodra@gmail.com>
23140 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
23142 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
23143 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
23144 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
23146 2017-10-31 Alan Modra <amodra@gmail.com>
23148 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
23151 2017-10-31 Alan Modra <amodra@gmail.com>
23153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
23154 Redefine only when SHARED.
23156 2017-10-30 Joseph Myers <joseph@codesourcery.com>
23158 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
23159 Include <bits/math-finite.h> with appropriate macros defined and
23161 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
23162 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
23163 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
23164 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
23165 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
23167 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
23168 [!_Mlong_double_] (_Mlong_double_): Likewise.
23169 [!_Mfloat16_] (_Mfloat16_): Likewise.
23170 [!_Mfloat32_] (_Mfloat32_): Likewise.
23171 [!_Mfloat64_] (_Mfloat64_): Likewise.
23172 [!_Mfloat128_] (_Mfloat128_): Likewise.
23173 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
23174 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
23175 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
23176 (_Mdouble_): Define without indirection through those macros.
23177 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
23178 [!_Mfloat128_] (_Mfloat128_): Likewise.
23179 [_Mlong_double_] (_Mlong_double_): Likewise.
23180 (_Mdouble_): Define without indirection through those macros.
23181 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
23182 not add -D_Mlong_double_=double.
23183 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
23184 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
23186 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23188 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
23190 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23192 * sysdeps/x86/libc-start.c: Reformat.
23194 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23197 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
23198 (1): Renamed to ...
23201 (L(Src2)): Likewise.
23202 (L(1)): Renamed to ...
23205 2017-10-30 Joseph Myers <joseph@codesourcery.com>
23207 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
23208 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
23209 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
23210 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
23211 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
23212 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
23213 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
23214 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
23215 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
23216 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
23217 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
23218 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
23219 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
23220 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
23221 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
23222 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
23223 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
23224 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
23225 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
23226 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
23227 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
23228 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
23229 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
23230 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
23231 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
23232 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
23233 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
23234 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
23235 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
23236 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
23237 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
23238 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
23239 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
23240 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
23241 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
23242 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
23243 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
23244 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
23245 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
23246 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
23247 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
23248 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
23249 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
23250 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
23251 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
23252 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
23253 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
23254 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
23255 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
23256 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
23257 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
23258 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
23259 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
23260 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
23261 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
23262 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
23263 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
23264 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
23265 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
23266 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
23267 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
23268 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
23269 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
23270 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
23271 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
23272 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
23274 2017-10-30 Florian Weimer <fweimer@redhat.com>
23276 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
23278 * io/tst-mkdirat.c (do_test): Likewise.
23279 * io/tst-mkfifoat.c (do_test): Likewise.
23280 * io/tst-mknodat.c (do_test): Likewise.
23281 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
23282 * locale/programs/locale.c (select_dirs): Likewise.
23283 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
23284 * posix/bug-glob2.c (my_readdir): Likewise.
23285 * posix/tst-dir.c (main): Likewise.
23286 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
23287 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
23289 2017-10-30 Florian Weimer <fweimer@redhat.com>
23291 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
23294 2017-10-30 Florian Weimer <fweimer@redhat.com>
23296 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
23297 Convert to support/test-driver.c.
23298 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
23299 New macro parameters.
23300 (PRINTF): Remove macro. Use test_verbose conditionals instead.
23301 * posix/tst-gnuglob.c: New file.
23302 * posix/tst-gnuglob64.c: Likewise.
23303 * posix/Makefile (tests): Add tst-gnuglob64.
23305 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
23308 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
23309 and use a better translation for March in “mon”.
23310 * localedata/locales/csb_PL: Use more ASCII to improve the
23311 readability of the source.
23313 2017-10-30 Mike FABIAN <mfabian@redhat.com>
23316 * localedata/locales/km_KH: Use ASCII as much
23317 as possible for better readability of the source and
23318 remove useless comments.
23319 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
23320 was commented out and apparently wrong anyway because it was
23321 using Lao characters. If Buddhist era should be used
23322 for km_KH, a native speaker should write the correct formaat
23324 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
23325 (According to CLDR, the first weekday for Cambodia is Sunday).
23326 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
23327 (These were using Lao characters which must be wrong. If we get
23328 the correct data from a native speaker, we could add it back, until
23329 then it is better not to have name_mr and name_mrs at all than
23332 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
23334 * locale/loadlocale.c: Correct size of
23335 _nl_value_type_LC_<category> arrays.
23337 2017-10-27 Joseph Myers <joseph@codesourcery.com>
23339 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
23340 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
23341 with appropriate macros defined and undefined.
23342 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
23343 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
23344 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
23345 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
23346 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
23348 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
23350 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23353 2017-10-27 Mike FABIAN <mfabian@redhat.com>
23355 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
23356 with lowercase letters to make it agree with CLDR.
23358 2017-10-27 Mike FABIAN <mfabian@redhat.com>
23361 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
23362 first letters of yesstr and nostr in yesexpr and noexpr,
23363 not for the full words.
23364 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
23365 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
23366 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
23367 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
23368 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
23369 first letters of yesstr and nostr in yesexpr and noexpr,
23370 until now only English was matched in yesexpr and noexpr.
23371 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
23372 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
23373 fil but not for tl. As tl and fil are very similar, using fil
23374 is probably better than using English.
23376 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
23379 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
23380 in yesstr and nostr.
23382 2017-10-26 Joseph Myers <joseph@codesourcery.com>
23384 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23385 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
23386 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
23388 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
23390 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
23392 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
23394 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23395 (SNANF128X): Likewise.
23397 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23398 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
23399 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23400 (HUGE_VAL_F32): Likewise.
23401 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23402 (HUGE_VAL_F64): Likewise.
23403 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23404 (HUGE_VAL_F32X): Likewise.
23405 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23406 (HUGE_VAL_F64X): Likewise.
23407 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23408 (HUGE_VAL_F128X): Likewise.
23410 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
23412 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
23413 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
23414 for the br_FR locale.
23416 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
23419 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
23421 2017-10-25 Carlos O'Donell <carlos@redhat.com>
23423 * locale/programs/record-status.h: Define globals, and function
23424 prototypes. Move function bodies...
23425 * locale/programs/record-status.c: ... to here. New file.
23426 * iconv/Makefile (iconv_prog-modules): Add record-status.
23427 * locale/Makefile (lib-modules): Likewise.
23428 * iconv/iconv_prog.c: Remove verbose.
23429 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
23430 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
23431 record a warning about ASCII compatibility.
23432 * locale/programs/ld-monetary.c (monetary_finish): If
23433 warn_int_curr_symbol is true then record a warning about the symbol
23434 not being in our ISO 4217 list.
23435 * locale/programs/locale.c: Include record-status.h. Remove verbose.
23436 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
23437 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
23438 (OPT_NO_WARN): Define.
23439 (OPT_WARN): Define.
23440 (options): Add entry for --no-warnings, and --warnings.
23441 (set_warnings): New function to enable/disable warnings.
23442 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
23443 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
23444 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
23445 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
23446 Pass flags to generate_locale.
23447 (generate_locale): Accept new flag argument and pass it to localedef
23449 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
23450 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
23452 * localedata/Makefile (test-input-data): Use full file name.
23453 * localedata/da_DK.in: Rename to...
23454 * localedata/da_DK.ISO-8859-1.in: ...this.
23455 * localedata/de_DE.in: Rename to...
23456 * localedata/de_DE.ISO-8859-1.in: ...this.
23457 * localedata/en_US.in: Rename to...
23458 * localedata/en_US.ISO-8859-1.in: ...this.
23459 * localedata/fr_FR.in: Rename to...
23460 * localedata/fr_FR.UTF-8.in: ... this.
23461 * localedata/hr_HR.in: Rename to...
23462 * localedata/hr_HR.ISO-8859-2.in: ...this.
23463 * localedata/hu_HU.in: Rename to...
23464 * localedata/hu_HU.UTF-8.in: ...this.
23465 * localedata/si_LK.in: Rename to...
23466 * localedata/si_LK.UTF-8.in: ...this.
23467 * localedata/sv_SE.in: Rename to...
23468 * localedata/sv_SE.ISO-8859-1.in: ...this.
23469 * localedata/tr_TR.in: Rename to...
23470 * localedata/tr_TR.UTF-8.in: ...this.
23471 * localedata/uk_UA.in: Rename to...
23472 * localedata/uk_UA.UTF-8.in: ...this.
23473 * localedata/sort-test.sh: Test file is locale name with the
23476 * localedata/unicode-gen/Makefile (check_i18n): Rename to
23477 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
23479 * localedata/locales/i18n_ctype: Regenerate.
23480 * localedata/locales/tr_TR: Likewise.
23481 * localedata/locales/translit_circle: Likewise.
23482 * localedata/locales/translit_cjk_compat: Likewise.
23483 * localedata/locales/translit_combining: Likewise.
23484 * localedata/locales/translit_compat: Likewise.
23485 * localedata/locales/translit_font: Likewise.
23486 * localedata/locales/translit_fraction: Likewise.
23488 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23490 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
23491 lxvd2x/stxvd2x with lvx/stvx.
23492 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
23494 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
23496 * include/alloc_buffer.h: Replace "if if " with "if " in
23498 * sysdeps/mips/memcpy.S: Likkewise.
23499 * sysdeps/mips/memset.S: Likewise.
23500 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
23502 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
23504 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
23507 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23510 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
23511 yesexpr and noexpr.
23512 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
23513 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
23514 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
23515 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
23516 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
23517 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
23518 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
23520 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23522 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
23523 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
23524 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
23525 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
23526 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
23527 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
23528 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
23529 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
23530 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
23531 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
23532 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
23533 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
23535 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23537 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
23538 as possible for better readability of the source.
23539 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
23540 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
23541 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
23542 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
23543 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
23544 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
23545 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
23546 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
23547 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
23548 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
23549 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
23550 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
23551 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
23552 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
23553 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
23554 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
23555 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
23556 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
23557 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
23558 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
23559 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
23560 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
23561 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
23562 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
23563 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
23564 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
23565 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
23566 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
23567 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
23568 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
23569 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
23570 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
23571 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
23572 * localedata/locales/en_US (LC_MESSAGES): Likewise.
23573 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
23574 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
23575 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
23576 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
23577 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
23578 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
23579 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
23580 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
23581 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
23582 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
23583 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
23584 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
23585 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
23586 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
23587 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
23588 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
23589 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
23590 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
23591 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
23592 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
23593 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
23594 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
23595 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
23596 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
23597 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
23598 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
23599 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
23600 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
23601 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
23602 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
23603 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
23604 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
23605 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
23606 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
23607 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
23608 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
23609 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
23610 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
23611 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
23612 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
23613 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
23614 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
23615 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
23616 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
23617 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
23618 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
23619 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
23620 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
23621 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
23622 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
23623 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
23624 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
23625 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
23626 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
23627 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
23628 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
23629 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
23630 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
23631 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
23632 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
23633 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
23634 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
23635 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
23636 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
23637 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
23638 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
23639 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
23640 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
23641 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
23642 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
23643 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
23644 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
23645 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
23646 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
23647 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
23648 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
23649 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
23650 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
23651 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
23652 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
23653 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
23654 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
23655 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
23656 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
23657 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
23658 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
23659 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
23660 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
23661 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
23662 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
23663 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
23664 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
23665 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
23666 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
23667 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
23668 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
23669 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
23670 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
23671 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
23672 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
23673 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
23674 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
23675 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
23676 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
23677 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
23678 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
23679 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
23680 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
23681 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
23682 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
23683 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
23684 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
23685 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
23686 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
23687 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
23688 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
23689 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
23690 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
23691 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
23692 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
23693 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
23694 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
23695 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
23696 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
23697 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
23698 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
23699 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
23700 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
23701 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
23702 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
23703 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
23704 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
23705 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
23706 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
23707 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
23708 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
23709 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
23710 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
23711 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
23712 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
23714 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23716 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
23717 (Use first letters of yesstr and nostr correctly instead of using
23720 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23722 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
23723 (Use first letters of yesstr and nostr correctly).
23725 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23727 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
23728 also check for the first characters of yesstr and nostr.
23729 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
23730 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
23732 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23734 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
23735 also check for Chinese characters.
23737 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23739 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
23740 match also for the contents of yesstr and nostr. As the first letter
23741 of yesstr and nostr is equal, checking only for the first letter
23744 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23746 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
23747 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
23749 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23751 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
23752 of main contributor.
23754 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23756 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
23757 instead of using English.
23759 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23761 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
23762 by including the first letters of nostr and yesexpr in the regexp.
23763 Also make it more readable by using ASCII where possible.
23765 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23767 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
23768 the first letter of nostr in the regexp. It agrees with CLDR now.
23769 Also make it more readable by using ASCII where possible.
23771 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23773 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
23774 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
23775 these strings contain a U+17D6 (which somewhat looks like a colon)
23776 instead of a real colon to separate the full words for “yes”
23777 and “no” from the single letter responses.
23779 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23781 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
23782 it agree with CLDR (include the first letter of yesstr).
23783 Also make it more readable by using ASCII where possible.
23785 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23787 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
23788 and improve yesexpr and noexpr. The yesstr and nostr apparently
23789 came from CLDR. And CLDR has a bug there: these strings contain
23790 a U+0903 (which looks like a colon) instead of a real colon
23791 to separate the full words for “yes” and “no” from the single
23794 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23796 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
23797 letters of the full yesstr and nostr in yesexpr and noexpr.
23799 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23801 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
23802 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
23803 * localedata/locales/an_ES: Make source more readable by using ASCII
23806 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23809 * localedata/locales/yuw_PG: New file.
23810 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
23811 * locale/iso-639.def: Add Yau (Uruwa).
23813 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23815 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
23817 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23819 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
23820 (__libc_realloc): Likewise.
23821 (_mid_memalign): Likewise.
23822 (__libc_calloc): Likewise.
23824 2017-10-23 Mike FABIAN <mfabian@redhat.com>
23826 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
23827 by adding the generic +1 and -0 as in all other locales.
23828 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
23829 day names and make it more readable by using ASCII where possible.
23831 2017-10-24 Joseph Myers <joseph@codesourcery.com>
23833 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
23834 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
23836 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23838 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
23839 WNOHANG in waitpid call.
23841 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
23843 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
23844 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
23846 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
23847 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
23848 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
23849 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
23850 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
23851 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
23852 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
23853 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
23856 2017-10-23 Michael Collison <michael.collison@arm.com>
23858 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
23859 with __builtin_sqrt.
23860 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
23861 with __builtin_sqrtf.
23862 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
23863 with __builtin_ceil.
23864 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
23865 with __builtin_ceilf.
23866 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
23867 with __builtin_floor.
23868 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
23869 with __builtin_floorf.
23870 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
23871 with __builtin_fma.
23872 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
23873 with __builtin_fmaf.
23874 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
23875 with __builtin_fmax.
23876 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
23877 with __builtin_fmaxf.
23878 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
23879 with __builtin_fmin.
23880 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
23881 with __builtin_fminf.
23882 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
23883 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
23884 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
23885 with builtin_rint and conversion to int.
23886 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
23887 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
23888 with builtin_llround.
23889 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
23890 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
23891 with builtin_rint and conversion to long int.
23892 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
23893 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
23894 with builtin_lround.
23895 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
23896 with builtin_lroundf.
23897 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
23898 statements with __builtin_nearbyint.
23899 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
23900 statements with __builtin_nearbyintf.
23901 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
23902 with __builtin_rint.
23903 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
23904 with __builtin_rintf.
23905 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
23906 with __builtin_round.
23907 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
23908 with __builtin_roundf.
23909 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
23910 with __builtin_trunc.
23911 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
23912 with __builtin_truncf.
23913 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
23914 and s_l[l]round[f].c too.
23916 2017-10-23 Alan Modra <amodra@gmail.com>
23918 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
23919 Adjust stack after restoring regs. Add missing LR cfi_restore.
23921 2017-10-23 Alan Modra <amodra@gmail.com>
23923 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
23924 Move LR save and frame setup/teardown and LR restore to
23925 immediately around memset call. Provide cfi.
23927 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23929 * sysdeps/i386/fpu/e_powf.S: Removed.
23930 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
23931 * sysdeps/i386/fpu/w_powf.c: Likewise.
23932 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
23933 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23934 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23936 (CFLAGS-e_powf-sse2.c): New.
23937 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
23938 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
23940 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23942 * sysdeps/i386/fpu/e_log2f.S: Removed.
23943 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
23944 * sysdeps/i386/fpu/w_log2f.c: Likewise.
23945 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
23946 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23947 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23949 (CFLAGS-e_log2f-sse2.c): New.
23950 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
23951 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
23953 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23955 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23957 (CFLAGS-e_powf-fma.c): New.
23958 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
23959 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
23961 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23963 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23965 (CFLAGS-e_log2f-fma.c): New.
23966 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
23967 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
23969 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23971 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23973 (CFLAGS-e_logf-fma.c): New.
23974 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
23975 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
23977 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23979 * sysdeps/i386/fpu/e_logf.S: Removed.
23980 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
23981 * sysdeps/i386/fpu/w_logf.c: Likewise.
23982 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
23983 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
23984 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23985 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23987 (CFLAGS-e_logf-sse2.c): New.
23988 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
23989 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
23991 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23993 * sysdeps/i386/fpu/e_exp2f.S: Removed.
23994 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
23995 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
23996 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23997 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23999 (CFLAGS-e_exp2f-sse2.c): New.
24000 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
24001 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
24003 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24005 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24007 (CFLAGS-e_exp2f-fma.c): New.
24008 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
24009 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
24011 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24013 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
24014 * sysdeps/i386/fpu/e_expf.S: Likewise.
24015 * sysdeps/i386/fpu/math_errf.c: Likewise.
24016 * sysdeps/i386/fpu/w_expf.c: Likewise.
24017 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
24018 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24019 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
24020 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
24021 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24022 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24023 Remove e_expf-ia32.
24024 (CFLAGS-e_expf-sse2.c): New.
24025 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
24026 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
24028 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24030 * sysdeps/x86_64/fpu/e_expf.S: Removed.
24031 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
24032 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
24033 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
24035 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
24037 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
24038 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
24040 (__redirect_expf): This.
24041 (SYMBOL_NAME): Changed to expf.
24042 (__ieee754_expf): Renamed to ...
24044 (__GI___expf): This.
24045 (__ieee754_expf): Add strong_alias.
24046 (__expf_finite): Likewise.
24048 Include <sysdeps/ieee754/flt-32/e_expf.c>.
24050 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
24053 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
24056 2017-10-21 Florian Weimer <fweimer@redhat.com>
24058 * posix/Makefile (tests): Add tst-glob-tilde.
24059 (tests-special): Add tst-glob-tilde-mem.out
24060 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
24061 (tst-glob-tilde-mem.out): Add mtrace check.
24062 * posix/tst-glob-tilde.c: New file.
24064 2017-10-20 Joseph Myers <joseph@codesourcery.com>
24066 * bits/floatn-common.h: New file.
24067 * math/Makefile (headers): Add bits/floatn-common.h.
24068 * bits/floatn.h: Include <bits/floatn-common.h>.
24069 * sysdeps/ia64/bits/floatn.h: Likewise.
24070 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
24071 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
24072 * sysdeps/powerpc/bits/floatn.h: Likewise.
24073 * sysdeps/x86/bits/floatn.h: Likewise.
24075 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24077 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
24078 indicates whether compiler emits an warning for alias for
24079 functions with incompatible types.
24082 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
24083 the auxiliary process is terminated by a signal before calling _exit
24086 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24089 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
24091 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
24092 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
24093 and bit_arch_XSAVEC_Usable if needed.
24094 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
24095 and bit_arch_Use_dl_runtime_resolve_opt.
24096 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
24098 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
24099 (bit_arch_Prefer_No_AVX512): Updated.
24100 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
24101 (bit_arch_XSAVEC_Usable): New.
24102 (STATE_SAVE_OFFSET): Likewise.
24103 (STATE_SAVE_MASK): Likewise.
24104 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
24105 (cpu_features): Add xsave_state_size and xsave_state_full_size.
24106 (index_arch_Use_dl_runtime_resolve_opt): Removed.
24107 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
24108 (index_arch_XSAVEC_Usable): New.
24109 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
24110 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
24111 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
24113 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
24114 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
24115 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
24116 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
24117 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
24118 _dl_runtime_resolve_xsavec.
24119 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
24121 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
24122 instead of VEC_SIZE.
24123 (REGISTER_SAVE_BND0): Removed.
24124 (REGISTER_SAVE_BND1): Likewise.
24125 (REGISTER_SAVE_BND3): Likewise.
24126 (REGISTER_SAVE_RAX): Always defined to 0.
24128 (_dl_runtime_resolve_avx): Likewise.
24129 (_dl_runtime_resolve_avx_slow): Likewise.
24130 (_dl_runtime_resolve_avx_opt): Likewise.
24131 (_dl_runtime_resolve_avx512): Likewise.
24132 (_dl_runtime_resolve_avx512_opt): Likewise.
24133 (_dl_runtime_resolve_sse): Likewise.
24134 (_dl_runtime_resolve_sse_vex): Likewise.
24136 (_dl_runtime_resolve_fxsave): Likewise.
24137 (USE_XSAVE): Likewise.
24138 (_dl_runtime_resolve_xsave): Likewise.
24139 (USE_XSAVEC): Likewise.
24140 (_dl_runtime_resolve_xsavec): Likewise.
24141 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
24143 (_dl_runtime_resolve_avx512_opt): Likewise.
24144 (_dl_runtime_resolve_avx): Likewise.
24145 (_dl_runtime_resolve_avx_opt): Likewise.
24146 (_dl_runtime_resolve_sse): Likewise.
24147 (_dl_runtime_resolve_sse_vex): Likewise.
24148 (_dl_runtime_resolve_fxsave): New.
24149 (_dl_runtime_resolve_xsave): Likewise.
24150 (_dl_runtime_resolve_xsavec): Likewise.
24152 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
24156 * posix/glob.c (__glob): Fix one-byte overflow.
24158 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
24160 * malloc/malloc.c (sysdep-cancel.h): Add include.
24162 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
24164 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
24166 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
24168 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
24169 (tests): Remove $(objpfx)ga_test depdendency.
24170 * resolv/ga_test.c: Remove file.
24172 2017-10-20 Mike FABIAN <mfabian@redhat.com>
24175 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
24176 * localedata/locales/kab_DZ: New file.
24178 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24180 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
24181 _dl_relocate_static_pie instead of _dl_start to compute load
24182 address in static PIE.
24184 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24186 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
24188 2017-10-20 Mike FABIAN <mfabian@redhat.com>
24191 * localedata/SUPPORTED: Add shn_MM/UTF-8.
24192 * localedata/locales/shn_MM: New file.
24194 2017-10-20 Florian Weimer <fweimer@redhat.com>
24197 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
24198 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
24199 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
24200 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
24201 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
24202 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
24204 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
24206 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24208 2017-10-19 Joseph Myers <joseph@codesourcery.com>
24210 * sysdeps/mips/ieee754/bits/floatn.h: New file.
24213 * sysdeps/mips/bits/long-double.h: Move to ....
24214 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
24216 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
24218 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
24220 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
24221 H.J. Lu <hongjiu.lu@intel.com>
24224 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
24225 GLRO(dl_platform) to NULL.
24226 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
24227 (modules-names): Add tst-platformmod-1 and
24228 x86_64/tst-platformmod-2.
24229 (CFLAGS-tst-platform-1.c): New.
24230 (CFLAGS-tst-platformmod-1.c): Likewise.
24231 (CFLAGS-tst-platformmod-2.c): Likewise.
24232 (LDFLAGS-tst-platformmod-2.so): Likewise.
24233 ($(objpfx)tst-platform-1): Likewise.
24234 ($(objpfx)tst-platform-1.out): Likewise.
24235 (tst-platform-1-ENV): Likewise.
24236 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
24237 * sysdeps/x86_64/tst-platform-1.c: New file.
24238 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
24239 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
24241 2017-10-19 Mike FABIAN <mfabian@redhat.com>
24244 * locale/iso-639.def: Add Karbi.
24245 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
24246 * localedata/locales/mjw_IN: New file.
24248 2017-10-18 Joseph Myers <joseph@codesourcery.com>
24250 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
24251 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
24252 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
24253 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
24254 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
24255 (libm_alias_ldouble_other_r): Also create _Float128 alias.
24256 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
24258 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
24259 (libm_alias_ldouble_other_r): Also create _Float128 alias.
24260 * manual/math.texi (Mathematics): Document additional architecture
24261 support for _Float128.
24262 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24263 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24264 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24265 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24266 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24267 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24268 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24269 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24270 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24271 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24272 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24273 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24274 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24275 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24276 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24278 2017-10-18 Renlin Li <renlin.li@arm.com>
24280 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
24281 _DYNAMIC symbol to calculate load address.
24283 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
24285 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
24286 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
24288 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
24289 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
24291 2017-10-18 Mike FABIAN <mfabian@redhat.com>
24294 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
24295 and improve readability by using more ASCII.
24296 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
24297 and improve readability by using more ASCII.
24299 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
24301 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
24302 not all targets support atomics on bool.
24304 2017-10-17 Joseph Myers <joseph@codesourcery.com>
24306 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
24307 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
24309 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24310 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
24311 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24312 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
24313 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24314 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
24316 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24318 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
24321 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24324 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
24325 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
24326 (do_check_remalloced_chunk): Fix build bug.
24327 (do_check_malloc_state): Add assert that checks arena->top.
24328 (malloc_consolidate): Remove initialization.
24329 (int_mallinfo): Remove call to malloc_consolidate.
24330 (__libc_mallopt): Clarify why malloc_consolidate is needed.
24332 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24334 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
24335 (have_fastchunks): Remove.
24336 (clear_fastchunks): Remove.
24337 (set_fastchunks): Remove.
24338 (malloc_state): Add have_fastchunks.
24339 (malloc_init_state): Use have_fastchunks.
24340 (do_check_malloc_state): Remove incorrect invariant checks.
24341 (_int_malloc): Use have_fastchunks.
24342 (_int_free): Likewise.
24343 (malloc_consolidate): Likewise.
24345 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24347 * malloc/malloc.c (tcache_put): Inline.
24348 (tcache_get): Inline.
24350 2017-10-17 Jordi Mallach <jordi@gnu.org>
24352 Aurelien Jarno <aurelien@aurel32.net>
24354 * localedata/locales/ca_ES@valencia: New file.
24355 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
24357 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
24360 * math/math.h: Let signbit use the builtin in C++ mode with gcc
24363 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24365 * scripts/build-many-glibcs.py (Context.add_all_configs):
24366 Add arm-linux-gnueabihf multiarch extra_glibcs.
24368 * sysdeps/generic/ifunc-init.h: New file.
24369 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
24371 2017-10-17 Mike FABIAN <mfabian@redhat.com>
24374 * localedata/locales/el_GR: Set n_cs_precedes to 0.
24375 * localedata/locales/el_CY: copy "el_GR" because it is identical.
24376 * stdlib/tst-strfmon_l.c: adapt test case.
24378 2017-10-16 Joseph Myers <joseph@codesourcery.com>
24380 * sysdeps/generic/float128-abi.h: New file.
24381 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
24382 non-__prefixed symbols to ....
24383 * math/Versions: ... here. Include <float128-abi.h>.
24384 * stdlib/Versions ... and here. Include <float128-abi.h>
24386 2017-10-16 Florian Weimer <fweimer@redhat.com>
24388 * version.h (VERSION): Switch to ".9000" as the development
24391 2017-10-16 Florian Weimer <fweimer@redhat.com>
24394 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
24395 compat_symbol_reference to access non-default version.
24397 2017-10-16 Florian Weimer <fweimer@redhat.com>
24399 * malloc/Makefile (others-extras): Set to mcheck-init.o.
24401 2017-10-16 Carlos O'Donell <carlos@redhat.com>
24403 * include/shlib-compat.h (compat_symbol_reference): Update
24406 2017-10-16 Joseph Myers <joseph@codesourcery.com>
24408 * math/Makefile (test-types): Add
24409 $(type-float128-$(float128-alias-fcts)).
24410 * math/test-float128.h (TYPE_STR): Define conditional on
24411 [FLT128_MANT_DIG == LDBL_MANT_DIG].
24412 (ULP_IDX): Likewise.
24413 (ULP_I_IDX): Likewise.
24415 * stdlib/strtold.c: Include <bits/floatn.h>
24416 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
24417 and later undefine as macro. Define as weak alias if
24419 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
24420 and later undefine as macro. Define as weak alias if
24422 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
24423 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
24424 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24425 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
24426 Define and later undefine as macro. Define as weak alias if
24428 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
24430 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
24431 Define and later undefine as macro. Define as weak alias if
24433 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
24434 Define and later undefine as macro. Define as weak alias if
24437 2017-10-15 Carlos O'Donell <carlos@redhat.com>
24439 * localedata/collate-test.c (allocate_arrays): Don't use \n in
24440 record_verbose messages.
24442 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
24445 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
24446 to silence -O3 -Wall warning with GCC 7.
24448 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
24450 * Makeconfig (+link-static-before-libc): Use the first of
24451 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
24452 * gmon/Makefile (tests): Add tst-gmon-static.
24453 (tests-static): Likewise.
24454 (CFLAGS-tst-gmon-static.c): New.
24455 (CRT-tst-gmon-static): Likewise.
24456 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
24457 (tst-gmon-static-ENV): Likewise.
24458 (tests-special): Likewise.
24459 ($(objpfx)tst-gmon-static.out): Likewise.
24460 (clean-tst-gmon-static-data): Likewise.
24461 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
24462 * gmon/tst-gmon-static-gprof.sh: New file.
24463 * gmon/tst-gmon-static.c: Likewise.
24465 2017-10-13 Carlos O'Donell <carlos@redhat.com>
24468 * locale/programs/linereader.c (get_string): Don't warn on
24469 non-symbolic character.
24472 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
24476 * locale/programs/record-status.h: New file
24477 * locale/programs/locale.c: Add comment.
24478 * locale/programs/charmap-dir.c: Don't include error.h.
24479 (charmap_opendir): Use record_error.
24480 * locale/programs/charmap.c: Don't include error.h.
24481 (charmap_read): Use record_error, and record_warning.
24482 (parse_charmap): Likewise.
24483 * locale/programs/ld-address.c: Don't include error.h.
24484 (address_finish): Use record_error, and record_warning.
24485 * locale/programs/ld-collate.c: Don't include error.h.
24486 (collate_finish): Use record_error, and record_error_at_line.
24487 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
24488 (ctype_class_new): Likewise.
24489 (ctype_map_new): Likewise.
24490 (set_one_default): Likewise.
24491 (set_class_defaults): Likewise.
24492 (translit_flatten): Likewise.
24493 (allocate_arrays): Use record_error, and record_verbose.
24494 * locale/programs/ld-identification.c: Don't include error.h.
24495 (indentation_finish): Use record_error and record_warning.
24496 * locale/programs/ld-measurement.c: Don't include error.h.
24497 (measurement_finish): Use record_error.
24498 * locale/programs/ld-messages.c
24499 (message_finish): Likewise.
24500 * locale/programs/ld-monetary.c
24501 (monetary_finish): Likewise.
24502 * locale/programs/ld-name.c (name_finish): Use record_error
24503 and record_warning.
24504 * locale/programs/ld-numeric.c
24505 (numeric_finish): Use record_error.
24506 * locale/programs/ld-paper.c: Don't include error.h.
24507 (paper_finish): Use record_error.
24508 * locale/programs/ld-telephone.c: Don't include error.h.
24509 (telephone_finish): Use record_error.
24510 * locale/programs/ld-time.c (time_finish): Likewise.
24511 * locale/programs/linereader.h (lr_error): Make inline func.
24512 * locale/programs/localedef.c: Define recorded_warning_count,
24513 and recorded_error_count.
24514 (main): Use record_error. Use recorded_error_count and
24515 recorded_warning_count to issue correct error returns.
24516 (add_to_readlist): Use record_error.
24517 (find_locale): Likewise.
24518 (load_locale): Likewise.
24519 * locale/programs/localedef.h: Remove be_quiet
24520 and WITH_CUR_LOCALE.
24521 * locale/programs/locarchive.c (compare_from_file): Use
24523 * locale/programs/locfile.c (write_locale_data): Use
24525 * locale/programs/repertoire.c: Dont include error.h.
24526 (repertoire_complain): Use record_error.
24527 * localedata/tst-fmon.sh: Expect failures from localedef.
24528 * localedata/tst-locale.sh: Likewise.
24529 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
24531 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
24532 (REPORTS): Likewise.
24534 (i18n): Rename to...
24535 (i18n_ctype): ...this.
24536 (i18n-report): Rename to...
24537 (i18n_ctype-report): ...this.
24538 * localedata/locales/i18n_ctype: Regenerate.
24539 * localedata/locales/i18n: copy i18n_ctype.
24541 2017-10-13 Joseph Myers <joseph@codesourcery.com>
24543 * stdlib/strfroml.c: Include <bits/floatn.h>.
24544 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
24545 Define before include of <stdlib.h> and undefine afterwards, then
24546 define as weak alias.
24548 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
24549 Undefine and restore default definition. Use
24550 libm_alias_ldouble_other.
24552 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
24555 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
24558 2017-10-13 James Clarke <jrtc27@jrtc27.com>
24560 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24561 Assign sym_map to be map for local symbols, as TLS relocations
24562 use sym_map to determine whether the symbol is defined and to
24563 extract the TLS information.
24564 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24565 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24567 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24570 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
24571 (math_force_eval): Add powerpc version.
24574 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
24576 (do_test): Likewise.
24577 * stdio-common/tst-printf.sh: Likewise.
24578 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
24579 ifdef clause in order to set the carry bit right. Replace r0 by
24580 0 without changing the behavior.
24582 2017-10-13 Joseph Myers <joseph@codesourcery.com>
24584 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
24585 <libm-alias-ldouble.h>.
24586 (fabsl): Define using libm_alias_ldouble.
24587 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
24588 <libm-alias-ldouble.h>.
24589 (fabsl): Define using libm_alias_ldouble.
24591 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
24592 Remove conditional code.
24594 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
24595 Rename to __clog10_internal_l.
24596 (__clog10_internal_l): Define aliases using
24597 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
24600 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24602 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
24603 * benchtests/sincosf-inputs: New file.
24604 * benchtests/cosf-inputs: New file.
24605 * benchtests/sinf-inputs: New file.
24607 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
24609 * posix/tst-spawn.c (do_test): Wait for both children.
24611 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
24614 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
24615 tests-pie): Add tst-gmon-pie.
24616 (CFLAGS-tst-gmon-pie.c): New.
24617 (CRT-tst-gmon-pie): Likewise.
24618 (tst-gmon-pie-ENV): Likewise.
24619 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
24620 ($(objpfx)tst-gmon-pie.out): Likewise.
24621 (clean-tst-gmon-pie-data): Likewise.
24622 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
24623 * gmon/gmon.c [PIC]: Include <link.h>.
24624 [PIC] (callback): New function.
24625 (write_hist): Add an argument for load address. Subtract load
24627 (write_call_graph): Likewise.
24628 (write_gmon): Call __dl_iterate_phdr to get load address, pass
24629 it to write_hist and write_call_graph.
24630 * gmon/tst-gmon-pie.c: New file.
24632 2017-10-11 Joseph Myers <joseph@codesourcery.com>
24634 * math/Makefile (test-types-basic): New variable.
24635 (test-types): Likewise.
24636 (libm-test-support): Use $(test-types) instead of $(types).
24637 (libm-tests-base-normal): Likewise.
24638 (libm-tests-base-finite): Likewise.
24639 (libm-tests-base-inline): Likewise.
24640 (generated): Likewise.
24641 ($(objpfx)libm-test-support-$(t).c): Likewise.
24642 (libm-tests-for-type iterator): Likewise.
24643 (libm-test-support iterator): Likewise.
24644 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
24645 (ulp_idx): Use ULP_IDX.
24646 * math/test-ldouble.h: Include <float.h>.
24647 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
24648 (ULP_IDX): New macro.
24649 (ULP_I_IDX): Likewise.
24650 * math/test-double.h (ULP_IDX): Likewise.
24651 (ULP_I_IDX): Likewise.
24652 * math/test-float.h (ULP_IDX): Likewise.
24653 (ULP_I_IDX): Likewise.
24654 * math/test-float128.h (ULP_IDX): Likewise.
24655 (ULP_I_IDX): Likewise.
24657 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24659 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
24660 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24661 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24662 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
24663 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24664 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
24665 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
24666 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24667 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24668 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24669 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
24670 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24671 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24672 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24673 (SINGLE_THREAD_BY_GLOBAL): Define.
24674 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24676 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24678 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24680 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24682 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
24683 (SINGLE_THREAD_BY_GLOBAL): Likewise.
24684 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24687 2017-10-11 Andreas Schwab <schwab@suse.de>
24689 * nis/Makefile (aux): Remove.
24690 * nscd/Makefile (aux): Add nscd_hash.
24691 (nscd-modules): Likewise.
24692 ($(objpfx)nscd): Don't depend on libnsl.
24693 * nscd/nscd_hash.c: New file.
24694 * nscd/nscd_hash.h: Likewise.
24695 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
24696 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
24697 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
24698 instead of <nis/rpcsvc/nis.h>.
24699 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
24701 2017-10-11 Florian Weimer <fweimer@redhat.com>
24704 Avoid large NSS buffers with many addresses, aliases.
24705 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
24706 using dynarrays and struct alloc_buffer.
24707 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
24708 (tst-nss-files-hosts-multi): Link with -ldl.
24709 * nss/tst-nss-files-hosts-multi.c: New file.
24711 2017-10-11 Florian Weimer <fweimer@redhat.com>
24714 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
24715 scratch_buffer. Eliminate gotos.
24717 2017-10-11 Joseph Myers <joseph@codesourcery.com>
24719 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
24720 libm_alias_ldouble_other.
24721 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
24722 undefine and redefine.
24723 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
24724 (exp10l): Do not define here.
24725 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
24726 (weak_alias): Undefine and redefine.
24727 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
24728 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
24729 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
24730 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
24732 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
24733 [!__fma] (fma): Define using libm_alias_double.
24734 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
24735 [!__fmaf] (fmaf): Define using libm_alias_float.
24736 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
24737 (fmal): Define using libm_alias_ldouble.
24739 2017-10-10 Joseph Myers <joseph@codesourcery.com>
24741 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
24743 (libm_alias_double_other): Likewise.
24744 (libm_alias_double_r): Use libm_alias_double_other_r.
24745 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
24747 (libm_alias_float_other): Likewise.
24748 (libm_alias_float_r): Use libm_alias_float_other_r.
24749 * sysdeps/generic/libm-alias-float128.h
24750 (libm_alias_float128_other_r): New macro.
24751 (libm_alias_float128_other): Likewise.
24752 (libm_alias_float128_r): Use libm_alias_float128_other_r.
24753 * sysdeps/generic/libm-alias-ldouble.h
24754 (libm_alias_ldouble_other_r): New macro.
24755 (libm_alias_ldouble_other): Likewise.
24756 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
24757 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
24758 (libm_alias_double_other_r): New macro.
24759 (libm_alias_double_other): Likewise.
24760 (libm_alias_double_r): Use libm_alias_double_other_r.
24761 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
24762 (libm_alias_ldouble_other_r): New macro.
24763 (libm_alias_ldouble_other): Likewise.
24764 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
24765 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
24766 [!USE_AS_COMPAT]: Use libm_alias_double_other.
24767 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
24768 [!USE_AS_COMPAT]: Use libm_alias_float_other.
24769 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
24770 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
24771 * math/w_exp2f.c: Use libm_alias_float_other.
24772 * math/w_expf.c: Likewise.
24773 * math/w_log2f.c: Likewise.
24774 * math/w_logf.c: Likewise.
24775 * math/w_powf.c: Likewise.
24776 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
24777 [!__exp2f]: Use libm_alias_float_other.
24778 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
24779 [!__expf]: Use libm_alias_float_other.
24780 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
24781 [!__log2f]: Use libm_alias_float_other.
24782 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
24783 [!__logf]: Use libm_alias_float_other.
24784 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
24785 [!__powf]: Use libm_alias_float_other.
24787 2017-10-10 Florian Weimer <fweimer@redhat.com>
24789 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
24791 (_nss_files_gethostbyname3_r): Call it.
24793 2017-10-09 Joseph Myers <joseph@codesourcery.com>
24795 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
24796 error. Remove default definition of declare_mgen_alias.
24797 [!declare_mgen_alias_r]: Likewise.
24798 * sysdeps/generic/math-type-macros-double.h
24799 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
24800 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
24801 (declare_mgen_alias_r): Likewise.
24802 * sysdeps/generic/math-type-macros-float128.h
24803 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
24804 * sysdeps/generic/math-type-macros-ldouble.h
24805 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
24806 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
24808 (declare_mgen_alias_r_s): Likewise.
24809 (declare_mgen_alias_r): Likewise.
24810 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
24811 (lgamma_r): Define using libm_alias_double_r.
24812 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
24813 (lgammaf_r): Define using libm_alias_float_r.
24814 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
24815 (lgammal_r): Define using libm_alias_ldouble_r.
24816 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
24817 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
24819 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24821 * lib/glob.c (__glob_pattern_type): Remove now-spurious
24822 extern declaration.
24824 2017-10-09 Joseph Myers <joseph@codesourcery.com>
24826 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
24828 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
24831 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
24832 [__cplusplus >= 201103] (__USE_ISOC99): Define.
24833 * math/Makefile (test-math-cxx11): New test.
24834 * math/test-math-cxx11.cc: New file.
24836 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
24838 * login/openpty.c (openpty): Close slave pty file descriptor on error.
24840 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
24841 call to allocate the slave pty file descriptor.
24843 2017-10-06 Joseph Myers <joseph@codesourcery.com>
24845 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
24846 [!__fma] (fma): Define using libm_alias_double.
24847 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
24848 [!__fma] (fma): Define using libm_alias_double.
24850 * sysdeps/ieee754/float128/float128_private.h: Include
24851 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
24852 (libm_alias_ldouble_r): Undefine and redefine.
24853 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
24854 <libm-alias-ldouble.h>.
24855 (asinhl): Define using libm_alias_ldouble.
24856 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
24857 <libm-alias-ldouble.h>.
24858 (atanl): Define using libm_alias_ldouble.
24859 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
24860 <libm-alias-ldouble.h>.
24861 (cbrtl): Define using libm_alias_ldouble.
24862 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
24863 <libm-alias-ldouble.h>.
24864 (ceill): Define using libm_alias_ldouble.
24865 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
24866 <libm-alias-ldouble.h>.
24867 (copysignl): Define using libm_alias_ldouble.
24868 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
24869 <libm-alias-ldouble.h>.
24870 (cosl): Define using libm_alias_ldouble.
24871 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
24872 <libm-alias-ldouble.h>.
24873 (erfl): Define using libm_alias_ldouble.
24875 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
24876 <libm-alias-ldouble.h>.
24877 (expm1l): Define using libm_alias_ldouble.
24878 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
24879 <libm-alias-ldouble.h>.
24880 (fabsl): Define using libm_alias_ldouble.
24881 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
24882 <libm-alias-ldouble.h>.
24883 (floorl): Define using libm_alias_ldouble.
24884 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
24885 <libm-alias-ldouble.h>.
24886 (fmal): Define using libm_alias_ldouble.
24887 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
24888 <libm-alias-ldouble.h>.
24889 (frexpl): Define using libm_alias_ldouble.
24890 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
24891 libm_alias_ldouble.
24892 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
24893 <libm-alias-ldouble.h>.
24894 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
24895 libm_alias_ldouble.
24896 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
24897 <libm-alias-ldouble.h>.
24898 (getpayloadl): Define using libm_alias_ldouble.
24899 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
24900 <libm-alias-ldouble.h>.
24901 (llrintl): Define using libm_alias_ldouble.
24902 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
24903 <libm-alias-ldouble.h>.
24904 (llroundl): Define using libm_alias_ldouble.
24905 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
24906 <libm-alias-ldouble.h>.
24907 (logbl): Define using libm_alias_ldouble.
24908 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
24909 <libm-alias-ldouble.h>.
24910 (lrintl): Define using libm_alias_ldouble.
24911 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
24912 <libm-alias-ldouble.h>.
24913 (lroundl): Define using libm_alias_ldouble.
24914 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
24915 <libm-alias-ldouble.h>.
24916 (modfl): Define using libm_alias_ldouble.
24917 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
24918 <libm-alias-ldouble.h>.
24919 (nearbyintl): Define using libm_alias_ldouble.
24920 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
24921 <libm-alias-ldouble.h>.
24922 (nextafterl): Define using libm_alias_ldouble.
24923 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
24924 <libm-alias-ldouble.h>.
24925 (nextupl): Define using libm_alias_ldouble.
24926 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
24927 <libm-alias-ldouble.h>.
24928 (remquol): Define using libm_alias_ldouble.
24929 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
24930 <libm-alias-ldouble.h>.
24931 (rintl): Define using libm_alias_ldouble.
24932 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
24933 <libm-alias-ldouble.h>.
24934 (roundevenl): Define using libm_alias_ldouble.
24935 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
24936 <libm-alias-ldouble.h>.
24937 (roundl): Define using libm_alias_ldouble.
24938 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
24939 using libm_alias_ldouble.
24940 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
24941 <libm-alias-ldouble.h>.
24942 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
24943 Define using libm_alias_ldouble.
24944 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
24945 <libm-alias-ldouble.h>.
24946 (sincosl): Define using libm_alias_ldouble.
24947 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
24948 <libm-alias-ldouble.h>.
24949 (sinl): Define using libm_alias_ldouble.
24950 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
24951 <libm-alias-ldouble.h>.
24952 (tanhl): Define using libm_alias_ldouble.
24953 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
24954 <libm-alias-ldouble.h>.
24955 (tanl): Define using libm_alias_ldouble.
24956 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
24957 <libm-alias-ldouble.h>.
24958 (totalorderl): Define using libm_alias_ldouble.
24959 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
24960 <libm-alias-ldouble.h>.
24961 (totalordermagl): Define using libm_alias_ldouble.
24962 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
24963 <libm-alias-ldouble.h>.
24964 (truncl): Define using libm_alias_ldouble.
24965 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
24966 libm_alias_ldouble.
24967 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
24968 libm_alias_ldouble.
24969 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
24970 <libm-alias-ldouble.h>.
24971 (weak_alias): Do not undefine and redefine.
24972 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24973 (copysignl): Define with long_double_symbol only if [IS_IN
24975 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
24976 <libm-alias-ldouble.h>.
24977 (weak_alias): Do not undefine and redefine.
24978 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24979 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
24980 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
24981 <libm-alias-ldouble.h>.
24982 (weak_alias): Do not undefine and redefine.
24983 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24984 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
24985 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
24986 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
24987 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
24988 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
24989 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
24990 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
24991 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
24992 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
24993 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
24994 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
24995 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
24996 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
24997 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
24998 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
24999 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
25000 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
25001 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
25002 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
25003 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
25004 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
25005 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
25006 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
25007 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
25008 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
25010 2017-10-06 Carlos O'Donell <carlos@redhat.com>
25013 * malloc/malloc.c (tcache_shutting_down): Use bool type.
25014 (tcache_thread_freeres): Set tcache_shutting_down before
25015 freeing the tcache.
25016 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
25017 * malloc/tst-malloc-tcache-leak.c: New file.
25019 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25021 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
25022 back to powerpc32 file.
25023 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25024 (memrchr): Add __memrchr_power8 to ifunc list.
25025 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
25026 extra bytes for unaligned inputs.
25028 2017-10-06 Joseph Myers <joseph@codesourcery.com>
25030 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
25031 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
25032 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
25033 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
25034 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
25036 2017-10-05 Joseph Myers <joseph@codesourcery.com>
25038 * sysdeps/arm/libm-test-ulps: Update.
25040 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
25041 <libm-alias-ldouble.h>.
25042 (asinhl): Define using libm_alias_ldouble.
25043 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
25044 <libm-alias-ldouble.h>.
25045 (cbrtl): Define using libm_alias_ldouble.
25046 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
25047 <libm-alias-ldouble.h>.
25048 (copysignl): Define using libm_alias_ldouble.
25049 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
25050 <libm-alias-ldouble.h>.
25051 (cosl): Define using libm_alias_ldouble.
25052 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
25053 <libm-alias-ldouble.h>.
25054 (erfl): Define using libm_alias_ldouble.
25056 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
25057 <libm-alias-ldouble.h>.
25058 (fmal): Define using libm_alias_ldouble.
25059 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
25060 <libm-alias-ldouble.h>.
25061 (frexpl): Define using libm_alias_ldouble.
25062 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
25063 libm_alias_ldouble.
25064 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
25065 <libm-alias-ldouble.h>.
25066 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
25067 libm_alias_ldouble.
25068 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
25069 <libm-alias-ldouble.h>.
25070 (getpayloadl): Define using libm_alias_ldouble.
25071 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
25072 <libm-alias-ldouble.h>.
25073 (llrintl): Define using libm_alias_ldouble.
25074 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
25075 <libm-alias-ldouble.h>.
25076 (llroundl): Define using libm_alias_ldouble.
25077 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
25078 <libm-alias-ldouble.h>.
25079 (lrintl): Define using libm_alias_ldouble.
25080 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
25081 <libm-alias-ldouble.h>.
25082 (lroundl): Define using libm_alias_ldouble.
25083 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
25084 <libm-alias-ldouble.h>.
25085 (modfl): Define using libm_alias_ldouble.
25086 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
25087 <libm-alias-ldouble.h>.
25088 (nextupl): Define using libm_alias_ldouble.
25089 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
25090 <libm-alias-ldouble.h>.
25091 (remquol): Define using libm_alias_ldouble.
25092 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
25093 <libm-alias-ldouble.h>.
25094 (roundevenl): Define using libm_alias_ldouble.
25095 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
25096 <libm-alias-ldouble.h>.
25097 (roundl): Define using libm_alias_ldouble.
25098 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
25099 using libm_alias_ldouble.
25100 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
25101 <libm-alias-ldouble.h>.
25102 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
25103 <libm-alias-ldouble.h>.
25104 (setpayloadsigl): Define using libm_alias_ldouble.
25105 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
25106 <libm-alias-ldouble.h>.
25107 (sincosl): Define using libm_alias_ldouble.
25108 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
25109 <libm-alias-ldouble.h>.
25110 (sinl): Define using libm_alias_ldouble.
25111 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
25112 <libm-alias-ldouble.h>.
25113 (tanhl): Define using libm_alias_ldouble.
25114 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
25115 <libm-alias-ldouble.h>.
25116 (tanl): Define using libm_alias_ldouble.
25117 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
25118 <libm-alias-ldouble.h>.
25119 (totalorderl): Define using libm_alias_ldouble.
25120 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
25121 <libm-alias-ldouble.h>.
25122 (totalordermagl): Define using libm_alias_ldouble.
25123 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
25124 libm_alias_ldouble.
25125 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
25126 libm_alias_ldouble.
25128 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
25130 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
25132 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
25133 (__libc_ifunc_impl_list): Likewise.
25134 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
25135 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
25137 * benchtests/bench-memmove-walk.c: New file.
25138 * benchtests/Makefile (string-benchset): Add it.
25140 * benchtests/bench-memset-walk.c: New file.
25141 * benchtests/Makefile (string-benchset): Add it.
25143 * benchtests/bench-memcpy-walk.c: New file.
25144 * benchtests/Makefile (string-benchset): Add it.
25146 2017-10-05 Florian Weimer <fweimer@redhat.com>
25148 nscd: Eliminate compilation time dependency in the build output.
25149 * nscd/nscd_stat.c (STATDATA_VERSION)
25150 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
25151 (STATDATA_VERSION_FULL): New macro definitions.
25152 (compilation): Remove.
25153 (struct statdata): Adjust version member.
25154 (send_stats): Set version from STATDATA_VERSION_FULL.
25155 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
25157 2017-10-05 Joseph Myers <joseph@codesourcery.com>
25159 * configure.ac (--enable-add-ons): Remove option.
25160 (machine): Do not mention add-ons in comment.
25161 (LIBC_PRECONFIGURE): Likewise.
25162 (add_ons): Remove variable and sanity checks and logic to locate
25164 (add_ons_automatic): Remove variable.
25165 (configured_add_ons): Likewise.
25166 (add_ons_sfx): Likewise.
25167 (add_ons_pfx): Likewise.
25168 (add_on_subdirs): Likewise.
25169 (sysnames_add_ons): Likewise. Remove loop over add-ons and
25170 consideration of add-ons in Implies handling.
25171 (sysdeps_add_ons): Likewise.
25172 * configure: Regenerated.
25173 * libidn/configure.ac: Remove.
25174 * libidn/configure: Likewise.
25175 * sysdeps/unix/inet/configure.ac: New file.
25176 * sysdeps/unix/inet/configure: New generated file.
25177 * sysdeps/unix/inet/Subdirs: Add libidn.
25178 * Makeconfig (sysdeps-srcdirs): Remove variable.
25179 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
25180 ($(common-objpfx)config.status): Do not depend on add-on files.
25181 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
25183 (all-subdirs): Do not include $(add-on-subdirs).
25184 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
25185 * config.make.in (add-ons): Remove variable.
25186 (add-on-subdirs): Likewise.
25187 (sysdeps-add-ons): Likewise.
25188 * manual/Makefile (add-chapters): Remove.
25189 ($(objpfx)texis): Do not depend on $(add-chapters).
25190 (nonexamples): Do not handle $(add-chapters).
25191 (examples): Do not handle $(add-ons).
25192 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
25194 * manual/install.texi (Installation): Do not mention add-ons.
25195 (--enable-add-ons): Do not document configure option.
25196 * INSTALL: Regenerated.
25197 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
25198 * manual/maint.texi (Hierarchy Conventions): Do not mention
25200 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
25202 * scripts/gen-sorted.awk: Do not handle Subdirs files from
25204 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
25205 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
25207 2017-10-05 Andreas Schwab <schwab@suse.de>
25210 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
25211 (_IO_flush_all_lockp): Always lock list_all_lock.
25212 (_IO_flush_all_linebuffered): Likewise.
25213 (_IO_unbuffer_all): Likewise.
25215 2017-10-05 Florian Weimer <fweimer@redhat.com>
25218 Do not flush stdio streams on abort.
25219 * stdlib/abort.c (fflush): Remove macro definition.
25220 (abort): Remove stages related to stdio flushing.
25222 2017-10-05 Florian Weimer <fweimer@redhat.com>
25224 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
25226 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
25228 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
25230 2017-10-05 Florian Weimer <fweimer@redhat.com>
25232 * support/support_format_hostent.c (support_format_hostent): Add
25233 more error information for NETDB_INTERNAL.
25235 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25237 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
25238 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
25239 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
25240 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
25241 AC_DEFINE if multi-arch is enabled.
25242 * sysdeps/i386/configure: Regenerated.
25244 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25246 * Makeconfig (+link-static-before-libc): Use
25247 $(DEFAULT-LDFLAGS-$(@F)).
25248 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
25249 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
25250 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
25252 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25254 * elf/Makefile (tests): Add tst-main1.
25255 (modules-names): Add tst-main1mod.
25256 ($(objpfx)tst-main1): New.
25257 (CRT-tst-main1): Likewise.
25258 (LDFLAGS-tst-main1): Likewise.
25259 (LDLIBS-tst-main1): Likewise.
25260 (tst-main1mod.so-no-z-defs): Likewise.
25261 * elf/tst-main1.c: New file.
25262 * elf/tst-main1mod.c: Likewise.
25264 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25266 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
25268 2017-10-04 Joseph Myers <joseph@codesourcery.com>
25270 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
25271 (fma): Define using libm_alias_double.
25272 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
25273 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
25275 (fmal): Do not define as compat symbol here.
25276 * sysdeps/alpha/fpu/s_fma.c: New file.
25278 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25280 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
25282 2017-10-04 Joseph Myers <joseph@codesourcery.com>
25285 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
25287 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
25289 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
25290 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25291 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
25292 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
25293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25294 Include <math_ldbl_opt.h>
25295 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
25297 (compat_symbol): Undefine and redefine.
25298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
25300 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25301 (compat_symbol): Undefine and redefine.
25302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
25303 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
25304 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
25305 GLIBC_2_1 for libm.
25306 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
25307 GLIBC_2.0 copysignl symbol.
25308 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
25309 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
25311 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
25313 2017-10-04 Florian Weimer <fweimer@redhat.com>
25315 * scripts/check-local-headers.sh: Ignore nspr4 header file
25316 directory in addition to nspr.
25318 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
25321 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
25322 * configure: Regenerate.
25323 * crypt/Makefile (nss-cpp-flags): New variable.
25324 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
25325 (CPPFLAGS-md5-crypt.c): Use it.
25326 * scripts/check-local-headers.sh: Ignore nspr header file
25329 2017-10-04 Andreas Schwab <schwab@suse.de>
25331 * nis/Makefile (services): Remove compat.
25332 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
25333 ($(objpfx)libnss_compat.so): Remove rule.
25334 * nis/Versions (libnss_compat): Remove.
25335 * nss/Makefile (services): Add compat.
25336 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
25337 * nss/Versions (libnss_compat): Define.
25338 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
25339 Don't include <rpc/types.h>. Replace bool_t by bool.
25340 * nss/nss_compat/compat-initgroups.c: Likewise.
25341 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
25342 instead of <rpcsrv/ypclnt.h>.
25343 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
25344 yp_get_default_domain.
25345 * nss/nss_compat/compat-pwd.c: Likewise.
25346 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
25347 yp_get_default_domain.
25348 * nss/nss_compat/nisdomain.c: New file.
25349 * nss/nss_compat/nisdomain.h: Likewise.
25351 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25354 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
25355 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25357 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25360 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
25361 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
25363 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25365 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
25366 "movl main@GOTOFF(%ebx), %eax".
25368 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25370 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
25371 allow undefined _DYNAMIC in PIE libc.a.
25372 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
25375 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25377 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
25380 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25382 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
25385 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25387 * math/test-math-iscanonical.cc (error): Replace bool with int.
25389 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25391 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
25392 (modf): Define using libm_alias_double, only if [!__modf].
25393 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
25394 <libm-alias-double.h>.
25395 (modf): Define using libm_alias_double, only if [!__modf].
25396 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
25397 compat symbol here.
25398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
25399 (weak_alias): Do not undefine and redefine.
25400 (strong_alias): Likewise.
25401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
25402 (weak_alias): Likewise.
25403 (strong_alias): Likewise.
25405 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
25406 (logb): Define using libm_alias_double, only if [!__logb].
25407 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
25408 <libm-alias-double.h>.
25409 (logb): Define using libm_alias_double, only if [!__logb].
25410 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
25411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
25412 (weak_alias): Do not undefine and redefine.
25413 (strong_alias): Likewise.
25414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
25415 (weak_alias): Likewise.
25416 (strong_alias): Likewise.
25418 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25420 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
25421 Check SHARED instead PIC.
25423 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25425 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
25426 [!__fmaf] (fmaf): Define using libm_alias_float.
25428 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
25429 (frexp): Define using libm_alias_double.
25430 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
25431 <libm-alias-double.h>.
25432 (frexp): Define using libm_alias_double.
25433 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
25434 compat symbol here.
25436 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25439 * math/math.h: Trivial fix for unbalanced parentheses in comment.
25440 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
25441 (CFLAGS-test-math-iscanonical.cc): New variable.
25442 * math/test-math-iscanonical.cc: New file.
25443 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
25444 Provide a C++ implementation based on function overloading,
25445 rather than using __MATH_TG, which uses C-only builtins.
25446 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
25448 * sysdeps/powerpc/powerpc64le/Makefile
25449 (CFLAGS-test-math-iscanonical.cc): New variable.
25451 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25453 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
25454 (ceil): Define using libm_alias_double.
25455 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
25456 (floor): Define using libm_alias_double.
25457 * sysdeps/ieee754/dbl-64/s_llround.c: Include
25458 <libm-alias-double.h>.
25459 (llround): Define using libm_alias_double.
25460 * sysdeps/ieee754/dbl-64/s_lround.c: Include
25461 <libm-alias-double.h>.
25462 (lround): Define using libm_alias_double.
25463 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
25464 <libm-alias-double.h>.
25465 (nearbyint): Define using libm_alias_double.
25466 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
25467 <libm-alias-double.h>.
25468 (remquo): Define using libm_alias_double.
25469 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
25470 (rint): Define using libm_alias_double.
25471 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
25472 (round): Define using libm_alias_double.
25473 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
25474 (trunc): Define using libm_alias_double.
25475 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
25476 <libm-alias-double.h>.
25477 (ceil): Define using libm_alias_double.
25478 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
25479 <libm-alias-double.h>.
25480 (floor): Define using libm_alias_double.
25481 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
25482 <libm-alias-double.h>.
25483 (llround): Define using libm_alias_double.
25484 [_LP64] (lround): Likewise.
25485 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
25486 <libm-alias-double.h>.
25487 [!_LP64] (lround): Define using libm_alias_double.
25488 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
25489 <libm-alias-double.h>.
25490 (nearbyint): Define using libm_alias_double.
25491 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
25492 <libm-alias-double.h>.
25493 (remquo): Define using libm_alias_double.
25494 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
25495 <libm-alias-double.h>.
25496 (rint): Define using libm_alias_double.
25497 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
25498 <libm-alias-double.h>.
25499 (round): Define using libm_alias_double.
25500 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
25501 <libm-alias-double.h>.
25502 (trunc): Define using libm_alias_double.
25503 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
25504 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
25505 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
25506 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
25507 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
25508 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
25509 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
25510 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
25511 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
25513 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25515 * math/w_remainder.c: New file.
25516 * math/w_remainderf.c: New file.
25517 * math/w_remainderl.c: New file.
25519 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25521 * elf/rtld.c (BOOTSTRAP_MAP): New.
25522 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
25523 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25525 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25527 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25530 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
25532 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
25533 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
25534 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
25535 rtld_hidden_data_ver): Define to empty.
25536 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
25537 __assert_perror_fail): Likewise.
25538 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25539 (__rewinddir): Likewise.
25540 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25541 (__profile_frequency): Likewise.
25542 * include/setjmp.h (__sigsetjmp): Likewise.
25543 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
25544 __libc_sigaction): Likewise.
25545 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
25546 not set hidden attribute.
25547 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
25548 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
25549 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
25550 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
25551 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
25552 __fxstatat64): Likewise.
25553 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25554 (__uname): Likewise.
25555 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25556 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
25557 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
25558 (NO_RTLD_HIDDEN): Set.
25559 * sysdeps/mach/hurd/configure: Refresh.
25560 * config.h.in: Refresh.
25562 2017-10-02 Joseph Myers <joseph@codesourcery.com>
25564 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
25565 (atan): Define using libm_alias_double.
25566 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
25567 (tan): Define using libm_alias_double.
25568 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
25569 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
25571 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
25572 define as weak alias of __atan. Do not define any aliases if
25574 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
25575 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
25576 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
25577 as weak alias of __tan. Do not define any aliases if [__tan].
25578 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
25579 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
25580 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
25582 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
25583 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
25584 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
25585 and define as weak alias of __atan.
25586 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
25588 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
25589 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
25590 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
25591 define as weak alias of __tan.
25593 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25595 * math/w_lgamma.c: New file.
25596 * math/w_lgammaf.c: New file.
25597 * math/w_lgammal.c: New file.
25599 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25601 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
25602 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
25603 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
25604 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
25605 * sysdeps/ieee754/flt-32/w_logf.c: New file.
25606 * sysdeps/ieee754/flt-32/w_powf.c: New file.
25607 * sysdeps/i386/fpu/w_log2f.c: New file.
25608 * sysdeps/i386/fpu/w_logf.c: New file.
25609 * sysdeps/i386/fpu/w_powf.c: New file.
25610 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
25611 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
25612 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
25614 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25615 H.J. Lu <hongjiu.lu@intel.com>
25617 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
25618 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
25619 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
25620 * sysdeps/ieee754/flt-32/w_expf.c: New file.
25621 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
25623 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
25624 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
25625 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
25626 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
25627 * sysdeps/i386/fpu/w_exp2f.c: New file.
25628 * sysdeps/i386/fpu/w_expf.c: New file.
25629 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
25630 * sysdeps/x86_64/fpu/w_expf.c: New file.
25632 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25634 * math/Versions (logf): New libm symbol at GLIBC_2.27.
25637 * math/w_log2f.c: New file.
25638 * math/w_logf.c: New file.
25639 * math/w_powf.c: New file.
25640 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
25641 * math/w_logf_compat.c (__logf_compat): Likewise.
25642 * math/w_powf_compat.c (__powf_compat): Likewise.
25643 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
25644 * sysdeps/ia64/fpu/e_logf.S: Likewise.
25645 * sysdeps/ia64/fpu/e_powf.S: Likewise.
25646 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
25647 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25648 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25649 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25650 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25651 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25652 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25653 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25654 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25655 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25656 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25657 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25666 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25667 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25668 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25669 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25670 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25671 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25673 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25675 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25676 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25677 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25679 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25681 * sysdeps/powerpc/powerpc64/multiarch/Makefile
25682 (sysdep_routines): Add memrchr_power8.
25683 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25684 (memrchr): Add __memrchr_power8 to list of memrchr functions.
25685 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
25687 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25688 (memrchr): Add __memrchr_power8 to ifunc list.
25689 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
25691 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25694 * sysdeps/unix/sysv/linux/posix_fadvise64.c
25695 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
25697 * sysdeps/unix/sysv/linux/posix_fallocate64.c
25698 (__posix_fallocate64_l64): Likewise.
25700 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25703 * sysdeps/unix/sysv/linux/sched_setaffinity.c
25704 (__sched_setaffinity_new): Add libc_hidden_proto and
25707 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25710 * include/glob.h (__glob64): Add libc_hidden_proto.
25711 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
25714 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25717 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
25720 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25723 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
25725 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25728 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
25731 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25734 * csu/version.c (__libc_print_version): Add attribute_hidden.
25736 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25739 * include/libc-internal.h (__init_misc): Add attribute_hidden.
25741 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25744 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
25746 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25749 * nscd/nscd_helper.c (__nis_hash): New prototype.
25751 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25754 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
25755 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
25757 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25758 * termios/tcgetattr.c (__tcgetattr): Likewise.
25760 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25763 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
25764 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
25765 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
25766 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
25767 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
25769 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25772 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
25774 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25777 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
25778 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
25780 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25783 * intl/hash-string.h (__hash_string): Add attribute_hidden.
25785 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25788 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
25789 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
25791 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25794 * include/ifreq.h: New file.
25795 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
25796 (__ifreq): Likewise.
25797 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
25798 (__ifreq): Likewise.
25800 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25803 * include/idna.h: New file.
25804 * inet/getnameinfo.c: Include <idna.h> instead of
25806 (__idna_to_unicode_lzlz): Removed.
25807 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
25809 (__idna_to_ascii_lz): Removed.
25810 (__idna_to_unicode_lzlz): Likewise.
25812 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25815 * include/plural-exp.h: New file.
25816 * intl/plural-exp.c: Include <plural-exp.h> instead of
25819 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25822 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
25823 "getsourcefilter.h".
25824 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
25825 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
25826 "getsourcefilter.h".
25827 (__get_sol): Removed.
25829 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25832 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
25834 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
25836 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25839 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
25842 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25845 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
25847 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25850 * include/search.h (__tdestroy): Add libc_hidden_proto.
25851 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
25853 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25856 * include/assert.h (__assert_fail_base): Add attribute_hidden.
25858 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25861 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
25864 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25867 * include/signal.h (__kill): Add libc_hidden_proto.
25868 (__sigblock): Likewise.
25869 (__sigprocmask): Likewise.
25870 (__sigaltstack): Likewise.
25871 * signal/kill.c (__kill): Add libc_hidden_def.
25872 * signal/sigblock.c (__sigblock): Likewise.
25873 * signal/sigprocmask.c (__sigprocmask): Likewise.
25874 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
25875 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
25876 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
25877 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
25878 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
25880 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
25882 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
25883 (__sigprocmask): Likewise.
25884 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
25886 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
25887 (__sigprocmask): Likewise.
25888 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
25891 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25894 * include/string.h (__strsep): Add libc_hidden_proto.
25895 * string/strsep.c (__strsep): Add libc_hidden_def.
25897 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25900 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
25902 (__spawni): Likewise.
25904 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25907 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
25908 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
25911 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25914 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
25916 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25919 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
25920 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
25921 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
25922 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
25923 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
25925 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
25926 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
25928 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25931 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
25932 (__dcigettext): Likewise.
25934 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25937 * include/sys/sysinfo.h (__get_nprocs_conf): Add
25939 (__get_nprocs): Likewise.
25940 (__get_phys_pages): Likewise.
25941 (__get_avphys_pages): Likewise.
25942 (__get_child_max): Add attribute_hidden.
25943 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
25944 (__get_nprocs): Likewise.
25945 (__get_phys_pages): Likewise.
25946 (__get_avphys_pages): Likewise.
25947 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
25949 (__get_nprocs): Likewise.
25950 (__get_phys_pages): Likewise.
25951 (__get_avphys_pages): Likewise.
25952 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
25954 (__get_nprocs_conf): Likewise.
25955 (__get_phys_pages): Likewise.
25956 (__get_avphys_pages): Likewise.
25958 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25961 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
25963 (__netlink_close): Likewise.
25964 (__netlink_free_handle): Likewise.
25965 (__netlink_request): Likewise.
25967 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25970 * include/rpc/rpc.h (__rpc_thread_variables): Add
25972 (__rpc_thread_svc_cleanup): Likewise.
25973 (__rpc_thread_clnt_cleanup): Likewise.
25974 (__rpc_thread_key_cleanup): Likewise.
25976 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25979 * include/sys/uio.h (__readv): Add libc_hidden_proto.
25980 (__writev): Likewise.
25981 * misc/readv.c (__readv): Add libc_hidden_def.
25982 * misc/writev.c (__writev): Likewise.
25983 * sysdeps/posix/readv.c (__readv): Likewise.
25984 * sysdeps/posix/writev.c (__writev): Likewise.
25985 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
25986 (__readv): Likewise.
25987 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
25988 (__writev): Likewise.
25990 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25993 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
25994 (__regcomp): Add libc_hidden_proto.
25995 (__regexec): Likewise.
25996 (__regfree): Likewise.
25997 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
25998 (__regfree): Likewise.
25999 * posix/regexec.c (__regexec): Likewise.
26001 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26004 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
26005 (__getutent): Likewise.
26006 (__getutid): Likewise.
26007 (__getutline): Likewise.
26008 (__pututline): Likewise.
26009 (__getutent_r): Likewise.
26010 (__getutid_r): Likewise.
26011 (__getutline_r): Likewise.
26012 (__utmpname): Add attribute_hidden.
26013 (__setutent): Likewise.
26014 (__endutent): Likewise.
26015 * login/getutent.c (__getutent): Add libc_hidden_def.
26016 * login/getutent_r.c (__getutent_r): Likewise.
26017 (__pututline): Likewise.
26018 * login/getutid.c (__getutid): Likewise.
26019 * login/getutid_r.c (__getutid_r): Likewise.
26020 * login/getutline.c (__getutline): Likewise.
26021 * login/getutline_r.c (__getutline_r): Likewise.
26022 * login/updwtmp.c (__updwtmp): Likewise.
26024 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26027 * include/dirent.h (__opendir): Always add attribute_hidden.
26028 (__fdopendir): Likewise.
26029 (__closedir): Likewise.
26030 (__readdir): Likewise.
26031 (__readdir64): Add libc_hidden_proto.
26032 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
26033 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
26034 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
26035 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
26038 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26041 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
26042 * include/netdb.h (__gethostbyaddr_r): Likewise.
26043 (__gethostbyname_r): Likewise.
26044 (__gethostbyname2_r): Likewise.
26045 (__getnetbyaddr_r): Likewise.
26046 (__getnetbyname_r): Likewise.
26047 (__getservbyname_r): Likewise.
26048 (__getservbyport_r): Likewise.
26049 (__getprotobyname_r): Likewise.
26050 (__getprotobynumber_r): Likewise.
26051 (__getnetgrent_r): Likewise.
26052 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
26053 (__getrpcbynumber_r): Likewise.
26054 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
26056 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26059 * include/stdio.h (__fcloseall): Add attribute_hidden.
26060 (__getline): Likewise.
26061 (__path_search): Likewise.
26062 (__gen_tempname): Likewise.
26063 (__libc_message): Likewise.
26064 (__flockfile): Likewise.
26065 (__funlockfile): Likewise.
26066 (__fxprintf): Likewise.
26067 (__fxprintf_nocancel): Likewise.
26069 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26072 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
26073 (__sgetsgent_r): Likewise.
26075 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26078 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
26079 (__statfs64): Likewise.
26080 (__fstatfs64): Likewise.
26081 * include/sys/statvfs.h (__statvfs64): Likewise.
26082 (__fstatvfs64): Likewise.
26083 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
26084 (__statfs_filesize_max): Likewise.
26085 (__statfs_symlinks): Likewise.
26086 (__statfs_chown_restricted): Likewise.
26088 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26091 * include/time.h (__tzstring): Add attribute_hidden.
26092 (__tzfile_read): Likewise.
26093 (__tzfile_compute): Likewise.
26094 (__tzfile_default): Likewise.
26095 (__tzset_parse_tz): Likewise.
26096 (__offtime): Likewise.
26097 (__asctime_r): Likewise.
26098 (__tzset): Likewise.
26099 (__tz_convert): Likewise.
26100 (__getdate_r): Likewise.
26101 (__getclktck): Likewise.
26103 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26106 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
26107 (__nscd_unmap): Likewise.
26108 (__nscd_cache_search): Likewise.
26109 (__nscd_get_nl_timestamp): Likewise.
26110 (__nscd_getpwnam_r): Likewise.
26111 (__nscd_getpwuid_r): Likewise.
26112 (__nscd_getgrnam_r): Likewise.
26113 (__nscd_getgrgid_r): Likewise.
26114 (__nscd_gethostbyname_r): Likewise.
26115 (__nscd_gethostbyname2_r): Likewise.
26116 (__nscd_gethostbyaddr_r): Likewise.
26117 (__nscd_getai): Likewise.
26118 (__nscd_getgrouplist): Likewise.
26119 (__nscd_getservbyname_r): Likewise.
26120 (__nscd_getservbyport_r): Likewise.
26121 (__nscd_innetgr): Likewise.
26122 (__nscd_setnetgrent): Likewise.
26124 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26127 * include/gmp.h: Declare internal functions only if _ISOMAC is
26129 (__mpn_extract_double): Add attribute_hidden.
26130 (__mpn_extract_long_double): Likewise.
26131 (__mpn_extract_float128): Likewise.
26132 (__mpn_construct_float): Likewise.
26133 (__mpn_construct_double): Likewise.
26134 (__mpn_construct_long_double): Likewise.
26135 (__mpn_construct_float128): Likewise.
26136 (mpn_add_1): Likewise.
26137 (mpn_addmul_1): Likewise.
26138 (mpn_add_n): Likewise.
26139 (mpn_cmp): Likewise.
26140 (mpn_divrem): Likewise.
26141 (mpn_lshift): Likewise.
26142 (mpn_mul): Likewise.
26143 (mpn_mul_1): Likewise.
26144 (mpn_rshift): Likewise.
26145 (mpn_sub_1): Likewise.
26146 (mpn_submul_1): Likewise.
26147 (mpn_sub_n): Likewise.
26149 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26152 * include/wchar.h (__wcsnlen): Add attribute_hidden.
26153 (__wcscat): Likewise.
26154 (__btowc): Likewise.
26155 (__wcrtomb): Likewise.
26156 (__mbsrtowcs): Likewise.
26157 (__wcsrtombs): Likewise.
26158 (__mbsnrtowcs): Likewise.
26159 (__wcsnrtombs): Likewise.
26160 (__wcsncpy): Likewise.
26161 (__wcpncpy): Likewise.
26162 (__wmemcpy): Likewise.
26163 (__wmempcpy): Likewise.
26164 (__wmemmove): Likewise.
26165 (__wcschrnul): Likewise.
26166 (__vfwscanf): Likewise.
26167 (__vswprintf): Likewise.
26168 (__fwprintf): Likewise.
26169 (__vfwprintf): Likewise.
26171 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26174 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
26175 (__getgrgid_r): Likewise.
26176 (__getgrnam_r): Likewise.
26177 * include/pwd.h (__getpwuid_r): Likewise.
26178 (__getpwnam_r): Likewise.
26179 (__fgetpwent_r): Likewise.
26180 * include/shadow.h (__getspnam_r): Likewise.
26181 (__sgetspent_r): Likewise.
26182 (__fgetspent_r): Likewise.
26184 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26187 * include/unistd.h (__access): Add attribute_hidden.
26188 (__lseek64): Likewise.
26189 (__libc_pread64): Likewise.
26190 (__pipe2): Likewise.
26191 (__sleep): Likewise.
26192 (__chdir): Likewise.
26193 (__fchdir): Likewise.
26194 (__getcwd): Likewise.
26195 (__rmdir): Likewise.
26196 (__execvpe): Likewise.
26197 (__execve): Likewise.
26198 (__setsid): Likewise.
26199 (__getuid): Likewise.
26200 (__geteuid): Likewise.
26201 (__getgid): Likewise.
26202 (__getegid): Likewise.
26203 (__getgroups): Likewise.
26204 (__group_member): Likewise.
26205 (__ttyname_r): Likewise.
26206 (__isatty): Likewise.
26207 (__readlink): Likewise.
26208 (__unlink): Likewise.
26209 (__gethostname): Likewise.
26210 (__profil): Likewise.
26211 (__getdtablesize): Likewise.
26213 (__ftruncate): Likewise.
26214 (__ftruncate64): Likewise.
26216 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26219 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
26220 * argp/argp-fs-xinl.c: Likewise.
26221 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
26222 * argp/argp-parse.c: Include <argp.h>.
26223 * argp/argp-xinl.c: Likewise.
26224 * include/argp-fmtstream.h: New file.
26225 * include/argp.h (__argp_error): Add attribute_hidden.
26226 (__argp_failure): Likewise.
26227 (__argp_input): Likewise.
26228 (__argp_state_help): Likewise.
26230 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26233 * include/wchar.h (____wcstof_l_internal): New prototype.
26234 (____wcstod_l_internal): Likewise.
26235 (____wcstold_l_internal): Likewise.
26236 (____wcstol_l_internal): Likewise.
26237 (____wcstoul_l_internal): Likewise.
26238 (____wcstoll_l_internal): Likewise.
26239 (____wcstoull_l_internal): Likewise.
26240 (____wcstof128_l_internal): Likewise.
26241 * sysdeps/ieee754/float128/wcstof128.c
26242 (____wcstof128_l_internal): Removed.
26243 * sysdeps/ieee754/float128/wcstof128_l.c
26244 (____wcstof128_l_internal): Likewise.
26245 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
26246 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
26247 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
26248 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
26249 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
26250 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
26251 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
26252 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
26253 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
26254 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
26256 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26259 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
26260 instead of <sys/statvfs.h>.
26261 (__internal_statvfs): Removed.
26262 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
26263 instead of <sys/statvfs.h>.
26264 (__internal_statvfs64): Removed.
26265 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
26266 "internal_statvfs.h" instead of <sys/statvfs.h>.
26267 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
26268 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
26269 instead of <sys/statvfs.h>.
26270 (__internal_statvfs): Removed.
26271 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
26272 instead of <sys/statvfs.h>.
26273 (__internal_statvfs64): Removed.
26275 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26278 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
26279 (__gconv_close): Likewise.
26280 (__gconv): Likewise.
26281 (__gconv_find_transform): Likewise.
26282 (__gconv_lookup_cache): Likewise.
26283 (__gconv_compare_alias_cache): Likewise.
26284 (__gconv_load_cache): Likewise.
26285 (__gconv_get_path): Likewise.
26286 (__gconv_close_transform): Likewise.
26287 (__gconv_release_cache): Likewise.
26288 (__gconv_find_shlib): Likewise.
26289 (__gconv_release_shlib): Likewise.
26290 (__gconv_get_builtin_trans): Likewise.
26291 (__gconv_compare_alias): Likewise.
26292 * include/dlfcn.h (_dlerror_run): Likewise.
26293 * include/stdio.h (__fortify_fail_abort): Likewise.
26294 * include/time.h (__tz_compute): Likewise.
26295 (__strptime_internal): Likewise.
26296 * intl/gettextP.h (_nl_find_domain): Likewise.
26297 (_nl_load_domain): Likewise.
26298 (_nl_find_msg): Likewise.
26299 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
26300 (EXTRACT_PLURAL_EXPRESSION): Likewise.
26301 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
26302 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
26303 (__gai_find_request): Likewise.
26304 (__gai_remove_request): Likewise.
26305 (__gai_notify): Likewise.
26306 (__gai_notify_only): Likewise.
26307 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
26308 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
26309 (_dl_non_dynamic_init): Likewise.
26310 (_dl_aux_init): Likewise.
26311 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
26312 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
26314 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
26315 (__wcsmbs_clone_conv): Likewise.
26316 (__wcsmbs_named_conv): Likewise.
26318 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26321 * include/stdlib.h (__random): Add attribute_hidden.
26322 (__random_r): Likewise.
26323 (__srandom_r): Likewise.
26324 (__initstate_r): Likewise.
26325 (__setstate_r): Likewise.
26326 (__erand48_r): Likewise.
26327 (__nrand48_r): Likewise.
26328 (__jrand48_r): Likewise.
26329 (__srand48_r): Likewise.
26330 (__seed48_r): Likewise.
26331 (__lcong48_r): Likewise.
26332 (__drand48_iterate): Likewise.
26333 (__setenv): Likewise.
26334 (__unsetenv): Likewise.
26335 (__clearenv): Likewise.
26336 (__ptsname_r): Likewise.
26337 (__posix_openpt): Likewise.
26338 (__add_to_environ): Likewise.
26339 (__realpath): Add libc_hidden_proto.
26340 (__ecvt_r): Likewise.
26341 (__fcvt_r): Likewise.
26342 (__qecvt_r): Likewise.
26343 (__qfcvt_r): Likewise.
26344 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
26345 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
26347 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26350 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
26351 * include/time.h (__mktime_internal): Likewise.
26352 * libio/iolibio.h (__fopen_internal): Likewise.
26354 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
26356 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
26358 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
26359 Correct offset used to restore PIC register.
26361 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
26364 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
26365 code to load address of __getcontext_ret when generating PIC code.
26367 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
26369 * elf/Makefile (tests-static-internal): Add
26370 tst-tls1-static-non-pie.
26371 (LDFLAGS-tst-tls1-static-non-pie): New.
26372 * elf/tst-tls1-static-non-pie.c: New file.
26374 2017-09-29 Joseph Myers <joseph@codesourcery.com>
26376 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
26377 (asinh): Define using libm_alias_double.
26378 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
26379 (cbrt): Define using libm_alias_double.
26380 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
26381 <libm-alias-double.h>.
26382 (copysign): Define using libm_alias_double.
26383 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
26384 (erf): Define using libm_alias_double.
26386 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
26387 (expm1): Define using libm_alias_double.
26388 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
26389 (fabs): Define using libm_alias_double.
26390 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
26392 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
26393 <libm-alias-double.h>.
26394 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
26396 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
26397 <libm-alias-double.h>.
26398 (getpayload): Define using libm_alias_double.
26399 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
26400 <libm-alias-double.h>.
26401 (llrint): Define using libm_alias_double.
26402 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
26403 (lrint): Define using libm_alias_double.
26404 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
26405 <libm-alias-double.h>.
26406 (nextup): Define using libm_alias_double.
26407 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
26408 <libm-alias-double.h>.
26409 (roundeven): Define using libm_alias_double.
26410 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
26412 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
26413 <libm-alias-double.h>.
26414 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
26415 using libm_alias_double.
26416 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
26417 (cos): Define using libm_alias_double.
26419 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
26420 <libm-alias-double.h>.
26421 (sincos): Define using libm_alias_double.
26422 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
26423 (tanh): Define using libm_alias_double.
26424 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
26425 <libm-alias-double.h>.
26426 (totalorder): Define using libm_alias_double.
26427 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
26428 <libm-alias-double.h>.
26429 (totalordermag): Define using libm_alias_double.
26430 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
26432 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
26434 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
26435 <libm-alias-double.h>.
26436 (getpayload): Define using libm_alias_double.
26437 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
26438 <libm-alias-double.h>.
26439 (roundeven): Define using libm_alias_double.
26440 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
26441 <libm-alias-double.h>.
26442 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
26443 <libm-alias-double.h>.
26444 (totalorder): Define using libm_alias_double.
26445 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
26446 <libm-alias-double.h>.
26447 (totalordermag): Define using libm_alias_double.
26448 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
26449 libc compat symbol here.
26450 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
26451 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
26452 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
26453 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
26454 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
26455 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
26456 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
26457 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
26458 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
26459 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
26461 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26463 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
26464 _dl_relocate_static_pie instead of _dl_start to compute load
26465 address in static PIE. Return 0 if _DYNAMIC is undefined for
26468 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26470 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
26471 _DYNAMIC is undefined for static executable.
26473 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26475 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
26477 2017-09-29 Joseph Myers <joseph@codesourcery.com>
26479 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26481 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
26483 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
26484 (__ieee754_lgamma_r): Use fabs rather than __fabs.
26485 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
26486 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
26487 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
26488 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
26489 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
26490 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
26491 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
26492 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
26493 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
26494 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
26495 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
26496 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
26497 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
26498 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
26499 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
26501 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
26503 * math/bits/cmathcalls.h (cimag): Remove inline.
26504 (creal): Remove inline.
26505 (conj): Remove inline.
26507 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26509 * math/Makefile (type-float-routines): Add e_powf_log2_data.
26510 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
26511 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
26512 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
26513 (issignalingf_inline): Likewise.
26514 (POWF_LOG2_TABLE_BITS): Likewise.
26515 (POWF_LOG2_POLY_ORDER): Likewise.
26516 (POWF_SCALE_BITS): Likewise.
26517 (POWF_SCALE): Likewise.
26518 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
26519 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
26520 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
26522 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26524 * math/Makefile (type-float-routines): Add e_log2f_data.
26525 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
26526 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
26527 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
26528 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
26529 * sysdeps/i386/fpu/e_log2f_data.c: New file.
26530 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
26531 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
26533 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26535 * math/Makefile (type-float-routines): Add e_logf_data.
26536 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
26537 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
26538 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
26539 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
26540 * sysdeps/i386/fpu/e_logf_data.c: New file.
26541 * sysdeps/ia64/fpu/e_logf_data.c: New file.
26542 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
26544 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
26546 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
26547 undefined _DYNAMIC in PIE libc.a.
26548 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26551 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
26553 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
26554 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
26555 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
26556 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
26557 (__signbit): Remove.
26558 (__signbitl): Remove.
26559 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
26560 (__signbit): Remove.
26561 (__signbitl): Remove.
26562 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
26563 (__signbit): Remove.
26564 (__signbitl): Remove.
26565 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
26566 (__signbit): Remove.
26567 (__signbitl): Remove.
26568 * sysdeps/tile/bits/mathinline.h: Delete file.
26569 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
26570 (__signbit): Remove.
26571 (__signbitl): Remove.
26573 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
26575 * math/math.h: Improve handling of C99 isgreater macros.
26576 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
26577 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
26578 * sysdeps/powerpc/bits/mathinline.h: Likewise.
26579 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26580 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
26582 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
26584 * sysdeps/aarch64/libm-test-ulps: Update.
26586 2017-09-28 Joseph Myers <joseph@codesourcery.com>
26589 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26590 math_opt_barrier on argument when doing arithmetic on it.
26591 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26592 Likewise. Use math_force_eval not math_opt_barrier after
26594 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
26595 math_opt_barrier on argument when doing arithmetic on it.
26596 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26599 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
26601 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
26603 (__freeifaddrs): Likewise.
26605 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
26607 * include/dirent.h (__dirfd): New declaration.
26608 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
26610 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
26611 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
26612 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
26613 * include/unistd.h (__revoke): New declaration.
26614 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
26616 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
26617 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
26619 * include/dirent.h (__seekdir): New declaration.
26620 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
26621 redefine as weak alias.
26622 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
26624 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
26625 and use libc_hidden_def on them.
26626 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
26628 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
26629 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
26630 instead of getifaddrs and freeifaddrs.
26632 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
26635 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
26636 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
26637 (__dso_handle): Remove declaration.
26638 * dlfcn/tstatexit.c (__dso_handle): Removed.
26639 (main): Don't check __dso_handle.
26640 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
26641 (main): Don't check __dso_handle.
26642 * include/dso_handle.h: New file.
26643 * malloc/mtrace.c: Include <dso_handle.h>.
26644 (mtrace): Pass __dso_handle directly.
26645 * nptl/pthread_atfork.c: Include <dso_handle.h>.
26646 (__dso_handle): Remove declaration.
26647 (__pthread_atfork): Pass __dso_handle directly.
26648 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
26649 (__dso_handle): Removed.
26650 * posix/wordexp-test.c: Include <dso_handle.h>.
26651 (__dso_handle): Remove declaration.
26652 (__app_register_atfork): Pass __dso_handle directly.
26653 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
26654 (__dso_handle): Remove declaration.
26655 (at_quick_exit): Pass __dso_handle directly.
26656 * stdlib/atexit.c: Include <dso_handle.h>.
26657 (__dso_handle): Remove declaration.
26658 (atexit): Pass __dso_handle directly.
26659 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
26660 (__dso_handle): Removed.
26662 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26664 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
26667 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
26669 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
26670 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
26671 values to correct default value for given type.
26673 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
26676 * elf/Makefile (tests): Add tst-debug1.
26677 ($(objpfx)tst-debug1): New.
26678 ($(objpfx)tst-debug1.out): Likewise.
26679 ($(objpfx)tst-debug1mod1.so): Likewise.
26680 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
26681 with p_filesz == 0.
26682 * elf/tst-debug1.c: New file.
26684 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26686 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
26687 Define using __ifunc.
26689 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26691 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
26694 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26697 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
26699 2017-09-26 Florian Weimer <fweimer@redhat.com>
26701 * resolv/Makefile (tests-internal): Fix typo in comment.
26703 2017-09-26 Florian Weimer <fweimer@redhat.com>
26705 * resolv/nss_dns/dns-host.c: Fix typo in comment.
26707 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26709 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
26710 Use an union instead of a max_align_t array for __space,
26711 so that __space is the same size on all platforms.
26712 * malloc/scratch_buffer_grow_preserve.c
26713 (__libc_scratch_buffer_grow_preserve): Likewise.
26716 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
26718 * posix/Makefile (routines): Add glob-lstat-compat and
26719 glob64-lstat-compat.
26720 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
26721 * posix/glob-lstat-compat.c: New file.
26722 * posix/glob64-lstat-compat.c: Likewise.
26723 * posix/tst-glob_lstat_compat.c: Likewise.
26724 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
26725 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
26726 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
26727 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
26729 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
26730 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
26731 * posix/glob.c (glob_lstat): New function.
26732 (glob): Rename to __glob and add versioned symbol to 2.27.
26733 (glob_in_dir): Use glob_lstat.
26734 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
26735 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26736 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
26738 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
26739 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
26740 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
26741 gl_lstat on glob call.
26742 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
26743 and glob64 symbols.
26744 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26745 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26746 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26747 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26748 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26749 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26750 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26751 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26752 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26753 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26754 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26755 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26758 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
26759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26760 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26761 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26762 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26763 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26764 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26765 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26766 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26767 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26768 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26769 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26771 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
26773 * configure.ac (AS): Require binutils 2.25 or later.
26774 * configure: Regenerated.
26776 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
26779 * stdlib/test-atexit-race-common.c (do_test): Minimize required
26782 2017-09-25 DJ Delorie <dj@redhat.com>
26785 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
26788 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
26790 * sysdeps/ieee754/dbl-64/sincos32.h
26791 [SINCCOS32_H]: Remove define.
26792 [SINCOS32_H]: Define.
26794 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
26796 * math/Versions (expf): New libm symbol at GLIBC_2.27.
26798 * math/w_exp2f.c: New file.
26799 * math/w_expf.c: New file.
26800 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
26801 * math/w_expf_compat.c (__expf_compat): Likewise.
26802 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
26803 * sysdeps/ia64/fpu/e_expf.S: Likewise.
26804 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26805 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26806 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26807 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26808 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26809 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26810 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26811 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26812 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26813 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26814 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26815 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26824 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26825 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26826 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26827 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26828 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26833 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26834 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26835 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26837 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
26839 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
26840 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
26841 (roundtoint, converttoint): Likewise.
26842 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
26843 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
26844 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
26845 * sysdeps/ieee754/flt-32/math_config.h: New file.
26846 * sysdeps/ieee754/flt-32/math_errf.c: New file.
26847 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
26848 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
26849 * sysdeps/i386/fpu/math_errf.c: New file.
26850 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
26851 * sysdeps/ia64/fpu/math_errf.c: New file.
26852 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
26853 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
26855 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
26857 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
26858 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
26859 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
26860 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
26861 to make sure that these symbols are defined.
26862 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
26864 (__need_NULL): Do not define.
26865 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
26867 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
26868 CMGROUP_MAX, cmsgcred): Do not define.
26869 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
26871 * bits/socket.h: Likewise.
26872 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
26873 __gettimeofday instead of gettimeofday.
26874 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
26875 instead of settimeofday.
26877 2017-09-22 Joseph Myers <joseph@codesourcery.com>
26879 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
26880 (asinhf): Define using libm_alias_float.
26881 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
26882 (atanf): Define using libm_alias_float.
26883 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
26884 (cbrtf): Define using libm_alias_float.
26885 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
26886 (ceilf): Define using libm_alias_float.
26887 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
26888 <libm-alias-float.h>.
26889 (copysignf): Define using libm_alias_float.
26890 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
26891 (cosf): Define using libm_alias_float.
26892 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
26893 (erff): Define using libm_alias_float.
26895 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
26896 (expm1f): Define using libm_alias_float.
26897 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
26898 (fabsf): Define using libm_alias_float.
26899 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
26900 (floorf): Define using libm_alias_float.
26901 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
26902 (frexpf): Define using libm_alias_float.
26903 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
26905 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
26906 <libm-alias-float.h>.
26907 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
26909 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
26910 <libm-alias-float.h>.
26911 (getpayloadf): Define using libm_alias_float.
26912 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
26913 <libm-alias-float.h>.
26914 (llrintf): Define using libm_alias_float.
26915 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
26916 <libm-alias-float.h>.
26917 (llroundf): Define using libm_alias_float.
26918 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
26919 (logbf): Define using libm_alias_float.
26920 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
26921 (lrintf): Define using libm_alias_float.
26922 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
26923 (lroundf): Define using libm_alias_float.
26924 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
26925 (modff): Define using libm_alias_float.
26926 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
26927 <libm-alias-float.h>.
26928 (nearbyintf): Define using libm_alias_float.
26929 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
26930 <libm-alias-float.h>.
26931 (nextafterf): Define using libm_alias_float.
26932 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
26933 <libm-alias-float.h>.
26934 (nextupf): Define using libm_alias_float.
26935 * sysdeps/ieee754/flt-32/s_remquof.c: Include
26936 <libm-alias-float.h>.
26937 (remquof): Define using libm_alias_float.
26938 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
26939 (rintf): Define using libm_alias_float.
26940 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
26941 <libm-alias-float.h>.
26942 (roundevenf): Define using libm_alias_float.
26943 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
26944 (roundf): Define using libm_alias_float.
26945 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
26946 using libm_alias_float.
26947 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
26948 <libm-alias-float.h>.
26949 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
26950 Define using libm_alias_float.
26951 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
26952 <libm-alias-float.h>.
26953 (sincosf): Define using libm_alias_float.
26954 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
26955 (sinf): Define using libm_alias_float.
26956 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
26957 (tanf): Define using libm_alias_float.
26958 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
26959 (tanhf): Define using libm_alias_float.
26960 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
26961 <libm-alias-float.h>.
26962 (totalorderf): Define using libm_alias_float.
26963 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
26964 <libm-alias-float.h>.
26965 (totalordermagf): Define using libm_alias_float.
26966 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
26967 (truncf): Define using libm_alias_float.
26968 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
26970 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
26973 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26976 math/math.h: Let fpclassify use the builtin in C++ mode, even
26977 when optimazing for size.
26979 2017-09-22 Joseph Myers <joseph@codesourcery.com>
26981 * csu/Makefile (generated): Do not add version-info.h.
26982 (before-compile): Likewise.
26983 (all-Banner-files): Remove variable.
26984 ($(objpfx)version-info.h): Remove rule.
26985 * csu/version.c (banner): Do not include "version-info.h".
26986 * libidn/Banner: Remove.
26987 * manual/contrib.texi (Simon Josefsson): New entry.
26989 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26991 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26992 Remove conditionals on LDBL_MANT_DIG.
26993 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
26994 (__ieee754_lgammal_r): Likewise.
26996 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26998 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
27000 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
27001 _Float128 and L(). Replace _Float128 with long double and L(x)
27002 with xL, throughout the file.
27003 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27004 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27005 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27006 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27008 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27010 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
27011 sysdeps/ieee754/ldbl-128ibm.
27012 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
27013 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
27014 of including it. Keep _Float128 and L() intact. These will be
27015 reviewed by a separate patch.
27016 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27017 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27018 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27019 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27021 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
27024 (__finitef128): Define to __redirect___finitef128.
27025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
27026 (__isinff128): Define to __redirect___isinff128.
27027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
27028 (__isnanf128): Define to __redirect___isnanf128.
27030 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27032 * sysdeps/powerpc/powerpc64le/Makefile
27033 (CFLAGS-tst-strtod-nan-locale.c): New variable.
27034 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
27036 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
27037 Carlos O'Donell <carlos@redhat.com>
27040 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
27041 * stdlib/test-dlclose-exit-race.c: New file.
27042 * stdlib/test-dlclose-exit-race-helper.c: New file.
27043 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
27045 2017-09-21 Joseph Myers <joseph@codesourcery.com>
27047 * crypt/Banner: Remove file.
27048 * nptl/Banner: Likewise.
27049 * resolv/Banner: Likewise.
27050 * soft-fp/Banner: Likewise.
27051 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
27052 ($(objpfx)version.d): Remove dependency on banner.h.
27053 ($(objpfx)version.os): Likewise.
27054 * nptl/version.c (banner): Do not include banner.h.
27055 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
27056 Jelinek and BIND code.
27058 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27059 Carlos O'Donell <carlos@redhat.com>
27061 * support/xdlfcn.h: New file.
27062 * support/xdlfcn.c: New file.
27063 * support/Makefile (libsupport-routines): Add xdlfcn.
27064 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
27066 2017-09-20 Joseph Myers <joseph@codesourcery.com>
27069 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27070 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
27071 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
27072 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
27073 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
27074 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
27075 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
27076 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
27078 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27079 Ricky Zhou <rickyz@google.com>
27080 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
27083 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
27085 (__new_exitfn): Fail registration when we finished at_exit processing.
27086 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
27087 * stdlib/on_exit.c (__on_exit): Likewise.
27088 * stdlib/exit.c (__exit_funcs_done): New variable.
27089 (__run_exit_handlers): Use __exit_funcs_lock.
27090 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
27092 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
27093 (test-cxa_atexit-race, test-on_exit-race): New tests.
27094 * stdlib/test-atexit-race-common.c: New file.
27095 * stdlib/test-atexit-race.c: New file.
27096 * stdlib/test-at_quick_exit-race.c: New file.
27097 * stdlib/test-cxa_atexit-race.c: New file.
27098 * stdlib/test-on_exit-race.c: New file.
27100 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
27102 * benchtests/Makefile: Add exp2f and log2f benchmarks.
27103 * benchtests/exp2f-inputs: Copy of expf-inputs.
27104 * benchtests/log2f-inputs: Copy of logf-inputs.
27106 2017-09-19 Joseph Myers <joseph@codesourcery.com>
27108 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
27109 Explicitly take address of first element of array arguments in
27110 call to INLINE_SYSCALL.
27112 2017-09-19 Andreas Schwab <schwab@suse.de>
27115 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
27117 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
27119 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
27120 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
27121 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27122 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
27123 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27124 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
27125 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27126 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
27127 * posix/Makefile (tests): Add tst-fexecve.
27128 * posix/tst-fexecve.c: New file.
27130 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27132 * benchtests/Makefile: Add logf benchmark.
27133 * benchtests/logf-inputs: Add reduced trace from wrf_r.
27135 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27137 * benchtests/Makefile: Add expf benchmark.
27138 * benchtests/expf-inputs: Add reduced trace from wrf_r.
27140 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27142 * csu/Makefile: Add -funwind-tables to libc-start.c.
27143 * debug/Makefile: Add -funwind-tables to backtrace.c.
27144 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
27145 * sysdeps/arm/Makefile: Likewise.
27146 * sysdeps/i386/Makefile: Likewise.
27147 * sysdeps/m68k/Makefile: Likewise.
27148 * sysdeps/mips/Makefile: Likewise.
27149 * sysdeps/nios2/Makefile: Likewise.
27150 * sysdeps/sh/Makefile: Likewise.
27151 * sysdeps/sparc/Makefile: Likewise.
27153 2017-09-19 Joseph Myers <joseph@codesourcery.com>
27155 * benchtests/Makefile (bench-math): Add trunc and truncf.
27156 (CFLAGS-bench-trunc.c): New variable.
27157 (CFLAGS-bench-truncf.c): Likewise.
27158 * benchtests/trunc-inputs: New file.
27159 * benchtests/truncf-inputs: Likewise.
27161 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27163 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
27165 2017-09-18 Joseph Myers <joseph@codesourcery.com>
27167 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
27168 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
27170 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27171 (exp10l): Define as weak alias.
27172 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
27173 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
27175 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
27176 (remainderl): Define as weak alias.
27178 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
27179 (fmal): Define using libm_alias_ldouble.
27180 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
27181 (acoshl): Define using libm_alias_ldouble.
27182 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
27183 (acosl): Define using libm_alias_ldouble.
27184 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
27185 (asinl): Define using libm_alias_ldouble.
27186 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
27187 (atan2l): Define using libm_alias_ldouble.
27188 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
27189 (atanhl): Define using libm_alias_ldouble.
27190 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
27191 (coshl): Define using libm_alias_ldouble.
27192 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
27193 (exp10l): Define using libm_alias_ldouble.
27194 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
27195 (exp2l): Define using libm_alias_ldouble.
27196 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
27197 (expl): Define using libm_alias_ldouble.
27198 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
27199 (fmodl): Define using libm_alias_ldouble.
27200 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
27201 (hypotl): Define using libm_alias_ldouble.
27202 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
27203 (j0l): Define using libm_alias_ldouble.
27205 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
27206 (j1l): Define using libm_alias_ldouble.
27208 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
27209 (jnl): Define using libm_alias_ldouble.
27211 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
27212 (log10l): Define using libm_alias_ldouble.
27213 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
27214 (log2l): Define using libm_alias_ldouble.
27215 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
27216 (logl): Define using libm_alias_ldouble.
27217 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
27218 (powl): Define using libm_alias_ldouble.
27219 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
27220 (remainderl): Define using libm_alias_ldouble.
27221 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
27222 (sinhl): Define using libm_alias_ldouble.
27223 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
27224 (sqrtl): Define using libm_alias_ldouble.
27225 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
27226 (tgammal): Define using libm_alias_ldouble.
27227 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
27228 (exp10l): Do not use long_double_symbol here.
27229 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27230 [LIBM_SVID_COMPAT] (remainderl): Likewise.
27231 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
27232 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
27233 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
27234 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
27235 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
27236 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
27237 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
27238 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
27239 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
27240 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
27241 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
27242 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
27243 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
27244 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
27245 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
27246 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
27247 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
27248 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
27249 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
27250 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
27252 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
27254 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
27255 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
27257 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
27259 * io/read.c (read): Add libc_hidden_weak.
27260 * sysdeps/mach/hurd/read.c (read): Likewise.
27261 * io/write.c (write): Likewise.
27262 * sysdeps/mach/hurd/write.c (write): Likewise.
27263 * io/pread64.c (__pread64): Likewise.
27264 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
27265 * posix/pread64.c (__pread64): Add libc_hidden_def.
27267 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
27269 * benchtests/scripts/compare_strings.py: New option -g.
27270 (draw_graph): Print a message that a graph is being generated.
27271 (process_results): Generate graph only if -g is passed.
27272 (main): Process option -g.
27274 * benchtests/scripts/compare_strings.py (process_results):
27275 Better spacing for output.
27277 * benchtests/scripts/compare_strings.py: Use argparse.
27278 * benchtests/README: Document existence of compare_strings.py.
27280 2017-09-15 Joseph Myers <joseph@codesourcery.com>
27282 * math/s_fma.c: Include <libm-alias-double.h>.
27283 (fma): Define using libm_alias_double.
27284 * math/s_nextafter.c: Include <libm-alias-double.h>.
27285 (nextafter): Define using libm_alias_double.
27286 * math/w_acos_compat.c: Include <libm-alias-double.h>.
27287 (acos): Define using libm_alias_double.
27288 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
27289 (aocsh): Define using libm_alias_double.
27290 * math/w_asin_compat.c: Include <libm-alias-double.h>.
27291 (asin): Define using libm_alias_double.
27292 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
27293 (atan2): Define using libm_alias_double.
27294 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
27295 (atanh): Define using libm_alias_double.
27296 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
27297 (cosh): Define using libm_alias_double.
27298 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
27299 (exp10): Define using libm_alias_double.
27300 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
27301 (exp2): Define using libm_alias_double.
27302 * math/w_exp_compat.c: Include <libm-alias-double.h>.
27303 (exp): Define using libm_alias_double.
27304 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
27305 (fmod): Define using libm_alias_double.
27306 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
27307 (hypot): Define using libm_alias_double.
27308 * math/w_j0_compat.c: Include <libm-alias-double.h>.
27309 (j0): Define using libm_alias_double.
27311 * math/w_j1_compat.c: Include <libm-alias-double.h>.
27312 (j1): Define using libm_alias_double.
27314 * math/w_jn_compat.c: Include <libm-alias-double.h>.
27315 (jn): Define using libm_alias_double.
27317 * math/w_log10_compat.c: Include <libm-alias-double.h>.
27318 (log10): Define using libm_alias_double.
27319 * math/w_log2_compat.c: Include <libm-alias-double.h>.
27320 (log2): Define using libm_alias_double.
27321 * math/w_log_compat.c: Include <libm-alias-double.h>.
27322 (log): Define using libm_alias_double.
27323 * math/w_pow_compat.c: Include <libm-alias-double.h>.
27324 (pow): Define using libm_alias_double.
27325 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
27326 (remainder): Define using libm_alias_double.
27327 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
27328 (sinh): Define using libm_alias_double.
27329 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
27330 (sqrt): Define using libm_alias_double.
27331 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
27332 (tgamma): Define using libm_alias_double.
27333 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
27334 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
27335 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
27336 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
27337 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
27338 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
27339 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
27340 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
27341 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
27342 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
27343 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
27344 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
27345 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
27346 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
27347 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
27348 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
27349 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
27350 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
27351 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
27352 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
27353 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
27354 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
27355 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
27356 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
27357 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
27359 * math/e_acoshl.c: Remove.
27360 * math/e_acosl.c: Likewise.
27361 * math/e_asinl.c: Likewise.
27362 * math/e_atan2l.c: Likewise.
27363 * math/e_atanhl.c: Likewise.
27364 * math/e_coshl.c: Likewise.
27365 * math/e_expl.c: Likewise.
27366 * math/e_fmodl.c: Likewise.
27367 * math/e_gammal_r.c: Likewise.
27368 * math/e_hypotl.c: Likewise.
27369 * math/e_j0l.c: Likewise.
27370 * math/e_j1l.c: Likewise.
27371 * math/e_jnl.c: Likewise.
27372 * math/e_lgammal_r.c: Likewise.
27373 * math/e_log10l.c: Likewise.
27374 * math/e_log2l.c: Likewise.
27375 * math/e_logl.c: Likewise.
27376 * math/e_powl.c: Likewise.
27377 * math/e_rem_pio2l.c: Likewise.
27378 * math/e_sinhl.c: Likewise.
27379 * math/e_sqrtf128.c: Likewise.
27380 * math/e_sqrtl.c: Likewise.
27381 * math/k_cosl.c: Likewise.
27382 * math/k_sinl.c: Likewise.
27383 * math/k_tanl.c: Likewise.
27384 * math/s_asinhl.c: Likewise.
27385 * math/s_atanl.c: Likewise.
27386 * math/s_cbrtl.c: Likewise.
27387 * math/s_erfl.c: Likewise.
27388 * math/s_expm1l.c: Likewise.
27389 * math/s_log1pl.c: Likewise.
27390 * math/s_tanhl.c: Likewise.
27392 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27395 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
27396 [$(subdir) = math] (sysdep_calls): New variable. Has the
27397 previous contents of sysdep_routines, but re-sorted..
27398 [$(subdir) = math] (sysdep_routines): Re-use the contents from
27400 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
27401 defined in sysdep_calls and replace by the respective m_* names.
27402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
27403 (compat_symbol): Undefine to avoid duplicated compat symbols in
27406 2017-09-15 Joseph Myers <joseph@codesourcery.com>
27408 * math/s_fmaf.c: Include <libm-alias-float.h>.
27409 (fmaf): Define using libm_alias_float.
27410 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
27411 (acosf): Define using libm_alias_float.
27412 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
27413 (acoshf): Define using libm_alias_float.
27414 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
27415 (asinf): Define using libm_alias_float.
27416 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
27417 (atan2f): Define using libm_alias_float.
27418 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
27419 (atanhf): Define using libm_alias_float.
27420 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
27421 (coshf): Define using libm_alias_float.
27422 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
27423 (exp10f): Define using libm_alias_float.
27424 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
27425 (fmodf): Define using libm_alias_float.
27426 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
27427 (hypotf): Define using libm_alias_float.
27428 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
27429 (j0f): Define using libm_alias_float.
27431 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
27432 (j1f): Define using libm_alias_float.
27434 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
27435 (jnf): Define using libm_alias_float.
27437 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
27438 (log10f): Define using libm_alias_float.
27439 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
27440 (log2f): Define using libm_alias_float.
27441 * math/w_logf_compat.c: Include <libm-alias-float.h>.
27442 (logf): Define using libm_alias_float.
27443 * math/w_powf_compat.c: Include <libm-alias-float.h>.
27444 (powf): Define using libm_alias_float.
27445 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
27446 (remainderf): Define using libm_alias_float.
27447 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
27448 (sinhf): Define using libm_alias_float.
27449 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
27450 (sqrtf): Define using libm_alias_float.
27451 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
27452 (tgammaf): Define using libm_alias_float.
27454 2017-09-14 Joseph Myers <joseph@codesourcery.com>
27456 * include/math.h (roundeven): Change hidden_proto call to
27458 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
27460 [NO_LONG_DOUBLE] (__j0l): New strong alias.
27461 (y0): Rename to __y0 and define as weak alias.
27462 [NO_LONG_DOUBLE] (__y0l): New strong alias.
27463 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
27465 (y0f): Rename to __y0f and define as weak alias.
27466 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
27468 [NO_LONG_DOUBLE] (__j1l): New strong alias.
27469 (y1): Rename to __y1 and define as weak alias.
27470 [NO_LONG_DOUBLE] (__y1l): New strong alias.
27471 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
27473 (y1f): Rename to __y1f and define as weak alias.
27474 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
27476 [NO_LONG_DOUBLE] (__jnl): New strong alias.
27477 (yn): Rename to __yn and define as weak alias.
27478 [NO_LONG_DOUBLE] (__ynl): New strong alias.
27479 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
27481 (ynf): Rename to __ynf and define as weak alias.
27482 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
27483 (fromfp): Define as weak alias.
27484 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
27485 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
27486 (fromfpx): Define as weak alias.
27487 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
27488 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
27489 __getpayload and define as weak alias.
27490 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
27491 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
27492 __roundeven and define as weak alias.
27493 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
27494 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
27496 (setpayload): Define as weak alias.
27497 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
27498 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
27500 (setpayloadsig): Define as weak alias.
27501 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
27502 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
27503 __totalorder and define as weak alias.
27504 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
27505 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
27506 to __totalordermag and define as weak alias.
27507 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
27508 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
27509 (ufromfp): Define as weak alias.
27510 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
27511 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
27513 (ufromfpx): Define as weak alias.
27514 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
27515 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
27516 Rename to __getpayload and define as weak alias.
27517 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
27518 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
27519 Rename to __roundeven and define as weak alias.
27520 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
27521 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
27522 Rename to __totalorder and define as weak alias.
27523 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
27524 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
27525 (totalordermag): Rename to __totalordermag and define as weak
27527 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
27528 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
27530 (__roundevenl): Likewise.
27531 (__totalorderl): Likewise.
27532 (__totalordermagl): Likewise
27533 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
27535 (fromfpf128): Define as weak alias.
27536 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
27538 (fromfpxf128): Define as weak alias.
27539 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
27541 (setpayloadf128): Define as weak alias.
27542 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
27543 __setpayloadsigf128.
27544 (setpayloadsigf128): Define as weak alias.
27545 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
27547 (ufromfpf128): Define as weak alias.
27548 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
27550 (ufromfpxf128): Define as weak alias.
27551 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
27552 (fromfpf): Define as weak alias.
27553 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
27555 (fromfpxf): Define as weak alias.
27556 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
27557 __getpayloadf and define as weak alias.
27558 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
27559 __roundevenf and define as weak alias.
27560 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
27562 (setpayloadf): Define as weak alias.
27563 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
27565 (setpayloadsigf): Define as weak alias.
27566 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
27567 __totalorderf and define as weak alias.
27568 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
27569 Rename to __totalordermagf and define as weak alias.
27570 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
27572 (ufromfpf): Define as weak alias.
27573 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
27575 (ufromfpxf): Define as weak alias.
27576 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
27578 (fromfpl): Define as weak alias.
27579 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
27581 (fromfpxl): Define as weak alias.
27582 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
27583 to __getpayloadl and define as weak alias.
27584 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
27585 __roundevenl and define as weak alias.
27586 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
27588 (setpayloadl): Define as weak alias.
27589 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
27591 (setpayloadsigl): Define as weak alias.
27592 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
27593 to __totalorderl and define as weak alias.
27594 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
27595 Rename to __totalordermagl and define as weak alias.
27596 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
27598 (ufromfpl): Define as weak alias.
27599 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
27601 (ufromfpxl): Define as weak alias.
27602 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
27604 (fromfpl): Define as weak alias.
27605 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
27607 (fromfpxl): Define as weak alias.
27608 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
27609 Rename to __getpayloadl and define as weak alias.
27610 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
27611 to __roundevenl and define as weak alias. Call __roundeven
27612 instead of roundeven.
27613 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
27615 (setpayloadl): Define as weak alias.
27616 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
27618 (setpayloadsigl): Define as weak alias.
27619 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
27620 Rename to __totalorderl and define as weak alias.
27621 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
27622 Rename to __totalordermagl and define as weak alias.
27623 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
27625 (ufromfpl): Define as weak alias.
27626 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
27628 (ufromfpxl): Define as weak alias.
27629 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
27631 (fromfpl): Define as weak alias.
27632 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
27634 (fromfpxl): Define as weak alias.
27635 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
27636 __getpayloadl and define as weak alias.
27637 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
27638 __roundevenl and define as weak alias.
27639 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
27641 (setpayloadl): Define as weak alias.
27642 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
27644 (setpayloadsigl): Define as weak alias.
27645 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
27646 __totalorderl and define as weak alias.
27647 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
27648 Rename to __totalordermagl and define as weak alias.
27649 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
27651 (ufromfpl): Define as weak alias.
27652 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
27654 (ufromfpxl): Define as weak alias.
27656 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
27658 * benchtests/bench-string.h (realloc_bufs): New function.
27659 (test_init): Call it.
27660 * benchtests/bench-memset-large.c (do_test): Likewise.
27661 * benchtests/bench-memset.c (do_test): Likewise.
27663 * benchtests/bench-memset-large.c: Print output in JSON
27665 * benchtests/bench-memset.c: Likewise.
27667 2017-09-14 Mike FABIAN <mfabian@redhat.com>
27670 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
27671 * iconvdata/Makefile: Add IBM858.
27672 * iconvdata/gconv-modules: Likewise.
27673 * iconvdata/tst-tables.sh: Likewise.
27674 * iconvdata/ibm858.c: New file.
27675 * localedata/charmaps/IBM858: Likewise.
27677 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
27680 * locales/niu_NZ (LC_TIME): copy "niu_NU".
27681 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
27683 2017-09-14 Mike FABIAN <mfabian@redhat.com>
27686 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
27687 and add tel_int_fmt.
27689 2017-09-14 Joseph Myers <joseph@codesourcery.com>
27691 * sysdeps/generic/libm-alias-float128.h: New file.
27692 * sysdeps/generic/math-type-macros-float128.h: Include
27693 <libm-alias-float128.h>.
27694 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
27696 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27698 * sysdeps/generic/libm-alias-ldouble.h: New file.
27699 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
27700 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
27701 * sysdeps/generic/math-type-macros-ldouble.h: Include
27702 <libm-alias-ldouble.h>.
27703 [!declare_mgen_alias] (declare_mgen_alias): Define to use
27704 libm_alias_ldouble.
27706 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
27708 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
27709 * math/w_exp_compat.c: ... here.
27710 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
27711 * math/w_expf_compat.c: ... here.
27712 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
27713 * math/w_expl_compat.c: ... here.
27714 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
27715 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
27716 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
27717 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
27719 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27721 * math/w_scalbln_template.c (strong_alias): Do not undefine and
27723 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
27725 (ldexpl): Only define as compat symbol for libc, not libm.
27726 (scalbnl): Define as compat symbol for libc here.
27727 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
27728 define for [IS_IN (libc)].
27729 (__ldexpl_2): Remove alias.
27730 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
27731 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
27732 name in long_double_symbol call.
27733 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
27734 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27735 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27736 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
27737 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
27739 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
27740 Define as compat symbol.
27742 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27744 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
27745 * sysdeps/unix/sysv/linux/alpha/Makefile
27746 [$(subdir) = csu] (sysdep_routines): Remove rule.
27748 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27750 * sysdeps/generic/libm-alias-double.h: New file.
27751 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
27752 * sysdeps/generic/math-type-macros-double.h: Include
27753 <libm-alias-double.h>.
27754 [declare_mgen_alias] (declare_mgen_alias): Define to use
27756 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
27757 (M_LIBM_NEED_COMPAT): Remove macro.
27758 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
27759 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
27760 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
27762 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27763 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27764 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27765 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27766 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27767 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27768 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27769 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27770 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27771 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27772 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27773 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27774 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27775 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27776 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27777 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27778 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27779 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27780 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27781 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27782 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27783 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27784 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27785 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27786 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27787 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27788 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27789 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
27790 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
27792 (declare_mgen_alias): New macro.
27793 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
27794 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
27795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
27796 (M_LIBM_NEED_COMPAT): Remove macro.
27797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
27798 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
27799 <first-versions.h>.
27800 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
27801 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
27803 2017-09-12 Joseph Myers <joseph@codesourcery.com>
27805 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
27806 (declare_mgen_alias_2): Remove.
27807 * sysdeps/generic/math-type-macros-double.h
27808 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
27810 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
27812 (ldexp): Define with declare_mgen_alias.
27813 (scalbn): Likewise.
27815 2017-09-12 Steve Ellcey <sellcey@cavium.com>
27817 * grp/initgroups.c: Include config.h.
27818 (DEFAULT_CONFIG): New macro.
27819 (internal_getgrouplist): Use DEFAULT_CONFIG.
27820 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27821 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
27822 (DEFAULT_DEFCONFIG): New macro.
27823 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
27824 * nss/grp-lookup.c: Include config.h
27825 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
27826 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
27827 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
27828 * manual/nss.texi: Update default values section.
27830 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
27833 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
27835 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
27836 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
27837 Handle MathVec_Prefer_No_AVX512.
27838 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
27839 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
27842 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
27844 * posix/sched_primax.c (__sched_get_priority_max): Add
27846 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
27847 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
27848 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
27849 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
27850 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
27851 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
27852 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
27853 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
27856 2017-09-11 Joseph Myers <joseph@codesourcery.com>
27858 * sysdeps/generic/libm-alias-float.h: New file.
27859 * sysdeps/generic/math-type-macros-float.h: Include
27860 <libm-alias-float.h>.
27861 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
27863 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
27866 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
27867 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
27868 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
27869 (HWCAP_IMPORTANT): Likewise.
27870 (HWCAP_X86_64): New enum.
27871 (HWCAP_X86_AVX512_1): Updated.
27872 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
27873 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
27874 (modules-names): Add x86_64/tst-x86_64mod-1.
27875 (LDFLAGS-tst-x86_64mod-1.so): New.
27876 ($(objpfx)tst-x86_64-1): Likewise.
27877 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
27878 (tst-x86_64-1-clean): Likewise.
27879 * sysdeps/x86_64/tst-x86_64-1.c: New file.
27880 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
27882 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
27884 * po/sv.po: Update translations.
27885 * po/fr.po: Likewise.
27887 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27889 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
27891 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
27893 * elf/rtld-Rules: Fix $(error) use.
27895 2017-09-09 Mike FABIAN <mfabian@redhat.com>
27898 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
27899 * locale/iso-639.def: Change “Bengali” to “Bangla”.
27900 * localedata/locales/bn_BD: “Bengali” was still used in some
27901 comments. Change it to “Bangla”.
27903 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
27905 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
27907 2017-09-08 Steve Ellcey <sellcey@cavium.com>
27909 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
27910 thunderx2t99p1 to list of cpu names.
27911 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
27912 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
27914 2017-09-08 Steve Ellcey <sellcey@cavium.com>
27916 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
27917 Use strcmp instead of tunable_is_name.
27919 2017-09-08 Joseph Myers <joseph@codesourcery.com>
27921 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27922 (F_GET_RW_HINT): New macro.
27923 [__USE_GNU] (F_SET_RW_HINT): Likewise.
27924 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
27925 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
27926 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
27927 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
27928 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
27929 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
27930 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
27931 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
27933 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27934 (F_ADD_SEALS): New macro.
27935 [__USE_GNU] (F_GET_SEALS): Likewise.
27936 [__USE_GNU] (F_SEAL_SEAL): Likewise.
27937 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
27938 [__USE_GNU] (F_SEAL_GROW): Likewise.
27939 [__USE_GNU] (F_SEAL_WRITE): Likewise.
27941 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27943 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
27944 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
27945 * posix/glob_internal.h (__glob_pattern_type):
27946 * posix/glob.c (glob):
27947 * posix/glob_pattern_p.c (__glob_pattern_p):
27950 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
27951 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27952 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
27953 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
27954 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
27955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
27956 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
27957 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
27958 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
27959 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
27960 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
27961 * sysdeps/wordsize-64/glob.c: Likewise.
27962 * sysdeps/wordsize-64/glob64.c: Likewise.
27963 * sysdeps/wordsize-64/globfree.c: Likewise.
27964 * sysdeps/wordsize-64/globfree64.c: Likewise.
27965 * sysdeps/unix/sysv/linux/glob.c: New file.
27966 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
27967 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
27968 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
27969 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27970 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
27971 adds !GLOB_NO_OLD_VERSION as an extra condition.
27972 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
27973 using relative path instead of absolute one.
27974 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
27975 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27976 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27977 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
27978 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
27979 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
27982 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
27983 (glob): Use the same scratch buffer for both getlogin_r and
27984 getpwnam_r. Don’t require preallocation of the login name. This
27985 simplifies storage allocation, and corrects the handling of
27989 * posix/glob.c (glob): Port recent patches to platforms
27990 lacking getpwnam_r.
27991 (glob): Fix longstanding misuse of errno after getpwnam_r, which
27992 returns an error number rather than setting errno.
27994 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
27995 instead of GCC extension.
27996 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
27997 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
27998 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
28002 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
28003 * posix/bug-glob1.c: Remove file.
28004 * posix/tst-glob_symlinks.c: New file.
28005 * posix/glob.c (__lstat64): New macro.
28006 (is_dir): New function.
28007 (glob, glob_in_dir): Match symlinks even if they are dangling.
28008 (link_stat, link_exists_p): Remove. All uses removed.
28012 * posix/glob.c (struct readdir_result): Remove skip_entry member.
28013 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
28018 * posix/Makefile (routines): Add globfree, globfree64, and
28020 * posix/flexmember.h: New file.
28021 * posix/glob_internal.h: Likewise.
28022 * posix/glob_pattern_p.c: Likewise.
28023 * posix/globfree.c: Likewise.
28024 * posix/globfree64.c: Likewise.
28025 * sysdeps/gnu/globfree64.c: Likewise.
28026 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
28027 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28028 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
28029 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28030 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28031 * sysdeps/wordsize-64/globfree.c: Likewise.
28032 * sysdeps/wordsize-64/globfree64.c: Likewise.
28033 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
28034 [NDEBUG): Remove comments.
28035 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
28036 (dirent_type): New type. Use uint_fast8_t not
28037 uint8_t, as C99 does not require uint8_t.
28038 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
28039 (struct readdir_result): Use dirent_type. Do not define skip_entry
28040 unless it is needed; this saves a byte on platforms lacking d_ino.
28041 (readdir_result_type, readdir_result_skip_entry):
28042 New functions, replacing ...
28043 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
28044 these functions, which were removed. This makes the callers
28045 easier to read. All callers changed.
28046 (D_INO_TO_RESULT): Now empty if there is no d_ino.
28047 (size_add_wrapv, glob_use_alloca): New static functions.
28048 (glob, glob_in_dir): Check for size_t overflow in several places,
28049 and fix some size_t checks that were not quite right.
28050 Remove old code using SHELL since Bash no longer
28052 (glob, prefix_array): Separate MS code better.
28053 (glob_in_dir): Remove old Amiga and VMS code.
28054 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
28056 (glob_in_dir): Do not rely on undefined behavior in accessing
28057 struct members beyond their bounds. Use a flexible array member
28059 (link_stat): Rename from link_exists2_p and return -1/0 instead of
28060 0/1. Caller changed.
28061 (glob): Fix memory leaks.
28062 * posix/glob64 (globfree64): Move to separate file.
28063 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
28064 (globfree64): Remove hidden alias.
28065 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
28067 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
28069 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
28071 Move compat code to separate file.
28072 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
28075 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
28077 * resolv/tst-resolv-qtypes.c (domain): Changed to
28078 "const char domain[] =".
28080 2017-09-07 Joseph Myers <joseph@codesourcery.com>
28082 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
28085 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
28086 (TCP_MD5SIG_EXT): Likewise.
28087 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
28088 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
28089 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
28091 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
28093 2017-09-07 Mike FABIAN <mfabian@redhat.com>
28095 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
28097 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
28100 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
28102 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
28104 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
28105 before assuming that the file is empty. Avoid testing buffer content
28108 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28111 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
28113 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
28115 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
28117 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
28119 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
28121 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
28123 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
28126 2017-09-06 Florian Weimer <fweimer@redhat.com>
28128 * malloc/dynarray_emplace_enlarge.c
28129 (__libc_dynarray_emplace_enlarge): Add missing else.
28131 2017-09-06 Florian Weimer <fweimer@redhat.com>
28134 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
28135 case of failure to obtain the global conf object.
28137 2017-09-06 Florian Weimer <fweimer@redhat.com>
28140 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
28141 dynarray allocation failure.
28143 2017-09-06 Florian Weimer <fweimer@redhat.com>
28145 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
28146 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
28147 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
28149 (response): Call them. Add 'p', '6' flag processing.
28150 (test_reverse): New function.
28151 (test_get2_any): Call it.
28152 (test_no_inet6): Add 'p' test.
28153 (test_inet6): Likewise.
28155 2017-09-06 Florian Weimer <fweimer@redhat.com>
28157 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
28158 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
28160 (test_gai): Adjust query names. Add additional tests.
28161 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
28162 test_get2. Adjust query names. Add additional tests.
28163 (test_no_inet6): New function, extracted from threadfunc.
28164 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
28165 Add additional tests.
28167 2017-09-06 Mike FABIAN <mfabian@redhat.com>
28170 * localedata/unicode-gen/utf8_gen.py: Set the width for
28171 characters with Prepended_Concatenation_Mark property to 1
28172 * localedata/charmaps/UTF-8: Updated using the improved script.
28174 2017-09-06 Mike FABIAN <mfabian@redhat.com>
28177 * localedata/unicode-gen/utf8_gen.py: Improve the script to
28178 use the range notation for all ranges of neighbouring characters
28179 with the same width.
28181 2017-09-05 Joseph Myers <joseph@codesourcery.com>
28183 * sysdeps/generic/math-type-macros-double.h: Include
28184 <math-svid-compat.h>.
28185 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28186 * sysdeps/generic/math-type-macros-float.h: Include
28187 <math-svid-compat.h>.
28188 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28189 * sysdeps/generic/math-type-macros-ldouble.h: Include
28190 <math-svid-compat.h>.
28191 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28192 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
28194 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
28195 * math/w_acosf_compat.c: Likewise.
28196 * math/w_acosh_compat.c: Likewise.
28197 * math/w_acoshf_compat.c: Likewise.
28198 * math/w_acoshl_compat.c: Likewise.
28199 * math/w_acosl_compat.c: Likewise.
28200 * math/w_asin_compat.c: Likewise.
28201 * math/w_asinf_compat.c: Likewise.
28202 * math/w_asinl_compat.c: Likewise.
28203 * math/w_atan2_compat.c: Likewise.
28204 * math/w_atan2f_compat.c: Likewise.
28205 * math/w_atan2l_compat.c: Likewise.
28206 * math/w_atanh_compat.c: Likewise.
28207 * math/w_atanhf_compat.c: Likewise.
28208 * math/w_atanhl_compat.c: Likewise.
28209 * math/w_cosh_compat.c: Likewise.
28210 * math/w_coshf_compat.c: Likewise.
28211 * math/w_coshl_compat.c: Likewise.
28212 * math/w_exp10_compat.c: Likewise.
28213 * math/w_exp10f_compat.c: Likewise.
28214 * math/w_exp10l_compat.c: Likewise.
28215 * math/w_exp2_compat.c: Likewise.
28216 * math/w_exp2f_compat.c: Likewise.
28217 * math/w_exp2l_compat.c: Likewise.
28218 * math/w_fmod_compat.c: Likewise.
28219 * math/w_fmodf_compat.c: Likewise.
28220 * math/w_fmodl_compat.c: Likewise.
28221 * math/w_hypot_compat.c: Likewise.
28222 * math/w_hypotf_compat.c: Likewise.
28223 * math/w_hypotl_compat.c: Likewise.
28224 * math/w_j0_compat.c: Likewise.
28225 * math/w_j0f_compat.c: Likewise.
28226 * math/w_j0l_compat.c: Likewise.
28227 * math/w_j1_compat.c: Likewise.
28228 * math/w_j1f_compat.c: Likewise.
28229 * math/w_j1l_compat.c: Likewise.
28230 * math/w_jn_compat.c: Likewise.
28231 * math/w_jnf_compat.c: Likewise.
28232 * math/w_jnl_compat.c: Likewise.
28233 * math/w_lgamma_r_compat.c: Likewise.
28234 * math/w_lgammaf_r_compat.c: Likewise.
28235 * math/w_lgammal_r_compat.c: Likewise.
28236 * math/w_log10_compat.c: Likewise.
28237 * math/w_log10f_compat.c: Likewise.
28238 * math/w_log10l_compat.c: Likewise.
28239 * math/w_log2_compat.c: Likewise.
28240 * math/w_log2f_compat.c: Likewise.
28241 * math/w_log2l_compat.c: Likewise.
28242 * math/w_log_compat.c: Likewise.
28243 * math/w_logf_compat.c: Likewise.
28244 * math/w_logl_compat.c: Likewise.
28245 * math/w_pow_compat.c: Likewise.
28246 * math/w_powf_compat.c: Likewise.
28247 * math/w_powl_compat.c: Likewise.
28248 * math/w_remainder_compat.c: Likewise.
28249 * math/w_remainderf_compat.c: Likewise.
28250 * math/w_remainderl_compat.c: Likewise.
28251 * math/w_sinh_compat.c: Likewise.
28252 * math/w_sinhf_compat.c: Likewise.
28253 * math/w_sinhl_compat.c: Likewise.
28254 * math/w_sqrt_compat.c: Likewise.
28255 * math/w_sqrtf_compat.c: Likewise.
28256 * math/w_sqrtl_compat.c: Likewise.
28257 * math/w_tgamma_compat.c: Likewise.
28258 * math/w_tgammaf_compat.c: Likewise.
28259 * math/w_tgammal_compat.c: Likewise.
28260 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
28261 [LIBM_SVID_COMPAT].
28262 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
28263 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
28264 [LIBM_SVID_COMPAT].
28265 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
28266 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
28267 [LIBM_SVID_COMPAT].
28268 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
28269 * sysdeps/i386/fpu/w_sqrt.c: New file.
28270 * sysdeps/ia64/fpu/w_acos.c: Likewise.
28271 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
28272 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
28273 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
28274 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
28275 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
28276 * sysdeps/ia64/fpu/w_asin.c: Likewise.
28277 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
28278 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
28279 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
28280 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
28281 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
28282 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
28283 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
28284 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
28285 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
28286 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
28287 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
28288 * sysdeps/ia64/fpu/w_exp.c: Likewise.
28289 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
28290 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
28291 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
28292 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
28293 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
28294 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
28295 * sysdeps/ia64/fpu/w_expf.c: Likewise.
28296 * sysdeps/ia64/fpu/w_expl.c: Likewise.
28297 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
28298 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
28299 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
28300 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
28301 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
28302 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
28303 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
28304 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
28305 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
28306 * sysdeps/ia64/fpu/w_log.c: Likewise.
28307 * sysdeps/ia64/fpu/w_log10.c: Likewise.
28308 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
28309 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
28310 * sysdeps/ia64/fpu/w_log2.c: Likewise.
28311 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
28312 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
28313 * sysdeps/ia64/fpu/w_logf.c: Likewise.
28314 * sysdeps/ia64/fpu/w_logl.c: Likewise.
28315 * sysdeps/ia64/fpu/w_pow.c: Likewise.
28316 * sysdeps/ia64/fpu/w_powf.c: Likewise.
28317 * sysdeps/ia64/fpu/w_powl.c: Likewise.
28318 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
28319 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
28320 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
28321 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
28322 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
28323 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
28324 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
28325 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
28326 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
28327 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
28328 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
28329 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
28330 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
28331 [LIBM_SVID_COMPAT].
28332 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
28333 * sysdeps/ieee754/k_standard.c: Likewise.
28334 * sysdeps/ieee754/k_standardf.c: Likewise.
28335 * sysdeps/ieee754/k_standardl.c: Likewise.
28336 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
28337 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
28338 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
28339 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
28340 long_double_symbol call on [LIBM_SVID_COMPAT].
28341 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28342 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28343 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28344 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28345 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28346 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28347 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28348 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28349 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28350 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28351 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28352 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
28353 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28354 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28355 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28356 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28357 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
28358 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28359 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28360 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28361 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
28362 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
28364 2017-09-05 Steve Ellcey <sellcey@cavium.com>
28366 * include/shlib-compat.h (TEST_COMPAT): New Macro.
28367 * malloc/tst-mallocstate.c: Convert from test-skeleton
28368 to test-driver. Ifdef code using TEST_COMPAT macro.
28369 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
28370 * math/test-matherr.c: Likewise.
28372 2017-09-05 Joseph Myers <joseph@codesourcery.com>
28375 * debug/pcprofiledump.c (main): Use byte-swapped mask when
28376 comparing word with byte-swapped constant.
28378 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
28381 * locale/iso-639.def: add Miskito.
28382 * localedata/SUPPORTED: Add miq_NI/UTF-8.
28383 * localedata/locales/miq_NI: New file.
28385 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
28388 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
28389 (__mkdir): Likewise.
28390 * io/chmod.c (__chmod): Add libc_hidden_def.
28391 * io/mkdir.c (__mkdir): Likewise.
28392 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
28393 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
28394 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
28395 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
28397 2017-09-04 Joseph Myers <joseph@codesourcery.com>
28399 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
28403 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
28404 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
28406 2017-09-04 Florian Weimer <fweimer@redhat.com>
28408 * math/math.h: Issue warning if log is defined.
28410 2017-09-04 Joseph Myers <joseph@codesourcery.com>
28412 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
28413 kernel version to 4.13.
28415 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28417 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
28418 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
28420 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
28421 just <bits/types.h>.
28422 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
28423 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
28424 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
28425 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
28426 * misc/preadv2.c: Include <errno.h>.
28427 * misc/preadv64v2.c: Include <errno.h>.
28428 * misc/pwritev2.c: Include <errno.h>.
28429 * misc/pwritev64v2.c: Include <errno.h>.
28430 * sysdeps/posix/preadv2.c: Include <errno.h>.
28431 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
28432 Fix <unistd.h> inclusion.
28433 * sysdeps/posix/pwritev2.c: Include <errno.h>.
28434 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
28435 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
28436 __strtoul_internal): New functions.
28437 * sysdeps/posix/pause.c: Include <sigsetops.h>.
28438 * sysdeps/posix/system.c: Include <sigsetops.h>.
28439 * sysdeps/mach/hurd/i386/Makefile
28440 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
28441 [$(subdir) = csu] (sysdep-only-routines): Likewise.
28442 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
28443 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
28444 __feraiseexcept_renamed to feraiseexcept instead of
28445 __GI_feraiseexcept.
28446 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
28447 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
28448 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
28449 RWF_NOWAIT): Define to 0 if undefined already.
28450 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
28452 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
28453 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
28455 2017-09-01 Joseph Myers <joseph@codesourcery.com>
28457 * manual/math.texi (pow10): Do not document.
28458 (pow10f): Likewise.
28459 (pow10l): Likewise.
28460 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
28461 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
28462 * math/libm-test-exp10.inc (pow10_test): Remove.
28463 (do_test): Do not call pow10.
28464 * math/w_exp10_compat.c (pow10): Make into compat symbol.
28465 [NO_LONG_DOUBLE] (pow10l): Likewise.
28466 * math/w_exp10f_compat.c (pow10f): Likewise.
28467 * math/w_exp10l_compat.c (pow10l): Likewise.
28468 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
28469 (pow10): Make into compat symbol.
28470 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
28471 (pow10f): Make into compat symbol.
28472 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
28473 (pow10l): Make into compat symbol.
28474 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
28476 (CFLAGS-nldbl-pow10.c): Remove variable..
28477 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
28478 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
28479 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
28480 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
28481 Undefine and redefine.
28482 (pow10l): Make into compat symbol.
28483 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
28484 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
28485 * sysdeps/arm/libm-test-ulps: Likewise.
28486 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
28487 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
28488 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28489 * sysdeps/microblaze/libm-test-ulps: Likewise.
28490 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
28491 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28492 * sysdeps/nios2/libm-test-ulps: Likewise.
28493 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28494 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
28495 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28496 * sysdeps/sh/libm-test-ulps: Likewise.
28497 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28498 * sysdeps/tile/libm-test-ulps: Likewise.
28499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28501 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
28503 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
28505 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28507 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
28508 "../ChangeLog.old/ChangeLog.8".
28509 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
28510 "../ChangeLog.old/ChangeLog.14".
28512 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28514 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
28517 2017-09-01 Joseph Myers <joseph@codesourcery.com>
28519 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
28521 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28523 * csu/version.c (banner): Remove "by Roland McGrath et al.".
28524 * nptl/Banner: Remove "by Ulrich Drepper et al.".
28526 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
28528 * stdlib/tst-atexit-common.c (do_test): Test support for at least
28529 32 atexit handlers.
28531 2017-09-01 Zack Weinberg <zackw@panix.com>
28533 * math/math.h (HUGE_VAL): Improve commentary.
28535 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28536 Andreas Schwab <schwab@suse.de>
28539 * include/stdio.h (__gen_tempfd): New function.
28540 * stdio-common/Makefile (routines): Add gentempfd.
28541 * stdio-common/gentempfd.c: New file.
28542 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
28543 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
28544 unnamed file first.
28546 2017-09-01 Florian Weimer <fweimer@redhat.com>
28550 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
28551 result to determine success or failure, not the errno value.
28552 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
28553 (tst-nss-files-hosts-erange): Link with -ldl.
28554 * nss/tst-nss-files-hosts-erange.c: New file.
28555 * nss/tst-resolv-basic.c (response): Handle nodata.example.
28556 (do_test): Add NO_DATA tests.
28557 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
28558 (do_test): Call it.
28560 2017-09-01 Florian Weimer <fweimer@redhat.com>
28563 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
28564 coming from gethostbyname2_r.
28566 2017-09-01 Florian Weimer <fweimer@redhat.com>
28568 * support/namespace.h (struct support_chroot_configuration): Add
28570 (struct support_chroot): Add path_hosts, path_host_conf.
28571 * support/support_chroot.c (write_file): New function.
28572 (support_chroot_create): Call it to process /etc/resolv.conf,
28573 /etc/hosts, /etc/host.conf.
28574 (support_chroot_free): Update.
28576 2017-09-01 Florian Weimer <fweimer@redhat.com>
28578 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
28579 status indicates it is set.
28581 2017-09-01 Florian Weimer <fweimer@redhat.com>
28584 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
28585 function lookup failures more reliable.
28587 2017-09-01 Florian Weimer <fweimer@redhat.com>
28589 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
28590 (getcanonname): Likewise.
28591 (gaih_inet): Likewise.
28593 2017-09-01 Florian Weimer <fweimer@redhat.com>
28595 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
28596 (getcanonname): Likewise.
28597 (gaih_inet): Likewise.
28599 2017-08-31 Steve Ellcey <sellcey@cavium.com>
28600 Richard Henderson <rth@twiddle.net>
28602 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
28603 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
28604 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
28605 (IREG_SIZE, OREG_SIZE): New macros.
28606 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
28607 (IREG_SIZE, OREG_SIZE): New macros.
28608 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
28609 (IREG_SIZE): New macro.
28610 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
28611 (IREG_SIZE): New macro.
28612 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
28614 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
28615 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
28616 (__CONCATX): Handle exceptions correctly on large values that may
28618 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
28619 Initialize if not already set.
28620 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
28622 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28624 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
28625 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
28627 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
28629 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
28631 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
28633 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
28635 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
28637 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
28639 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
28640 (NO_CANCELLATION): Likewise.
28641 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
28643 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
28645 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
28647 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
28648 (NO_CANCELLATION): Likewise.
28649 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
28650 (NO_CANCELLATION): Likewise.
28651 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
28653 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
28655 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
28657 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
28659 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
28661 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
28662 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
28664 2017-08-31 Steve Ellcey <sellcey@cavium.com>
28666 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
28669 2017-08-31 Florian Weimer <fweimer@redhat.com>
28671 * include/libc-symbols.h (internal_function): Remove.
28673 2017-08-31 Florian Weimer <fweimer@redhat.com>
28675 * stdlib/fmtmsg.c (internal_addseverity): Remove
28678 2017-08-31 Florian Weimer <fweimer@redhat.com>
28680 * stdio-common/printf_fp.c (group_number): Remove
28682 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
28684 2017-08-31 Florian Weimer <fweimer@redhat.com>
28686 * posix/fnmatch.c (internal_function): Remove definition.
28687 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
28688 * posix/regcomp.c (peek_token, init_word_char)
28689 (duplicate_node_closure, fetch_token, peek_token)
28690 (peek_token_bracket, build_range_exp, build_collating_symbol):
28692 * posix/regex_internal.c (re_string_construct_common)
28693 (create_ci_newstate, create_cd_newstate, re_string_allocate)
28694 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
28695 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
28696 (re_string_translate_buffer, re_string_reconstruct)
28697 (re_string_peek_byte_case, re_string_fetch_byte_case)
28698 (re_string_destruct, re_string_context_at, re_node_set_alloc)
28699 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
28700 (re_node_set_add_intersect, re_node_set_init_union)
28701 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
28702 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
28703 (re_dfa_add_node, calc_state_hash, re_acquire_state)
28704 (re_acquire_state_context): Likewise.
28705 * posix/regex_internal.h (internal_function): Remove definition.
28706 (re_string_realloc_buffers, build_wcs_buffer)
28707 (build_wcs_upper_buffer, build_upper_buffer)
28708 (re_string_translate_buffer, re_string_context_at)
28709 (re_string_char_size_at, re_string_wchar_at)
28710 (re_string_elem_size_at): Likewise.
28711 * posix/regexec.c (match_ctx_init, match_ctx_clean)
28712 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
28713 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
28714 (re_search_internal, re_search_2_stub, re_search_stub)
28715 (re_copy_regs, prune_impossible_nodes, check_matching)
28716 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
28717 (free_fail_stack_return, sift_states_iter_mb)
28718 (sift_states_backward, build_sifted_states)
28719 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
28720 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
28721 (check_subexp_limits, sift_states_bkref, merge_state_array)
28722 (find_recover_state, transit_state, merge_state_with_log)
28723 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
28724 (transit_state_mb, transit_state_bkref, get_subexp)
28725 (get_subexp_sub, find_subexp_node, check_arrival)
28726 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
28727 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
28728 (check_node_accept_bytes, find_collation_sequence_value)
28729 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
28730 (acquire_init_state_context, check_halt_node_context)
28731 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
28732 (sub_epsilon_src_nodes): Likewise.
28733 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
28734 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
28735 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
28736 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
28737 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
28738 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
28739 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
28740 * sysdeps/posix/ttyname.c (getttyname): Likewise.
28741 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
28742 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
28743 (PREADV): Likewise.
28744 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
28745 (PREADV): Likewise.
28746 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
28747 (PWRITEV): Likewise.
28748 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
28749 (PWRITEV): Likewise.
28750 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
28751 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
28753 2017-08-31 Florian Weimer <fweimer@redhat.com>
28755 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
28756 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
28757 Remove internal_function.
28758 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
28759 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
28760 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
28761 (__deallocate_stack, __libc_pthread_init)
28762 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
28763 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
28764 (__libc_disable_asynccancel, __librt_disable_asynccancel):
28766 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
28767 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
28768 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
28770 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
28771 (__pthread_mutex_unlock_usercnt): Likewise.
28773 2017-08-31 Florian Weimer <fweimer@redhat.com>
28775 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
28776 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
28777 (fts_safe_changedir): Remove internal_function.
28778 * io/ftw.c (internal_function): Remove definition.
28779 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
28781 2017-08-31 Florian Weimer <fweimer@redhat.com>
28783 * inet/deadline.c (__deadline_current_time)
28784 (__deadline_from_timeval, __deadline_to_ms): Remove
28786 * inet/getnameinfo.c (nrl_domainname): Likewise.
28787 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
28788 * inet/inet6_option.c (add_pad): Likewise.
28789 * inet/net-internal.h (__deadline_current_time)
28790 (__deadline_from_timeval, __deadline_to_ms): Likewise.
28791 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
28792 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
28793 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
28795 2017-08-31 Joseph Myers <joseph@codesourcery.com>
28797 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
28798 include <bits/nan.h>.
28799 * math/Makefile (headers): Remove bits/nan.h.
28800 * bits/nan.h: Remove.
28801 * sysdeps/ieee754/bits/nan.h: Likewise.
28802 * sysdeps/mips/bits/nan.h: Likewise.
28804 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
28805 not include <bits/inf.h>.
28806 * math/Makefile (headers): Remove bits/inf.h.
28807 * bits/inf.h: Remove.
28808 * sysdeps/ieee754/bits/inf.h: Likewise.
28810 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
28811 bits/huge_vall.h or bits/huge_val_flt128.h.
28812 (HUGE_VAL): Define directly here.
28813 [__USE_ISOC99] (HUGE_VALF): Likewise.
28814 [__USE_ISOC99] (HUGE_VALL): Likewise.
28815 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28816 (HUGE_VAL_F128): Likewise.
28817 * math/Makefile (headers): Remove bits/huge_val.h,
28818 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
28819 * bits/huge_val.h: Remove.
28820 * bits/huge_val_flt128.h: Likewise.
28821 * bits/huge_valf.h: Likewise.
28822 * bits/huge_vall.h: Likewise.
28823 * sysdeps/ia64/bits/huge_vall.h: Likewise.
28824 * sysdeps/ieee754/bits/huge_val.h: Likewise.
28825 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
28826 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
28827 * sysdeps/sh/bits/huge_val.h: Likewise.
28828 * sysdeps/sparc/bits/huge_vall.h: Likewise.
28829 * sysdeps/x86/bits/huge_vall.h: Likewise.
28831 2017-08-31 Florian Weimer <fweimer@redhat.com>
28833 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
28835 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
28837 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
28838 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
28839 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
28840 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
28841 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28842 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
28843 * elf/dl-libc.c (dlerror_run): Likewise.
28844 * elf/dl-load.c (add_name_to_object, decompose_rpath)
28845 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
28846 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
28847 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
28849 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
28850 (_dl_higher_prime_number, _dl_strtoul): Likewise.
28851 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
28852 * elf/dl-profile.c (_dl_start_profile): Likewise.
28853 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
28854 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
28856 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
28857 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
28858 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
28859 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
28860 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
28861 (_dl_allocate_tls_storage): Likewise.
28862 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
28863 (_dl_check_all_versions): Likewise.
28864 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
28865 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
28866 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
28867 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28868 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
28869 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
28870 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
28871 internal_function from __dl_start.
28872 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
28873 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
28874 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
28875 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
28876 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
28877 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
28878 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
28879 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
28880 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
28881 (_dl_next_ld_env_entry, _dl_important_hwcaps)
28882 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
28883 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
28884 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
28885 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
28886 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
28888 (struct rtld_global_ro): Remove internal_function from the
28889 _dl_lookup_symbol_x member.
28890 (_dl_symbol_value): Remove. No longer defined anywhere.
28891 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
28893 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28894 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
28895 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
28896 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
28897 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
28898 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
28899 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
28900 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
28901 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
28902 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
28903 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28904 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
28906 2017-08-31 Florian Weimer <fweimer@redhat.com>
28908 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
28909 Remove internal_function.
28910 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
28912 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
28915 2017-08-31 Florian Weimer <fweimer@redhat.com>
28917 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
28918 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
28919 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
28921 2017-08-31 Florian Weimer <fweimer@redhat.com>
28923 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
28924 (__gai_enqueue_request): Remove internal_function.
28925 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
28926 (__gai_remove_request, __gai_notify, __gai_notify_only)
28927 (__gai_sigqueue): Likewise.
28928 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
28929 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
28930 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
28931 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28934 2017-08-31 Florian Weimer <fweimer@redhat.com>
28936 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
28937 * include/dirent.h (__opendirat, __getdents, __getdents64)
28938 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
28939 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
28940 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
28941 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28943 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
28945 2017-08-31 Florian Weimer <fweimer@redhat.com>
28947 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
28949 (GETCWD_RETURN_TYPE): Likewise.
28951 2017-08-31 Florian Weimer <fweimer@redhat.com>
28953 * include/time.h (__tz_compute, __strptime_internal): Remove
28955 * time/strptime_l.c (__strptime_internal): Likewise.
28956 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
28958 2017-08-31 Florian Weimer <fweimer@redhat.com>
28960 * iconv/gconv.c (__gconv): Remove internal_function.
28961 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
28962 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
28963 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
28964 (__gconv_release_cache): Likewise.
28965 * iconv/gconv_close.c (__gconv_close): Likewise.
28966 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
28967 (read_conf_file, __gconv_get_path): Likewise.
28968 * iconv/gconv_db.c (derivation_lookup, add_derivation)
28969 (__gconv_release_step, gen_steps, increment_counter)
28970 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
28971 (__gconv_close_transform, free_modules_db): Likewise.
28972 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
28974 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
28975 (__gconv_find_transform, __gconv_lookup_cache)
28976 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
28977 (__gconv_close_transform, __gconv_release_cache)
28978 (__gconv_loaded_object, __gconv_release_shlib)
28979 (__gconv_compare_alias): Likewise.
28980 * iconv/gconv_open.c (__gconv_open): Likewise.
28981 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
28982 * iconv/iconvconfig.c (add_module): Likewise.
28983 * intl/dcigettext.c (plural_lookup, guess_category_value)
28984 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
28985 * intl/eval-plural.h (plural_eval): Likewise.
28986 * intl/finddomain.c (_nl_find_domain): Likewise.
28987 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
28988 (_nl_load_domain, _nl_find_msg): Likewise.
28989 (internal_function): Remove definition.
28990 * intl/loadinfo.h (internal_function): Likewise.
28991 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
28993 * intl/localealias.c (internal_function): Remove definition.
28994 (read_alias_file): Remove internal_function.
28995 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
28996 * intl/plural-exp.h (internal_function): Remove definition.
28997 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
28999 * intl/plural.c: Regenerate.
29000 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
29001 * locale/coll-lookup.c (__collidx_table_lookup)
29002 (__collseq_table_lookup): Likewise.
29003 * locale/coll-lookup.h (__collidx_table_lookup)
29004 (__collseq_table_lookup): Likewise.
29005 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
29006 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29007 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
29008 (_nl_unload_locale): Likewise.
29009 * locale/localeinfo.h (struct __locale_data): Remove
29010 internal_function from cleanup member.
29011 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
29012 (_nl_remove_locale, _nl_load_locale_from_archive)
29013 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
29014 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
29015 (_nl_cleanup_time): Remove internal_function.
29016 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
29017 (_nl_parse_alt_digit): Likewise.
29018 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
29019 (_nl_select_era_entry): Likewise.
29020 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
29021 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29022 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
29023 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29024 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
29026 2017-08-31 Florian Weimer <fweimer@redhat.com>
29028 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
29029 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29030 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
29031 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
29033 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
29034 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
29035 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
29036 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
29038 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
29040 2017-08-31 Florian Weimer <fweimer@redhat.com>
29042 * misc/getttyent.c (skip, value): Remove internal_function.
29043 * misc/syslog.c (openlog_internal): Likewise.
29044 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
29046 2017-08-31 Florian Weimer <fweimer@redhat.com>
29048 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
29049 (__nss_rewrite_field): Remove internal_function.
29050 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29051 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
29052 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29053 * nss/nsswitch.c (nss_parse_file, nss_getline)
29054 (nss_parse_service_list, nss_new_service): Likewise.
29055 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
29056 * nss/valid_field.c (__nss_valid_field): Likewise.
29057 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
29059 2017-08-31 Florian Weimer <fweimer@redhat.com>
29061 * malloc/arena.c (__malloc_fork_lock_parent)
29062 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
29063 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
29064 internal_function from defintions.
29065 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
29066 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
29067 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
29068 internal_function from declarations.
29069 * malloc/malloc.c (internal_function): Do not define.
29070 (mem2mem_check): Remove internal_function from declaration.
29071 (munmap_chunk, mremap_chunk): Remove internal_function.
29072 * malloc/mtrace.c (tr_where): Likewise.
29074 2017-08-31 Florian Weimer <fweimer@redhat.com>
29076 * include/rpc/pmap_clnt.h (__get_socket): Remove
29078 * sunrpc/auth_des.c (synchronize): Likewise.
29079 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
29080 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
29081 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
29082 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
29083 (key_call): Likewise.
29084 * sunrpc/pm_getport.c (__get_socket): Likewise.
29085 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
29086 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
29087 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
29088 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
29089 (invalidate): Likewise.
29090 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
29091 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
29092 (set_input_fragment, get_input_bytes): Likewise.
29094 2017-08-31 Florian Weimer <fweimer@redhat.com>
29096 * malloc/malloc.c (_int_free): Remove locked variable and related
29099 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
29102 * Makerules (build-module-helper-objlist): Filter out
29103 $(elf-objpfx)sofini.os.
29104 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
29107 2017-08-31 Florian Weimer <fweimer@redhat.com>
29109 * libio/fcloseall.c: Assume weak_alias is defined.
29110 * libio/feof.c: Likewise.
29111 * libio/fileno.c: Likewise.
29112 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
29113 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
29115 (_IO_file_open): Call __open directly.
29116 (_IO_new_file_sync): Assume ESPIPE is defined.
29117 (_IO_file_seekoff_maybe_mmap): Call __read directly.
29118 (_IO_new_file_write): Call __write directly.
29119 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
29120 * libio/ftello64.c (__ftello64): Assume EIO is defined.
29121 * libio/genops.c: Assume _LIBC is defined.
29122 (save_for_backup): Remove internal_function.
29123 * libio/getc.c: Assume weak_alias is defined.
29124 * libio/getwc.c: Likewise.
29125 * libio/iofclose.c: Assume _LIBC is defined.
29126 * libio/iofdopen.c: Likewise.
29127 (_IO_fcntl): Remove macro definition.
29128 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
29129 Call __fcntl directly.
29130 * libio/iofflush.c: Assume weak_alias is defined.
29131 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
29133 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
29134 * libio/iofgets.c: Likewise.
29135 * libio/iofopen.c: Assume _LIBC is defined.
29136 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
29137 * libio/iofputs.c: Assume weak_alias is defined.
29138 * libio/iofread.c: Likewise.
29139 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
29140 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
29141 * libio/ioftell.c: Assume weak_alias is defined.
29142 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
29143 * libio/iofwide.c: Assume _LIBC is defined.
29144 (_IO_fwide): Drop SHARED conditional because it is implied by
29146 * libio/iofwrite.c: Assume weak_alias is defined.
29147 * libio/iogetdelim.c: Likewise.
29148 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
29149 * libio/iogetwline.c (wmemcpy): Remove macro definition.
29150 (_IO_getwline): Call __wmemcpy directly.
29151 * libio/iopopen.c: Assume _LIBC is defined.
29152 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
29153 (_IO_close): Remove macro definitions.
29154 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
29156 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
29158 * libio/ioputs.c: Assume weak_alias is defined.
29159 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
29160 * libio/iosetbuffer.c: Assume weak_alias is defined.
29161 * libio/iosetvbuf.c: Likewise.
29162 * libio/ioungetc.c: Likewise.
29163 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
29164 libc_hidden_def, libc_hidden_weak, NULL are defined.
29165 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
29166 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
29168 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
29170 (_IO_old_file_init_internal): Drop SHARED conditional because it
29171 is implied by SHLIB_COMPAT.
29172 (_IO_old_file_fopen): Call __open directly.
29173 (_IO_old_file_sync): Assume ESPIPE is defined.
29174 (_IO_old_file_write): Call __write directly.
29175 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
29176 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
29177 Call __fcntl directly.
29178 * libio/oldiofgetpos.c: Assume weak_alias is defined.
29179 (_IO_old_fgetpos): Assume EIO is defined.
29180 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
29181 (_IO_old_fgetpos64): Assume EIO is defined.
29182 * libio/oldiofsetpos.c: Assume weak_alias is defined.
29183 (_IO_old_fsetpos): Assume EIO is defined.
29184 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
29185 (_IO_old_fsetpos64): Assume EIO is defined.
29186 * libio/oldiopopen.c: Assume _LIBC is defined.
29187 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
29188 (_IO_close): Remove macro definitions.
29189 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
29191 (_IO_old_proc_close): Call __close, __waitpid directly.
29192 * libio/put.c: Assume weak_alias is defined.
29193 * libio/stdfiles.c: Assume _LIBC is defined.
29194 * libio/stdio.c: Likewise.
29195 * libio/wfileops.c: Likewise.
29196 (_IO_wfile_sync): Assume ESPIPE is defined.
29197 * libio/wgenops.c: Assume _LIBC is defined.
29198 (save_for_wbackup): Remove internal_function.
29200 2017-08-31 Florian Weimer <fweimer@redhat.com>
29202 * malloc/malloc.c (top_check): Change return type to void. Remove
29204 * malloc/hooks.c (top_check): Likewise.
29205 (malloc_check, realloc_check, memalign_check): Adjust.
29207 2017-08-30 Joseph Myers <joseph@codesourcery.com>
29210 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
29211 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
29212 sigcontext and namespace requirements.
29213 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
29214 * sysdeps/m68k/sys/ucontext.h: Likewise.
29215 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
29216 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
29217 <bits/sigcontext.h>.
29218 (__ctx): Define earlier.
29219 (mcontext_t): Define structure contents rather than using struct
29221 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
29222 __glibc_reserved1 instead of __reserved.
29223 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
29224 <bits/sigcontext.h>.
29225 (__ctx): Define earlier.
29226 (mcontext_t): Define structure contents rather than using struct
29228 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
29229 mcontext_t instead of struct sigcontext.
29230 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
29231 <bits/sigcontext.h>.
29232 (__ctx): Define earlier.
29233 (mcontext_t): Define structure contents rather than using struct
29235 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
29236 <bits/sigcontext.h>.
29237 (__ctx): Define earlier.
29238 (mcontext_t): Define structure contents rather than using struct
29240 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
29241 mcontext_t instead of struct sigcontext.
29242 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
29243 mcontext_t instead of struct sigcontext.
29244 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
29245 <bits/sigcontext.h>.
29246 (__ctx): New macro.
29247 (struct __ia64_fpreg_mcontext): New type.
29248 (mcontext_t): Define structure contents rather than using struct
29250 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
29251 (uc_sigmask): Define using __ctx.
29252 (uc_stack): Likewise.
29253 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
29254 <bits/sigcontext.h>.
29255 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29256 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
29257 <bits/sigcontext.h>.
29258 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
29259 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
29260 <bits/sigcontext.h>.
29261 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
29262 <bits/sigcontext.h>.
29263 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
29264 <bits/sigcontext.h>.
29265 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
29266 <bits/sigcontext.h>.
29267 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
29268 <bits/sigcontext.h>.
29269 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
29270 <bits/sigcontext.h>.
29271 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
29272 <bits/sigcontext.h>.
29273 (__ctx): Define earlier.
29274 (mcontext_t): Define structure contents rather than using struct
29276 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
29277 <bits/sigcontext.h>. Include <bits/types.h>.
29278 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
29279 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
29280 (test-xfail-XPG42/ucontext.h/conform): Likewise.
29281 (test-xfail-UNIX98/signal.h/conform): Likewise.
29282 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
29283 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
29284 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
29285 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
29286 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
29287 (test-xfail-POSIX2008/signal.h/conform): Likewise.
29288 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
29289 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
29290 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
29292 2017-08-30 Florian Weimer <fweimer@redhat.com>
29294 * malloc/dynarray_emplace_enlarge.c
29295 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
29296 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
29297 * malloc/tst-dynarray.c (test_long_overflow): New function.
29298 (do_test): Call it.
29300 2017-08-30 Florian Weimer <fweimer@redhat.com>
29302 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
29303 (set_arena_corrupt): Remove definitions.
29304 (mtrim): Do not check for corrupt arena.
29305 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
29308 2017-08-30 Florian Weimer <fweimer@redhat.com>
29311 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
29313 (ptmalloc_init): Do not set or use check_action.
29314 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
29315 call to malloc_printerr. Remove return statement.
29316 (free_check): Likewise. Remove arena unlock.
29317 (top_check): Update comment. Adjust call to malloc_printerr.
29318 Remove heap repair code.
29319 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
29320 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
29321 (sysmalloc): Adjust call to malloc_printerr.
29322 (munmap_chunk, __libc_realloc): Likewise. Remove return
29324 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
29325 Remove errout label and corresponding gotos.
29326 (_int_free): Likewise. Remove arena unlock.
29327 (do_set_mallopt_check): Do not set check_action.
29328 (malloc_printerr): Adjust parameter list. Do not mark arena as
29330 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
29332 * manual/probes.texi (Memory Allocation Probes): Remove
29333 memory_mallopt_check_action.
29335 2017-08-30 Steve Ellcey <sellcey@cavium.com>
29337 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
29338 Use pointer to uint64_t instead of long int for sp.
29340 2017-08-30 Florian Weimer <fweimer@redhat.com>
29343 * malloc/malloc.c (malloc_printerr): Always terminate the process,
29344 without printing a backtrace. Do not leak any information in the
29346 * manual/memory.texi (Heap Consistency Checking): Update.
29347 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
29349 2017-08-30 Florian Weimer <fweimer@redhat.com>
29351 Do not scale NPTL tests with available number of CPUs.
29352 * nptl/tst-cond16.c (count): Set to constant value of 8.
29353 * nptl/tst-cond18.c (count): Likewise.
29355 2017-08-29 Joseph Myers <joseph@codesourcery.com>
29358 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
29359 Define to take a second argument that is a macro that
29360 concatentates a suffix, not the suffix itself.
29361 (__CONCAT_d): New macro.
29362 (__CONCAT_f): Likewise.
29363 (__CONCAT_l): Likewise.
29365 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
29367 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
29370 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29371 Aurelien Jarno <aurelien@aurel32.net>
29372 Maciej W. Rozycki <macro@imgtec.com>
29375 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
29376 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
29377 `mips16-syscall6' and `mips16-syscall7'.
29378 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
29379 (CFLAGS-mips16-syscall7.c): Remove.
29380 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
29381 Remove `__mips16_syscall5', `__mips16_syscall6' and
29382 `__mips16_syscall7'.
29383 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
29384 (__mips16_syscall0): Rename `__mips16_syscall_return' to
29385 `__mips_syscall_return'.
29386 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
29387 (__mips16_syscall1): Likewise.
29388 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
29389 (__mips16_syscall2): Likewise.
29390 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
29391 (__mips16_syscall3): Likewise.
29392 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
29393 (__mips16_syscall4): Likewise.
29394 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
29396 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
29398 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
29400 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
29401 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
29402 `__mips16_syscall5'. Remove prototype.
29403 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
29404 `__mips16_syscall6'. Remove prototype.
29405 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
29406 `__mips16_syscall7'. Remove prototype.
29407 (__nomips16, __mips16_syscall_return): Move to...
29408 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
29409 (__nomips16, __mips_syscall_return): ... here.
29410 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
29411 `__mips16_syscall_return' to `__mips_syscall_return'.
29412 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
29413 `internal_syscall##nr'.
29414 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
29415 `internal_syscall##nr'.
29416 (FORCE_FRAME_POINTER): Remove.
29417 (__mips_syscall5): New prototype.
29418 (internal_syscall5): Rewrite to call `__mips_syscall5'.
29419 (__mips_syscall6): New prototype.
29420 (internal_syscall6): Rewrite to call `__mips_syscall6'.
29421 (__mips_syscall7): New prototype.
29422 (internal_syscall7): Rewrite to call `__mips_syscall7'.
29423 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
29424 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
29425 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
29426 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
29427 (sysdep_routines): Add libc-do-syscall.
29428 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
29429 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
29431 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29434 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
29435 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
29436 (advise_stack_range): New function.
29437 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
29438 stack non required to advise_stack_range at allocatestack.c
29440 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29442 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
29444 2017-08-29 Florian Weimer <fweimer@redhat.com>
29447 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
29448 __end_fct. Mangle __end_fct after setting it to NULL.
29449 * iconv/Makefile (tests): Add tst-gconv-init-failure.
29450 (modules-names, modules-names-tests): Add
29451 tst-gconv-init-failure-mod.
29452 (gconv-modules): New target.
29453 (tst-gconv-init-failure-mod.so): Link against libsupport.
29454 (tst-gconv-init-failure): Depend on gconv-modules,
29455 tst-gconv-init-failure-mod.so.
29456 * iconv/tst-gconv-init-failure-mod.c: New file.
29457 * iconv/tst-gconv-init-failure.c: Likewise.
29458 * iconv/test-gconv-modules: Likewise.
29460 2017-08-29 Florian Weimer <fweimer@redhat.com>
29463 * iconv/gconv_db.c (free_derivation): Remove redundant
29465 (gen_steps): Unconditionally mangle __btowc_fct after
29467 (increment_counter): Likewise. Do not call init_fct for internal
29470 2017-08-29 Joseph Myers <joseph@codesourcery.com>
29473 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
29474 (_MSUF_): Remove macro.
29475 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
29477 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
29478 (__REDIRFROM_X): New macro.
29479 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
29481 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
29482 (__REDIRTO_X): Likewise.
29483 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
29485 (__MATH_REDIRCALL_2): Likewise.
29486 (__MATH_REDIRCALL_INTERNAL): Likewise.
29487 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
29488 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
29489 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
29490 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
29491 * math/test-finite-macros.c: New file.
29492 * math/Makefile (tests): Add test-finite-macros.
29493 (CFLAGS-test-finite-macros.c): New variable.
29495 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
29496 Jeff Law <law@redhat.com>
29499 Mangle NULL pointers in iconv/gconv.
29500 * iconv/gconv_cache.c (find_module): Demangle init_fct before
29501 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
29502 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
29503 is non-NULL before demangling the end_fct. Check for NULL
29504 end_fct after demangling.
29505 (__gconv_release_step): Demangle the end_fct before checking
29506 it for NULL. Remove assert on __shlibc_handle != NULL.
29507 (gen_steps): Don't check btowc_fct for NULL before mangling.
29508 Demangle init_fct before checking for NULL.
29509 (increment_counter): Likewise.
29510 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
29511 end_fct for NULL before mangling.
29512 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
29515 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
29518 * locale/iso-639.def: add Morisyen.
29520 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29523 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
29524 (iszero): New C++ implementation that does not use
29525 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
29526 signaling nans are enabled, since __builtin_types_compatible_p
29527 is a C-only feature.
29528 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
29529 defined, include ieee754_float128.h for access to the union and
29530 member ieee854_float128.ieee.
29531 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
29532 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
29533 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
29534 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
29535 options of test-math-zero on powerpc64le.
29537 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
29539 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
29540 Change double to float.
29542 2017-08-28 Joseph Myers <joseph@codesourcery.com>
29544 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
29546 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
29547 conditional code; define contents only for [LIBM_SVID_COMPAT].
29549 2017-08-28 Florian Weimer <fweimer@redhat.com>
29551 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
29552 (abi-lp64_be-options): Remove.
29553 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
29554 (abi-hard-options): Likewise.
29555 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
29556 (abi-o32_hard-options, abi-o32_soft_2008-options)
29557 (abi-o32_hard_2008-options, abi-n32_soft-options)
29558 (abi-n32_hard-options, abi-n32_soft_2008-options)
29559 (abi-n32_hard_2008-options, abi-n64_soft-options)
29560 (abi-n64_hard-options, abi-n64_soft_2008-options)
29561 (abi-n64_hard_2008-options): Likewise.
29562 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
29563 (abi-64-v1-options, abi-64-v2-options): Likewise.
29564 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
29565 (abi-64-options): Likewise.
29566 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
29567 (abi-64-options): Likewise.
29568 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
29569 (abi-64-options): Likewise.
29570 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
29571 (abi-64-options, abi-x32-options): Likewise.
29573 2017-08-28 Florian Weimer <fweimer@redhat.com>
29575 Store supported list of SYS_* system calls in the source tree.
29576 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
29577 (bits/syscall.h): Generate from list file.
29578 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
29579 [$(subdir) = misc] (tests): Add tst-syscall-list.
29580 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
29581 [$(subdir) = misc] (tst-syscall-list-macros.list)
29582 [$(subdir) = misc] (tst-syscall-list-nr.list)
29583 (tst-syscall-list-sys.list): Helper targets for new
29584 tst-syscall-list test.
29585 [$(subdir) = misc] (tst-syscall-list.out): Run test script
29586 tst-syscall-list.sh.
29587 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
29588 target. Do not include bits/syscall.d.
29589 [$(subdir) = misc] (generated): Do not update.
29590 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
29591 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
29592 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
29593 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
29595 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
29597 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
29598 (tst-cxa_atexit, tst-on_exit): Likewise.
29599 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
29600 tst-cxa_atexit, and tst-on_exit.
29601 * stdlib/tst-atexit-common.c: New file.
29602 * stdlib/tst-atexit.c: New file.
29603 * stdlib/tst-at_quick_exit.c: New file.
29604 * stdlib/tst-cxa_atexit.c: New file.
29605 * stdlib/tst-on_exit.c: New file.
29607 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29609 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
29610 * mach/stack_chk_fail_local.c: New file.
29611 * hurd/stack_chk_fail_local.c: New file.
29612 * mach/Machrules ($(interface-library)-routines): Add
29613 stack_chk_fail_local.
29614 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
29615 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
29616 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
29617 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
29618 * hurd/Makefile (CFLAGS-hurdstartup.o,
29619 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
29621 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
29623 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
29624 (index_cpu_*, index_arch_*): Removed.
29626 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29628 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
29629 Use uint64_t instead of unsigned long.
29631 2017-08-25 Joseph Myers <joseph@codesourcery.com>
29633 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
29634 [__HAVE_DISTINCT_FLOAT128].
29636 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
29637 of <bits/math-finite.h>.
29638 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
29639 inclusion of <bits/math-finite.h>.
29640 * math/bits/math-finite.h (__REDIRTO_X): Do not define
29641 conditionally on [__MATH_DECLARING_LDOUBLE && defined
29642 __NO_LONG_DOUBLE_MATH].
29643 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
29644 (__MATH_REDIRCALL_2): Likewise.
29645 (__MATH_REDIRCALL_INTERNAL): Likewise.
29646 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
29647 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
29648 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
29650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
29652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
29654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
29656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
29658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
29660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
29662 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
29663 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
29664 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
29665 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
29666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
29667 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
29668 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
29669 w_sqrtf_compat-ppc32.
29671 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29673 * math/math.h [defined __cplusplus] (issignaling): In the long
29674 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
29675 is not defined. Call __issignaling, otherwise.
29677 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29679 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
29680 syscall definitions and replace __builtin_expect with __glibc_likely.
29681 * sysdeps/unix/syscall-template.S: Update comment about cancellable
29683 (SYSCALL_CANCELLABLE): Removedefinition
29684 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
29686 (PSEUDO_END): Likewise.
29687 [IS_IN (libpthread)] (CENABLE): Likewise.
29688 [IS_IN (libpthread)] (CDISABLE): Likewise.
29689 [IS_IN (libc)] (CENABLE): Likewise.
29690 [IS_IN (libc)] (CENABLE): Likewise.
29691 [IS_IN (librt)] (CDISABLE): Likewise.
29692 [IS_IN (librt)] (CDISABLE): Likewise.
29693 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29694 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
29696 (PSEUDO_END): Likewise.
29697 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
29698 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
29699 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
29700 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
29701 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
29702 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
29703 (CENABLE): Likewise.
29704 (CDISABLE): Likewise.
29705 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29706 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
29708 (PSEUDO_END): Likewise.
29709 [IS_IN (libpthread)] (CENABLE): Likewise.
29710 [IS_IN (libpthread)] (CDISABLE): Likewise.
29711 [IS_IN (libc)] (CENABLE): Likewise.
29712 [IS_IN (libc)] (CENABLE): Likewise.
29713 [IS_IN (librt)] (CDISABLE): Likewise.
29714 [IS_IN (librt)] (CDISABLE): Likewise.
29715 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29716 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
29718 (PSEUDO_END): Likewise.
29719 [IS_IN (libpthread)] (CENABLE): Likewise.
29720 [IS_IN (libpthread)] (CDISABLE): Likewise.
29721 [IS_IN (libc)] (CENABLE): Likewise.
29722 [IS_IN (libc)] (CENABLE): Likewise.
29723 [IS_IN (librt)] (CDISABLE): Likewise.
29724 [IS_IN (librt)] (CDISABLE): Likewise.
29725 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29726 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
29728 (PSEUDO_END): Likewise.
29729 [IS_IN (libpthread)] (CENABLE): Likewise.
29730 [IS_IN (libpthread)] (CDISABLE): Likewise.
29731 [IS_IN (libc)] (CENABLE): Likewise.
29732 [IS_IN (libc)] (CENABLE): Likewise.
29733 [IS_IN (librt)] (CDISABLE): Likewise.
29734 [IS_IN (librt)] (CDISABLE): Likewise.
29735 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29736 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
29738 (PSEUDO_END): Likewise.
29739 [IS_IN (libpthread)] (CENABLE): Likewise.
29740 [IS_IN (libpthread)] (CDISABLE): Likewise.
29741 [IS_IN (libc)] (CENABLE): Likewise.
29742 [IS_IN (libc)] (CENABLE): Likewise.
29743 [IS_IN (librt)] (CDISABLE): Likewise.
29744 [IS_IN (librt)] (CDISABLE): Likewise.
29745 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29746 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
29748 (PSEUDO_END): Likewise.
29749 [IS_IN (libpthread)] (CENABLE): Likewise.
29750 [IS_IN (libpthread)] (CDISABLE): Likewise.
29751 [IS_IN (libc)] (CENABLE): Likewise.
29752 [IS_IN (libc)] (CENABLE): Likewise.
29753 [IS_IN (librt)] (CDISABLE): Likewise.
29754 [IS_IN (librt)] (CDISABLE): Likewise.
29755 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29756 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
29758 (PSEUDO_END): Likewise.
29759 [IS_IN (libpthread)] (CENABLE): Likewise.
29760 [IS_IN (libpthread)] (CDISABLE): Likewise.
29761 [IS_IN (libc)] (CENABLE): Likewise.
29762 [IS_IN (libc)] (CENABLE): Likewise.
29763 [IS_IN (librt)] (CDISABLE): Likewise.
29764 [IS_IN (librt)] (CDISABLE): Likewise.
29765 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29766 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
29768 (PSEUDO_END): Likewise.
29769 [IS_IN (libpthread)] (CENABLE): Likewise.
29770 [IS_IN (libpthread)] (CDISABLE): Likewise.
29771 [IS_IN (libc)] (CENABLE): Likewise.
29772 [IS_IN (libc)] (CENABLE): Likewise.
29773 [IS_IN (librt)] (CDISABLE): Likewise.
29774 [IS_IN (librt)] (CDISABLE): Likewise.
29775 (SINGLE_THREAD_P): Likewise.
29776 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
29778 (PSEUDO_END): Likewise.
29779 [IS_IN (libpthread)] (CENABLE): Likewise.
29780 [IS_IN (libpthread)] (CDISABLE): Likewise.
29781 [IS_IN (libc)] (CENABLE): Likewise.
29782 [IS_IN (libc)] (CENABLE): Likewise.
29783 [IS_IN (librt)] (CDISABLE): Likewise.
29784 [IS_IN (librt)] (CDISABLE): Likewise.
29785 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29786 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
29788 (PSEUDO_END): Likewise.
29789 [IS_IN (libpthread)] (CENABLE): Likewise.
29790 [IS_IN (libpthread)] (CDISABLE): Likewise.
29791 [IS_IN (libc)] (CENABLE): Likewise.
29792 [IS_IN (libc)] (CENABLE): Likewise.
29793 [IS_IN (librt)] (CDISABLE): Likewise.
29794 [IS_IN (librt)] (CDISABLE): Likewise.
29795 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29796 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
29797 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
29798 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
29799 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
29801 (PSEUDO_END): Likewise.
29802 [IS_IN (libpthread)] (CENABLE): Likewise.
29803 [IS_IN (libpthread)] (CDISABLE): Likewise.
29804 [IS_IN (libc)] (CENABLE): Likewise.
29805 [IS_IN (libc)] (CENABLE): Likewise.
29806 [IS_IN (librt)] (CDISABLE): Likewise.
29807 [IS_IN (librt)] (CDISABLE): Likewise.
29808 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29809 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
29811 (PSEUDO_END): Likewise.
29812 [IS_IN (libpthread)] (CENABLE): Likewise.
29813 [IS_IN (libpthread)] (CDISABLE): Likewise.
29814 [IS_IN (libc)] (CENABLE): Likewise.
29815 [IS_IN (libc)] (CENABLE): Likewise.
29816 [IS_IN (librt)] (CDISABLE): Likewise.
29817 [IS_IN (librt)] (CDISABLE): Likewise.
29818 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29819 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
29821 (PSEUDO_END): Likewise.
29822 [IS_IN (libpthread)] (CENABLE): Likewise.
29823 [IS_IN (libpthread)] (CDISABLE): Likewise.
29824 [IS_IN (libc)] (CENABLE): Likewise.
29825 [IS_IN (libc)] (CENABLE): Likewise.
29826 [IS_IN (librt)] (CDISABLE): Likewise.
29827 [IS_IN (librt)] (CDISABLE): Likewise.
29828 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29829 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
29830 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29831 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
29832 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
29834 (PSEUDO_END): Likewise.
29835 [IS_IN (libpthread)] (CENABLE): Likewise.
29836 [IS_IN (libpthread)] (CDISABLE): Likewise.
29837 [IS_IN (libc)] (CENABLE): Likewise.
29838 [IS_IN (libc)] (CENABLE): Likewise.
29839 [IS_IN (librt)] (CDISABLE): Likewise.
29840 [IS_IN (librt)] (CDISABLE): Likewise.
29841 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29842 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
29844 (PSEUDO_END): Likewise.
29845 [IS_IN (libpthread)] (CENABLE): Likewise.
29846 [IS_IN (libpthread)] (CDISABLE): Likewise.
29847 [IS_IN (libc)] (CENABLE): Likewise.
29848 [IS_IN (libc)] (CENABLE): Likewise.
29849 [IS_IN (librt)] (CDISABLE): Likewise.
29850 [IS_IN (librt)] (CDISABLE): Likewise.
29851 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29853 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
29855 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
29857 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29859 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29861 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29864 * string/stratcliff.c (do_test): Declare size, nchars, inner,
29865 middle and outer with size_t instead of int. Repleace %d and
29866 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
29867 "MAX (outer, nchars - 64)" to support unsigned outer and
29868 nchars. Also exit loop when outer == 0.
29870 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29872 * include/fcntl.h (__fcntl_nocancel): Remove definition.
29873 * include/signal.h (__sigsuspend_nocancel): Likewise.
29874 * include/time.h (__nanosleep_nocancel): Likewise.
29875 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
29876 * login/utmp_file.c: Include non cancellable syscall header.
29877 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
29880 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29882 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
29883 .byte sequences with AVX512F instructions.
29884 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
29885 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
29886 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
29887 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
29889 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
29892 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
29893 Steve Ellcey <sellcey@cavium.com>
29895 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
29896 Use PTR_REG macro in cmp instruction.
29898 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29900 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
29901 Change the return type of the ifunc resolver to match the return
29902 type of the target function.
29904 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29906 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
29907 (preadv64): Likewise.
29908 (pwrite64(: Likewise.
29909 (pwritev64): Likewise.
29911 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
29912 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
29913 (LOAD_ARGS_0): Likewise.
29914 (LOAD_ARGS_1): Likewise.
29915 (LOAD_ARGS_2): Likewise.
29916 (LOAD_ARGS_3): Likewise.
29917 (LOAD_ARGS_4): Likewise.
29918 (LOAD_ARGS_5): Likewise.
29919 (LOAD_ARGS_6): Likewise.
29920 (LOAD_REGS_0): Likewise.
29921 (LOAD_REGS_1): Likewise.
29922 (LOAD_REGS_2): Likewise.
29923 (LOAD_REGS_3): Likewise.
29924 (LOAD_REGS_4): Likewise.
29925 (LOAD_REGS_5): Likewise.
29926 (LOAD_REGS_6): Likewise.
29927 (ASM_ARGS_0): Likewise.
29928 (ASM_ARGS_1): Likewise.
29929 (ASM_ARGS_2): Likewise.
29930 (ASM_ARGS_3): Likewise.
29931 (ASM_ARGS_4): Likewise.
29932 (ASM_ARGS_5): Likewise.
29933 (ASM_ARGS_6): Likewise.
29934 (LOAD_ARGS_TYPES_1): Likewise.
29935 (LOAD_ARGS_TYPES_2): Likewise.
29936 (LOAD_ARGS_TYPES_3): Likewise.
29937 (LOAD_ARGS_TYPES_4): Likewise.
29938 (LOAD_ARGS_TYPES_5): Likewise.
29939 (LOAD_ARGS_TYPES_6): Likewise.
29940 (LOAD_REGS_TYPES_1): Likewise.
29941 (LOAD_REGS_TYPES_2): Likewise.
29942 (LOAD_REGS_TYPES_3): Likewise.
29943 (LOAD_REGS_TYPES_4): Likewise.
29944 (LOAD_REGS_TYPES_5): Likewise.
29945 (LOAD_REGS_TYPES_6): Likewise.
29946 (TYPEFY): New define.
29947 (ARGIFY): Likewise.
29948 (internal_syscall0): Likewise.
29949 (internal_syscall1): Likewise.
29950 (internal_syscall2): Likewise.
29951 (internal_syscall3): Likewise.
29952 (internal_syscall4): Likewise.
29953 (internal_syscall5): Likewise.
29954 (internal_syscall6): Likewise.
29955 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
29956 (INTERNAL_SYSCALL_NCS): Remove define.
29957 (internal_syscall1): Add define.
29959 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29961 * math/w_remainder_compat.c: Remove duplicate inclusion of
29962 math-svid-compat.h.
29963 * math/w_remainderf_compat.c: Likewise.
29964 * math/w_remainderl_compat.c: Likewise.
29966 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29970 2017-08-22 Joseph Myers <joseph@codesourcery.com>
29973 * math/tgmath.h (__floating_type): Simplify definitions.
29974 (__real_integer_type): New macro.
29975 (__complex_integer_type): Likewise.
29976 (__expr_is_real): Likewise.
29977 (__tgmath_real_type_sub): Update comment to describe handling of
29979 (__tgmath_complex_type_sub): New macro.
29980 (__tgmath_complex_type): Likewise.
29981 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29982 (__TGMATH_CF128): Use __expr_is_real.
29983 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
29985 (__TGMATH_BINARY_REAL_IMAG): Likewise.
29986 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
29987 * math/gen-tgmath-tests.py (Type.create_type): Create complex
29990 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29992 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
29994 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
29996 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
29999 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
30000 nanosleep_not_cancel with __nanosleep_nocancel.
30001 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
30002 (__nanosleep_nocancel): New macro.
30003 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
30005 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
30007 (__nanosleep_nocancel): New prototype.
30009 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
30010 pause_not_cancel with __pause_nocancel.
30011 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
30012 (__pause_nocancel): New macro.
30013 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
30015 (__pause_nocancel): New prototype.
30016 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
30018 2017-08-22 Martin Sebor <msebor@redhat.com>
30020 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
30021 to return a pointer to the same type as the target function.
30023 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30027 * include/printf.h (__printf_fphex): Add attribute_hidden.
30028 (__guess_grouping): New prototype.
30029 * stdio-common/printf_fp.c (__guess_grouping): Removed.
30030 * stdio-common/reg-printf.c (__register_printf_specifier): Add
30031 libc_hidden_proto and libc_hidden_def.
30032 * stdlib/strfmon_l.c (__guess_grouping): Removed.
30033 (__vstrfmon_l): Remove the third argument passed to
30036 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30038 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
30039 definition for issignaling that does not rely on __MATH_TG,
30040 since __MATH_TG uses __builtin_types_compatible_p, which is only
30041 available in C mode.
30042 (CFLAGS-test-math-issignaling.cc): New variable.
30043 * math/Makefile [CXX] (tests): Add test-math-issignaling.
30044 * math/test-math-issignaling.cc: New test for C++ implementation
30045 of type-generic issignaling.
30046 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30047 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
30048 options of test-math-issignaling on powerpc64le.
30050 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30052 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30054 (hidden_proto): Likewise.
30055 (hidden_tls_proto): Likewise.
30056 (__hidden_proto): Likewise.
30058 2017-08-22 Florian Weimer <fweimer@redhat.com>
30060 math: Statically link tests of internal functionality.
30061 * math/Makefile (tests): Remove atest-exp, atest-sincos,
30063 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
30064 (gmp-objs): Remove assignment.
30065 (atest-exp, atest-sincos, atest-exp2): Remove targets.
30067 2017-08-22 Joseph Myers <joseph@codesourcery.com>
30070 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
30072 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
30074 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
30077 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
30078 variable definitions above inclusion of ../Rules.
30080 2017-08-21 Joseph Myers <joseph@codesourcery.com>
30082 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
30083 case calling __builtin_unreachable.
30085 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30087 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
30088 __waitpid_nocancel.
30089 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
30090 (__waitpid_nocancel): New macro.
30091 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
30093 (__waitpid_nocancel): Replace macro with a function.
30094 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
30097 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
30099 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
30100 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
30102 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
30103 __writev_nocancel_nostatus.
30104 (write_call_graph): Likewise.
30105 (write_bb_counts): Likewise.
30106 * resolv/herror.c (herror): Likewise.
30107 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
30109 (__writev_nocancel_nostatus): New macro.
30110 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
30112 (__writev_nocancel_nostatus): New function.
30114 2017-08-21 Joseph Myers <joseph@codesourcery.com>
30117 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30119 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30121 (hidden_proto): Likewise.
30122 (hidden_tls_proto): Likewise.
30123 (__hidden_proto): Likewise.
30126 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
30127 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
30128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
30130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
30132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
30134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
30136 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
30137 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
30138 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
30139 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
30140 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
30141 GLIBC_2.0 sqrtl symbol.
30143 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
30144 [__USE_MISC] (_LIB_VERSION): Likewise.
30145 [__USE_MISC] (struct exception): Likewise.
30146 [__USE_MISC] (matherr): Likewise.
30147 [__USE_MISC] (DOMAIN): Likewise.
30148 [__USE_MISC] (SING): Likewise.
30149 [__USE_MISC] (OVERFLOW): Likewise.
30150 [__USE_MISC] (UNDERFLOW): Likewise.
30151 [__USE_MISC] (TLOSS): Likewise.
30152 [__USE_MISC] (PLOSS): Likewise.
30153 [__USE_MISC] (HUGE): Likewise.
30154 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
30155 * math/math-svid-compat.h: New file.
30156 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
30158 * include/math.h [!_ISOMAC] (__matherr): Remove.
30159 * manual/arith.texi (FP Exceptions): Do not document matherr.
30160 * math/Makefile (tests): Change test-matherr to test-matherr-3.
30161 (tests-internal): New variable.
30162 (install-lib): Do not add libieee.a.
30163 (non-lib.a): Likewise.
30164 (extra-objs): Do not add libieee.a and ieee-math.o.
30165 (CPPFLAGS-s_lib_version.c): Remove variable.
30166 ($(objpfx)libieee.a): Remove rule.
30167 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
30168 * math/ieee-math.c: Remove.
30169 * math/libm-test-support.c (matherr): Remove.
30170 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
30171 and license notices. Include <math-svid-compat.h> and
30173 (matherr): Undefine as macro. Use compat_symbol_reference.
30174 (_LIB_VERSION): Likewise.
30175 * math/test-matherr-2.c: New file.
30176 * math/test-matherr-3.c: Likewise.
30177 * sysdeps/generic/math_private.h (__kernel_standard): Remove
30179 (__kernel_standard_f): Likewise.
30180 (__kernel_standard_l): Likewise.
30181 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
30182 <math_private.h>. Include <math-svid-compat.h>.
30183 (_LIB_VERSION): Undefine as macro.
30184 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
30185 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
30186 [LIBM_SVID_COMPAT], use compat_symbol.
30187 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
30188 <math_private.h>. Include <math-svid-compat.h>.
30189 (matherr): Undefine as macro.
30190 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
30192 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
30193 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
30194 compat_symbol_reference.
30195 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
30196 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
30197 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
30198 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
30199 (MATHERR_D): Remove declaration.
30200 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
30201 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
30202 [LIBM_BUILD] (pmatherrf): Likewise.
30203 [LIBM_BUILD] (pmatherr): Likewise.
30204 [LIBM_BUILD] (pmatherrl): Likewise.
30205 (DOMAIN): Likewise.
30207 (OVERFLOW): Likewise.
30208 (UNDERFLOW): Likewise.
30211 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
30212 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
30214 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
30215 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
30217 * math/lgamma-compat.h: Include <math-svid-compat.h>.
30218 * math/w_acos_compat.c: Likewise.
30219 * math/w_acosf_compat.c: Likewise.
30220 * math/w_acosh_compat.c: Likewise.
30221 * math/w_acoshf_compat.c: Likewise.
30222 * math/w_acoshl_compat.c: Likewise.
30223 * math/w_acosl_compat.c: Likewise.
30224 * math/w_asin_compat.c: Likewise.
30225 * math/w_asinf_compat.c: Likewise.
30226 * math/w_asinl_compat.c: Likewise.
30227 * math/w_atan2_compat.c: Likewise.
30228 * math/w_atan2f_compat.c: Likewise.
30229 * math/w_atan2l_compat.c: Likewise.
30230 * math/w_atanh_compat.c: Likewise.
30231 * math/w_atanhf_compat.c: Likewise.
30232 * math/w_atanhl_compat.c: Likewise.
30233 * math/w_cosh_compat.c: Likewise.
30234 * math/w_coshf_compat.c: Likewise.
30235 * math/w_coshl_compat.c: Likewise.
30236 * math/w_exp10_compat.c: Likewise.
30237 * math/w_exp10f_compat.c: Likewise.
30238 * math/w_exp10l_compat.c: Likewise.
30239 * math/w_exp2_compat.c: Likewise.
30240 * math/w_exp2f_compat.c: Likewise.
30241 * math/w_exp2l_compat.c: Likewise.
30242 * math/w_fmod_compat.c: Likewise.
30243 * math/w_fmodf_compat.c: Likewise.
30244 * math/w_fmodl_compat.c: Likewise.
30245 * math/w_hypot_compat.c: Likewise.
30246 * math/w_hypotf_compat.c: Likewise.
30247 * math/w_hypotl_compat.c: Likewise.
30248 * math/w_j0_compat.c: Likewise.
30249 * math/w_j0f_compat.c: Likewise.
30250 * math/w_j0l_compat.c: Likewise.
30251 * math/w_j1_compat.c: Likewise.
30252 * math/w_j1f_compat.c: Likewise.
30253 * math/w_j1l_compat.c: Likewise.
30254 * math/w_jn_compat.c: Likewise.
30255 * math/w_jnf_compat.c: Likewise.
30256 * math/w_jnl_compat.c: Likewise.
30257 * math/w_lgamma_main.c: Likewise.
30258 * math/w_lgamma_r_compat.c: Likewise.
30259 * math/w_lgammaf_main.c: Likewise.
30260 * math/w_lgammaf_r_compat.c: Likewise.
30261 * math/w_lgammal_main.c: Likewise.
30262 * math/w_lgammal_r_compat.c: Likewise.
30263 * math/w_log10_compat.c: Likewise.
30264 * math/w_log10f_compat.c: Likewise.
30265 * math/w_log10l_compat.c: Likewise.
30266 * math/w_log2_compat.c: Likewise.
30267 * math/w_log2f_compat.c: Likewise.
30268 * math/w_log2l_compat.c: Likewise.
30269 * math/w_log_compat.c: Likewise.
30270 * math/w_logf_compat.c: Likewise.
30271 * math/w_logl_compat.c: Likewise.
30272 * math/w_pow_compat.c: Likewise.
30273 * math/w_powf_compat.c: Likewise.
30274 * math/w_powl_compat.c: Likewise.
30275 * math/w_remainder_compat.c: Likewise.
30276 * math/w_remainderf_compat.c: Likewise.
30277 * math/w_remainderl_compat.c: Likewise.
30278 * math/w_scalb_compat.c: Likewise.
30279 * math/w_scalbf_compat.c: Likewise.
30280 * math/w_scalbl_compat.c: Likewise.
30281 * math/w_sinh_compat.c: Likewise.
30282 * math/w_sinhf_compat.c: Likewise.
30283 * math/w_sinhl_compat.c: Likewise.
30284 * math/w_sqrt_compat.c: Likewise.
30285 * math/w_sqrtf_compat.c: Likewise.
30286 * math/w_sqrtl_compat.c: Likewise.
30287 * math/w_tgamma_compat.c: Likewise.
30288 * math/w_tgammaf_compat.c: Likewise.
30289 * math/w_tgammal_compat.c: Likewise.
30290 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
30291 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30292 * sysdeps/ieee754/k_standard.c: Likewise.
30293 * sysdeps/ieee754/k_standardf.c: Likewise.
30294 * sysdeps/ieee754/k_standardl.c: Likewise.
30295 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30296 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30297 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30298 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30299 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30300 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30301 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30302 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
30303 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
30304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
30306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
30308 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
30309 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
30310 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
30311 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
30313 2017-08-21 Florian Weimer <fweimer@redhat.com>
30316 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
30317 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
30318 Move before inclusion of ../Rules.
30320 2017-08-21 Florian Weimer <fweimer@redhat.com>
30323 * assert/assert.h (assert): Use static_cast (bool) for C++.
30324 Use the ternary operator in the warning branch for GNU C.
30325 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
30326 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
30327 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
30328 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
30329 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
30331 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30334 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30335 (__syscall_clock_gettime): Add attribute_hidden.
30336 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
30337 (__start_context): Likewise.
30339 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30341 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30343 (hidden_proto): Likewise.
30344 (hidden_tls_proto): Likewise.
30345 (__hidden_proto): Likewise.
30347 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30349 * include/libc-symbols.h (attribute_hidden): Enable hidden
30350 visibility in libc.a compiled with PIE.
30352 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30355 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
30356 Add attribute_hidden.
30358 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30361 * Makerules (all-nonlib): Add $(others-extras).
30362 * catgets/Makefile (others-extras): New.
30363 * elf/Makefile (others-extras): Likewise.
30364 * nss/Makefile (others-extras): Likewise.
30366 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30369 * csu/libc-start.c (__libc_multiple_libcs): Removed.
30370 * elf/dl-open.c: Include <libc-internal.h>.
30371 (__libc_multiple_libcs): Removed.
30372 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
30374 * include/libc-internal.h (__libc_multiple_libcs): New.
30375 * misc/sbrk.c: Include <libc-internal.h>.
30376 (__libc_multiple_libcs): Removed.
30378 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30381 * grp/initgroups.c (__nss_group_database): Removed.
30382 (__nss_initgroups_database): Likewise.
30383 * nscd/gai.c (__nss_hosts_database): Likewise.
30384 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
30385 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
30386 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
30387 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
30388 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
30389 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
30391 * nss/nsswitch.c (__nss_database_custom): Define only if
30392 USE_NSCD is defined.
30393 (__nss_configure_lookup): Use __nss_database_custom only if
30394 USE_NSCD is defined.
30395 * nss/nsswitch.h (__nss_database_custom): Declare only if
30396 USE_NSCD is defined. Add attribute_hidden.
30397 (__nss_setent): Add attribute_hidden.
30398 (__nss_endent): Likewise.
30399 (__nss_getent_r): Likewise.
30400 (__nss_getent): Likewise.
30401 (DEFINE_DATABASE): Declare __nss_##arg##_database.
30403 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30406 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
30407 libc_hidden_proto and libc_hidden_def.
30409 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30412 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
30413 Add libc_hidden_proto.
30414 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
30415 Add libc_hidden_def.
30417 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30420 * gmon/Makefile (routines): Remove bb_init_func and
30422 (elide-routines.os): Removed.
30423 * gmon/bb_exit_func.c: Likewise.
30424 * gmon/bb_init_func.c: Likewise.
30425 * include/sys/gmon.h (__bb): Likewise.
30426 (__bb_init_func): Likewise.
30427 (__bb_exit_func): Likewise.
30428 * sysdeps/alpha/bb_init_func.S: Likewise.
30430 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30432 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
30433 * include/setjmp.h (____longjmp_chk): Here. Add
30436 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
30439 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
30441 (__strspn_sse2): Likewise.
30443 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30445 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
30446 (close_not_cancel_no_status): Likewise.
30447 (__close_nocancel): New macro.
30448 (__close_nocancel_nostatus): Likewise.
30449 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
30451 (close_not_cancel): Likewise.
30452 (close_not_cancel_no_status): Likewise.
30453 (__close_nocancel): New prototype.
30454 (__close_nocancel_nostatus): New function.
30455 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
30456 * catgets/open_catalog.c (__open_catalog): Replace
30457 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
30458 * gmon/gmon.c (write_gmon): Likewise.
30459 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
30460 * intl/loadmsgcat.c (close): Likewise.
30461 * io/ftw.c (open_dir_stream): Likewise.
30462 (ftw_startup): Likewise.
30463 * libio/fileops.c (_IO_file_open): Likewise.
30464 (_IO_file_close_mmap): Likewise.
30465 (_IO_file_close): Likewise.
30466 * libio/iopopen.c (_IO_dup2): Likewise.
30467 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30468 * locale/loadlocale.c (_nl_load_locale): Likewise.
30469 * login/utmp_file.c (pututline_file): Likewise.
30470 (endutent_file): Likewise.
30471 * misc/daemon.c (daemon): Likewise.
30472 * nscd/nscd_getai.c (__nscd_getai): Likewise.
30473 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30474 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
30475 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30476 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30477 * nscd/nscd_helper.c (open_socket): Likewise.
30478 (__nscd_open_socket): Likewise.
30479 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
30480 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
30481 (__nscd_innetgr): Likewise.
30482 * nss/nss_db/db-open.c (internal_setent): Likewise.
30483 * resolv/res-close.c (__res_iclose): Likewise.
30484 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
30485 * sysdeps/posix/closedir.c (__closedir): Likewise.
30486 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
30487 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30488 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
30489 (opendir_tail): Likewise.
30490 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30491 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
30492 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
30493 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30494 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30495 (gethostid): Likewise.
30496 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30497 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30499 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30500 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
30501 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30502 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30504 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
30505 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
30506 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30508 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
30509 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30511 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30513 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
30514 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30515 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30518 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
30519 (openat_not_cancel_3): Likewise.
30520 (openat64_not_cancel_3): Likewise).
30521 (openat_not_cancel_3): Likewise).
30522 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
30524 (openat_not_cancel_3): Likewise.
30525 (openat64_not_cancel): Likewise.
30526 (openat64_not_cancel_3): Likewise.
30527 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
30528 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
30529 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
30530 __open{64}_nocancel.
30531 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30532 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30533 * sysdeps/posix/opendir.c (__opendirat): Likewise.
30535 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30538 * include/argz.h (__argz_create_sep): New function prototype.
30539 (__argz_append): Likewise.
30540 (__argz_add): Likewise.
30541 (__argz_add_sep): Likewise.
30542 (__argz_delete): Likewise.
30543 (__argz_insert): Likewise.
30544 (__argz_replace): Likewise.
30545 * string/argz.h (__argz_create_sep): Removed.
30546 (__argz_append): Likewise.
30547 (__argz_add): Likewise.
30548 (__argz_add_sep): Likewise.
30549 (__argz_delete): Likewise.
30550 (__argz_insert): Likewise.
30551 (__argz_replace): Likewise.
30553 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30555 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
30556 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
30557 (GNU_PROPERTY_STACK_SIZE): Likewie.
30558 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
30559 (GNU_PROPERTY_LOPROC): Likewise.
30560 (GNU_PROPERTY_HIPROC): Likewise.
30561 (GNU_PROPERTY_LOUSER): Likewise.
30562 (GNU_PROPERTY_HIUSER): Likewise.
30563 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
30564 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
30565 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
30566 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
30567 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
30568 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
30569 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
30570 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
30571 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
30572 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
30573 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
30574 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
30575 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
30576 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
30577 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
30578 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
30579 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
30580 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
30581 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
30582 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
30583 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
30584 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
30585 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
30587 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30589 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
30592 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30595 * math/math.h (isinf): Check if in C or C++ mode before using
30596 __builtin_types_compatible_p, since this is a C mode feature.
30598 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30600 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
30601 (__write_nocancel): New macro.
30602 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
30603 Rewrite as a function prototype.
30604 (write_not_cancel): Remove macro.
30605 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
30606 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
30607 (write_gmon): Likewise.
30608 * libio/fileops.c (_IO_new_file_write): Likewise.
30609 * login/utmp_file.c (pututline_file): Likewise.
30610 (updwtmp_file): Likewise.
30611 * stdio-common/psiginfo.c (psiginfo): Likewise.
30612 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30613 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30614 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30616 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30619 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
30620 (__read_nocancel): New macro.
30621 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30623 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
30625 (__read_nocancel): New prototype.
30626 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
30627 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
30628 with __read_nocancel.
30629 * intl/loadmsgcat.c (read): Likewise.
30630 * libio/fileops.c (_IO_file_read): Likewise.
30631 * locale/loadlocale.c (_nl_load_locale): Likewise.
30632 * login/utmp_file.c (getutent_r_file): Likewise.
30633 (internal_getut_r): Likewise.
30634 (getutline_r_file): Likewise.
30635 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
30636 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30637 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30638 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30640 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
30641 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30642 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30644 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30646 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30648 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30650 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30652 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30655 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
30656 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
30659 2017-08-17 DJ Delorie <dj@redhat.com>
30661 * bug17079.c: Update to new test harness.
30662 * test-digits-dots.c: Likewise.
30663 * test-netdb.c: Likewise.
30664 * tst-field.c: Likewise.
30665 * tst-nss-getpwent.c: Likewise.
30666 * tst-nss-static.c: Likewise.
30667 * tst-nss-test1.c: Likewise.
30668 * tst-nss-test2.c: Likewise.
30669 * tst-nss-test3.c: Likewise.
30670 * tst-nss-test4.c: Likewise.
30671 * tst-nss-test5.c: Likewise.
30673 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30675 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
30676 (open_not_cancel_2): Likewise.
30677 (open_nocancel): New macro.
30678 (open64_nocancel): Likewise.
30679 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
30680 (open_not_cancel_2): Likewise.
30681 (__open_nocancel): New prototype.
30682 (__open64_nocancel): Likewise.
30683 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30685 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
30686 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
30687 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
30688 with __open_nocancel.
30689 * csu/check_fds.c (check_one_fd): Likewise.
30690 * gmon/gmon.c (write_gmon): Likewise.
30691 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
30692 * intl/loadmsgcat.c (open): Likewise.
30693 * libio/fileops.c (_IO_file_open): Likewise.
30694 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30695 * locale/loadlocale.c (_nl_load_locale): Likewise.
30696 * login/utmp_file.c (setutent_file): Likewise.
30697 * misc/daemon.c (daemon): Likewise.
30698 * nss/nss_db/db-open.c (internal_setent): Likewise.
30699 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30700 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
30701 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
30702 (__opendir): Likewise.
30703 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30704 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
30705 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30706 (gethostid): Likewise.
30707 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30708 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30710 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30711 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
30712 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30713 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30715 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30717 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30719 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
30721 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30723 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30725 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
30726 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30728 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
30730 * benchtests/bench-skeleton.c (main): Add support for
30731 latency benchmarking.
30732 * benchtests/scripts/bench.py: Add support for latency benchmarking.
30734 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
30736 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
30737 the startup object.
30739 2017-08-17 Florian Weimer <fweimer@redhat.com>
30741 * include/sys/socket.h (__opensock): Remove internal_function.
30742 * socket/opensock.c (__opensock): Likewise.
30743 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
30745 2017-08-16 Joseph Myers <joseph@codesourcery.com>
30748 * signal/bits/types/__sigval_t.h: New file.
30749 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
30750 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
30751 and define sigval_t using __sigval_t.
30752 * include/bits/types/__sigval_t.h: New file.
30753 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
30754 instead of <bits/types/__sigval_t.h>.
30755 (struct sigevent): Use __sigval_t instead of sigval_t.
30756 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
30757 instead of <bits/types/__sigval_t.h>.
30758 (siginfo_t): Use __sigval_t instead of sigval_t.
30759 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
30760 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
30761 (struct sigevent): Use __sigval_t instead of sigval_t.
30762 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
30763 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
30764 (siginfo_t): Use __sigval_t instead of sigval_t.
30765 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
30767 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30769 * NEWS: Remove "[Add new features here]" for 2.27.
30771 2017-08-16 Joseph Myers <joseph@codesourcery.com>
30773 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
30776 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30778 * NEWS: Mention x86-64 FMA optimization.
30780 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30783 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30785 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
30786 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
30787 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
30789 2017-08-16 Andreas Schwab <schwab@suse.de>
30793 * elf/ldd.bash.in: Never run file directly.
30795 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
30798 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
30799 (L(SP_INF_0)): Likewise.
30801 2017-08-15 Florian Weimer <fweimer@redhat.com>
30803 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
30806 2017-08-15 Florian Weimer <fweimer@redhat.com>
30808 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
30809 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
30810 BROKEN_THREAD_SIGNALS code.
30811 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
30812 request_list): Remove caller_pid member used for
30813 BROKEN_THREAD_SIGNALS.
30814 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
30815 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
30816 Remove BROKEN_THREAD_SIGNALS support.
30817 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
30818 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
30820 2017-08-15 Florian Weimer <fweimer@redhat.com>
30822 * gmon/Makefile (tests): Add tst-gmon.
30823 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
30825 (tests-special): Add tst-gmon-prof.out.
30826 (tst-gmon.out): Depend on clean-tst-gmon-data.
30827 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
30828 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
30829 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
30831 * aclocal.m4 (GPROF): Set and substitute.
30832 * config.amke.in (GPROF): Set.
30833 * configure: Regenerate.
30835 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
30837 * elf/elf.h A (NT_PPC_TAR): New macro.
30838 (NT_PPC_PPR): Likewise.
30839 (NT_PPC_DSCR): Likewise.
30840 (NT_PPC_EBB): Likewise.
30841 (NT_PPC_PMU): Likewise.
30842 (NT_PPC_TM_CGPR): Likewise.
30843 (NT_PPC_TM_CFPR): Likewise.
30844 (NT_PPC_TM_CVMX): Likewise.
30845 (NT_PPC_TM_CVSX): Likewise.
30846 (NT_PPC_TM_SPR): Likewise.
30847 (NT_PPC_TM_CTAR): Likewise.
30848 (NT_PPC_TM_CPPR): Likewise.
30849 (NT_PPC_TM_CDSCR): Likewise.
30851 2017-08-15 Florian Weimer <fweimer@redhat.com>
30853 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
30854 regparm (2) instead of internal_function.
30855 (_MCOUNT_DECL): Adjust.
30857 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
30859 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
30860 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
30862 2017-08-14 Joseph Myers <joseph@codesourcery.com>
30864 * conform/data/sys/wait.h-data (si_value): Do not expect for
30867 2017-08-14 Florian Weimer <fweimer@redhat.com>
30870 NSS: Create stubs for accidentally exported lookup functions.
30871 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
30872 Remove declaration.
30873 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
30874 (ether_hostton): Call __nss_ethers_lookup2 instead.
30875 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
30876 (ether_ntohost): Call __nss_ethers_lookup2 instead.
30877 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
30878 (setup): Call __nss_netgroup_lookup2 instead.
30879 * nss/Makefile (routines): Add compat-lookup.
30880 * nss/Versions (GLIBC_2.27): Add symbol version.
30881 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
30882 (DB_COMPAT_FCT): Remove.
30883 * nss/compat-lookup.c: New file.
30884 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
30885 from databases.def.
30886 * nss/service-lookup.c (NO_COMPAT): Remove definition.
30887 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
30888 (netname2user): Call __nss_publickey_lookup2 instead.
30889 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
30890 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
30893 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30894 Sergei Trofimovich <slyfox@inbox.ru>
30897 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
30898 Rename to MMAP2_PAGE_UNIT.
30899 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
30900 __OFF_T_MATCHES_OFF64_T is not defined.
30901 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
30903 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
30904 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
30906 2017-08-14 Florian Weimer <fweimer@redhat.com>
30908 i386: Do not set internal_function.
30909 * config.h.in (USE_REGPARMS, internal_function): Remove.
30910 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
30911 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
30913 2017-08-14 Florian Weimer <fweimer@redhat.com>
30915 * elf/dl-init.c (_dl_init): Remove internal_function.
30916 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
30917 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
30919 2017-08-14 Florian Weimer <fweimer@redhat.com>
30921 * elf/rtld.c (_dl_start): Remove internal_function.
30922 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
30925 2017-08-14 Florian Weimer <fweimer@redhat.com>
30927 * elf/dl-fini.c (_dl_fini): Remove internal_function
30928 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
30930 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
30932 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
30933 (bit_cpu_SHSTK): Likewise.
30934 (index_cpu_IBT): Likewise.
30935 (index_cpu_SHSTK): Likewise.
30936 (reg_IBT): Likewise.
30937 (reg_SHSTK): Likewise.
30938 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30939 Handle index_cpu_IBT and index_cpu_SHSTK.
30941 2017-08-14 Mike FABIAN <mfabian@redhat.com>
30944 * po/fr.po: Fix spelling mistake.
30946 2017-08-13 Florian Weimer <fweimer@redhat.com>
30948 * elf/dl-addr.c (_dl_addr): Remove internal_function.
30949 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
30950 (_dl_catch_error, _dl_receive_error): Likewise.
30951 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
30952 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
30953 (_dl_deallocate_tls): Likewise.
30954 * include/dlfcn.h (_dl_addr): Likewise.
30955 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
30956 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
30957 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
30960 2017-08-13 Florian Weimer <fweimer@redhat.com>
30962 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
30963 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
30965 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
30967 2017-08-13 Florian Weimer <fweimer@redhat.com>
30969 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
30971 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
30972 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
30973 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
30974 internal_function from _dl_make_stack_executable_hook member.
30975 (_dl_make_stack_executable): Remove internal_function.
30976 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
30978 * sysdeps/unix/sysv/linux/dl-execstack.c
30979 (_dl_make_stack_executable): Likewise.
30981 2017-08-13 Florian Weimer <fweimer@redhat.com>
30983 * sysdeps/unix/sysv/linux/netlinkaccess.h
30984 (__netlink_assert_response): Remove internal_function.
30985 * sysdeps/unix/sysv/linux/netlink_assert_response.c
30986 (__netlink_assert_response): Likewise.
30988 2017-08-13 Florian Weimer <fweimer@redhat.com>
30990 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
30992 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
30994 2017-08-13 Florian Weimer <fweimer@redhat.com>
30996 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
30998 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
30999 * inet/netgroup.h (__internal_setnetgrent)
31000 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31001 * inet/getnetgrent_r.c (__internal_setnetgrent)
31002 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31003 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
31004 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
31005 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
31006 * nss/nsswitch.h (db_lookup_function): Likewise.
31008 2017-08-13 Florian Weimer <fweimer@redhat.com>
31010 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
31011 Remove internal_function.
31012 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
31013 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
31014 message argument on the stack.
31015 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
31018 2017-08-12 Mike FABIAN <mfabian@redhat.com>
31020 Adapt test case data to the changes in the thousands
31024 * localedata/tst-langinfo.sh: Adapt test case data.
31025 * stdlib/tst-strfmon_l.c: Likewise.
31026 * stdlib/tst-strtod4.c: Likewise.
31027 * stdlib/tst-strtod5i.c: Likewise.
31029 2017-08-11 Florian Weimer <fweimer@redhat.com>
31032 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
31033 Suppress pedantic warning resulting from statement expression.
31034 (__ASSERT_FUNCTION): Add missing __extension__.
31036 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
31038 * benchtests/bench-memmove-large.c: Print output in JSON
31040 * benchtests/bench-memmove.c: Likewise.
31042 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
31043 * benchtests/bench-memchr.c (do_one_test): Likewise.
31044 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
31045 * benchtests/bench-memcpy.c (do_one_test): Likewise.
31046 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
31047 * benchtests/bench-memmove.c (do_one_test): Likewise.
31048 * benchtests/bench-memset-large.c (do_one_test): Likewise.
31049 * benchtests/bench-memset.c (do_one_test): Likewise.
31050 * benchtests/bench-string.h (test_init): Remove memsets.
31052 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
31055 (Computing the Width of an Integer Data Type): Rename section to
31056 "Width of an Integer Type". Remove inaccurate statement regarding
31057 lack of C language facilities for determining width of integer
31058 types, and reorder content to improve flow and context of
31061 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
31063 * lang.texi (va_copy): Change standard from ISO to C99.
31064 (__va_copy): Add standard and header annotation.
31065 Update description for clarity of origins and current use.
31067 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31070 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
31071 xssqrtqp requires operands to be in Vector Registers
31072 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
31073 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
31074 (__ieee754_sqrtf128): Likewise.
31076 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
31078 * sysdeps/aarch64/memcmp.S (memcmp):
31079 Rewrite of optimized memcmp.
31081 2017-08-10 Florian Weimer <fweimer@redhat.com>
31083 Introduce ld.so exceptions.
31084 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
31085 (_dl_exception_create, _dl_exception_create_format)
31086 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
31087 (_dl_catch_exception): Declare.
31088 (_dl_catch_error): Update comment.
31089 * elf/dl-error-skeleton.c (struct catch): Replace objname,
31090 errstring, malloced members with exception member.
31091 (_dl_out_of_memory): Remove.
31092 (fatal_error): New function, extracted from _dl_signal_error.
31093 (_dl_signal_exception, _dl_signal_cexception): New functions.
31094 (_dl_signal_error): Call _dl_exception_create to allocate an
31096 (_dl_catch_exception): New function, based on _dl_catch_error.
31097 (_dl_catch_error): Implement using _dl_catch_exception.
31098 * elf/dl-exception.c: New file.
31099 * elf/Makefile (dl-routines): Add dl-exception.
31100 (elide-routines.os): Likewise.
31101 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
31102 _dl_exception_create_format, _dl_exception_free.
31103 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
31104 _dl_signal_exception.
31105 * elf/dl-lookup.c (make_string): Remove.
31106 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
31107 _dl_signal_cexception, _dl_exception_free.
31108 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
31109 _dl_signal_exception.
31110 * elf/dl-sym.c (do_sym): Likewise.
31111 * elf/dl-version.c (make_string): Remove.
31112 (match_symbol): Use _dl_exception_create_format,
31113 _dl_signal_cexception, _dl_exception_free.
31114 (_dl_check_map_versions): Likewise.
31115 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
31116 _dl_catch_exception.
31117 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
31118 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
31119 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
31120 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
31121 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
31122 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
31123 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
31124 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
31126 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
31127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
31129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
31131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
31133 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
31134 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
31135 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
31137 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
31139 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
31141 2017-08-10 Florian Weimer <fweimer@redhat.com>
31143 * inet/net-internal.h (__inet6_scopeid_pton): Remove
31144 attribute_hidden, internal_function.
31145 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
31148 2017-08-10 Florian Weimer <fweimer@redhat.com>
31150 * malloc/malloc.c (get_max_fast): Reimplement as an inline
31151 function which calls __builtin_unreachable.
31153 2017-08-10 Mike FABIAN <mfabian@redhat.com>
31155 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
31156 Indian monetary formatting
31157 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
31160 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
31162 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
31163 Fix typo in comment.
31166 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
31167 PTRACE_SEIZE_DEVEL): Remove.
31168 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
31169 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31170 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31171 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31172 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31174 2017-08-09 Joseph Myers <joseph@codesourcery.com>
31176 * posix/bits/types.h (__qaddr_t): Remove.
31179 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
31180 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31182 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
31183 (ucontext_t): Use __ctx with uc_flags.
31184 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
31185 (__ctxt): Likewise.
31186 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31188 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
31189 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31191 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
31192 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31194 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
31196 (ucontext_t): Use __ctx with uc_flags.
31197 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
31198 (ucontext_t): Use __ctx with uc_flags.
31199 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
31200 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
31201 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
31202 (ucontext_t): Use __ctx with uc_flags.
31203 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
31204 undefine further down.
31205 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31207 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
31208 undefine further down.
31209 (ucontext_t): Use __ctx with uc_flags.
31210 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
31211 undefine further down.
31212 (ucontext_t): Use __ctx with uc_flags.
31213 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
31214 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
31215 Rename uc_pad to __glibc_reserved1.
31216 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
31217 undefine further down.
31218 (ucontext_t): Use __ctx with uc_flags.
31219 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
31221 (ucontext_t): Use __ctx with uc_flags.
31222 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
31223 __ctx with uc_flags.
31224 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
31225 (ucontext_t): Use __ctx with uc_flags.
31226 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
31227 __ctx with uc_flags.
31229 2017-08-09 Florian Weimer <fweimer@redhat.com>
31232 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
31233 before early return.
31235 2017-08-09 Andreas Schwab <schwab@suse.de>
31238 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
31242 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
31243 tst-compat-forwarder.
31244 (modules-names): Add tst-compat-forwarder-mod.
31245 ($(objpfx)tst-compat-forwarder): Depend on
31246 $(objpfx)tst-compat-forwarder-mod.so.
31247 * nptl/tst-compat-forwarder.c: New file.
31248 * nptl/tst-compat-forwarder-mod.c: New file.
31250 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
31252 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
31255 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
31256 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
31258 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
31260 (__libc_ifunc_impl_list): Add __memcpy_falkor.
31261 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
31262 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
31263 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
31265 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
31268 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31271 * manual/setjmp.texi (getcontex): Document uc_stack value
31272 compatibility differences.
31274 2017-08-08 Joseph Myers <joseph@codesourcery.com>
31276 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
31277 (old_malloc_hook): Likewise.
31278 (old_memalign_hook): Likewise.
31279 (old_realloc_hook): Likewise.
31280 (struct hdr): Likewise.
31282 (freehook): Likewise.
31283 (mallochook): Likewise.
31284 (memalignhook): Likewise.
31285 (reallochook): Likewise.
31286 (mprobe): Likewise.
31287 * malloc/mtrace.c (mallwatch): Likewise.
31288 (tr_old_free_hook): Likewise.
31289 (tr_old_malloc_hook): Likewise.
31290 (tr_old_realloc_hook): Likewise.
31291 (tr_old_memalign_hook): Likewise.
31292 (tr_where): Likewise.
31293 (lock_and_info): Likewise.
31294 (tr_freehook): Likewise.
31295 (tr_mallochook): Likewise.
31296 (tr_reallochook): Likewise.
31297 (tr_memalignhook): Likewise.
31298 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
31299 * misc/mmap.c (__mmap): Likewise.
31300 * misc/mmap64.c (__mmap64): Likewise.
31301 * misc/mprotect.c (__mprotect): Likewise.
31302 * misc/msync.c (msync): Likewise.
31303 * misc/munmap.c (__munmap): Likewise.
31304 * posix/posix_madvise.c (posix_madvise): Likewise.
31305 * socket/send.c (__send): Likewise.
31306 * socket/sendto.c (__sendto): Likewise.
31307 * socket/setsockopt.c (__setsockopt): Likewise.
31308 * string/memcmp.c (__ptr_t): Remove macro.
31309 (MEMCMP): Use void * instead of ptr_t.
31310 * string/memrchr.c (__ptr_t): Remove macro.
31311 (__memrchr): Use void * instead of ptr_t.
31312 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
31313 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
31314 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
31315 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
31316 * sysdeps/mach/msync.c (msync): Likewise.
31317 * sysdeps/mach/munmap.c (__munmap): Likewise.
31318 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
31320 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31321 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
31322 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
31323 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
31324 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
31325 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
31326 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
31327 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
31329 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
31330 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
31331 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
31332 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
31333 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
31334 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
31335 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
31336 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
31337 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
31339 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
31340 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
31341 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
31342 (MEMCMP): Use void * instead of ptr_t.
31343 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
31344 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
31346 2017-08-08 Florian Weimer <fweimer@redhat.com>
31348 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
31351 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
31354 * csu/libc-tls.c: Include <startup.h> first.
31355 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
31356 * elf/dl-tunables.c: Include <startup.h> first.
31357 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
31358 * sysdeps/generic/startup.h: New file.
31359 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
31360 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
31361 (I386_USE_SYSENTER): New. Defined to 0.
31363 2017-08-08 Andreas Schwab <schwab@suse.de>
31366 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
31367 * nptl/pt-system.c (system): Likewise.
31369 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31372 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
31374 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
31375 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
31376 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
31377 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
31378 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
31379 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
31380 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
31382 2017-08-07 Joseph Myers <joseph@codesourcery.com>
31385 * bits/sigaction.h (struct sigaction): Define sa_handler and
31386 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
31387 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31388 [__USE_XOPEN_EXTENDED].
31389 (SA_RESTART): Likewise.
31390 (SA_NODEFER): Likewise.
31391 (SA_RESETHAND): Likewise.
31392 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
31393 (struct sigaction): Define sa_handler and sa_sigaction using union
31394 also for [__USE_XOPEN_EXTENDED].
31395 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31396 [__USE_XOPEN_EXTENDED].
31397 (SA_RESTART): Likewise.
31398 (SA_NODEFER): Likewise.
31399 (SA_RESETHAND): Likewise.
31400 * sysdeps/unix/sysv/linux/bits/sigaction.h
31401 (struct sigaction): Define sa_handler and sa_sigaction using union
31402 also for [__USE_XOPEN_EXTENDED].
31403 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31404 [__USE_XOPEN_EXTENDED].
31405 (SA_RESTART): Likewise.
31406 (SA_NODEFER): Likewise.
31407 (SA_RESETHAND): Likewise.
31408 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
31409 (struct sigaction): Define sa_handler and sa_sigaction using union
31410 also for [__USE_XOPEN_EXTENDED].
31411 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31412 [__USE_XOPEN_EXTENDED].
31413 (SA_RESTART): Likewise.
31414 (SA_NODEFER): Likewise.
31415 (SA_RESETHAND): Likewise.
31416 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
31417 (struct sigaction): Define sa_handler and sa_sigaction using union
31418 also for [__USE_XOPEN_EXTENDED].
31419 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31420 [__USE_XOPEN_EXTENDED].
31421 (SA_RESTART): Likewise.
31422 (SA_NODEFER): Likewise.
31423 (SA_RESETHAND): Likewise.
31424 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
31425 (struct sigaction): Define sa_handler and sa_sigaction using union
31426 also for [__USE_XOPEN_EXTENDED].
31427 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31428 [__USE_XOPEN_EXTENDED].
31429 (SA_RESTART): Likewise.
31430 (SA_NODEFER): Likewise.
31431 (SA_RESETHAND): Likewise.
31432 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
31433 (struct sigaction): Define sa_handler and sa_sigaction using union
31434 also for [__USE_XOPEN_EXTENDED].
31435 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31436 [__USE_XOPEN_EXTENDED].
31437 (SA_RESTART): Likewise.
31438 (SA_NODEFER): Likewise.
31439 (SA_RESETHAND): Likewise.
31440 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
31441 (struct sigaction): Define sa_handler and sa_sigaction using union
31442 also for [__USE_XOPEN_EXTENDED].
31443 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31444 [__USE_XOPEN_EXTENDED].
31445 (SA_RESTART): Likewise.
31446 (SA_NODEFER): Likewise. Define directly rather than as alias.
31447 (SA_RESETHAND): Likewise.
31448 (SA_INTERRUPT): Define only for [__USE_MISC].
31449 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
31450 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
31452 (SA_STACK): Define only for [__USE_MISC].
31453 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
31454 (struct sigaction): Define sa_handler and sa_sigaction using union
31455 also for [__USE_XOPEN_EXTENDED].
31456 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31457 [__USE_XOPEN_EXTENDED].
31458 (SA_RESTART): Likewise.
31459 (SA_NODEFER): Likewise.
31460 (SA_RESETHAND): Likewise.
31461 (SA_NOPTRACE): Define only for [__USE_MISC].
31463 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
31464 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
31465 (struct catalog_info): Likewise.
31466 * inet/htontest.c (lo): Likewise.
31468 * inet/inet_lnaof.c (inet_lnaof): Likewise.
31469 * inet/inet_net.c (inet_network): Likewise.
31470 * inet/inet_netof.c (inet_netof): Likewise.
31471 * inet/rcmd.c (__ivaliduser): Likewise.
31472 (iruserok): Likewise.
31473 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
31474 * locale/programs/locale-spec.c (locale_special): Likewise.
31475 * nis/nis_findserv.c (struct findserv_req): Likewise.
31476 (__nis_findfastest_with_timeout): Likewise.
31477 * nss/test-netdb.c (test_network): Likewise.
31478 * resolv/inet_neta.c (inet_neta): Likewise.
31479 * resolv/ns_date.c (ns_datetosecs): Likewise.
31480 (SECS_PER_DAY): Likewise.
31481 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
31483 * resolv/res_comp.c (__putlong): Likewise.
31484 (__putshort): Likewise.
31485 (_getlong): Likewise.
31486 (_getshort): Likewise.
31487 * resolv/res_debug.c (p_time): Likewise.
31488 (precsize_ntoa): Likewise.
31489 (precsize_aton): Likewise.
31490 (latlon2ul): Likewise.
31491 (loc_aton): Likewise.
31492 (loc_ntoa): Likewise.
31493 * resolv/res_hconf.c (struct netaddr): Likewise.
31494 (_res_hconf_reorder_addrs): Likewise.
31495 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
31496 (clnttcp_control): Likewise.
31497 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31498 (clntudp_control): Likewise.
31499 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
31500 (clntunix_control): Likewise.
31501 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
31502 * sunrpc/rpc/auth.h (union des_block): Likewise.
31503 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
31504 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
31505 (xdrrec_create): Likewise.
31506 (xdrrec_endofrecord): Likewise.
31507 (flush_out): Likewise.
31508 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
31509 (xdrstdio_putlong): Likewise.
31510 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
31513 * misc/sys/cdefs.h (__long_double_t): Remove.
31514 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
31515 instead of __long_double_t,
31516 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
31518 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
31520 * benchtests/scripts/compare_strings.py: Avoid display error when
31521 running on a text terminal.
31523 * benchtests/scripts/compare_strings.py (main): Add an
31524 optional -base option.
31525 (process_results): New argument base_func.
31527 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
31529 * benchtests/bench-memcpy-large.c (test_name): Likewise.
31530 * benchtests/bench-memcpy-random.c (test_name): Likewise.
31532 2017-08-07 Andreas Schwab <schwab@suse.de>
31534 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
31535 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
31536 * intl/Makefile ($(objpfx)tst-gettext.out)
31537 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
31538 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
31539 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
31540 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
31541 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
31542 * posix/Makefile ($(objpfx)globtest.out)
31543 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
31544 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
31545 ($(objpfx)tst-printf.out): Likewise.
31546 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
31547 ($(objpfx)tst-setcontext3.out): Likewise.
31549 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
31551 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31552 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
31553 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
31554 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
31555 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
31557 (CFLAGS-doasin-fma.c): New.
31558 (CFLAGS-dosincos-fma.c): Likewise.
31559 (CFLAGS-e_asin-fma.c): Likewise.
31560 (CFLAGS-e_atan2-fma.c): Likewise.
31561 (CFLAGS-e_exp-fma.c): Likewise.
31562 (CFLAGS-e_log-fma.c): Likewise.
31563 (CFLAGS-e_pow-fma.c): Likewise.
31564 (CFLAGS-halfulp-fma.c): Likewise.
31565 (CFLAGS-mpa-fma.c): Likewise.
31566 (CFLAGS-mpatan-fma.c): Likewise.
31567 (CFLAGS-mpatan2-fma.c): Likewise.
31568 (CFLAGS-mpexp-fma.c): Likewise.
31569 (CFLAGS-mplog-fma.c): Likewise.
31570 (CFLAGS-mpsqrt-fma.c): Likewise.
31571 (CFLAGS-mptan-fma.c): Likewise.
31572 (CFLAGS-s_atan-fma.c): Likewise.
31573 (CFLAGS-sincos32-fma.c): Likewise.
31574 (CFLAGS-slowexp-fma.c): Likewise.
31575 (CFLAGS-slowpow-fma.c): Likewise.
31576 (CFLAGS-s_sin-fma.c): Likewise.
31577 (CFLAGS-s_tan-fma.c): Likewise.
31578 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
31579 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
31580 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
31581 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
31582 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
31583 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
31584 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
31585 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
31586 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
31587 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
31588 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
31589 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
31590 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
31591 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
31592 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
31593 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
31594 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
31595 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
31596 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
31597 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
31598 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
31599 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
31600 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
31601 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
31602 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31603 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31604 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31605 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
31606 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31607 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31608 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31610 2017-08-04 Joseph Myers <joseph@codesourcery.com>
31612 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
31613 (min_of_type_f): New macro.
31614 (min_of_type_): Likewise.
31615 (min_of_type_l): Likewise.
31616 (min_of_type_f128): Likewise.
31617 (min_of_type): Define using __MATH_TG and taking an expression
31619 (math_check_force_underflow): Pass expression instead of type to
31621 (math_check_force_underflow_nonneg): Likewise.
31623 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31625 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
31626 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
31627 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
31629 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31631 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31632 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
31633 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
31634 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
31635 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
31636 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
31637 memcpy_chk-nonshared, mempcpy_chk-nonshared,
31638 memmove_chk-nonshared and memset_chk-nonshared
31639 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
31640 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
31641 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
31642 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
31643 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
31644 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
31645 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
31646 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
31647 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
31648 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
31649 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
31650 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
31651 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
31652 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
31653 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
31654 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
31655 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
31656 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
31657 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
31658 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
31659 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
31660 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
31661 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
31662 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
31663 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
31664 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
31665 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
31666 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
31667 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
31668 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
31669 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
31670 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
31671 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
31672 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
31673 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
31674 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
31675 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
31676 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
31677 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
31678 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
31679 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
31680 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
31681 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
31682 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
31683 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
31684 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
31685 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
31686 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
31687 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
31688 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
31689 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
31690 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
31691 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
31692 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
31693 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
31694 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
31695 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
31696 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
31697 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
31698 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
31699 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
31700 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
31701 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
31702 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
31703 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
31704 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
31705 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
31706 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
31707 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
31708 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
31709 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
31710 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31711 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31712 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31713 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31714 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31715 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31716 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31717 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31718 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31719 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31720 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31721 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31722 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31723 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31724 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31725 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31726 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31727 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31728 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31729 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31730 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31731 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31732 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31733 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31734 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31735 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31736 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31737 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31738 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31739 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31740 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31741 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31742 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31743 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31744 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31745 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31746 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31748 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31750 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
31751 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
31752 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
31753 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
31754 svml_d_log2_core-sse2, svml_d_log4_core-sse,
31755 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
31756 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
31757 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
31758 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
31759 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
31760 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
31761 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
31762 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
31763 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
31764 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
31765 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
31766 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
31767 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
31768 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
31769 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
31770 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
31771 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
31772 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
31773 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
31774 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
31775 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
31776 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
31777 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
31778 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
31779 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
31780 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
31781 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
31782 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
31783 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
31784 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
31785 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
31786 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
31787 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
31788 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
31789 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
31790 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
31791 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
31792 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
31793 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
31794 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
31795 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
31796 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
31797 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
31798 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
31799 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
31800 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
31801 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
31802 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
31803 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
31804 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
31805 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
31806 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
31807 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
31808 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
31810 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
31811 Don't include <sysdep.h> nor <init-arch.h>.
31812 (_ZGVbN2v_cos): Removed.
31813 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
31815 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
31816 Don't include <sysdep.h> nor <init-arch.h>.
31817 (_ZGVdN4v_cos): Removed.
31818 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
31820 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
31821 Don't include <sysdep.h> nor <init-arch.h>.
31822 (_ZGVeN8v_cos): Removed.
31823 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
31825 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
31826 Don't include <sysdep.h> nor <init-arch.h>.
31827 (_ZGVbN2v_exp): Removed.
31828 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
31830 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
31831 Don't include <sysdep.h> nor <init-arch.h>.
31832 (_ZGVdN4v_exp): Removed.
31833 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
31835 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
31836 Don't include <sysdep.h> nor <init-arch.h>.
31837 (_ZGVeN8v_exp): Removed.
31838 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
31840 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
31841 Don't include <sysdep.h> nor <init-arch.h>.
31842 (_ZGVbN2v_log): Removed.
31843 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
31845 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
31846 Don't include <sysdep.h> nor <init-arch.h>.
31847 (_ZGVdN4v_log): Removed.
31848 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
31850 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
31851 Don't include <sysdep.h> nor <init-arch.h>.
31852 (_ZGVeN8v_log): Removed.
31853 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
31855 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
31856 Don't include <sysdep.h> nor <init-arch.h>.
31857 (_ZGVbN2vv_pow): Removed.
31858 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
31860 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
31861 Don't include <sysdep.h> nor <init-arch.h>.
31862 (_ZGVdN4vv_pow): Removed.
31863 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
31865 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
31866 Don't include <sysdep.h> nor <init-arch.h>.
31867 (_ZGVeN8vv_pow): Removed.
31868 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
31870 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
31871 Don't include <sysdep.h> nor <init-arch.h>.
31872 (_ZGVbN2v_sin): Removed.
31873 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
31875 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
31876 Don't include <sysdep.h> nor <init-arch.h>.
31877 (_ZGVbN4v_sin): Removed.
31878 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
31880 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
31881 Don't include <sysdep.h> nor <init-arch.h>.
31882 (_ZGVbN8v_sin): Removed.
31883 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
31885 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
31886 Don't include <sysdep.h> nor <init-arch.h>.
31887 (_ZGVbN2vvv_sincos): Removed.
31888 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
31890 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
31891 Don't include <sysdep.h> nor <init-arch.h>.
31892 (_ZGVdN4vvv_sincos): Removed.
31893 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
31895 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
31896 Don't include <sysdep.h> nor <init-arch.h>.
31897 (_ZGVeN8vvv_sincos): Removed.
31898 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
31900 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
31901 Don't include <sysdep.h> nor <init-arch.h>.
31902 (_ZGVeN16v_cosf): Removed.
31903 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
31905 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
31906 Don't include <sysdep.h> nor <init-arch.h>.
31907 (_ZGVbN4v_cosf): Removed.
31908 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
31910 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
31911 Don't include <sysdep.h> nor <init-arch.h>.
31912 (_ZGVdN8v_cosf): Removed.
31913 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
31915 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
31916 Don't include <sysdep.h> nor <init-arch.h>.
31917 (_ZGVeN16v_expf): Removed.
31918 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
31920 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
31921 Don't include <sysdep.h> nor <init-arch.h>.
31922 (_ZGVbN4v_expf): Removed.
31923 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
31925 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
31926 Don't include <sysdep.h> nor <init-arch.h>.
31927 (_ZGVdN8v_expf): Removed.
31928 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
31930 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
31931 Don't include <sysdep.h> nor <init-arch.h>.
31932 (_ZGVeN16v_logf): Removed.
31933 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
31935 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
31936 Don't include <sysdep.h> nor <init-arch.h>.
31937 (_ZGVbN4v_logf): Removed.
31938 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
31940 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
31941 Don't include <sysdep.h> nor <init-arch.h>.
31942 (_ZGVdN8v_logf): Removed.
31943 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
31945 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
31946 Don't include <sysdep.h> nor <init-arch.h>.
31947 (_ZGVeN16vv_powf): Removed.
31948 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
31950 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
31951 Don't include <sysdep.h> nor <init-arch.h>.
31952 (_ZGVbN4vv_powf): Removed.
31953 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
31955 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
31956 Don't include <sysdep.h> nor <init-arch.h>.
31957 (_ZGVdN8vv_powf): Removed.
31958 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
31960 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
31961 Don't include <sysdep.h> nor <init-arch.h>.
31962 (_ZGVeN16vvv_sincosf): Removed.
31963 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
31965 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
31966 Don't include <sysdep.h> nor <init-arch.h>.
31967 (_ZGVbN4vvv_sincosf): Removed.
31968 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
31970 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
31971 Don't include <sysdep.h> nor <init-arch.h>.
31972 (_ZGVdN8vvv_sincosf): Removed.
31973 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
31975 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
31976 Don't include <sysdep.h> nor <init-arch.h>.
31977 (_ZGVeN16v_sinf): Removed.
31978 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
31980 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
31981 Don't include <sysdep.h> nor <init-arch.h>.
31982 (_ZGVbN4v_sinf): Removed.
31983 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
31985 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
31986 Don't include <sysdep.h> nor <init-arch.h>.
31987 (_ZGVdN8v_sinf): Removed.
31989 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31991 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31992 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
31993 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
31994 s_rint-sse4_1 and s_rintf-sse4_1.
31995 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
31996 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
31997 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
31998 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
31999 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
32000 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
32001 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
32002 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
32003 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
32004 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
32005 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
32006 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32008 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
32009 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
32010 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32011 (__ceilf): Removed.
32012 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
32013 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
32014 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32015 (__floor): Removed.
32016 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
32017 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
32018 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32019 (__floorf): Removed.
32020 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
32021 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
32022 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32023 (__nearbyint): Removed.
32024 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
32025 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
32026 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32027 (__nearbyintf): Removed.
32028 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
32029 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
32030 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32032 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
32033 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
32034 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32035 (__rintf): Removed.
32037 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32039 * sysdeps/i386/start.S (_start): Check Check PIC instead of
32040 SHARED. Avoid dynamic relocation against main in static PIE.
32042 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32045 * elf/Makefile (CFLAGS-tst-prelink.c): New.
32046 (LDFLAGS-tst-prelink): Likewise.
32048 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32050 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
32051 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
32052 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
32053 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
32054 (INTERNAL_SYSCALL_NCS): Likewise.
32055 (LOADARGS_1): Likewise.
32056 (LOADARGS_5): Likewise.
32057 (RESTOREARGS_1): Likewise.
32058 (RESTOREARGS_5): Likewise.
32060 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32062 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
32063 (MEMPCPY_SYMBOL): Likewise.
32064 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
32065 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
32066 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
32068 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32069 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
32071 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
32072 (__hidden_ver1): Don't use in libc.a.
32073 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
32074 (__mempcpy): Don't create a weak alias in libc.a.
32075 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
32077 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
32078 (__hidden_ver1): Don't use in libc.a.
32080 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32082 * config.make.in (have-insert): New.
32083 * configure.ac (libc_cv_insert): New. Set to yes if linker
32084 supports INSERT in linker script.
32085 (AC_SUBST(libc_cv_insert): New.
32086 * configure: Regenerated.
32087 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
32088 if $(have-insert) == yes.
32090 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32092 * elf/Makefile (tests): Add vismain only if
32093 $(have-protected-data) == yes.
32094 (tests-pie): Likewise.
32096 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32099 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
32100 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
32102 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32105 * sysdeps/i386/i586/memset.S
32106 (__memset_zero_constant_len_parameter): Removed.
32107 * sysdeps/i386/i686/memset.S
32108 (__memset_zero_constant_len_parameter): Likewise.
32109 * sysdeps/i386/i686/multiarch/memset_chk.S
32110 (__memset_zero_constant_len_parameter): Likewise.
32111 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
32114 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
32116 * stdlib/getentropy.c (getentropy): Change return type to int.
32118 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
32120 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
32122 2017-08-03 Joseph Myers <joseph@codesourcery.com>
32124 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
32126 * math/s_nexttowardf.c (__nexttowardf): Likewise.
32127 * sysdeps/generic/math_private.h (ieee_double_shape_type):
32129 (ieee_float_shape_type): Likewise.
32130 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
32131 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
32132 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
32133 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32134 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
32135 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
32136 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
32137 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
32138 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
32140 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
32141 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
32142 (__ieee754_yn): Likewise.
32143 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32144 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32145 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
32147 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
32148 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
32149 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
32150 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
32151 (__erfc): Likewise.
32152 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
32153 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
32154 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
32155 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
32156 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
32157 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
32159 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
32160 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
32161 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
32162 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
32163 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
32164 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
32165 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
32166 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
32167 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
32168 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
32169 (__issignaling): Likewise.
32170 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
32171 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
32172 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
32174 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32175 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
32176 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
32177 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
32179 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
32181 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
32182 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
32183 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
32184 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
32185 (__erfcf): Likewise.
32186 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
32187 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
32188 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
32189 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
32191 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
32192 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
32194 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
32195 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
32196 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
32197 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
32198 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
32199 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
32200 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
32201 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
32203 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
32205 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
32207 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
32208 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
32210 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
32212 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
32213 (__ieee754_ynl): Likewise.
32214 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
32215 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
32217 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
32219 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
32220 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
32221 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32223 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
32224 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
32225 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
32226 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
32227 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
32228 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
32229 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
32230 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
32232 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
32233 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
32234 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
32236 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
32237 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
32238 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
32239 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
32240 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
32241 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32243 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
32245 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32247 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32249 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
32250 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
32251 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32252 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
32253 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
32254 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
32255 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
32257 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
32259 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
32260 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32262 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
32263 (__ieee754_remainderl): Likewise.
32264 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32265 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32266 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
32267 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
32269 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
32270 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32272 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32273 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
32274 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
32275 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
32276 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
32277 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
32279 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
32280 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
32281 (__ieee754_y0l): Likewise.
32284 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32285 (__ieee754_y1l): Likewise.
32288 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
32289 (__ieee754_ynl): Likewise.
32290 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
32291 (__ieee754_lgammal_r): Likewise.
32292 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
32294 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
32295 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
32296 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
32297 (__erfcl): Likewise.
32298 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
32299 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
32301 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
32302 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
32303 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
32304 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
32305 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
32306 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32307 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32309 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
32310 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
32311 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
32312 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
32313 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32315 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
32316 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
32318 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
32319 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
32320 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
32321 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
32322 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
32324 2017-08-03 Florian Weimer <fweimer@redhat.com>
32327 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
32328 on memory allocation failure.
32330 2017-08-03 Alan Modra <amodra@gmail.com>
32332 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
32333 tst-tlsopt-powerpc.c with function name change and no test harness.
32334 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
32335 Call tls_get_addr_opt_test.
32336 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
32337 (modules-names): Add mod-tlsopt-powerpc.
32338 (mod-tlsopt-powerpc.so-no-z-defs): Define.
32339 (tst-tlsopt-powerpc): Depend on .so.
32340 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
32341 define. Expand use in TLS_GD and TLS_LD.
32343 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32345 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
32347 * sysdeps/posix/shm_open.c: Include <pthread.h>.
32349 2017-08-02 Joseph Myers <joseph@codesourcery.com>
32352 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
32353 comparing size with that of double.
32354 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32355 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32356 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32357 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32358 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32359 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
32360 unsigned __int128 types.
32362 2017-08-02 Steve Ellcey <sellcey@cavium.com>
32364 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
32365 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
32366 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
32367 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
32368 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
32370 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32372 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
32374 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32376 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
32378 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
32379 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32380 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32381 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32382 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32383 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32384 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32386 2017-08-02 Joseph Myers <joseph@codesourcery.com>
32389 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
32390 bit-field expressions passed to sizeof or typeof.
32391 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32392 (__TGMATH_F128): Likewise.
32393 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32394 (__TGMATH_CF128): Likewise.
32395 (__TGMATH_UNARY_REAL_ONLY): Likewise.
32396 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
32397 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
32398 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
32399 (__TGMATH_BINARY_REAL_ONLY): Likewise.
32400 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32401 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32402 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32403 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32404 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
32405 (__TGMATH_UNARY_REAL_IMAG): Likewise.
32406 (__TGMATH_UNARY_IMAG): Likewise.
32407 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
32408 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32409 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
32411 (define_vars_for_type): Handle bit_field type specially.
32412 (Tests.__init__): Declare structure with bit-field element.
32414 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32417 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
32418 (MEMCPY_CHK): Define only if SHARED is defined.
32419 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
32421 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
32424 See ChangeLog.18 for earlier changes.