1 2019-02-14 Joseph Myers <joseph@codesourcery.com>
3 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
6 (xdr_bytes): Reword fall-through comment.
7 (xdr_string): Likewise.
9 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
13 (tests): Add tst-join8 tst-join9.
14 * nptl/lll_timedwait_tid.c: Remove file.
15 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
16 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
17 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
18 * nptl/pthread_join_common.c (timedwait_tid): New function.
19 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
21 * nptl/tst-join5.c (thread_join): New function.
22 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
24 * nptl/tst-join8.c: New file.
25 * nptl/tst-join9.c: Likewise.
26 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
27 lll_futex_timed_wait_cancel): Add generic macros.
28 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
30 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
33 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
35 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
37 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
38 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
39 (lll_futex_timed_wait_cancel): New macro.
41 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
43 * benchtests/Makefile: Add malloc-simple benchmark.
44 * benchtests/bench-malloc-simple.c: New benchmark.
46 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
48 * benchtests/bench-memmove.c (do_one_test): Remove unused
51 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
55 2019-01-13 Jim Wilson <jimw@sifive.com>
58 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
59 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
61 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
63 * nptl/Makefile (tests): Add tst-unwind-thread.
64 (CFLAGS-tst-unwind-thread.c): Define.
65 * nptl/tst-unwind-thread.c: New file.
66 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
69 2019-02-13 Joseph Myers <joseph@codesourcery.com>
71 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
73 * nis/nis_call.c (__do_niscall3): Likewise.
75 * catgets/gencat.c (normalize_line): Use braces around empty
77 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
78 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
79 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
80 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
81 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
82 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
83 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
86 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
89 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
91 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
92 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
93 * benchtests/bench-strchr.c (stupid_strchr): Remove.
94 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
95 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
96 * benchtests/bench-strlen.c (builtin_strlen): Remove.
97 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
98 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
99 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
100 * benchtests/bench-strspn.c (stupid_strspn): Remove.
101 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
102 * benchtests/bench-bcopy.c: Delete file.
103 * benchtests/bench-bzero.c: Likewise.
104 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
105 (simple_memccpy): Remove.
106 (generic_memccpy): Add function.
107 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
108 * benchtests/bench-memmove.c (simple_bcopy): Remove.
109 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
110 (generic_mempcpy): Add new function.
111 * benchtests/bench-memset.c (simple_bzero): Remove.
112 (builtin_bzero): Remove.
113 (builtin_memset): Remove.
114 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
115 (generic_rawmemchr): Add new function.
117 2019-02-12 Florian Weimer <fweimer@redhat.com>
119 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
121 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
124 * elf/Makefile (tests): Add tst-audit13.
125 (modules-names): Add tst-audit13mod1.
126 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
128 * elf/tst-audit13.c: New file.
129 * elf/tst-audit13mod1.c: Likewise.
131 2019-02-12 Florian Weimer <fweimer@redhat.com>
134 * elf/rtld.c (unload_audit_module): New function.
135 (report_audit_module_load_error): Likewise.
136 (load_audit_module): Likewise. Extracted from dl_main. Call
137 _dl_close if the laversion symbol cannot be found. Use early
138 returns for error handling. Add malloc error check. Check for a
139 zero return value from la_version. Remove spurious comment about
140 static TLS initialization. Remove useless casts.
141 (notify_audit_modules_of_loaded_object): New function. Extracted
143 (load_audit_module): Likewise.
144 (dl_main): Call load_audit_modules.
146 2019-02-12 Joseph Myers <joseph@codesourcery.com>
148 * elf/dl-exception.c (_dl_exception_create_format): Add
149 fall-through comments.
150 * elf/ldconfig.c (parse_conf_include): Likewise.
151 * elf/rtld.c (print_statistics): Likewise.
152 * locale/programs/charmap.c (parse_charmap): Likewise.
153 * misc/mntent_r.c (__getmntent_r): Likewise.
154 * posix/wordexp.c (parse_arith): Likewise.
155 (parse_backtick): Likewise.
156 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
157 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
158 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
160 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
162 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
163 Use float instead of double.
165 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
167 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
169 2019-02-08 Joseph Myers <joseph@codesourcery.com>
171 * sysdeps/powerpc/bits/mathinline.h: Remove.
173 2019-02-08 Florian Weimer <fweimer@redhat.com>
175 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
176 * math/bits/math-finite.h: Move to ...
177 * bits/math-finite.h: ... here.
179 2019-02-08 Florian Weimer <fweimer@redhat.com>
181 * sysdeps/generic/bits/unistd_ext.h: Move to ...
182 * bits/unistd_ext.h: here.
184 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
187 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
188 * nss/tst-nss-files-hosts-long.c: New file.
189 * nss/tst-nss-files-hosts-long.root: New directory.
190 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
191 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
193 2019-02-08 Florian Weimer <fweimer@redhat.com>
195 * include/bits/unistd_ext.h: Remove file.
196 * posix/bits/unistd_ext.h: Move to ...
197 * sysdeps/generic/bits/unistd_ext.h: ... here.
199 2019-02-08 Florian Weimer <fweimer@redhat.com>
201 * include/bits/unistd_ext.h: New file.
203 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
205 * time/tst-strftime2.c: Use array_length macros instead of magic
208 2019-02-08 Florian Weimer <fweimer@redhat.com>
211 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
213 * nptl/register-atfork.c (__run_fork_handlers): Only perform
214 locking if the new do_locking argument is true.
215 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
218 2019-02-08 Florian Weimer <fweimer@redhat.com>
221 Linux: Add gettid system call wrapper.
222 * posix/Makefile (headers): Add bits/unistd_ext.h.
223 * posix/bits/unistd_ext.h: New file.
224 * posix/unistd.h: Include it.
225 * manual/process.texi (Process Identification): Document gettid.
226 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
227 tst-gettid, tst-gettid-kill.
228 (tst-gettid): Link with $(shared-thread-library).
229 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
230 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
231 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
232 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
233 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
234 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
236 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
238 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
239 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
241 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
243 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
245 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
247 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
249 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
251 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
253 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
254 (GLIBC_2.30): Likewise.
255 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
256 (GLIBC_2.30): Likewise.
257 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
258 (GLIBC_2.30): Likewise.
259 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
260 (GLIBC_2.30): Likewise.
261 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
264 (GLIBC_2.30): Likewise.
265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
266 (GLIBC_2.30): Likewise.
267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
268 (GLIBC_2.30): Likewise.
269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
270 (GLIBC_2.30): Likewise.
271 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
273 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
275 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
277 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
278 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
280 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
282 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
284 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
286 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
288 2019-02-07 Florian Weimer <fweimer@redhat.com>
290 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
291 compatibility symbols.
293 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
296 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
297 Add compiler barriers and comments.
299 2019-02-07 Florian Weimer <fweimer@redhat.com>
301 * include/array_length.h (array_length): Do not use a statement
302 expression and _Static_assert, so that array_length can be used at
303 file scope and as a constant expression.
305 2019-02-07 Florian Weimer <fweimer@redhat.com>
307 * support/xdlfcn.h (xdlmopen): Declare.
308 * support/xdlmopen.c: New file.
309 * support/Makefile (libsupport-routines): Add xdlmopen.
311 2019-02-06 Joseph Myers <joseph@codesourcery.com>
313 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
314 before return type, without separate inline.
315 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
316 * elf/dl-tunables.h (tunable_is_name): Likewise.
317 * malloc/malloc.c (do_set_trim_threshold): Likewise.
318 (do_set_top_pad): Likewise.
319 (do_set_mmap_threshold): Likewise.
320 (do_set_mmaps_max): Likewise.
321 (do_set_mallopt_check): Likewise.
322 (do_set_perturb_byte): Likewise.
323 (do_set_arena_test): Likewise.
324 (do_set_arena_max): Likewise.
325 (do_set_tcache_max): Likewise.
326 (do_set_tcache_count): Likewise.
327 (do_set_tcache_unsorted_limit): Likewise.
328 * nis/nis_subr.c (count_dots): Likewise.
329 * nptl/allocatestack.c (advise_stack_range): Likewise.
330 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
332 (reduce_sincos): Likewise.
333 (do_sincos): Likewise.
334 * sysdeps/unix/sysv/linux/x86/elision-conf.c
335 (do_set_elision_enable): Likewise.
336 (TUNABLE_CALLBACK_FNDECL): Likewise.
338 2019-02-06 Florian Weimer <fweimer@redhat.com>
340 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
341 (xdlsym): Use dlerror to detect a NULL symbol.
343 2019-02-06 Florian Weimer <fweimer@redhat.com>
345 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
347 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
349 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
351 * libio/tst-bz24153.c (wide): Use wide char format specifier.
353 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
355 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
356 __wmemcmp and weak alias to wmemcmp.
358 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
361 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
362 TLS_TCB_AT_TP tls variant.
363 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
364 Add alignment checks.
365 * support/Makefile (libsupport-routines): Add xposix_memalign and
367 * support/support.h: Add xposix_memalign.
368 * support/xthread.h: Add xpthread_attr_setstack.
369 * support/xposix_memalign.c: New File.
370 * support/xpthread_attr_setstack.c: Likewise.
372 2019-02-05 Florian Weimer <fweimer@redhat.com>
375 arm: Use "nr" constraint for Systemtap probes, to avoid the
376 compiler using memory operands for constants, due to the "o"
377 alternative in the default "nor" constraint.
378 * include/stap-probe.h [USE_STAP_PROBE]: Include
379 <stap-probe-machine.h>
380 * sysdeps/generic/stap-probe-machine.h: New file.
381 * sysdeps/arm/stap-probe-machine.h: Likewise.
383 2019-02-04 Joseph Myers <joseph@codesourcery.com>
385 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
386 with 0, not tcache->entries[tc_idx].
388 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
391 2019-02-04 Andreas Schwab <schwab@suse.de>
395 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
396 looking up collating elements match against (wide) character
397 sequence instead of name. Correct alignment adjustment.
398 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
399 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
400 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
401 (LOCALES): Add cs_CZ.ISO-8859-2.
402 * posix/tst-fnmatch4.c: New file.
403 * posix/tst-fnmatch5.c: New file.
404 * include/wchar.h (__wmemcmp): Declare.
405 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
406 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
407 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
408 * sysdeps/s390/wmemcmp.c: Likewise.
410 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
414 * NEWS: Updated for CVE-2019-7309.
415 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
416 upper 32 bits of RDX register for x32. Use unsigned Jcc
417 instructions, instead of signed.
418 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
419 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
421 2019-02-04 Florian Weimer <fweimer@redhat.com>
423 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
424 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
425 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
427 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
428 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
429 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
430 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
432 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
434 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
436 (posix_spawn_file_actions_addopen): Likewise.
437 (posix_spawn_file_actions_addclose): Likewise.
438 (posix_spawn_file_actions_adddup2): Likewise.
439 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
441 (posix_spawn_file_actions_addfchdir_np): Likewise.
443 2019-02-04 David Newall <glibc@davidnewall.com>
445 elf: Implement --preload option for the dynamic linker.
446 * elf/rtld.c (preloadarg): New variable.
447 (handle_preload_list): Pass through “where” argument to
449 (dl_main): Handle "--preload" and add second call to
451 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
452 (tst-rtld-preload-OBJS): Set variable.
453 (tst-rtld-preload.out): New target.
454 * elf/tst-rtld-preload.sh: New file.
456 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
458 * Makefile (testrun.sh): Exit in case of incorrect argument.
460 2019-02-04 Florian Weimer <fweimer@redhat.com>
462 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
465 2019-02-03 Florian Weimer <fweimer@redhat.com>
467 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
468 implicit overflow checks.
470 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
472 * stdlib/isomac.c: Include <unistd.h>.
474 2019-02-03 Florian Weimer <fweimer@redhat.com>
476 * include/time.h (__tzfile_default): Use int, not long int, for
478 * time/tzfile.c (struct ttinfo): Change type of the offset member
480 (__tzfile_read): Remove useless cast.
481 (__tzfile_default): Adjust prototype.
482 * time/tzset.c (tz_rule): Change type of the offset member to int.
483 (parse_offset): Change the type of the sign variable to int.
485 2019-02-03 Florian Weimer <fweimer@redhat.com>
488 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
489 * libio/getchar.c (getchar): Likewise.
490 * libio/getchar_u.c (getchar_unlocked): Likewise.
491 * libio/getwchar.c (getwchar): Likewise.
492 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
493 * libio/iogets.c (_IO_gets): Likewise.
494 * libio/vscanf.c (_IO_vscanf): Likewise.
495 * libio/vwscanf.c (__vwscanf): Likewise.
496 * libio/tst-bz24153.c: New file.
497 * libio/Makefile (tests): Add it.
499 2019-02-02 Florian Weimer <fweimer@redhat.com>
502 * manual/resource.texi (Basic Scheduling Functions): Add
503 portability note. Change process to task throughout the section.
504 Remove incorrect comment about sched_yield as it affects
505 tasks/threads, not entire processes.
506 * sysdeps/unix/sysv/linux/bits/posix_opt.h
507 (_POSIX_PRIORITY_SCHEDULING): Update comment.
509 2019-02-01 Joseph Myers <joseph@codesourcery.com>
511 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
512 * configure: Regenerated.
513 * manual/install.texi (Tools for Compilation): Update minimum GCC
515 * INSTALL: Regenerated.
517 2019-02-01 Florian Weimer <fweimer@redhat.com>
519 * support/support_test_compare_string.c
520 (support_test_compare_string): Use "string" in error message.
521 * support/tst-test_compare_string.c (do_test): Adjust.
523 2019-02-01 Florian Weimer <fweimer@redhat.com>
525 * support/support_format_address_family.c
526 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
528 2019-02-01 Florian Weimer <fweimer@redhat.com>
530 * manual/socket.texi (Internet Address Formats): Clarify the byte
531 order of struct sockaddr_in, struct sockaddr_in6. Document
532 sin6_flowinfo and sin6_scope_id.
534 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
536 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
537 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
538 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
539 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
540 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
541 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
543 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
545 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
546 [!MEMCHR](MEMCHR): Set to __memchr.
547 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
548 Add memchr_generic and memchr_nosimd.
549 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
550 (__libc_ifunc_impl_list): Add memchr ifuncs.
551 * sysdeps/aarch64/multiarch/memchr.c: New file.
552 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
553 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
555 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
557 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
559 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
560 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
561 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
562 Add IS_EMAG check for ifunc dispatch.
563 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
564 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
566 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
568 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
569 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
571 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
574 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
576 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
578 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
580 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
581 syscall-template file.
583 2019-01-31 Carlos O'Donell <carlos@redhat.com>
584 Torvald Riegel <triegel@redhat.com>
585 Rik Prohaska <prohaska7@gmail.com>
588 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
589 tst-rwlock-trywrlock-stall.
590 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
591 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
592 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
593 Set __wrphase_fute to 1 only if we started the write phase.
594 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
595 * nptl/tst-rwlock-trywrlock-stall.c: New file.
596 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
597 * support/xpthread_rwlock_destroy.c: New file.
598 * support/xthread.h: Declare xpthread_rwlock_destroy.
600 2019-02-01 Joseph Myers <joseph@codesourcery.com>
602 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
605 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
608 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
609 * libio/fileops.c (_IO_new_file_underflow): Likewise
610 * libio/wfileops.c (_IO_wfile_underflow): Likewise
611 * libio/putchar.c (putchar): Likewise.
612 * libio/putchar_u.c (putchar_unlocked): Likewise.
613 * libio/putwchar.c (putchar): Likewise.
614 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
615 * libio/tst-bz24051.c: New test.
616 * libio/Makefile (tests): Add tst-bz24051
618 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
620 regex: fix read overrun [BZ #24114]
621 Problem found by AddressSanitizer, reported by Hongxu Chen in:
622 https://debbugs.gnu.org/34140
623 * posix/regexec.c (proceed_next_node):
624 Do not read past end of input buffer.
626 2019-01-31 Florian Weimer <fweimer@redhat.com>
629 * nss/nss_files/files-alias.c (get_next_alias): Handle
630 continuation line without newline at the end.
631 * nss/tst-nss-files-alias-truncated.c: New file.
632 * nss/Makefile [$(build-shared)] (tests): Add
633 tst-nss-files-alias-truncated.
634 (tst-nss-files-alias-truncated): Link with libnss_files.so.
635 * support/namespace.h (struct support_chroot_configuration): Add
637 (struct support_chroot): Add path_aliases member.
638 * support/support_chroot.c (support_chroot_create): Handle
640 (support_chroot_free): Free path_aliases.
642 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
644 * version.h (RELEASE): Set to "development".
645 (VERSION): Set to "2.29.9000".
646 * NEWS: Add section for 2.30.
648 * version.h (RELEASE): Set to "stable".
649 (VERSION): Set to "2.29".
650 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
652 * NEWS: Add the list of bugs fixed in 2.29.
653 * manual/contrib.texi: Update contributors list with some more
655 * manual/install.texi: Update latest versions of packages
657 * INSTALL: Regenerated.
659 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
661 * po/be.po: Update translations.
662 * po/bg.po: Likewise.
663 * po/ca.po: Likewise.
664 * po/cs.po: Likewise.
665 * po/da.po: Likewise.
666 * po/de.po: Likewise.
667 * po/el.po: Likewise.
668 * po/eo.po: Likewise.
669 * po/es.po: Likewise.
670 * po/fi.po: Likewise.
671 * po/fr.po: Likewise.
672 * po/gl.po: Likewise.
673 * po/hr.po: Likewise.
674 * po/hu.po: Likewise.
675 * po/ia.po: Likewise.
676 * po/id.po: Likewise.
677 * po/it.po: Likewise.
678 * po/ja.po: Likewise.
679 * po/ko.po: Likewise.
680 * po/lt.po: Likewise.
681 * po/nb.po: Likewise.
682 * po/nl.po: Likewise.
683 * po/pl.po: Likewise.
684 * po/pt_BR.po: Likewise.
685 * po/ru.po: Likewise.
686 * po/rw.po: Likewise.
687 * po/sk.po: Likewise.
688 * po/sl.po: Likewise.
689 * po/sv.po: Likewise.
690 * po/tr.po: Likewise.
691 * po/uk.po: Likewise.
692 * po/vi.po: Likewise.
693 * po/zh_CN.po: Likewise.
694 * po/zh_TW.po: Likewise.
696 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
699 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
700 of $f3 register on $y_is_neg path.
702 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
705 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
706 sigaltstack.ss_flags.
708 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
711 * manual/time.texi (strftime): Document "%Ey".
712 * time/strftime_l.c (__strftime_internal): Set the default width
713 padding with zero of "%Ey" to 2.
716 * manual/time.texi (strftime): Document "%EC" and "%EY".
717 * time/Makefile (tests): Add tst-strftime2.
718 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
719 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
720 override padding for "%Ey".
721 If an optional flag ('_' or '-') is specified to "%EY", interpret the
722 "%Ey" in the subformat as if decorated with that flag.
723 * time/tst-strftime2.c: New file.
725 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
727 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
731 * elf/Makefile (tests): Add tst-audit13.
732 (modules-names): Add tst-audit13mod1.
733 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
735 * elf/rtld.c (dl_main): Handle invalid audit module version.
736 * elf/tst-audit13.c: New file.
737 * elf/tst-audit13mod1.c: Likewise.
739 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
741 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
742 returned by __hurd_at_flags.
743 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
744 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
745 directly instead of __hurd_file_name_lookup.
747 2019-01-21 Joseph Myers <joseph@codesourcery.com>
749 * scripts/build-many-glibcs.py (Context.checkout): Default
750 binutils version to 2.32 branch.
752 2019-01-21 Florian Weimer <fweimer@redhat.com>
756 resolv: Reject trailing characters in host names
757 * include/arpa/inet.h (__inet_aton_exact): Declare.
758 (inet_aton): Remove hidden prototype. No longer used internally.
759 * nscd/gai.c (__inet_aton): Do not define.
760 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
761 * nss/digits_dots.c (__inet_aton): Likewise.
762 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
763 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
764 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
765 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
766 (tst-resolv-trailing): Likewise.
767 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
769 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
770 Make static. Add endp parameter.
771 (__inet_aton_exact): New function.
772 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
773 (__inet_addr): Call inet_aton_end.
774 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
775 not just IPv6. Call __inet_aton_exact.
776 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
777 (tests): Make const. Add additional test cases with trailing
779 (do_test): Use array_length.
780 * resolv/tst-inet_aton_exact.c: New file.
781 * resolv/tst-resolv-trailing.c: Likewise.
782 * resolv/tst-resolv-nondecimal.c: Likewise.
783 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
785 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
789 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
790 Clear the upper 32 bits of RSI register.
791 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
792 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
793 and tst-size_t-wcsnlen.
794 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
795 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
797 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
801 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
802 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
803 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
804 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
805 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
807 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
811 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
812 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
813 * sysdeps/x86_64/strcmp.S: Likewise.
814 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
815 tst-size_t-strncmp and tst-size_t-wcsncmp.
816 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
817 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
818 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
820 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
824 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
825 RDX_LP for length. Clear the upper 32 bits of RDX register.
826 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
827 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
828 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
829 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
831 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
835 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
836 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
837 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
838 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
840 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
844 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
845 length. Clear the upper 32 bits of RDX register.
846 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
847 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
849 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
851 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
853 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
855 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
859 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
860 length. Clear the upper 32 bits of RDX register.
861 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
862 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
863 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
865 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
866 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
868 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
872 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
873 upper 32 bits of RDX register.
874 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
875 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
877 * sysdeps/x86_64/x32/test-size_t.h: New file.
878 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
879 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
881 2019-01-18 Florian Weimer <fweimer@redhat.com>
884 resolv: Do not send queries for non-host-names in nss_dns.
885 * resolv/nss_dns/dns-host.c (check_name): New function.
886 (_nss_dns_gethostbyname2_r): Use it.
887 (_nss_dns_gethostbyname_r): Likewise.
888 (_nss_dns_gethostbyname4_r): Likewise.
890 2019-01-21 Florian Weimer <fweimer@redhat.com>
892 * resolv/inet_addr.c: Reformat to GNU style.
893 (__inet_addr, __inet_aton): Update comment.
895 2019-01-18 Florian Weimer <fweimer@redhat.com>
897 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
898 ("malloc: Use current (C11-style) atomics for fastbin access").
899 This commit introduces a substantial performance regression on
901 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
903 (_int_malloc): Use it and reindent.
904 (_int_free): Use CAS loop with
905 catomic_compare_and_exchange_val_rel.
906 (malloc_consolidate): Use atomic_exchange_acq.
909 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
911 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
913 (LDFLAGS-tst-minsigstksz-2): Likewise.
914 (LDFLAGS-tst-minsigstksz-3): Likewise.
915 (LDFLAGS-tst-minsigstksz-3a): Likewise.
916 (LDFLAGS-tst-minsigstksz-4): Likewise.
918 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
920 * manual/time.texi (strftime): Fix the wording to "alternative" rather
923 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
925 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
927 2019-01-16 Zack Weinberg <zackw@panix.com>
929 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
930 (xget_sigstack_location): New test support functions.
931 * support/xsigstack.c: New file, implementing them.
932 * support/tst-xsigstack.c: New test for them.
933 * support/Makefile: Update.
935 * signal/tst-minsigstksz-1.c
936 * signal/tst-minsigstksz-2.c
937 * signal/tst-minsigstksz-3.c
938 * signal/tst-minsigstksz-3a.c
939 * signal/tst-minsigstksz-4.c: New tests.
940 * signal/Makefile: Run them.
942 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
944 * po/libc.pot: Regenerate.
946 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
948 * math/libm-test-fma.inc (fma_test_data): Set
949 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
951 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
953 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
954 (do_test): Changed __vector __int128_t to __vector unsigned int.
956 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
958 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
959 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
960 stpcpy-avx2 and stpncpy-avx2.
961 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
962 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
963 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
965 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
966 ifunc-strcpy.h}: rename header for a more generic name.
967 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
968 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
969 AVX unaligned load is fast and vzeroupper is preferred.
970 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
971 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
972 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
973 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
974 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
975 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
977 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
979 * argp/argp-help.c: Fix typo in comment.
980 * misc/sys/cdefs.h: Likewise.
981 * posix/regexec.c (sift_states_iter_mb): Likewise.
982 * socket/sockatmark.c: Likewise.
983 * socket/sys/socket.h: Likewise.
984 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
985 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
986 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
987 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
988 * sysdeps/unix/sockatmark.c: Likewise.
989 * time/strptime_l.c: Likewise.
991 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
993 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
994 missing space after the cast of "_NL_CURRENT".
996 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
998 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
999 ifdef to fix read of VSCR.
1000 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
1001 tst-ucontext-ppc64-vscr.c to test list.
1002 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
1004 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
1006 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
1009 2019-01-09 Jim Wilson <jimw@sifive.com>
1011 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
1013 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
1015 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
1016 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
1017 __memcpy_falkor for ares.
1018 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
1020 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1023 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
1026 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1027 4_FP_W_TYPEs are used for IEEE quad precision.
1028 * soft-fp/extendhftf2.c: Likewise.
1029 * soft-fp/extendsftf2.c: Likewise.
1030 * soft-fp/extendxftf2.c: Likewise.
1031 * soft-fp/trunctfdf2.c: Likewise.
1032 * soft-fp/trunctfhf2.c: Likewise.
1033 * soft-fp/trunctfsf2.c: Likewise.
1034 * soft-fp/trunctfxf2.c: Likewise.
1035 * sysdeps/alpha/ots_cvttx.c: Likewise.
1036 * sysdeps/alpha/ots_cvtxt.c: Likewise.
1037 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
1038 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
1039 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
1040 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
1041 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
1042 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
1043 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
1044 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
1045 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
1046 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
1047 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
1048 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
1049 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
1050 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
1051 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
1052 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
1054 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
1057 * Makeconfig: Build libm with -fno-math-errno but build the remaining
1058 code with -fmath-errno.
1059 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
1060 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
1061 * string/test-strerror-errno.c: New file.
1063 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
1066 * localedata/locales/en_US (date_fmt): Add, set to
1067 "%a %d %b %Y %r %Z".
1069 2019-01-07 Florian Weimer <fweimer@redhat.com>
1072 * manual/arith.texi (Math Error Reporting): Use @code{errno}
1073 instead of @var{errno}.
1074 (Parsing of Integers): Likewise.
1075 (Parsing of Floats): Likewise.
1076 * manual/filesys.texi (Working with Directory Trees): Likewise.
1077 (Temporary Files): Likewise.
1078 * manual/job.texi (Terminal Access Functions): Likewise.
1079 * manual/llio.texi (Synchronizing I/O): Likewise.
1080 * manual/math.texi (SVID Random): Likewise.
1081 * manual/message.texi (The catgets Functions): Likewise.
1082 (Translation with gettext): Likewise.
1083 (Locating gettext catalog): Likewise.
1084 (Charset conversion in gettext): Likewise.
1085 * manual/nss.texi (NSS Module Function Internals): Likewise.
1086 * manual/search.texi (Hash Search Function): Likewise.
1087 * manual/setjmp.texi (System V contexts): Likewise.
1088 * manual/time.texi (Sleeping): Likewise.
1089 * manual/users.texi (Lookup User): Likewise.
1090 (Lookup Group): Likewise.
1092 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1094 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
1097 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
1100 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
1101 __builtin_unreachable for default case in switch.
1102 (__ieee754_yn): Likewise.
1103 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1104 (__ieee754_ynl): Likewise.
1105 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1106 (__ieee754_ynl): Likewise.
1107 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1108 (__ieee754_ynl): Likewise.
1110 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1112 * manual/maint.texi: Use @{ and @}.
1114 2019-01-04 Florian Weimer <fweimer@redhat.com>
1116 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
1118 (do_in_chroot_1): Call it.
1120 Improve error reporting in case it is not possible to create a
1121 collision for the PTY name required by the test.
1123 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1125 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
1126 lll_wait_tid with timeout.
1127 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
1128 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
1129 futex_reltimed_wait_cancelable for cancelabla mode.
1130 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
1131 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
1133 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
1134 * sysdeps/posix/waitid.c (__sigwait): Likewise.
1135 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
1136 SYSCALL_CANCEL_NCS): New macro.
1137 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
1138 (lll_timedwait_tid): Remove macro.
1139 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
1141 (lll_timedwait_tid): Likewise.
1142 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
1144 (lll_timedwait_tid): Likewise.
1145 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
1147 (lll_timedwait_tid): Likewise.
1148 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
1149 Use INTERNAL_SYSCALL_CANCEL.
1150 * sysdeps/unix/sysv/linux/futex-internal.h
1151 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
1152 instead of __pthread_{enable,disable}_asynccancel.
1153 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1154 (lll_futex_wait_cancel): New macro.
1156 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
1157 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
1159 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
1160 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
1162 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
1163 in backtrace analysis.
1164 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
1166 (tf_send): Likewise.
1168 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
1169 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
1170 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
1171 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
1172 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
1173 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
1174 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
1175 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
1176 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
1177 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
1178 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
1179 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
1181 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
1182 tst-cancel-wrappers.sh.
1183 (generated): Remove tst-cancel-wrappers.out.
1184 (tst-cancel-wrappers.out): Remove rule.
1185 * nptl/tst-cancel-wrappers.sh: Remove file.
1187 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1189 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
1190 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1193 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1196 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
1197 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
1198 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
1199 close-on-exec reset for adddup2 file action.
1200 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
1202 2019-01-03 Zack Weinberg <zackw@panix.com>
1204 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
1205 parameter. Only use deprecated scanf when __USE_GNU is defined
1206 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
1207 than 201103L, whichever is relevant for the language being compiled.
1209 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
1210 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
1211 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
1212 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
1213 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
1217 * libio/iovswscanf.c
1222 * stdio-common/fscanf.c
1223 * stdio-common/scanf.c
1224 * stdio-common/vfscanf.c
1225 * stdio-common/vfwscanf.c
1226 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1227 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
1228 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
1229 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
1230 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
1231 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
1232 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
1233 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
1234 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
1235 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
1236 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
1237 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
1238 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
1239 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
1240 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
1242 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
1243 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
1244 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
1246 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
1247 with a preprocessor macro.
1249 * stdio-common/bug21.c, stdio-common/scanf14.c:
1250 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
1251 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
1252 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
1253 to xscanf, xfscanf, xsscanf.
1255 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
1256 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
1257 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
1258 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
1260 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
1261 override feature selection macros or provide definitions of u_char etc.
1262 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
1263 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
1264 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
1267 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1269 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1270 bits/termios-misc.h.
1271 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
1272 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1273 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1274 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1275 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
1276 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
1278 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
1279 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
1280 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
1281 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
1282 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
1283 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
1285 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
1286 (sysdep_headers): Add termios-misc.h.
1288 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
1289 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1290 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1292 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1294 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
1295 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
1296 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
1297 TCSAFLUSH): Move to termios-tcflow.h.
1298 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1299 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1300 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1301 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1303 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1305 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
1306 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
1307 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
1308 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
1309 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
1310 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
1311 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
1312 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
1314 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1315 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1316 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1317 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1319 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1321 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
1322 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
1323 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
1324 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
1325 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
1327 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1328 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1329 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1330 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1333 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1335 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
1336 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
1337 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
1338 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
1339 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
1340 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
1341 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
1342 __MAX_BAUD): Move to termios-baud.h.
1343 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
1344 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
1345 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1346 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1347 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1349 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1351 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
1352 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
1353 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
1354 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
1355 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
1356 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
1358 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
1359 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
1361 [USE_MISC] (XTABS): Likewise.
1362 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1363 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1364 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1365 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
1367 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
1369 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
1370 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
1371 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
1372 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
1373 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
1374 IUTF8): Move to termios-c_iflag.h.
1375 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1376 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1377 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1378 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1380 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
1382 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
1383 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
1384 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
1385 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
1386 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
1387 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
1388 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
1389 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
1390 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1391 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1392 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1393 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1395 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
1396 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
1397 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
1398 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
1399 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1401 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
1403 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
1405 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
1407 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
1409 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
1411 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
1412 _HAVE_C_OSPEED): Define.
1413 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
1414 _HAVE_C_OSPEED): Likewise.
1415 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
1416 _HAVE_C_OSPEED): Likewise.
1417 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
1418 (cfsetospeed): Check for define value instead of existence.
1419 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
1420 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
1421 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
1422 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
1423 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
1426 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
1428 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
1429 (TIOCSER_TEMT): Likewise.
1430 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
1431 (TEOCSER_TEMT): Likewise.
1433 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
1436 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
1438 2019-01-02 Joseph Myers <joseph@codesourcery.com>
1440 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
1442 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
1444 * sysdeps/htl/pt-barrierattr-setpshared.c
1445 (pthread_barrierattr_setpshared): Add stub warning.
1446 * sysdeps/htl/pt-condattr-setpshared.c
1447 (pthread_condattr_setpshared): Likewise.
1448 * sysdeps/htl/pt-mutexattr-setpshared.c
1449 (pthread_mutexattr_setpshared): Likewise.
1450 * sysdeps/htl/pt-rwlockattr-setpshared.c
1451 (pthread_rwlockattr_setpshared): Likewise.
1452 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
1453 (pthread_mutexattr_setpshared): Likewise.
1455 2019-01-02 Joseph Myers <joseph@codesourcery.com>
1457 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
1458 constants to match with Linux 4.20.
1460 * sysdeps/mips/mips32/libm-test-ulps: Update.
1461 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1463 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
1466 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
1467 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
1468 than __typeof (...) for the a_ptr variable.
1470 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1472 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
1473 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
1474 * libio/Makefile (tests): Add tst-sprintf-ub and
1476 (CFLAGS-tst-sprintf-ub.c): New variable.
1477 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
1478 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
1479 destination buffer and check for overflows in fortified mode.
1480 * libio/libioP.h (PRINTF_CHK): New macro.
1481 * libio/tst-sprintf-chk-ub.c: New file.
1482 * libio/tst-sprintf-ub.c: Likewise.
1484 2019-01-02 Florian Weimer <fweimer@redhat.com>
1487 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
1490 2019-01-02 Florian Weimer <fweimer@redhat.com>
1492 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
1494 2019-01-01 Joseph Myers <joseph@codesourcery.com>
1496 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
1499 * sysdeps/unix/sysv/linux/netpacket/packet.h
1500 (PACKET_IGNORE_OUTGOING): New macro.
1502 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
1505 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1507 (riscv_flush_icache): New syscall.
1509 * manual/texinfo.tex: Update to version 2018-12-28.17 with
1510 trailing whitespace removed.
1511 * scripts/config.guess: Update to version 2019-01-01.
1512 * scripts/config.sub: Update to version 2019-01-01.
1513 * scripts/move-if-change: Update from gnulib.
1515 * NEWS: Update copyright dates.
1516 * catgets/gencat.c (print_version): Likewise.
1517 * csu/version.c (banner): Likewise.
1518 * debug/catchsegv.sh: Likewise.
1519 * debug/pcprofiledump.c (print_version): Likewise.
1520 * debug/xtrace.sh (do_version): Likewise.
1521 * elf/ldconfig.c (print_version): Likewise.
1522 * elf/ldd.bash.in: Likewise.
1523 * elf/pldd.c (print_version): Likewise.
1524 * elf/sotruss.sh: Likewise.
1525 * elf/sprof.c (print_version): Likewise.
1526 * iconv/iconv_prog.c (print_version): Likewise.
1527 * iconv/iconvconfig.c (print_version): Likewise.
1528 * locale/programs/locale.c (print_version): Likewise.
1529 * locale/programs/localedef.c (print_version): Likewise.
1530 * login/programs/pt_chown.c (print_version): Likewise.
1531 * malloc/memusage.sh (do_version): Likewise.
1532 * malloc/memusagestat.c (print_version): Likewise.
1533 * malloc/mtrace.pl: Likewise.
1534 * manual/libc.texinfo: Likewise.
1535 * nptl/version.c (banner): Likewise.
1536 * nscd/nscd.c (print_version): Likewise.
1537 * nss/getent.c (print_version): Likewise.
1538 * nss/makedb.c (print_version): Likewise.
1539 * posix/getconf.c (main): Likewise.
1540 * scripts/test-installation.pl: Likewise.
1541 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1543 * All files with FSF copyright notices: Update copyright dates
1544 using scripts/update-copyrights.
1545 * locale/programs/charmap-kw.h: Regenerated.
1546 * locale/programs/locfile-kw.h: Likewise.
1548 2018-12-31 Joseph Myers <joseph@codesourcery.com>
1550 * timezone/zdump.c: Update from tzcode 2018i.
1551 * timezone/zic.c: Likewise.
1553 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
1555 regex: improve Gnulib port to AIX
1556 From the glibc point of view, this removes duplicate macro
1557 definitions and is obviously safe.
1558 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
1559 * posix/regex_internal.h:
1560 (__attribute__, __attribute_warn_unused_result__):
1561 Remove; already defined elsewhere.
1563 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
1566 * malloc/malloc.c (_int_realloc): Always call memcpy for the
1567 copying operation. (ncopies had the wrong type, resulting in an
1568 integer wraparound and too few elements being copied.)
1570 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
1573 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
1574 <asm/syscalls.h> exists with __has_include__ before including it.
1576 2018-12-31 Joseph Myers <joseph@codesourcery.com>
1578 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1581 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
1583 * hurd/lookup-retry: Include <unistd.h>.
1584 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
1585 Release it on return. Handle "pid" magical lookup retry.
1587 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
1590 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
1591 (t_fmt_ampm): Likewise.
1592 * localedata/locales/aa_ER (t_fmt): Likewise.
1593 (t_fmt_ampm): Likewise.
1594 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
1595 (t_fmt_ampm): Likewise.
1596 * localedata/locales/aa_ET (t_fmt): Likewise.
1597 (t_fmt_ampm): Likewise.
1598 * localedata/locales/am_ET (t_fmt): Likewise.
1599 (t_fmt_ampm): Likewise.
1600 * localedata/locales/byn_ER (t_fmt): Likewise.
1601 (t_fmt_ampm): Likewise.
1602 * localedata/locales/om_ET (t_fmt): Likewise.
1603 (t_fmt_ampm): Likewise.
1604 * localedata/locales/sid_ET (t_fmt): Likewise.
1605 (t_fmt_ampm): Likewise.
1606 * localedata/locales/so_DJ (t_fmt): Likewise.
1607 (t_fmt_ampm): Likewise.
1608 * localedata/locales/so_ET (t_fmt): Likewise.
1609 (t_fmt_ampm): Likewise.
1610 * localedata/locales/so_SO (t_fmt): Likewise.
1611 (t_fmt_ampm): Likewise.
1612 * localedata/locales/ti_ER (t_fmt): Likewise.
1613 (t_fmt_ampm): Likewise.
1614 * localedata/locales/ti_ET (t_fmt): Likewise.
1615 (t_fmt_ampm): Likewise.
1616 * localedata/locales/tig_ER (t_fmt): Likewise.
1617 (t_fmt_ampm): Likewise.
1618 * localedata/locales/wal_ET (t_fmt): Likewise.
1619 (t_fmt_ampm): Likewise.
1621 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
1622 * localedata/locales/ar_IN (t_fmt): Likewise.
1623 * localedata/locales/bhb_IN (t_fmt): Likewise.
1624 * localedata/locales/bho_IN (t_fmt): Likewise.
1625 * localedata/locales/bi_VU (t_fmt): Likewise.
1626 * localedata/locales/bn_BD (t_fmt): Likewise.
1627 * localedata/locales/bn_IN (t_fmt): Likewise.
1628 * localedata/locales/brx_IN (t_fmt): Likewise.
1629 * localedata/locales/doi_IN (t_fmt): Likewise.
1630 * localedata/locales/en_HK (t_fmt): Likewise.
1631 (t_fmt_ampm): Likewise.
1632 * localedata/locales/en_IN (t_fmt): Likewise.
1633 * localedata/locales/en_PH (t_fmt): Likewise.
1634 * localedata/locales/gu_IN (t_fmt): Likewise.
1635 * localedata/locales/hi_IN (t_fmt): Likewise.
1636 * localedata/locales/hif_FJ (t_fmt): Likewise.
1637 * localedata/locales/hne_IN (t_fmt): Likewise.
1638 * localedata/locales/kn_IN (t_fmt): Likewise.
1639 * localedata/locales/kok_IN (t_fmt): Likewise.
1640 * localedata/locales/ks_IN (t_fmt): Likewise.
1641 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
1642 * localedata/locales/mag_IN (t_fmt): Likewise.
1643 * localedata/locales/mai_IN (t_fmt): Likewise.
1644 * localedata/locales/mjw_IN (t_fmt): Likewise.
1645 * localedata/locales/ml_IN (t_fmt): Likewise.
1646 * localedata/locales/mni_IN (t_fmt): Likewise.
1647 * localedata/locales/mr_IN (t_fmt): Likewise.
1648 * localedata/locales/ms_MY (t_fmt): Likewise.
1649 * localedata/locales/pa_IN (t_fmt): Likewise.
1650 * localedata/locales/raj_IN (t_fmt): Likewise.
1651 * localedata/locales/sa_IN (t_fmt): Likewise.
1652 * localedata/locales/sat_IN (t_fmt): Likewise.
1653 * localedata/locales/sd_IN (t_fmt): Likewise.
1654 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
1655 * localedata/locales/tcy_IN (t_fmt): Likewise.
1656 * localedata/locales/the_NP (t_fmt): Likewise.
1657 * localedata/locales/to_TO (t_fmt): Likewise.
1658 * localedata/locales/ur_IN (t_fmt): Likewise.
1660 * localedata/locales/hif_FJ (d_t_fmt): Set to
1661 "%A %d %b %Y %I:%M:%S %p".
1662 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
1664 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
1665 * localedata/locales/ar_BH (t_fmt): Likewise.
1666 * localedata/locales/ar_DZ (t_fmt): Likewise.
1667 * localedata/locales/ar_EG (t_fmt): Likewise.
1668 * localedata/locales/ar_IQ (t_fmt): Likewise.
1669 * localedata/locales/ar_JO (t_fmt): Likewise.
1670 * localedata/locales/ar_KW (t_fmt): Likewise.
1671 * localedata/locales/ar_LB (t_fmt): Likewise.
1672 * localedata/locales/ar_LY (t_fmt): Likewise.
1673 * localedata/locales/ar_OM (t_fmt): Likewise.
1674 * localedata/locales/ar_QA (t_fmt): Likewise.
1675 * localedata/locales/ar_SD (t_fmt): Likewise.
1676 * localedata/locales/ar_SS (t_fmt): Likewise.
1677 * localedata/locales/ar_SY (t_fmt): Likewise.
1678 * localedata/locales/ar_TN (t_fmt): Likewise.
1679 * localedata/locales/ar_YE (t_fmt): Likewise.
1681 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
1682 (t_fmt_ampm): Likewise.
1683 * localedata/locales/gez_ET (t_fmt): Likewise.
1684 (t_fmt_ampm): Likewise.
1686 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
1687 (t_fmt_ampm): Likewise.
1688 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
1690 * localedata/locales/zh_HK (t_fmt):
1691 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
1693 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
1694 because this locale does not use the 12-hour clock.
1695 (t_fmt): Set to "%Z %H:%M:%S".
1696 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
1698 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
1699 because this locale does not use the 12-hour clock.
1700 (t_fmt): Set to "%H:%M:%S %Z".
1701 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
1703 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
1704 because this locale does not use the 12-hour clock.
1705 (t_fmt): Set to "%T".
1706 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
1707 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
1709 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
1710 because this locale does not use the 12-hour clock.
1711 (t_fmt): Set to "%H:%M:%S %Z".
1712 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
1714 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
1715 because this locale does not use the 12-hour clock.
1716 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
1717 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
1719 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
1723 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
1724 (t_fmt_ampm): Likewise.
1725 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
1726 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
1727 (d_fmt): Set to "%-d.%-m.%y".
1729 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1731 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
1732 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
1733 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
1735 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
1736 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
1737 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
1739 * support/blob_repeat.c (check_mul_overflow_size_t,
1740 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
1742 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
1744 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
1746 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
1748 regex: simplify Gnulib port
1749 This simplifies the code, by removing stuff intended for porting
1750 to Gnulib but no longer needed there.
1751 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
1752 uses of libc_hidden_def, weak_alias.
1753 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
1754 _Restrict_ except for public-facing headers.
1755 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
1756 Remove; already defined elsewhere.
1757 * posix/regex.c, posix/regex_internal.h:
1758 Use __GNUC_PREREQ instead of rolling our own.
1759 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
1761 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
1763 * benchtests/bench-strlen.c (generic_strlen): New function.
1764 (memchr_strlen): New function.
1766 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1768 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
1769 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
1770 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
1772 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1774 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1776 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1778 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
1779 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
1780 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
1781 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
1782 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
1783 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
1784 <sysdeps/ieee754/flt-32/s_sincosf.c>.
1786 2018-12-21 Joseph Myers <joseph@codesourcery.com>
1789 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
1790 PLT reference in libc.so.
1791 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
1792 _Q_lltoq and _Q_qtod PLT references in libc.so.
1794 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
1796 * benchtests/bench-memchr.c: Cleanup defines.
1797 * benchtests/bench-memcmp.c: Likewise.
1798 * benchtests/bench-memset.c: Likewise.
1799 * benchtests/bench-memset-large.c: Likewise.
1800 * benchtests/bench-memset-walk.c: Likewise.
1801 * benchtests/bench-stpcpy.c: Likewise.
1802 * benchtests/bench-stpncpy.c: Likewise.
1803 * benchtests/bench-strcat.c: Likewise.
1804 * benchtests/bench-strchr.c: Likewise.
1805 * benchtests/bench-strcmp.c: Likewise.
1806 * benchtests/bench-strcpy.c: Likewise.
1807 * benchtests/bench-strcspn.c: Likewise.
1808 * benchtests/bench-string.h: Likewise.
1809 * benchtests/bench-strlen.c: Likewise.
1810 * benchtests/bench-strncat.c: Likewise.
1811 * benchtests/bench-strncmp.c: Likewise.
1812 * benchtests/bench-strncpy.c: Likewise.
1813 * benchtests/bench-strnlen.c: Likewise.
1814 * benchtests/bench-strpbrk.c: Likewise.
1815 * benchtests/bench-strrchr.c: Likewise.
1816 * benchtests/bench-strspn.c: Likewise.
1818 2018-12-21 Joseph Myers <joseph@codesourcery.com>
1820 * stdlib/longlong.h: Update from GCC.
1823 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
1824 * configure: Regenerated.
1825 * manual/install.texi (Tools for Compilation): Update minimum GCC
1827 * INSTALL: Regenerated.
1829 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
1831 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
1833 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
1835 * malloc/malloc.c (mremap_chunk): Additional checks.
1837 2018-12-21 Mao Han <han_mao@c-sky.com>
1839 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
1840 * scripts/build-many-glibcs.py: Add C-SKY targets.
1841 * sysdeps/csky/Implies: New file.
1842 * sysdeps/csky/Makefile: Likewise.
1843 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
1844 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
1845 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
1846 * sysdeps/csky/abiv2/memcmp.S: Likewise.
1847 * sysdeps/csky/abiv2/memcpy.S: Likewise.
1848 * sysdeps/csky/abiv2/memmove.S: Likewise.
1849 * sysdeps/csky/abiv2/memset.S: Likewise.
1850 * sysdeps/csky/abiv2/setjmp.S: Likewise.
1851 * sysdeps/csky/abiv2/start.S: Likewise.
1852 * sysdeps/csky/abiv2/strcmp.S: Likewise.
1853 * sysdeps/csky/abiv2/strcpy.S: Likewise.
1854 * sysdeps/csky/abiv2/strlen.S: Likewise.
1855 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
1856 * sysdeps/csky/abort-instr.h: Likewise.
1857 * sysdeps/csky/atomic-machine.h: Likewise.
1858 * sysdeps/csky/bits/endian.h: Likewise.
1859 * sysdeps/csky/bits/fenv.h: Likewise.
1860 * sysdeps/csky/bits/link.h: Likewise.
1861 * sysdeps/csky/bits/setjmp.h: Likewise.
1862 * sysdeps/csky/bsd-_setjmp.S: Likewise.
1863 * sysdeps/csky/bsd-setjmp.S: Likewise.
1864 * sysdeps/csky/configure: Likewise.
1865 * sysdeps/csky/configure.ac: Likewise.
1866 * sysdeps/csky/dl-machine.h: Likewise.
1867 * sysdeps/csky/dl-procinfo.c: Likewise.
1868 * sysdeps/csky/dl-procinfo.h: Likewise.
1869 * sysdeps/csky/dl-sysdep.h: Likewise.
1870 * sysdeps/csky/dl-tls.h: Likewise.
1871 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
1872 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
1873 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
1874 * sysdeps/csky/fpu/fegetenv.c: Likewise.
1875 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
1876 * sysdeps/csky/fpu/fegetmode.c: Likewise.
1877 * sysdeps/csky/fpu/fegetround.c: Likewise.
1878 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
1879 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
1880 * sysdeps/csky/fpu/fenv_private.h: Likewise.
1881 * sysdeps/csky/fpu/fesetenv.c: Likewise.
1882 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
1883 * sysdeps/csky/fpu/fesetmode.c: Likewise.
1884 * sysdeps/csky/fpu/fesetround.c: Likewise.
1885 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
1886 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
1887 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
1888 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
1889 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
1890 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
1891 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
1892 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
1893 * sysdeps/csky/fpu_control.h: Likewise.
1894 * sysdeps/csky/gccframe.h: Likewise.
1895 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
1896 * sysdeps/csky/ldsodefs.h: Likewise.
1897 * sysdeps/csky/libc-tls.c: Likewise.
1898 * sysdeps/csky/linkmap.h: Likewise.
1899 * sysdeps/csky/machine-gmon.h: Likewise.
1900 * sysdeps/csky/memusage.h: Likewise.
1901 * sysdeps/csky/nofpu/Implies: Likewise.
1902 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
1903 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
1904 * sysdeps/csky/nptl/Makefile: Likewise.
1905 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
1906 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
1907 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
1908 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
1909 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
1910 * sysdeps/csky/nptl/tls.h: Likewise.
1911 * sysdeps/csky/preconfigure: Likewise.
1912 * sysdeps/csky/sfp-machine.h: Likewise.
1913 * sysdeps/csky/sotruss-lib.c: Likewise.
1914 * sysdeps/csky/stackinfo.h: Likewise.
1915 * sysdeps/csky/sysdep.h: Likewise.
1916 * sysdeps/csky/tininess.h: Likewise.
1917 * sysdeps/csky/tst-audit.h: Likewise.
1918 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
1919 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
1920 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
1921 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
1922 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1923 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
1924 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1925 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
1926 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
1927 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
1928 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
1929 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
1930 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
1931 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
1932 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
1933 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
1934 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
1935 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
1936 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
1937 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
1938 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
1939 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
1940 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
1941 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
1942 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
1943 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
1944 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1945 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
1946 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
1947 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
1948 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
1949 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
1950 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
1951 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
1952 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
1953 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
1954 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
1955 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
1956 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
1957 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
1958 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
1959 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
1960 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
1961 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
1963 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
1965 * include/time.h (__difftime64): Add.
1966 * time/difftime.c (subtract): convert to 64-bit time.
1967 * time/difftime.c (__difftime64): Add.
1968 * time/difftime.c (__difftime): Wrap around __difftime64.
1970 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
1972 * manual/examples/add.c: Remove redundant "if not".
1973 * manual/examples/argp-ex1.c: Likewise.
1974 * manual/examples/argp-ex2.c: Likewise.
1975 * manual/examples/argp-ex3.c: Likewise.
1976 * manual/examples/argp-ex4.c: Likewise.
1977 * manual/examples/atexit.c: Likewise.
1978 * manual/examples/db.c: Likewise.
1979 * manual/examples/dir.c: Likewise.
1980 * manual/examples/dir2.c: Likewise.
1981 * manual/examples/execinfo.c: Likewise.
1982 * manual/examples/filecli.c: Likewise.
1983 * manual/examples/filesrv.c: Likewise.
1984 * manual/examples/fmtmsgexpl.c: Likewise.
1985 * manual/examples/genpass.c: Likewise.
1986 * manual/examples/inetcli.c: Likewise.
1987 * manual/examples/inetsrv.c: Likewise.
1988 * manual/examples/isockad.c: Likewise.
1989 * manual/examples/longopt.c: Likewise.
1990 * manual/examples/memopen.c: Likewise.
1991 * manual/examples/memstrm.c: Likewise.
1992 * manual/examples/mkdirent.c: Likewise.
1993 * manual/examples/mkfsock.c: Likewise.
1994 * manual/examples/mkisock.c: Likewise.
1995 * manual/examples/mygetpass.c: Likewise.
1996 * manual/examples/pipe.c: Likewise.
1997 * manual/examples/popen.c: Likewise.
1998 * manual/examples/rprintf.c: Likewise.
1999 * manual/examples/search.c: Likewise.
2000 * manual/examples/select.c: Likewise.
2001 * manual/examples/setjmp.c: Likewise.
2002 * manual/examples/sigh1.c: Likewise.
2003 * manual/examples/sigusr.c: Likewise.
2004 * manual/examples/stpcpy.c: Likewise.
2005 * manual/examples/strdupa.c: Likewise.
2006 * manual/examples/strftim.c: Likewise.
2007 * manual/examples/subopt.c: Likewise.
2008 * manual/examples/swapcontext.c: Likewise.
2009 * manual/examples/termios.c: Likewise.
2010 * manual/examples/testopt.c: Likewise.
2011 * manual/examples/testpass.c: Likewise.
2012 * manual/examples/timeval_subtract.c: Likewise.
2014 2018-12-19 Joseph Myers <joseph@codesourcery.com>
2016 * sysdeps/x86/fpu/math_private.h: New file.
2017 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
2019 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
2024 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2026 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
2027 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
2028 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
2029 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
2031 (_dl_show_auxv): Give a special treatment to
2032 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
2033 and AT_L3_CACHEGEOMETRY.
2034 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
2035 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
2036 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
2037 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
2039 2018-12-19 Andreas Schwab <schwab@suse.de>
2041 * nscd/connections.c (check_use): Don't abort on invalid len.
2043 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
2045 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
2046 values in the 64bit value cases.
2048 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
2054 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
2060 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
2063 (__gmtime64_r): Add.
2065 (__gmtime64_r): Add.
2066 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
2072 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
2075 (__localtime64_r): Add.
2077 (__localtime64_r): Add.
2078 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
2080 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2082 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
2083 kernel_sigction definition.
2085 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
2087 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
2089 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
2090 __syscall_rt_sigaction.
2091 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
2092 (kernel_sigaction): Use Linux generic defintion.
2094 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
2095 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
2096 (__syscall_rt_sigaction): Remove implementation.
2097 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
2099 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
2100 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
2101 INTERNAL_SYSCALL): Remove definitions.
2102 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
2103 action and signal set size.
2104 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
2105 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
2107 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2108 James Clarke <jrtc27@jrtc27.com>
2111 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
2112 Define if SA_RESTORER is defined.
2113 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
2114 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
2116 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
2117 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
2119 (HAS_SA_RESTORER): Define.
2120 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
2121 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
2122 (HAS_SA_RESTORER): Define.
2123 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
2124 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
2125 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
2126 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
2127 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2129 2018-12-18 Joseph Myers <joseph@codesourcery.com>
2131 * sysdeps/unix/sysv/linux/kernel-features.h
2132 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
2133 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2134 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
2135 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2136 (__ASSUME_ST_INO_64_BIT): Likewise.
2137 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2138 <kernel-features.h>.
2139 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2140 Remove conditional code.
2141 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2142 <kernel-features.h>.
2143 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2144 Remove conditional code.
2145 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
2146 <kernel-features.h>.
2147 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2148 Remove conditional code.
2149 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
2150 <kernel-features.h>.
2151 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
2152 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
2154 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2156 * sysdeps/s390/multiarch/ifunc-resolve.h
2157 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
2158 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
2159 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
2160 Delete macro definition.
2161 (s390_libc_ifunc_init): Rename to
2162 s390_libc_ifunc_expr_stfle_init.
2163 * sysdeps/s390/bzero: Use
2164 s390_libc_ifunc_expr_stfle_init instead of
2165 s390_libc_ifunc_init.
2166 * sysdeps/s390/memcmp.c: Likewise.
2167 * sysdeps/s390/memcpy.c: Likewise.
2168 * sysdeps/s390/mempcpy.c: Likewise.
2169 * sysdeps/s390/memset.c: Likewise.
2171 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2173 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
2174 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
2176 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2178 * sysdeps/s390/multiarch/Makefile
2179 (sysdep_routines): Remove wmemcmp variants.
2180 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
2181 * sysdeps/s390/multiarch/ifunc-impl-list.c
2182 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
2183 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
2184 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
2185 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
2186 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
2187 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
2188 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
2189 * sysdeps/s390/ifunc-wmemcmp.h: New file.
2191 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2193 * sysdeps/s390/multiarch/Makefile
2194 (sysdep_routines): Remove wmemset variants.
2195 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
2196 * sysdeps/s390/multiarch/ifunc-impl-list.c
2197 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
2198 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
2199 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
2200 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
2201 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
2202 * sysdeps/s390/multiarch/wmemset.c: Move to ...
2203 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
2204 * sysdeps/s390/ifunc-wmemset.h: New file.
2206 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2208 * sysdeps/s390/multiarch/Makefile
2209 (sysdep_routines): Remove wmemchr variants.
2210 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
2211 * sysdeps/s390/multiarch/ifunc-impl-list.c
2212 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
2213 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
2214 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
2215 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
2216 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
2217 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
2218 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
2219 * sysdeps/s390/ifunc-wmemchr.h: New file.
2221 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2223 * sysdeps/s390/multiarch/Makefile
2224 (sysdep_routines): Remove wcscspn variants.
2225 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
2226 * sysdeps/s390/multiarch/ifunc-impl-list.c
2227 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
2228 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
2229 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
2230 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
2231 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
2232 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
2233 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
2234 * sysdeps/s390/ifunc-wcscspn.h: New file.
2236 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2238 * sysdeps/s390/multiarch/Makefile
2239 (sysdep_routines): Remove wcspbrk variants.
2240 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
2241 * sysdeps/s390/multiarch/ifunc-impl-list.c
2242 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
2243 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
2244 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
2245 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
2246 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
2247 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
2248 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
2249 * sysdeps/s390/ifunc-wcspbrk.h: New file.
2251 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2253 * sysdeps/s390/multiarch/Makefile
2254 (sysdep_routines): Remove wcsspn variants.
2255 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
2256 * sysdeps/s390/multiarch/ifunc-impl-list.c
2257 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
2258 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
2259 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
2260 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
2261 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
2262 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
2263 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
2264 * sysdeps/s390/ifunc-wcsspn.h: New file.
2266 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2268 * sysdeps/s390/multiarch/Makefile
2269 (sysdep_routines): Remove wcsrchr variants.
2270 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
2271 * sysdeps/s390/multiarch/ifunc-impl-list.c
2272 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
2273 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
2274 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
2275 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
2276 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
2277 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
2278 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
2279 * sysdeps/s390/ifunc-wcsrchr.h: New file.
2281 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2283 * sysdeps/s390/multiarch/Makefile
2284 (sysdep_routines): Remove wcschrnul variants.
2285 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
2286 * sysdeps/s390/multiarch/ifunc-impl-list.c
2287 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
2288 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
2289 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
2290 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
2291 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
2292 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
2293 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
2294 * sysdeps/s390/ifunc-wcschrnul.h: New file.
2296 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2298 * sysdeps/s390/multiarch/Makefile
2299 (sysdep_routines): Remove wcschr variants.
2300 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
2301 * sysdeps/s390/multiarch/ifunc-impl-list.c
2302 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
2303 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
2304 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
2305 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
2306 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
2307 * sysdeps/s390/multiarch/wcschr.c: Move to ...
2308 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
2309 * sysdeps/s390/ifunc-wcschr.h: New file.
2311 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2313 * sysdeps/s390/multiarch/Makefile
2314 (sysdep_routines): Remove wcsncmp variants.
2315 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
2316 * sysdeps/s390/multiarch/ifunc-impl-list.c
2317 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
2318 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
2319 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
2320 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
2321 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
2322 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
2323 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
2324 * sysdeps/s390/ifunc-wcsncmp.h: New file.
2326 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2328 * sysdeps/s390/multiarch/Makefile
2329 (sysdep_routines): Remove wcscmp variants.
2330 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
2331 * sysdeps/s390/multiarch/ifunc-impl-list.c
2332 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
2333 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
2334 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
2335 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
2336 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
2337 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
2338 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
2339 * sysdeps/s390/ifunc-wcscmp.h: New file.
2341 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2343 * sysdeps/s390/multiarch/Makefile
2344 (sysdep_routines): Remove wcsncat variants.
2345 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
2346 * sysdeps/s390/multiarch/ifunc-impl-list.c
2347 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
2348 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
2349 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
2350 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
2351 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
2352 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
2353 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
2354 * sysdeps/s390/ifunc-wcsncat.h: New file.
2356 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2358 * sysdeps/s390/multiarch/Makefile
2359 (sysdep_routines): Remove wcscat variants.
2360 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
2361 * sysdeps/s390/multiarch/ifunc-impl-list.c
2362 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
2363 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
2364 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
2365 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
2366 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
2367 * sysdeps/s390/multiarch/wcscat.c: Move to ...
2368 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
2369 * sysdeps/s390/ifunc-wcscat.h: New file.
2371 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2373 * sysdeps/s390/multiarch/Makefile
2374 (sysdep_routines): Remove wcpncpy variants.
2375 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
2376 * sysdeps/s390/multiarch/ifunc-impl-list.c
2377 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
2378 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
2379 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
2380 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
2381 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
2382 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
2383 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
2384 * sysdeps/s390/ifunc-wcpncpy.h: New file.
2386 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2388 * sysdeps/s390/multiarch/Makefile
2389 (sysdep_routines): Remove wcsncpy variants.
2390 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
2391 * sysdeps/s390/multiarch/ifunc-impl-list.c
2392 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
2393 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
2394 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
2395 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
2396 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
2397 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
2398 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
2399 * sysdeps/s390/ifunc-wcsncpy.h: New file.
2401 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2403 * sysdeps/s390/multiarch/Makefile
2404 (sysdep_routines): Remove wcpcpy variants.
2405 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
2406 * sysdeps/s390/multiarch/ifunc-impl-list.c
2407 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
2408 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
2409 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
2410 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
2411 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
2412 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
2413 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
2414 * sysdeps/s390/ifunc-wcpcpy.h: New file.
2416 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2418 * sysdeps/s390/multiarch/Makefile
2419 (sysdep_routines): Remove wcscpy variants.
2420 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
2421 * sysdeps/s390/multiarch/ifunc-impl-list.c
2422 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
2423 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
2424 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
2425 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
2426 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
2427 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
2428 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
2429 * sysdeps/s390/ifunc-wcscpy.h: New file.
2431 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2433 * sysdeps/s390/multiarch/Makefile
2434 (sysdep_routines): Remove wcsnlen variants.
2435 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
2436 * sysdeps/s390/multiarch/ifunc-impl-list.c
2437 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
2438 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
2439 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
2440 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
2441 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
2442 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
2443 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
2444 * sysdeps/s390/ifunc-wcsnlen.h: New file.
2446 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2448 * sysdeps/s390/multiarch/Makefile
2449 (sysdep_routines): Remove wcslen variants.
2450 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
2451 * sysdeps/s390/multiarch/ifunc-impl-list.c
2452 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
2453 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
2454 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
2455 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
2456 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
2457 * sysdeps/s390/multiarch/wcslen.c: Move to ...
2458 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
2459 * sysdeps/s390/ifunc-wcslen.h: New file.
2461 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2463 * sysdeps/s390/multiarch/Makefile
2464 (sysdep_routines): Remove memrchr variants.
2465 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
2466 * sysdeps/s390/multiarch/ifunc-impl-list.c
2467 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
2468 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
2469 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
2470 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
2471 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
2472 * sysdeps/s390/multiarch/memrchr.c: Move to ...
2473 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
2474 * sysdeps/s390/ifunc-memrchr.h: New file.
2476 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2478 * sysdeps/s390/multiarch/Makefile
2479 (sysdep_routines): Remove memccpy variants.
2480 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
2481 * sysdeps/s390/multiarch/ifunc-impl-list.c
2482 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
2483 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
2484 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
2485 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
2486 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
2487 * sysdeps/s390/multiarch/memccpy.c: Move to ...
2488 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
2489 * sysdeps/s390/ifunc-memccpy.h: New file.
2491 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2493 * sysdeps/s390/multiarch/Makefile
2494 (sysdep_routines): Remove rawmemchr variants.
2495 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
2496 * sysdeps/s390/multiarch/ifunc-impl-list.c
2497 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
2498 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
2499 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
2500 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
2501 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
2502 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
2503 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
2504 * sysdeps/s390/ifunc-rawmemchr.h: New file.
2506 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2508 * sysdeps/s390/multiarch/Makefile
2509 (sysdep_routines): Remove memchr variants.
2510 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
2511 * sysdeps/s390/multiarch/ifunc-impl-list.c
2512 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
2513 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
2514 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
2515 * sysdeps/s390/multiarch/memchr.c: Move to ...
2516 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
2517 * sysdeps/s390/ifunc-memchr.h: New file.
2518 * sysdeps/s390/s390-64/memchr.S: Move to ...
2519 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
2520 for 31/64bit and ifunc handling.
2521 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
2522 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
2523 * sysdeps/s390/s390-32/memchr.S: Likewise.
2525 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2527 * sysdeps/s390/multiarch/Makefile
2528 (sysdep_routines): Remove strcspn variants.
2529 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
2530 * sysdeps/s390/multiarch/ifunc-impl-list.c
2531 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
2532 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
2533 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
2534 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
2535 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
2536 * sysdeps/s390/multiarch/strcspn.c: Move to ...
2537 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
2538 * sysdeps/s390/ifunc-strcspn.h: New file.
2540 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2542 * sysdeps/s390/multiarch/Makefile
2543 (sysdep_routines): Remove strpbrk variants.
2544 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
2545 * sysdeps/s390/multiarch/ifunc-impl-list.c
2546 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
2547 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
2548 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
2549 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
2550 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
2551 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
2552 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
2553 * sysdeps/s390/ifunc-strpbrk.h: New file.
2555 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2557 * sysdeps/s390/multiarch/Makefile
2558 (sysdep_routines): Remove strspn variants.
2559 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
2560 * sysdeps/s390/multiarch/ifunc-impl-list.c
2561 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
2562 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
2563 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
2564 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
2565 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
2566 * sysdeps/s390/multiarch/strspn.c: Move to ...
2567 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
2568 * sysdeps/s390/ifunc-strspn.h: New file.
2570 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2572 * sysdeps/s390/multiarch/Makefile
2573 (sysdep_routines): Remove strrchr variants.
2574 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
2575 * sysdeps/s390/multiarch/ifunc-impl-list.c
2576 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
2577 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
2578 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
2579 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
2580 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
2581 * sysdeps/s390/multiarch/strrchr.c: Move to ...
2582 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
2583 * sysdeps/s390/ifunc-strrchr.h: New file.
2585 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2587 * sysdeps/s390/multiarch/Makefile
2588 (sysdep_routines): Remove strchrnul variants.
2589 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
2590 * sysdeps/s390/multiarch/ifunc-impl-list.c
2591 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
2592 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
2593 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
2594 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
2595 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
2596 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
2597 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
2598 * sysdeps/s390/ifunc-strchrnul.h: New file.
2600 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2602 * sysdeps/s390/multiarch/Makefile
2603 (sysdep_routines): Remove strchr variants.
2604 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
2605 * sysdeps/s390/multiarch/ifunc-impl-list.c
2606 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
2607 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
2608 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
2609 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
2610 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
2611 * sysdeps/s390/multiarch/strchr.c: Move to ...
2612 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
2613 * sysdeps/s390/ifunc-strchr.h: New file.
2615 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2617 * sysdeps/s390/multiarch/Makefile
2618 (sysdep_routines): Remove strncmp variants.
2619 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
2620 * sysdeps/s390/multiarch/ifunc-impl-list.c
2621 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
2622 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
2623 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
2624 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
2625 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
2626 * sysdeps/s390/multiarch/strncmp.c: Move to ...
2627 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
2628 * sysdeps/s390/ifunc-strncmp.h: New file.
2630 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2632 * sysdeps/s390/multiarch/Makefile
2633 (sysdep_routines): Remove strcmp variants.
2634 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
2635 * sysdeps/s390/multiarch/ifunc-impl-list.c
2636 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
2637 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
2638 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
2639 * sysdeps/s390/multiarch/strcmp.c: Move to ...
2640 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
2641 * sysdeps/s390/ifunc-strcmp.h: New file.
2642 * sysdeps/s390/s390-64/strcmp.S: Move to ...
2643 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
2644 for 31/64bit and ifunc handling.
2645 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
2646 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
2647 * sysdeps/s390/s390-32/strcmp.S: Likewise.
2649 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2651 * sysdeps/s390/multiarch/Makefile
2652 (sysdep_routines): Remove strncat variants.
2653 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
2654 * sysdeps/s390/multiarch/ifunc-impl-list.c
2655 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
2656 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
2657 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
2658 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
2659 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
2660 * sysdeps/s390/multiarch/strncat.c: Move to ...
2661 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
2662 * sysdeps/s390/ifunc-strncat.h: New file.
2664 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2666 * sysdeps/s390/multiarch/Makefile
2667 (sysdep_routines): Remove strcat variants.
2668 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
2669 * sysdeps/s390/multiarch/ifunc-impl-list.c
2670 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
2671 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
2672 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
2673 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
2674 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
2675 * sysdeps/s390/multiarch/strcat.c: Move to ...
2676 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
2677 * sysdeps/s390/ifunc-strcat.h: New file.
2679 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2681 * sysdeps/s390/multiarch/Makefile
2682 (sysdep_routines): Remove stpncpy variants.
2683 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
2684 * sysdeps/s390/multiarch/ifunc-impl-list.c
2685 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
2686 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
2687 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
2688 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
2689 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
2690 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
2691 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
2692 * sysdeps/s390/ifunc-stpncpy.h: New file.
2694 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2696 * sysdeps/s390/multiarch/Makefile
2697 (sysdep_routines): Remove strncpy variants.
2698 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
2699 * sysdeps/s390/multiarch/ifunc-impl-list.c
2700 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
2701 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
2702 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
2703 * sysdeps/s390/multiarch/strncpy.c: Move to ...
2704 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
2705 * sysdeps/s390/ifunc-strncpy.h: New file.
2706 * sysdeps/s390/s390-64/strncpy.S: Move to ...
2707 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
2708 and adjust ifunc handling.
2709 * sysdeps/s390/s390-32/strncpy.S: Move to ...
2710 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
2711 and adjust ifunc handling.
2712 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
2713 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
2715 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2717 * sysdeps/s390/multiarch/Makefile
2718 (sysdep_routines): Remove stpcpy variants.
2719 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
2720 * sysdeps/s390/multiarch/ifunc-impl-list.c
2721 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
2722 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
2723 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
2724 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
2725 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
2726 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
2727 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
2728 * sysdeps/s390/ifunc-stpcpy.h: New file.
2730 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2732 * sysdeps/s390/multiarch/Makefile
2733 (sysdep_routines): Remove strcpy variants.
2734 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
2735 * sysdeps/s390/multiarch/ifunc-impl-list.c
2736 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
2737 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
2738 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
2739 * sysdeps/s390/multiarch/strcpy.c: Move to ...
2740 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
2741 * sysdeps/s390/ifunc-strcpy.h: New file.
2742 * sysdeps/s390/s390-64/strcpy.S: Move to ...
2743 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
2744 for 31/64bit and ifunc handling.
2745 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
2746 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
2747 * sysdeps/s390/s390-32/strcpy.S: Likewise.
2749 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2751 * sysdeps/s390/multiarch/Makefile
2752 (sysdep_routines): Remove strnlen variants.
2753 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
2754 * sysdeps/s390/multiarch/ifunc-impl-list.c
2755 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
2756 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
2757 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
2758 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
2759 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
2760 * sysdeps/s390/multiarch/strnlen.c: Move to ...
2761 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
2762 * sysdeps/s390/ifunc-strnlen.h: New file.
2764 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2766 * sysdeps/s390/multiarch/Makefile
2767 (sysdep_routines): Remove strlen variants.
2768 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
2769 * sysdeps/s390/multiarch/ifunc-impl-list.c
2770 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
2771 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
2772 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
2773 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
2774 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
2775 * sysdeps/s390/multiarch/strlen.c: Move to ...
2776 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
2777 * sysdeps/s390/ifunc-strlen.h: New file.
2779 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2781 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
2782 * sysdeps/s390/multiarch/ifunc-impl-list.c
2783 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
2784 * sysdeps/s390/ifunc-memmem.h: New file.
2785 * sysdeps/s390/memmem.c: Likewise.
2786 * sysdeps/s390/memmem-c.c: Likewise.
2787 * sysdeps/s390/memmem-vx.c: Likewise.
2789 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2791 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
2792 * sysdeps/s390/multiarch/ifunc-impl-list.c
2793 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
2794 * sysdeps/s390/ifunc-strstr.h: New file.
2795 * sysdeps/s390/strstr.c: Likewise.
2796 * sysdeps/s390/strstr-c.c: Likewise.
2797 * sysdeps/s390/strstr-vx.c: Likewise.
2799 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2801 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
2802 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
2803 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
2804 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
2806 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
2807 * sysdeps/s390/memmove-c.c: New file.
2808 * sysdeps/s390/memmove.c: Likewise.
2809 * sysdeps/s390/multiarch/ifunc-impl-list.c
2810 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
2812 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2814 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
2815 * sysdeps/s390/configure.ac: Add check for z13 support.
2816 * sysdeps/s390/configure: Regenerated.
2818 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2820 * sysdeps/s390/memcopy.h: New file.
2822 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2824 * sysdeps/s390/s390-32/bcopy.S: Remove.
2825 * sysdeps/s390/s390-64/bcopy.S: Likewise.
2827 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2829 * sysdeps/s390/ifunc-memcpy.h: New File.
2830 * sysdeps/s390/memcpy.S: Move to ...
2831 * sysdeps/s390/memcpy-z900.S ... here.
2832 Move implementations from memcpy-s390x.s to here.
2833 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
2834 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2835 Remove memcpy/mempcpy variants.
2836 * sysdeps/s390/Makefile (sysdep_routines):
2837 Add memcpy/mempcpy variants.
2838 * sysdeps/s390/multiarch/ifunc-impl-list.c
2839 (__libc_ifunc_impl_list): Adjust ifunc variants for
2841 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
2843 * sysdeps/s390/memcpy.c: ... here.
2844 Adjust ifunc variants for memcpy.
2845 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
2846 * sysdeps/s390/mempcpy.c: ... here.
2847 Adjust ifunc variants for mempcpy.
2848 * sysdeps/s390/mempcpy.S: Delete file.
2850 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2852 * sysdeps/s390/s390-64/memcpy.S: Move to ...
2853 * sysdeps/s390/memcpy.S: ... here.
2854 Adjust to be usable for 31/64bit.
2855 * sysdeps/s390/s390-32/memcpy.S: Delete File.
2856 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
2857 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
2858 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2859 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
2860 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
2861 Adjust to be usable for 31/64bit.
2862 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
2863 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
2864 * sysdeps/s390/multiarch/memcpy.c: ... here.
2865 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
2867 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2869 * sysdeps/s390/ifunc-memcmp.h: New File.
2870 * sysdeps/s390/memcmp.S: Move to ...
2871 * sysdeps/s390/memcmp-z900.S ... here.
2872 Move implementations from memcmp-s390x.s to here.
2873 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
2874 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2875 Remove memcmp variants.
2876 * sysdeps/s390/Makefile (sysdep_routines):
2877 Add memcmp variants.
2878 * sysdeps/s390/multiarch/ifunc-impl-list.c
2879 (__libc_ifunc_impl_list): Adjust ifunc variants for
2881 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
2883 * sysdeps/s390/memcmp.c: ... here.
2884 Adjust ifunc variants for memcmp.
2886 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2888 * sysdeps/s390/s390-64/memcmp.S: Move to ...
2889 * sysdeps/s390/memcmp.S: ... here.
2890 Adjust to be usable for 31/64bit.
2891 * sysdeps/s390/s390-32/memcmp.S: Delete File.
2892 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
2893 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2895 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2896 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
2897 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
2898 Adjust to be usable for 31/64bit.
2899 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
2900 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
2901 * sysdeps/s390/multiarch/memcmp.c: ... here.
2902 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
2904 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2906 * sysdeps/s390/s390-32/bzero.S: Delete file.
2907 * sysdeps/s390/s390-64/bzero.S: Likewise.
2908 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
2909 * sysdeps/s390/bzero.c: New file.
2910 * sysdeps/s390/memset-z900.S: Add bzero entry points.
2911 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
2912 * sysdeps/s390/multiarch/ifunc-impl-list.c
2913 (__libc_ifunc_impl_list): Add bzero ifunc variants.
2915 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2917 * sysdeps/s390/ifunc-memset.h: New File.
2918 * sysdeps/s390/memset.S: Move to ...
2919 * sysdeps/s390/memset-z900.S ... here.
2920 Move implementations from memset-s390x.s to here.
2921 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
2922 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2923 Remove memset variants.
2924 * sysdeps/s390/Makefile (sysdep_routines):
2925 Add memset variants.
2926 * sysdeps/s390/multiarch/ifunc-impl-list.c
2927 (__libc_ifunc_impl_list): Adjust ifunc variants for
2929 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
2931 * sysdeps/s390/memset.c: ... here.
2932 Adjust ifunc variants for memset.
2934 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2936 * sysdeps/s390/s390-64/memset.S: Move to ...
2937 * sysdeps/s390/memset.S: ... here.
2938 Adjust to be usable for 31/64bit.
2939 * sysdeps/s390/s390-32/memset.S: Delete File.
2940 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
2941 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2943 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2944 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
2945 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
2946 Adjust to be usable for 31/64bit.
2947 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
2948 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
2949 * sysdeps/s390/multiarch/memset.c: ... here.
2950 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
2952 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2954 * sysdeps/s390/multiarch/ifunc-resolve.h
2955 (s390_libc_ifunc_init, s390_libc_ifunc,
2956 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
2958 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2960 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
2961 * sysdeps/s390/configure.ac: Add check for z10 support.
2962 * sysdeps/s390/configure: Regenerated.
2964 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
2966 * sysdeps/i386/atomic-machine.h: Merged with ...
2967 * sysdeps/x86_64/atomic-machine.h: To ...
2968 * sysdeps/x86/atomic-machine.h: This. New file.
2970 2018-12-18 Florian Weimer <fweimer@redhat.com>
2972 Rewrite locale/gen-translit.pl in Python.
2973 * locale/Makefile (generated): Add C-translit.h.
2974 (before-compile): Add $(objpfx)C-translit.h.
2975 (C-translit.h): Move to $(objpfx). Create target directory.
2976 Build using Python script.
2977 * locale/gen-translit.py: New file.
2978 * locale/gen-translit.pl: Remove file.
2979 * locale/C-translit.h.in: Change comment character to '#' for
2980 easier parsing without a C preprocessor.
2981 * locale/C-translit.h: Remove generated file.
2982 * manual/install.texi (Tools for Compilation): Do not mention
2984 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
2985 Remove locale/C-translit.h.
2986 * scripts/update-copyrights: Likewise.
2987 * INSTALL: Regenerate.
2989 2018-12-18 Florian Weimer <fweimer@redhat.com>
2992 * localedata/locales/bi_VU: Remove executable bit from file.
2994 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
2997 (__localtime64): Add.
2998 * manual/maint.texi: Document Y2038 symbol handling.
3000 (__localtime64): Add.
3001 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
3003 2018-12-17 Joseph Myers <joseph@codesourcery.com>
3005 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
3008 * scripts/glibcextract.py (compare_macro_consts): Take parameters
3009 to allow extra macros from first or second sources.
3010 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
3011 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
3012 (tests-special): Add $(objpfx)tst-mman-consts.out.
3013 ($(objpfx)tst-mman-consts.out): New makefile target.
3015 2018-12-17 Mao Han <han_mao@c-sky.com>
3017 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
3018 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
3019 without stat64 system call support.
3020 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
3021 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
3022 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3023 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
3024 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
3025 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
3026 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
3027 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
3028 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
3029 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
3030 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
3032 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
3034 regex: fix storage-exhaustion error
3036 * posix/regexec.c (get_subexp):
3037 Do not continue if storage is exhausted.
3039 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
3041 regex: fix heap-use-after-free error
3043 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
3044 https://debbugs.gnu.org/32592
3045 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
3046 call extend_buffers which reallocates the re_string_t internal buffer.
3047 Local variable 'buf' was not updated in such case, resulting in
3049 * posix/regexec.c (get_subexp): Update 'buf' after call to
3052 2018-12-15 Florian Weimer <fweimer@redhat.com>
3054 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
3055 (minimum_stride_size): Use it.
3056 (support_blob_repeat_allocate): Likewise.
3058 2018-12-14 Joseph Myers <joseph@codesourcery.com>
3060 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
3065 2018-12-14 Florian Weimer <fweimer@redhat.com>
3067 * manual/process.texi (Process Creation Concepts): Remove
3068 documentation of process (ID) lifetime. List more process
3069 creation functions. Reference Process Identification section.
3070 (Process Identification): Add information about process ID
3071 lifetime. Describe Linux thread/task IDs.
3072 * manual/signal.texi (Signaling Another Process): Mention that the
3073 signal is always sent to the process.
3075 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3077 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
3078 and tst-ldbl-efgcvt.
3079 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
3080 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
3081 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
3082 (fcvt_tests, output_error, output_r_error, do_test): Use the
3083 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
3084 select the type of floating-point variables and arguments; to
3085 produce extra tests for double and conversion specifiers for
3086 printf; and to set the names of called functions.
3087 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
3088 in tst-efgcvt-template.c.
3089 * misc/tst-ldbl-efgcvt.c: Likewise.
3091 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
3093 * nss/Makefile (tst-nss-test3.out): New rule.
3095 2018-12-13 Joseph Myers <joseph@codesourcery.com>
3097 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
3100 2018-12-13 fanjinke <fanjinke@hygon.cn>
3102 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
3105 2018-12-13 Andreas Schwab <schwab@suse.de>
3108 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
3109 (__pthread_rwlock_rdlock_full): Update expected value for
3110 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
3111 * nptl/tst-rwlock-pwn.c: New file.
3112 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3114 2018-12-12 Joseph Myers <joseph@codesourcery.com>
3116 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
3119 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3121 * benchtests/scripts/compare_bench.py (do_compare): write to
3122 stderr in casestat is not present.
3123 * benchtests/scripts/compare_bench.py (plot_graphs): write to
3124 stderr in case timings field is not present. Also string showing
3125 the output filename goes into the stderr.
3127 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3129 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
3130 and ZeroDivisorError exceptions.
3131 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
3132 argument to loop through user provided statistics.
3133 * benchtests/scripts/compare_bench.py (main): Include the --stats
3136 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3138 * benchtests/scripts/compare_bench.py (compare_runs): Continue
3141 2018-12-12 Florian Weimer <fweimer@redhat.com>
3143 * sysdeps/posix/timespec_get.c: Add missing “any later version”
3144 clause to copyright header.
3146 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3149 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
3150 registers saved in the stack frame.
3151 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
3152 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
3154 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3156 * include/bits/monetary-ldbl.h: New file.
3157 * include/bits/printf-ldbl.h: Likewise.
3158 * include/bits/stdio-ldbl.h: Likewise.
3159 * include/bits/stdlib-ldbl.h: Likewise.
3160 * include/bits/syslog-ldbl.h: Likewise.
3161 * include/bits/wchar-ldbl.h: Likewise.
3163 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3165 * libio/libio.h: Remove redirection for _IO_vfprintf.
3167 2018-12-11 Andreas Schwab <schwab@suse.de>
3169 * Makerules: Remove all references to abilist-pattern.
3170 (update-all-abi): Simplify find expression.
3172 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3175 * math/auto-libm-test-in: Add new test case.
3176 * math/auto-libm-test-out-pow: Regenerated.
3177 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
3179 2018-12-10 DJ Delorie <dj@redhat.com>
3182 * support/test-container.c: Move postclean step to before we
3185 2018-12-10 Joseph Myers <joseph@codesourcery.com>
3187 * scripts/gen-as-const.py (main): Handle --python option.
3188 * scripts/gen-py-const.awk: Remove.
3189 * Makerules (py-const-script): Use gen-as-const.py.
3190 ($(py-const)): Likewise.
3191 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
3192 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
3193 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
3194 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
3195 ~PTHREAD_MUTEX_NO_ELISION_NP.
3196 * manual/README.pretty-printers: Update reference to
3199 * scripts/glibcextract.py: New file.
3200 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
3201 or tempfile. Import glibcexctract.
3202 (compute_c_consts): Remove. Moved to glibcextract.py.
3203 (gen_test): Update reference to compute_c_consts.
3205 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
3206 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
3207 * sysdeps/unix/sysv/linux/Makefile
3208 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
3209 Redirect stderr as well as stdout.
3211 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
3214 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
3215 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
3216 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
3217 ALWAYS_USE_VSYSCALL.
3218 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
3219 ALWAYS_USE_VSYSCALL.
3220 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
3221 ALWAYS_USE_VSYSCALL.
3223 2018-12-10 Florian Weimer <fweimer@redhat.com>
3226 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
3227 offset instead of count for clarity. Fix typo in comment.
3228 (__old_getdents64): Keep track of previous offset. Use it to call
3230 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
3231 that d_off is never zero.
3233 2018-12-10 Andreas Schwab <schwab@suse.de>
3235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
3236 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
3237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
3238 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
3239 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
3241 2018-12-10 Joseph Myers <joseph@codesourcery.com>
3243 * timezone/private.h: Update from tzcode 2018g.
3244 * timezone/tzfile.h: Likewise.
3245 * timezone/tzselect.ksh: Likewise.
3246 * timezone/zdump.c: Likewise.
3247 * timezone/zic.c: Likewise.
3249 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3252 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
3253 (do_test): Adjust buffer size and fix format.
3255 2018-12-07 DJ Delorie <dj@redhat.com>
3258 * malloc/tst-tcfree3.c: New.
3259 * malloc/Makefile: Add it.
3261 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
3263 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
3265 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3267 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
3268 used as a mask for the mode argument of __vfscanf_internal and
3269 __vfwscanf_internal.
3270 * stdio-common/vfscanf-internal.c
3271 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
3272 (__strtof128_internal): Define to __wcstof128_internal.
3273 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
3274 __strtof128_internal or __wcstof128_internal when the format of
3275 long double is the same as _Float128.
3277 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
3279 * include/unistd.h (__confstr): Add prototype and hidden prototype.
3280 * posix/confstr.c (confstr): Rename to __confstr.
3281 (__confstr): Add hidden def.
3282 (confstr): Add weak alias for __confstr.
3283 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
3286 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
3288 * NEWS: Mention getcpu.
3289 * include/sched.h (__getcpu): New libc_hidden_proto.
3290 * manual/resource.texi: Document getcpu.
3291 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
3292 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
3293 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
3294 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3295 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3296 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3297 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3298 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3299 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3300 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3301 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3302 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3303 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
3305 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3306 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3307 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3316 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
3317 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3318 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3319 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3320 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3321 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3322 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3323 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3324 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
3325 * sysdeps/unix/sysv/linux/getcpu.c: New file.
3326 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
3329 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3331 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
3333 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
3335 2018-12-07 Florian Weimer <fweimer@redhat.com>
3338 * posix/Makefile (routines): Add spawn_faction_addfchdir.
3339 * posix/Versions (GLIBC_2.29): Export
3340 posix_spawn_file_actions_addfchdir_np.
3341 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
3342 * posix/spawn_faction_destroy.c
3343 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
3344 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
3345 and the field action.fchdir_action.
3346 * posix/tst-spawn-chdir.c (add_chdir): New function.
3347 (do_test): Add do_fchdir loop. Call add_chdir.
3348 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
3349 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3350 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
3351 posix_spawn_file_actions_addfchdir_np.
3352 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
3354 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
3356 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
3357 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
3359 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
3361 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
3363 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
3365 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
3367 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
3369 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3370 (GLIBC_2.29): Likewise.
3371 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3372 (GLIBC_2.29): Likewise.
3373 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3374 (GLIBC_2.29): Likewise.
3375 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3376 (GLIBC_2.29): Likewise.
3377 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
3379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3380 (GLIBC_2.29): Likewise.
3381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3382 (GLIBC_2.29): Likewise.
3383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3384 (GLIBC_2.29): Likewise.
3385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3386 (GLIBC_2.29): Likewise.
3387 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
3389 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
3391 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
3393 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
3394 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
3396 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
3398 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
3400 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
3403 2018-12-06 Joseph Myers <joseph@codesourcery.com>
3405 * manual/texinfo.tex: Update to version 2018-09-21.20 with
3406 trailing whitespace removed.
3407 * scripts/config.guess: Update to version 2018-11-28.
3408 * scripts/config.sub: Update to version 2018-11-28.
3409 * scripts/install-sh: Update to version 2018-03-11.20.
3410 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
3411 * scripts/move-if-change: Update to version 2018-03-07 03:47.
3413 2018-12-07 Florian Weimer <fweimer@redhat.com>
3417 * inet/tst-if_index-long.c: New file.
3418 * inet/Makefile (tests): Add tst-if_index-long.
3420 2018-12-07 Florian Weimer <fweimer@redhat.com>
3422 * support/check.h (support_record_failure_is_failed): Declare.
3423 * support/descriptors.h: New file.
3424 * support/support_descriptors.c: Likewise.
3425 * support/tst-support_descriptors.c: Likewise.
3426 * support/support_record_failure.c
3427 (support_record_failure_is_failed): New function.
3428 * support/Makefile (libsupport-routines): Add support_descriptors.
3429 (tests): Add tst-support_descriptors.
3431 2018-12-05 Zack Weinberg <zackw@panix.com>
3432 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3434 * stdio-common/vfprintf-internal.c
3435 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
3436 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
3437 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
3438 and __no_long_double.
3439 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
3440 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
3441 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
3442 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
3443 and __nldbl_*syslog* functions.
3444 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
3445 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
3446 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
3447 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
3448 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
3449 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
3450 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
3451 (__nldbl_vwprintf, __nldbl_wprintf):
3452 Directly call the appropriate __v*printf_internal routine, passing
3453 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
3455 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
3456 (__nldbl___printf_chk, __nldbl___snprintf_chk)
3457 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
3458 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
3459 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
3460 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
3461 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
3462 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
3463 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
3464 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
3465 Likewise, and also pass PRINTF_FORTIFY when appropriate.
3466 (__nldbl_syslog, __nldbl_vsyslog):
3467 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
3468 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
3470 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
3473 2018-12-05 Zack Weinberg <zackw@panix.com>
3474 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3477 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
3478 Moved here from debug/vsprintf_chk.c.
3479 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
3480 and completion logic for the strfile to match exactly what
3481 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
3482 _IO_str_init_static_internal instead of maxlen-1.
3483 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
3484 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
3485 __vsprintf_internal.
3487 * debug/vsprintf_chk.c (__vsprintf_chk)
3488 * debug/sprintf_chk.c (__sprintf_chk):
3489 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
3490 'flags' argument is positive, and slen as maxlen. No need to lock
3491 the FILE and/or construct a temporary FILE. Minimize and normalize
3492 header inclusions and variable names. Do not libc_hidden_def anything.
3494 * debug/asprintf_chk.c (__asprintf_chk)
3495 * debug/dprintf_chk.c (__dprintf_chk)
3496 * debug/fprintf_chk.c (__fprintf_chk)
3497 * debug/fwprintf_chk.c (__fwprintf_chk)
3498 * debug/printf_chk.c (__printf_chk)
3499 * debug/snprintf_chk.c (__snprintf_chk)
3500 * debug/swprintf_chk.c (__swprintf_chk)
3501 * debug/vasprintf_chk.c (__vasprintf_chk)
3502 * debug/vdprintf_chk.c (__vdprintf_chk)
3503 * debug/vfprintf_chk.c (__vfprintf_chk)
3504 * debug/vfwprintf_chk.c (__vfwprintf_chk)
3505 * debug/vprintf_chk.c (__vprintf_chk)
3506 * debug/vsnprintf_chk.c (__vsnprintf_chk)
3507 * debug/vswprintf_chk.c (__vswprintf_chk)
3508 * debug/vwprintf_chk.c (__vwprintf_chk)
3509 * debug/wprintf_chk.c (__wprintf_chk):
3510 Directly call the corresponding vxxprintf_internal function, passing
3511 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
3512 the FILE and/or construct a temporary FILE. Minimize and normalize
3513 header inclusions and variable names. Do not libc_hidden_def anything.
3515 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
3516 __obstack_vprintf_internal.
3517 (__obstack_vprintf_chk): Convert into a wrapper that calls
3518 __obstack_vprintf_internal (these two functions already had the
3519 same code) and move to new file...
3520 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
3522 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
3523 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
3524 * debug/Makefile (routines): Add vobprintf_chk.
3526 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3527 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
3528 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
3529 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
3530 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
3531 (__nldbl___obstack_vfprintf_chk):
3532 Directly call the corresponding vxxprintf_internal function,
3533 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
3534 duplicate comparison of slen with 0 or maxlen from the corresponding
3535 non-__nldbl function.
3537 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
3538 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
3539 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
3540 Remove libc_hidden_proto.
3542 * stdio-common/vfprintf-internal.c
3543 (__vfprintf_internal, __vfwprintf_internal):
3544 Do not check _IO_FLAGS2_FORTIFY.
3545 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
3546 * libio/libioP.h: Update prototype of __vsprintf_internal and add
3547 a comment explaining why it has the maxlen argument.
3548 (_IO_acquire_lock_clear_flags2_fct): Remove.
3549 (_IO_acquire_lock_clear_flags2): Remove.
3550 (_IO_release_lock): Remove conditional statement which will
3552 (_IO_acquire_lock): Remove variable which is now unused.
3553 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
3554 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
3556 * stdio-common/Makefile (tests): Add tst-bz11319 and
3557 tst-bz11319-fortify2.
3558 (CFLAGS-tst-bz11319-fortify2.c): New macro.
3559 * stdio-common/tst-bz11319-fortify2.c: New file.
3560 * stdio-common/tst-bz11319.c: Likewise.
3562 2018-12-05 Zack Weinberg <zackw@panix.com>
3563 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3565 * misc/syslog.c: Include libioP.h, not iolibio.h.
3566 (__vsyslog_internal): New function with the former body of
3567 __vsyslog_chk; takes mode_flags argument same as
3568 __v*printf_internal. Call __vfprintf_internal directly.
3570 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
3571 Remove libc_hidden_def.
3572 (__syslog, __syslog_chk): Use __vsyslog_internal.
3573 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
3575 * include/sys/syslog.h: Add multiple inclusion guard.
3576 Add prototype for __vsyslog_internal.
3577 Remove declaration and libc_hidden_proto for __vsyslog_chk.
3579 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
3580 Use __vsyslog_internal.
3582 2018-12-05 Zack Weinberg <zackw@panix.com>
3583 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3585 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
3586 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
3587 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
3589 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
3590 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
3592 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
3593 Include wctype.h here if COMPILE_WPRINTF is defined.
3594 Define __vfprintf_internal or __vfwprintf_internal, depending
3596 Temporarily, on entry to this function, update mode_flags
3597 according to the environmental settings corresponding to
3598 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
3599 Throughout, check mode_flags instead of __ldbl_is_dbl and
3600 _IO_FLAGS2_FORTIFY on the destination FILE.
3601 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
3602 Include vfprintf-internal.c. Don't include wctype.h.
3603 * stdio-common/vfprintf.c: New file. Just define __vfprintf
3604 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
3606 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
3607 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
3609 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
3611 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
3612 and add mode_flags argument; use __vfprintf_internal.
3613 (__vdprintf): New function. Alias vdprintf to this.
3614 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
3615 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
3616 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
3617 (__obstack_printf): Use __obstack_printf_internal.
3618 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
3619 public aliases __vsnprintf and vsnprintf.
3620 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
3622 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
3623 public aliases _IO_vsprintf and vsprintf.
3624 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
3625 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
3626 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
3627 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
3628 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
3630 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
3631 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
3632 * stdio-common/fprintf.c, stdio-common/fxprintf.c
3633 * stdio-common/printf.c: Use __vfprintf_internal.
3635 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
3636 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
3637 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
3639 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
3640 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
3641 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
3642 __vfwprintf_internal.
3644 * libio/libio.h: Remove libc_hidden_proto and declaration for
3646 Remove declaration of _IO_vfwprintf.
3647 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
3649 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
3651 * include/stdio.h: Add prototype for __vasprintf.
3652 (__vsnprintf): Remove declaration, because there are no more
3654 * include/wchar.h (__vfwprintf, __vswprintf): Remove
3655 declaration, because there are no more internal calls.
3657 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
3658 __vsnprintf_internal, instead of _IO_vsnprintf.
3659 * argp/argp-help.c (__argp_error, __argp_failure): Use
3660 __vasprintf_internal, instead of _IO_vasprintf.
3661 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
3662 redefine, because there are no more internal calls.
3664 2018-12-05 Zack Weinberg <zackw@panix.com>
3665 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3667 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
3668 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
3669 Include libio/strfile.h instead of libioP.h.
3670 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
3671 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
3672 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
3673 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
3674 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
3675 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
3676 necessary. Do not set __no_long_double. Normalize variable names.
3677 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
3678 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
3679 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
3680 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
3681 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
3682 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
3683 Call __vfscanf_internal / __vfwscanf_internal directly, passing
3684 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
3685 Do not set __no_long_double. Normalize variable names.
3687 2018-12-05 Zack Weinberg <zackw@panix.com>
3688 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3690 * stdio-common/isoc99_scanf.c
3691 * stdio-common/isoc99_fscanf.c
3692 * stdio-common/isoc99_sscanf.c
3693 * stdio-common/isoc99_vscanf.c
3694 * stdio-common/isoc99_vfscanf.c
3695 * stdio-common/isoc99_vsscanf.c
3696 * wcsmbs/isoc99_wscanf.c
3697 * wcsmbs/isoc99_fwscanf.c
3698 * wcsmbs/isoc99_swscanf.c
3699 * wcsmbs/isoc99_vwscanf.c
3700 * wcsmbs/isoc99_vfwscanf.c
3701 * wcsmbs/isoc99_vswscanf.c:
3702 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
3703 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
3704 No need to lock and unlock the FILE passed to that function.
3706 * stdio-common/vfscanf-internal.c
3707 (__vfscanf_internal, __vfwscanf_internal):
3708 Don't look at _IO_FLAGS2_SCANF_STD.
3709 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
3710 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
3711 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
3713 2018-12-05 Zack Weinberg <zackw@panix.com>
3714 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3716 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
3717 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
3718 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
3719 * libio/strfile.h: Add multiple inclusion guard.
3720 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
3722 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
3723 consistency with the other version of this file.
3724 (ldbl_compat_symbol): New macro.
3725 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
3728 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
3729 Define __vfscanf_internal or __vfwscanf_internal, depending on
3730 COMPILE_WSCANF; don't define any other public symbols.
3731 Remove errval and code to set errp.
3732 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
3733 as the mode_flags argument.
3734 (encode_error, conv_error, input_error): Don't set errval.
3735 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
3736 Include vfscanf-internal.c.
3737 * stdio-common/vfscanf.c: New file defining the public entry
3738 point vfscanf, which calls __vfscanf_internal.
3739 * stdio-common/vfwscanf.c: New file defining the public entry
3740 point vfwscanf, which calls __vfwscanf_internal.
3742 * stdio-common/iovfscanf.c: New file.
3743 * stdio-common/iovfwscanf.c: Likewise.
3745 * stdio-common/Makefile (routines): Add vfscanf-internal,
3746 vfwscanf-internal, iovfscanf, iovfwscanf.
3747 * stdio-common/Versions: Mention GLIBC_2.29, so that
3748 it can be used in SHLIB_COMPAT expressions.
3749 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
3750 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
3751 Call __vfscanf_internal, instead of _IO_vfscanf.
3752 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
3754 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
3757 * libio/iovsscanf.c: Clean up includes, when possible. Use
3758 _IO_strfile_read or _IO_strfile_readw, when needed. Call
3759 __vfscanf_internal or __vfwscanf_internal directly.
3760 * libio/iovswscanf.c: Likewise.
3761 * libio/swscanf.c: Likewise.
3762 * libio/vscanf.c: Likewise.
3763 * libio/vwscanf.c: Likewise.
3764 * libio/wscanf.c: Likewise.
3765 * stdio-common/isoc99_fscanf.c: Likewise.
3766 * stdio-common/isoc99_scanf.c: Likewise.
3767 * stdio-common/isoc99_sscanf.c: Likewise.
3768 * stdio-common/isoc99_vfscanf.c: Likewise.
3769 * stdio-common/isoc99_vscanf.c: Likewise.
3770 * stdio-common/isoc99_vsscanf.c: Likewise.
3771 * stdio-common/scanf.c: Likewise.
3772 * stdio-common/sscanf.c: Likewise.
3773 * wcsmbs/isoc99_fwscanf.c: Likewise.
3774 * wcsmbs/isoc99_swscanf.c: Likewise.
3775 * wcsmbs/isoc99_vfwscanf.c: Likewise.
3776 * wcsmbs/isoc99_vswscanf.c: Likewise.
3777 * wcsmbs/isoc99_vwscanf.c: Likewise.
3778 * wcsmbs/isoc99_wscanf.c: Likewise.
3780 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
3783 (__tz_compute): Replace time_t with __time64_t.
3784 (__tz_convert): Replace time_t* with __time64_t.
3785 (__offtime): Replace time_t* with __time64_t.
3787 (__gmtime_r): Adjust call to __tz_convert.
3790 (__localtime_r): Likewise.
3791 (localtime): Likewise.
3792 * time/offtime.c: Replace time_t with __time64_t.
3793 * time/tzset.c: Likewise.
3795 2018-12-04 Joseph Myers <joseph@codesourcery.com>
3797 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
3798 dynamic linker unless [$(run-built-tests) = yes].
3800 2018-12-03 DJ Delorie <dj@delorie.com>
3802 * support/test-container.c (check_for_unshare_hints): New.
3803 (main): Call it if unshare fails. Add support for "su" scriptlet
3806 2018-12-03 Joseph Myers <joseph@codesourcery.com>
3808 * scripts/gen-as-const.py (compute_c_consts): Take an argument
3809 'START' to indicate that start text should be output.
3810 (gen_test): Likewise.
3811 (main): Generate 'START' for first symbol or '--' line, or at end
3812 of input if not previously generated.
3814 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
3817 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
3818 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
3819 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
3820 ALWAYS_USE_VSYSCALL.
3822 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3825 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
3828 2018-12-03 Carlos O'Donell <carlos@redhat.com>
3831 * locale/programs/localedef.c: Declare boolean hard_links default true.
3832 (options): Add --no-hard-links option.
3833 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
3834 * locale/programs/localedef.h: Declare prototype for hard_links.
3835 * locale/programs/locfile.c (write_locale_data): Don't use hard
3836 links if hard_links is false.
3838 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
3840 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
3842 (__cache_sysconf): Likewise.
3843 (init_cacheinfo): Likewise.
3844 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
3845 populate COMMON_CPUID_INDEX_80000007 and
3846 COMMON_CPUID_INDEX_80000008.
3847 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
3848 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
3849 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
3850 (init_cpu_features): Use _Static_assert on
3851 index_arch_Fast_Unaligned_Load.
3852 __get_cpuid_registers and __get_arch_feature. Updated for
3853 cpu_features_basic. Set stepping in cpu_features.
3854 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
3855 (FEATURE_INDEX_2): New.
3856 (FEATURE_INDEX_MAX): Changed to enum.
3857 (COMMON_CPUID_INDEX_D_ECX_1): New.
3858 (COMMON_CPUID_INDEX_80000007): Likewise.
3859 (COMMON_CPUID_INDEX_80000008): Likewise.
3860 (cpuid_registers): Likewise.
3861 (cpu_features_basic): Likewise.
3862 (CPU_FEATURE_USABLE): Likewise.
3863 (bit_arch_XXX_Usable): Likewise.
3864 (cpu_features): Use cpuid_registers and cpu_features_basic.
3865 (bit_arch_XXX): Reweritten.
3866 (bit_cpu_XXX): Likewise.
3867 (index_cpu_XXX): Likewise.
3868 (reg_XXX): Likewise.
3869 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
3871 (CHECK_CPU_FEATURE): New.
3872 (CHECK_CPU_FEATURE_USABLE): Likewise.
3873 (cpu_kinds): Likewise.
3874 (do_test): Print vendor, family, model and stepping. Check
3875 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
3876 (TEST_FUNCTION): Removed.
3877 Include <support/test-driver.c> instead of
3878 "../../test-skeleton.c".
3879 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
3880 Check POPCNT instead of POPCOUNT.
3881 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
3883 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
3885 * scripts/gen-as-const.py (main): Avoid emitting empty line when
3886 there is no element in `consts'.
3888 2018-12-01 Florian Weimer <fweimer@redhat.com>
3890 * support/support_capture_subprocess.c
3891 (support_capture_subprocess): Check that pipe descriptors have
3892 expected values. Close original pipe descriptors in subprocess.
3894 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
3897 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
3898 attr with __pthread_default_barrierattr.
3899 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
3900 attr with __pthread_default_condattr.
3901 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
3902 attr with __pthread_default_mutexattr.
3903 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
3904 attr with __pthread_default_rwlockattr.
3906 2018-12-01 Kemi Wang <kemi.wang@intel.com>
3908 * manual/tunables.texi (POSIX Thread Tunables): New node.
3909 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
3910 * nptl/nptl-init.c: Include pthread_mutex_conf.h
3911 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
3912 __pthread_tunables_init.
3913 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
3914 (max_adaptive_count): Define.
3915 * nptl/pthread_mutex_conf.c: New file.
3916 * nptl/pthread_mutex_conf.h: New file.
3917 * sysdeps/generic/adaptive_spin_count.h: New file.
3918 * sysdeps/nptl/dl-tunables.list: New file.
3919 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
3920 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
3921 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
3924 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
3927 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
3928 * stdlib/on_exit.c (__on_exit): Likewise.
3929 * stdlib/Makefile (tests): Add tst-bz20544.
3930 * stdlib/tst-bz20544.c: New test.
3932 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
3935 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
3936 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
3939 2018-11-30 Florian Weimer <fweimer@redhat.com>
3941 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
3942 Extend error logging.
3943 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
3946 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3948 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
3949 __sigismember instead of sigismember.
3950 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
3951 cancel_handler): New definitions.
3952 (do_system): Use posix_spawn instead of fork and execl and remove
3954 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
3955 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
3956 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
3957 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3958 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3959 * sysdeps/unix/sysv/linux/system.c: Likewise.
3963 * NEWS: Add new semantic for atfork with popen and system.
3964 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
3967 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3970 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
3971 modification order when accessing reloc_result->addr.
3972 * include/link.h (reloc_result): Add field init.
3973 * nptl/Makefile (tests): Add tst-audit-threads.
3974 (modules-names): Add tst-audit-threads-mod1 and
3975 tst-audit-threads-mod2.
3976 Add rules to build tst-audit-threads.
3977 * nptl/tst-audit-threads-mod1.c: New file.
3978 * nptl/tst-audit-threads-mod2.c: Likewise.
3979 * nptl/tst-audit-threads.c: Likewise.
3980 * nptl/tst-audit-threads.h: Likewise.
3982 2018-11-30 Joseph Myers <joseph@codesourcery.com>
3984 * scripts/gen-as-const.py: New file.
3985 * scripts/gen-as-const.awk: Remove.
3986 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
3988 ($(objpfx)test-as-const-%.c): Likewise.
3990 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
3992 * elf/dl-exception.c: Include <_itoa.h>.
3994 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
3996 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
3997 returned by __f_setlk.
3999 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
4000 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4002 * elf/Makefile (tests-internal): Add tst-create_format1.
4003 * elf/dl-exception.c (_dl_exception_create_format): Support
4005 * elf/tst-create_format1.c: New file.
4007 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
4009 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
4010 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
4012 * argp/argp-help.c (__argp_failure): Likewise.
4014 2018-11-29 Mao Han <han_mao@c-sky.com>
4016 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
4017 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
4018 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
4019 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
4020 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
4021 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
4022 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
4023 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
4024 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
4025 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
4026 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
4027 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
4028 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
4029 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
4030 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
4031 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
4032 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
4033 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
4034 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
4035 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
4036 (R_CKCORE_TLS_TPOFF32): New defines.
4038 2018-11-29 Florian Weimer <fweimer@redhat.com>
4040 * posix/Makefile (before-compile): Remove testcases.h and
4042 (generated): Add testcases.h and ptestcases.h.
4043 (testcases.h, ptestcases.h): Move to $(objpfx).
4044 (runtests.o): Add dependency on testcases.h.
4045 (runptests.o): Add dependency on ptestcases.h.
4046 * posix/testcases.h, posix/ptestcases.h: Remove files.
4047 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
4048 not touch posix/testcases.h and posix/ptestcases.h.
4050 2018-11-28 Florian Weimer <fweimer@redhat.com>
4052 support: Add signal support to support_capture_subprocess_check.
4053 * support/capture_subprocess.h (support_capture_subprocess_check):
4054 Adjust comment and rename parameter.
4055 * support/support_capture_subprocess_check.c
4056 (print_actual_status): New function.
4057 (support_capture_subprocess_check): Support negative
4058 status_or_signal. Call print_actual_status.
4059 * support/tst-support_capture_subprocess.c (do_test): Call
4060 support_capture_subprocess_check.
4061 * libio/tst-vtables-common.c (termination_status)
4062 (init_termination_status): Remove.
4063 (check_for_termination): Adjust support_capture_subprocess_check
4065 (do_test): Remove call to init_termination_status.
4067 2018-11-28 Joseph Myers <joseph@codesourcery.com>
4069 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
4070 source directory instead of a copy.
4071 (CommandList.create_copy_dir): Remove.
4073 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
4075 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4077 2018-11-28 Florian Weimer <fweimer@redhat.com>
4079 * support/support.h (support_quote_string): Do not use str
4082 2018-11-27 Joseph Myers <joseph@codesourcery.com>
4084 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
4085 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
4087 2018-11-27 Florian Weimer <fweimer@redhat.com>
4089 * support/support.h (support_quote_string): Declare.
4090 * support/support_quote_string.c: New file.
4091 * support/tst-support_quote_string.c: Likewise.
4092 * support/Makefile (libsupport-routines): Add
4093 support_quote_string.
4094 (tests): Add tst-support_quote_string.
4096 2018-11-27 Florian Weimer <fweimer@redhat.com>
4100 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
4101 descriptor leak in case of ENODEV error.
4103 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
4106 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
4107 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
4108 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
4110 2018-11-26 Carlos O'Donell <carlos@redhat.com>
4112 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
4113 Error for unknown lines.
4115 2018-11-26 Joseph Myers <joseph@codesourcery.com>
4117 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
4118 Touch additional files.
4120 2018-11-26 Florian Weimer <fweimer@redhat.com>
4123 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
4126 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
4129 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
4130 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
4131 SHARED. Include sysdep.h.
4132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
4133 ALWAYS_USE_VSYSCALL.
4134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
4135 ALWAYS_USE_VSYSCALL.
4137 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
4140 * nptl/Makefile (tests-static): Add tst-cond11-static.
4142 * nptl/tst-cond11-static.c: New File.
4143 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
4144 tst-affinity-static.
4146 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
4148 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
4149 (USE_VSYSCALL): Likewise.
4150 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
4151 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
4153 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
4155 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
4158 2018-11-23 Joseph Myers <joseph@codesourcery.com>
4161 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4162 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
4165 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
4167 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
4168 (tst-cet-legacy-1a-ARGS): New.
4169 ($(objpfx)tst-cet-legacy-1a): New target.
4170 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
4172 2018-11-22 Joseph Myers <joseph@codesourcery.com>
4174 * conform/conformtest.py (CompileSubTest.__init__): Set
4175 self.run_early to False.
4176 (ExecuteSubTest.__init__): Likewise.
4177 (HeaderTests.run): Try running all non-optional, non-XFAILed
4178 compilation tests in a single execution of the compiler.
4180 * conform/conformtest.py (CompileSubTest): New class.
4181 (ExecuteSubTest): Likewise.
4182 (ElementTest.run): Rename to gen_subtests. Append tests to
4183 self.subtests instead of running them.
4184 (ConstantTest.run): Likewise.
4185 (SymbolTest.run): Likewise.
4186 (TypeTest.run): Likewise.
4187 (TagTest.run): Likewise.
4188 (FunctionTest.run): Likewise.
4189 (VariableTest.run): Likewise.
4190 (MacroFunctionTest.run): Likewise.
4191 (MacroStrTest.run): Likewise.
4192 (HeaderTests.handle_test_line): Generate subtests for tests.
4193 (HeaderTests.run): Run subtests for tests.
4195 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4197 * math/Versions (GLIBC_2.29): Add pow.
4198 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
4200 * math/w_pow.c: New file.
4201 * sysdeps/i386/fpu/w_pow.c: New file.
4202 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
4203 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
4204 and add necessary aliases.
4205 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
4206 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
4207 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4208 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4209 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4210 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4211 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4212 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4213 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4214 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4215 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4216 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4217 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4218 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4219 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4224 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4225 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4226 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4227 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4228 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4229 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4230 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4231 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
4233 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
4234 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
4235 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
4237 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4239 * math/Versions (GLIBC_2.29): Add log2.
4240 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
4242 * math/w_log2.c: New file.
4243 * sysdeps/i386/fpu/w_log2.c: New file.
4244 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
4245 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
4246 and add necessary aliases.
4247 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
4248 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
4249 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4250 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4251 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4252 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4253 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4254 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4255 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4256 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4257 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4258 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4259 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4260 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4261 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4266 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4267 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4268 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4269 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4270 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4271 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4272 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4274 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4276 * math/Versions (GLIBC_2.29): Add log.
4277 * math/w_log_compat.c (__log_compat): Change to versioned compat
4279 * math/w_log.c: New file.
4280 * sysdeps/i386/fpu/w_log.c: New file.
4281 * sysdeps/ia64/fpu/e_log.S: Update.
4282 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
4283 and add necessary aliases.
4284 * sysdeps/ieee754/dbl-64/w_log.c: New file.
4285 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
4286 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4287 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4288 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4289 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4290 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4291 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4292 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4293 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4294 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4295 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4296 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4297 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4298 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4303 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4304 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4305 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4306 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4307 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4308 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4309 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4310 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
4312 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
4313 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
4314 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
4315 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
4317 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4319 * math/Versions (GLIBC_2.29): Add exp and exp2.
4320 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
4321 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
4322 * math/w_exp_compat.c (__exp_compat): Likewise.
4323 * math/w_exp.c: New file.
4324 * math/w_exp2.c: New file.
4325 * sysdeps/i386/fpu/w_exp.c: New file.
4326 * sysdeps/i386/fpu/w_exp2.c: New file.
4327 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
4328 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
4329 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
4330 and add necessary aliases.
4331 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
4332 and add necessary aliases.
4333 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
4334 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
4335 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
4336 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
4337 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4338 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4339 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4340 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4341 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4342 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4343 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4344 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4345 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4346 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4347 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4348 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4349 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4354 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4355 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4356 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4357 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4358 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4359 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4360 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4361 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
4362 (__ieee754_exp): Rename to __exp.
4363 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
4364 (__ieee754_exp): Rename to __exp.
4365 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
4366 (__ieee754_exp): Rename to __exp.
4367 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
4369 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
4371 2018-11-20 DJ Delorie <dj@redhat.com>
4373 * malloc/malloc.c (tcache_entry): Add key field.
4374 (tcache_put): Set it.
4375 (tcache_get): Likewise.
4376 (_int_free): Check for double free in tcache.
4377 * malloc/tst-tcfree1.c: New.
4378 * malloc/tst-tcfree2.c: New.
4379 * malloc/Makefile: Run the new tests.
4380 * manual/probes.texi: Document memory_tcache_double_free probe.
4382 * dlfcn/dlerror.c (check_free): Prevent double frees.
4384 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
4386 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
4388 2018-11-20 Joseph Myers <joseph@codesourcery.com>
4390 * conform/conformtest.py (ElementTest.run): Use unique identifiers
4391 in tests. Use names for format arguments.
4392 (ConstantTest.run): Likewise.
4393 (SymbolTest.run): Likewise.
4394 (TypeTest.run): Likewise.
4395 (TagTest.run): Likewise.
4396 (FunctionTest.run): Likewise.
4397 (VariableTest.run): Likewise.
4398 (MacroFunctionTest.run): Likewise.
4399 (MacroStrTest.run): Likewise.
4400 (HeaderTests.__init__): Set self.num_tests.
4401 (HeaderTests.handle_test_line): Set test.num. Increment
4404 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
4406 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
4407 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
4410 2018-11-19 Mao Han <han_mao@c-sky.com>
4412 * scripts/config.guess: Update to version 2018-08-29.
4413 * scripts/config.sub: Update to version 2018-08-29.
4415 2018-11-19 Florian Weimer <fweimer@redhat.com>
4417 support: Print timestamps in timeout handler.
4418 * support/support_test_main.c (print_timestamp): New function.
4419 (signal_handler): Use it to print the termination time and the
4420 time of the last write to standard output.
4422 2018-11-16 Zack Weinberg <zackw@panix.com>
4423 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4425 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
4426 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
4428 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
4429 and add flags argument. Check flags instead of __ldbl_is_dbl when
4430 deciding whether to set is_long_double.
4431 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
4432 passing zero for flags argument.
4433 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
4435 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4436 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
4437 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
4438 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
4439 variable names. Remove libc_hidden_def/libc_hidden_proto from
4440 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
4441 longer called from within the library.
4442 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
4443 for __nldbl___vstrfmon_l, declare it explicitly.
4445 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
4447 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
4449 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
4451 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
4452 F_SETLK64, F_SETLKW64, respectively.
4453 * sysdeps/mach/hurd/f_setlk.c: New file.
4454 * sysdeps/mach/hurd/f_setlk.h: New file.
4455 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
4457 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
4458 (__libc_fcntl): Move non-flock operations to...
4459 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
4460 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
4462 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
4464 mktime: DEBUG_MKTIME cleanup
4465 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
4466 And it’s no longer needed now that glibc and Gnulib both have
4467 their own testing mechanisms for mktime.
4468 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
4470 mktime: fix non-EOVERFLOW errno handling
4472 mktime was not properly reporting failures when the underlying
4473 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
4474 them like EOVERFLOW failures, and set errno to EOVERFLOW.
4475 The problem could happen on non-glibc platforms, with Gnulib.
4476 * time/mktime.c (guess_time_tm): Remove, replacing with ...
4477 (tm_diff): ... this simpler function, which does not change errno.
4478 All callers changed to deal with errno themselves.
4479 (ranged_convert, __mktime_internal): Return failure immediately if
4480 the underlying function reports any failure other than EOVERFLOW.
4481 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
4484 mktime: fix bug with Y2038 DST transition
4486 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
4487 mishandle a DST transition that jumps over the Y2038 boundary.
4488 No such DST transitions are known so this is only a theoretical
4489 bug, but we might as well do things right.
4491 mktime: make more room for overflow
4493 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
4494 This is so that we can add tm_diff results to a previous guess,
4495 which will be useful in a later patch.
4497 mktime: simplify offset guess
4499 * time/mktime.c (__mktime_internal): Omit excess precision.
4501 mktime: new test for mktime failure
4503 Based on a test suggested by Albert Aribaud in:
4504 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
4505 * time/Makefile (tests): Add bug-mktime4.
4506 * time/bug-mktime4.c: New file.
4508 mktime: fix EOVERFLOW bug
4510 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
4511 Include libc-config.h, not config.h, for __set_errno.
4512 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
4514 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
4516 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
4517 __attribute_copy__ to copy attributes from name. Drop static qualifier
4518 to avoid warnings about leaf attribute not having effect on static
4521 2018-11-13 Florian Weimer <fweimer@redhat.com>
4523 * malloc/malloc.c (fastbin_push_entry): New function.
4524 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
4525 (REMOVE_FB): Remove macro.
4526 (_int_malloc): Use fastbin_pop_entry and reindent.
4527 (_int_free): Use fastbin_push_entry.
4528 (malloc_consolidate): Use atomic_exchange_acquire.
4530 2018-11-13 Joseph Myers <joseph@codesourcery.com>
4532 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
4533 alias attribute, not with strong_alias.
4535 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
4536 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
4537 with additional parameter thread.
4538 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
4539 in terms of __hidden_ver2.
4540 (hidden_tls_def): New macro.
4541 (libc_hidden_tls_def): Likewise.
4542 (rtld_hidden_tls_def): Likewise.
4543 (libm_hidden_tls_def): Likewise.
4544 (libmvec_hidden_tls_def): Likewise.
4545 (libresolv_hidden_tls_def): Likewise.
4546 (librt_hidden_tls_def): Likewise.
4547 (libdl_hidden_tls_def): Likewise.
4548 (libnss_files_hidden_tls_def): Likewise.
4549 (libnsl_hidden_tls_def): Likewise.
4550 (libnss_nisplus_hidden_tls_def): Likewise.
4551 (libutil_hidden_tls_def): Likewise.
4552 (libutil_hidden_tls_def): Likweise.
4553 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
4554 libc_hidden_tls_def.
4555 (__sim_disabled_exceptions_thread): Likewise.
4556 (__sim_round_mode_thread): Likewise.
4558 * sysdeps/sparc/sparc-ifunc.h [SHARED]
4559 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
4560 copy attributes from name.
4562 2018-11-12 Joseph Myers <joseph@codesourcery.com>
4564 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
4565 Use __attribute_copy__ to copy attributes from name.
4567 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
4568 with __hidden_ver1 call.
4569 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
4570 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
4571 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
4572 (__cosf): Do not declare here.
4573 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
4574 (__sincosf): Do not declare here.
4575 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
4576 (__sinf): Do not declare here.
4578 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
4579 (__BIG_ENDIAN): Likewise.
4580 (__BYTE_ORDER): Likewise.
4581 (strong_alias): Likewise.
4582 (_strong_alias): Likewise.
4584 2018-11-12 Florian Weimer <fweimer@redhat.com>
4586 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
4587 function. Move after the definition of in_smallbin_range. Do not
4588 use __builtin_expect for paths that lead to a noreturn function.
4589 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
4590 because it is unclear whether this is in fact an unlikely
4592 (_int_malloc, _int_free): Adjust.
4593 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
4595 * malloc/arena.c (heap_trim): Likewise.
4597 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4599 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
4600 it, free it if needed.
4601 (reauthenticate): Test and use ccwdir.
4602 (child_init_port): In non-resetids case, test and use ccwdir.
4603 (child_chdir): New nested function to set ccwdir.
4604 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
4605 * hurd/hurd/port.h (_hurd_port_move): New function.
4606 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
4607 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
4608 * hurd/Versions (_hurd_port_move): Export function.
4609 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
4611 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
4612 of dtablesize for allocating dtable_cloexec.
4614 2018-11-09 Martin Sebor <msebor@redhat.com>
4616 * include/libc-symbols.h (__attribute_copy__): Define macro unless
4617 it's already defined.
4618 (_strong_alias): Use __attribute_copy__.
4619 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
4620 * misc/sys/cdefs.h (__attribute_copy__): New macro.
4621 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
4622 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
4623 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
4624 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
4625 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
4626 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
4627 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
4628 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
4629 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
4630 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
4631 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
4632 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
4633 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
4634 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
4635 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
4636 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
4637 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
4639 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4641 * misc/tst-efgcvt.c: Include support/check.h and
4642 support/test-driver.c. Do not include test-skeleton.c.
4643 (error_count): Remove.
4644 (output_error): Replace increments to error_count with calls to
4645 support_record_failure.
4646 (output_r_error): Likewise.
4647 (special): Likewise.
4648 (do_test): Unconditionally return zero.
4649 (TEST_FUNCTION): Remove.
4651 2018-11-09 Joseph Myers <joseph@codesourcery.com>
4653 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
4655 ($(linknamespace-header-tests)): Likewise.
4657 * conform/conformtest.py: New file.
4658 * conform/conformtest.pl: Remove.
4659 * conform/GlibcConform.pm: Likewise.
4660 * conform/glibcconform.py (KEYWORDS_C90): New constant.
4661 (KEYWORDS_C99): Likewise.
4662 (KEYWORDS): Likewise.
4663 * conform/Makefile ($(conformtest-header-tests)): Use
4664 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
4665 option. Use --header instead of --headers.
4666 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
4668 * conform/data/spawn.h-data: Likewise.
4669 * conform/data/fcntl.h-data (openat): Add space after function
4671 * conform/data/wchar.h-data (wcscasecmp): Likewise.
4672 (wcscasecmp_l): Likewise.
4673 * conform/data/termios.h-data (c_cc): Add space after element
4676 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4678 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
4679 instead of manually comparing and reporting mismatching strings.
4680 * misc/tst-ldbl-error.c (do_one_test): Likewise.
4681 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
4683 2018-11-08 Joseph Myers <joseph@codesourcery.com>
4685 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
4686 __ASSUME_SOCKETCALL.
4687 * sysdeps/unix/sysv/linux/i386/kernel-features.h
4688 (__ASSUME_SOCKETCALL): Remove.
4689 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4690 (__ASSUME_SOCKETCALL): Likewise.
4691 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4692 (__ASSUME_SOCKETCALL): Likewise.
4693 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4694 (__ASSUME_SOCKETCALL): Likewise.
4695 * sysdeps/unix/sysv/linux/s390/kernel-features.h
4696 (__ASSUME_SOCKETCALL): Likewise.
4697 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4698 (__ASSUME_SOCKETCALL): Likewise.
4699 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4700 (__ASSUME_SOCKETCALL): Likewise.
4702 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
4705 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
4706 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
4707 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
4708 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
4709 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
4712 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
4715 * resolv/tst-resolv-network.c: Add test for getnetbyname.
4717 2018-11-07 Joseph Myers <joseph@codesourcery.com>
4720 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4721 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
4722 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4723 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
4725 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4727 * support/support_test_compare_string.c
4728 (support_test_compare_string): Fix printf format.
4730 2018-11-07 Florian Weimer <fweimer@redhat.com>
4732 Implement TEST_COMPARE_STRING.
4733 * support/check.h (TEST_COMPARE_STRING): Define.
4734 (support_test_compare_string): Declare.
4735 * support/Makefile (libsupport-routines): Add
4736 support_test_compare_string.
4737 (tests): Add tst-test_compare_string.
4738 * support/support_test_compare_string.c: New file.
4739 * support/tst-test_compare_string.c: Likewise.
4741 2018-11-07 Andreas Schwab <schwab@suse.de>
4744 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
4745 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
4748 2018-11-06 Joseph Myers <joseph@codesourcery.com>
4751 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4752 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
4753 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
4754 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
4757 2018-11-06 Florian Weimer <fweimer@redhat.com>
4760 * posix/Makefile (routines): Add spawn_faction_addchdir.
4761 (tests): Add tst-spawn-chdir.
4762 * posix/Versions (GLIBC_2.29): Add
4763 posix_spawn_file_actions_addchdir_np.
4764 * posix/spawn_faction_addchdir.c: New file.
4765 * posix/spawn_faction_destroy.c
4766 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
4767 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
4768 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
4770 * posix/tst-spawn-chdir.c: New file.
4771 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
4772 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4773 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4774 posix_spawn_file_actions_addchdir_np.
4775 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4777 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
4779 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
4780 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
4782 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
4784 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
4786 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
4788 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
4790 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
4792 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4793 (GLIBC_2.29): Likewise.
4794 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4795 (GLIBC_2.29): Likewise.
4796 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4797 (GLIBC_2.29): Likewise.
4798 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4799 (GLIBC_2.29): Likewise.
4800 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
4802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4803 (GLIBC_2.29): Likewise.
4804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4805 (GLIBC_2.29): Likewise.
4806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4807 (GLIBC_2.29): Likewise.
4808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4809 (GLIBC_2.29): Likewise.
4810 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4812 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4814 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4816 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4817 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4819 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4821 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4823 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4826 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4828 * misc/Makefile (tests): Add tst-ldbl-error.
4829 * misc/tst-ldbl-error.c: New file.
4831 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4833 * misc/Makefile (tests): Add tst-ldbl-warn.
4834 * misc/tst-ldbl-warn.c: New file.
4836 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4838 * argp/Makefile (tests): Add tst-ldbl-argp.
4839 * argp/tst-ldbl-argp.c: New file.
4841 2018-11-05 Arjun Shankar <arjun@redhat.com>
4843 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
4844 __gconv_path_elem and call __gconv_get_path unconditionally.
4846 2018-11-05 Andreas Schwab <schwab@suse.de>
4849 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
4850 creating the first helper thread failed.
4852 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4854 * sysdeps/mach/hurd/msync.c: New file.
4856 2018-11-02 Florian Weimer <fweimer@redhat.com>
4858 * support/shell-container.c (copy_func): Call
4859 support_copy_file_range instead of copy_file_range to support
4860 cross-device copies.
4862 2018-11-02 Florian Weimer <fweimer@redhat.com>
4864 * support/test-container.c: Include <libc-pointer-arith.h> for
4867 2018-11-01 Zong Li <zong@andestech.com>
4869 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
4870 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
4871 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
4872 (__FP_FRAC_SET_8): Add implementation for RV32 use.
4874 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
4875 variable to avoid overlap arguments.
4877 2018-11-01 Joseph Myers <joseph@codesourcery.com>
4879 * posix/bug-regex22.c (main): Use puts with distinct error
4880 messages for unexpected success of re_compile_pattern, not printf
4881 with NULL argument to %s.
4883 * stdio-common/bug22.c: Include <libc-diag.h>.
4884 (do_test): Disable -Wformat-overflow= warnings around fprintf
4885 calls outputting more than INT_MAX characters.
4886 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
4887 around printf call with NULL %s argument.
4890 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
4891 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
4893 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4894 (__ASSUME_RECVMSG_SYSCALL): Likewise.
4895 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4896 (__ASSUME_SENDTO_SYSCALL): Likewise.
4897 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4898 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
4900 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4901 (__ASSUME_CONNECT_SYSCALL): Likewise.
4902 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4903 (__ASSUME_RECVFROM_SYSCALL): Likewise.
4904 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
4906 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
4908 [__LINUX_KERNEL_VERSION >= 0x040400]
4909 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4910 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
4913 (setsockopt): Likewise.
4915 2018-11-01 Fredrik Noring <noring@nocrew.org>
4917 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
4918 with the ISA override.
4920 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
4922 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
4925 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
4927 * manual/errno.texi (EIEIO): Document how translators should
4928 translate the error message.
4929 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
4930 printing trailing whitespaces refused by git.
4931 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
4932 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4933 * hurd/Makefile (user-interfaces): Add pci.
4935 2018-10-30 Joseph Myers <joseph@codesourcery.com>
4937 * conform/linknamespace.py: New file.
4938 * conform/linknamespace.pl: Remove file.
4939 * conform/Makefile ($(linknamespace-header-tests)): Use
4940 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
4943 2018-10-30 Florian Weimer <fweimer@redhat.com>
4945 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
4948 2018-10-30 Florian Weimer <fweimer@redhat.com>
4950 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
4952 2018-10-30 Florian Weimer <fweimer@redhat.com>
4954 * stdlib/tst-strtod-overflow.c (do_test): Switch to
4955 support_blob_repeat.
4957 2018-10-30 Florian Weimer <fweimer@redhat.com>
4959 Avoid spurious test failures in stdlib/test-bz22786.
4960 * support/Makefile (libsupport-routines): Add blob_repeat.
4961 (tests): Add tst-support_blob_repeat.
4962 * support/blob_repeat.h: New file.
4963 * support/blob_repeat.c: Likewise.
4964 * support/tst-support_blob_repeat.c: Likewise.
4965 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
4966 support_blob_repeat_allocate.
4968 2018-10-30 Andreas Schwab <schwab@suse.de>
4971 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
4972 Don't use tail call.
4973 * elf/tst-unwind-main.c: New file.
4974 * elf/Makefile (tests): Add tst-unwind-main.
4975 (CFLAGS-tst-unwind-main.c): Define.
4977 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
4980 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
4982 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
4984 2018-10-29 Joseph Myers <joseph@codesourcery.com>
4986 * conform/glibcconform.py: Do not import shutil.
4987 (list_exported_functions): Use tempfile.TemporaryDirectory instead
4990 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
4991 critic_missing for versions before 3.4.
4992 * configure: Regenerated.
4993 * manual/install.texi (Tools for Compilation): Document
4994 requirement for Python to build glibc.
4995 * INSTALL: Regenerated.
4996 * Rules [PYTHON]: Make code unconditional.
4997 * benchtests/Makefile [PYTHON]: Likewise.
4998 * conform/Makefile [PYTHON]: Likewise.
4999 * manual/Makefile [PYTHON]: Likewise.
5000 * math/Makefile [PYTHON]: Likewise.
5002 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5004 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
5005 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
5006 answer to interrupt_operation, return EIEIO instead of EINTR.
5007 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
5008 _hurd_intr_rpc_msg_about_to global point to start of controlled
5009 assembly snippet. Make it check canceled flag.
5010 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
5011 the _hurd_intr_rpc_msg_about_to point.
5012 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
5013 issue, remove cancel flag check.
5015 2018-10-26 Joseph Myers <joseph@codesourcery.com>
5017 * scripts/build-many-glibcs.py: Remove compatibility for missing
5018 os.cpu_count and re.fullmatch.
5020 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
5023 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
5024 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
5025 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
5027 2018-10-25 Joseph Myers <joseph@codesourcery.com>
5029 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
5032 2018-10-25 Florian Weimer <fweimer@redhat.com>
5036 XFAIL siginfo_t si_band conform test on sparc64.
5037 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
5038 (__SI_BAND_TYPE): Only override long int default type on sparc64.
5039 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5040 (conformtest-xfail-conds): Add sparc64-linux.
5041 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
5043 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
5045 2018-10-25 Joseph Myers <joseph@codesourcery.com>
5047 * elf/elf.h (NT_MIPS_DSP): New macro.
5048 (NT_MIPS_FP_MODE): Likewise.
5050 2018-10-25 Zong Li <zong@andestech.com>
5052 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
5053 name by adding the file extension (.so).
5055 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
5057 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
5058 (test-xfail-ISO11/threads.h/linknamespace,
5059 test-xfail-ISO11/threads.h/conform): Add.
5061 2018-10-24 Joseph Myers <joseph@codesourcery.com>
5063 * math/gen-libm-test.py: Import os.
5064 (ALL_FLOATS_MANUAL): New constant.
5065 (ALL_FLOATS_SUFFIX): Likewise.
5066 (Ulps.all_functions): New function.
5067 (real_all_ulps): Likewise.
5068 (generate_err_table_sub): Likewise.
5069 (generate_err_table): Likewise.
5070 (main): Handle -s and -m options.
5071 * manual/libm-err-tab.pl: Remove.
5072 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
5073 instead of libm-err-tab.pl.
5074 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
5076 * manual/install.texi (Tools for Compilation): Document
5077 requirement for Python to build manual.
5078 * INSTALL: Regenerated.
5080 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
5082 * bits/time64.h: New file.
5083 * include/time.h: Replace internal_time_t with __time64_t.
5084 * posix/bits/types (__time64_t): Add.
5085 * stdlib/Makefile: Add bits/time64.h to includes.
5086 * time/tzfile.c: Replace internal_time_t with __time64_t.
5088 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5090 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
5091 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
5092 __posix_spawn_file_actions_init, __posix_spawnattr_init,
5093 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
5094 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
5096 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
5097 * posix/spawn_faction_addclose.c
5098 (__posix_spawn_file_actions_addclose): Add hidden definition.
5099 * posix/spawn_faction_adddup2.c
5100 (__posix_spawn_file_actions_adddup2): Likewise.
5101 * posix/spawn_faction_destroy.c
5102 (__posix_spawn_file_actions_destroy): Likewise.
5103 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
5105 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
5106 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
5107 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
5109 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
5110 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
5113 2018-10-24 Andreas Schwab <schwab@suse.de>
5116 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
5118 * elf/cache.c (print_cache): Likewise.
5120 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
5122 * bits/timesize.h: New file.
5123 * stdlib/Makefile (headers): Add bits/timesize.h.
5124 * sysdeps/unix/sysv/linux/bits/msq-pad.h
5125 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
5126 * sysdeps/unix/sysv/linux/bits/sem-pad.h
5127 (__SEM_PAD_AFTER_TIME): Likewise.
5128 * sysdeps/unix/sysv/linux/bits/shm-pad.h
5129 (__SHM_PAD_AFTER_TIME): Likewise.
5130 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
5131 (__MSQ_PAD_BEFORE_TIME): Likewise.
5132 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
5133 (__SEM_PAD_BEFORE_TIME): Likewise.
5134 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
5135 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
5136 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
5137 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
5138 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
5139 (__MSQ_PAD_BEFORE_TIME): Likewise.
5140 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
5141 (__SEM_PAD_BEFORE_TIME): Likewise.
5142 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
5143 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
5144 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
5145 (__MSQ_PAD_BEFORE_TIME): Likewise.
5146 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
5147 (__SEM_PAD_BEFORE_TIME): Likewise.
5148 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
5149 (__SHM_PAD_BEFORE_TIME): Likewise.
5150 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
5151 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
5152 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
5154 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
5156 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
5157 USE_RDTSCP is defined.
5158 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
5159 USE_RDTSCP is defined.
5161 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5163 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
5167 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
5168 independently of other flags.
5170 2018-10-23 Florian Weimer <fweimer@redhat.com>
5172 * time/tst-mktime2.c (N_STRINGS): Remove.
5173 (set_timezone): New function.
5174 (spring_forward_gap): Call it. Use FAIL_EXIT1.
5175 (mktime_test1): Report localtime failure and check errno value.
5177 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
5178 (do_test): Remove alarm call. Use set_timezone and array_length.
5180 2018-10-23 Andreas Schwab <schwab@suse.de>
5182 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
5183 (__start_context): Use END instead of PSEUDO_END.
5185 2018-10-22 Joseph Myers <joseph@codesourcery.com>
5187 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5190 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5194 * wcsmbs/c32rtomb.c: New file.
5195 * wcsmbs/mbrtoc32.c: Likewise.
5196 * wcsmbs/tst-c32-state.c: Likewise.
5197 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
5198 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
5199 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
5200 (tests): Add tst-c32-state.
5201 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
5204 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
5206 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
5207 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
5209 2018-10-19 Joseph Myers <joseph@codesourcery.com>
5212 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
5213 pair and return 0 in that case, and use saved character to
5214 interpret following character.
5215 * wcsmbs/tst-c16-surrogate.c: New file.
5216 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
5217 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
5218 Depend on $(gen-locales)
5220 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
5223 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
5224 (struct siginfo_t): Use correct type for si_band.
5226 2018-10-19 Florian Weimer <fweimer@redhat.com>
5229 * resource/bits/types/struct_rusage.h (struct rusage): Update
5230 comment on struct. Remove extraneous field comment.
5232 2018-10-18 David S. Miller <davem@davemloft.net>
5234 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
5235 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
5236 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
5237 sysdep_routines in subdir elf.
5238 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
5239 version for __vdso_clock_gettime.
5240 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
5242 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
5243 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5245 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
5247 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
5249 * sysdeps/i386/init-arch.h: Removed.
5250 * sysdeps/i386/i586/init-arch.h: Likewise.
5251 * sysdeps/i386/i686/init-arch.h: Likewise.
5252 * sysdeps/i386/i686/hp-timing.h: Likewise.
5253 * sysdeps/x86_64/hp-timing.h: Likewise.
5254 * sysdeps/i386/isa.h: New file.
5255 * sysdeps/i386/i586/isa.h: Likewise.
5256 * sysdeps/i386/i686/isa.h: Likewise.
5257 * sysdeps/x86_64/isa.h: Likewise.
5258 * sysdeps/x86/hp-timing.h: New file.
5259 * sysdeps/x86/init-arch.h: Include <isa.h>.
5261 2018-10-17 Joseph Myers <joseph@codesourcery.com>
5263 * math/libm-test-pow.inc (pow_test_data): Do not allow
5264 divide-by-zero exception for pow(+/- 0, -Inf).
5266 2018-10-17 Zack Weinberg <zackw@panix.com>
5268 * manual/job.texi (Job Control is Optional): Remove node, as
5269 job control has not been optional in quite some time.
5270 (Job Control): Mention briefly that systems older than
5271 POSIX.1-2001 might not support job control.
5272 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
5273 defined on systems conforming to POSIX.1-2001.
5275 2018-10-17 Arjun Shankar <arjun@redhat.com>
5278 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
5280 * (__gconv_read_conf): Mark function static.
5281 * (once): New static variable.
5282 * (__gconv_load_conf): New function.
5283 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
5284 * iconv/gconv_db.c (once): Remove static variable.
5285 * (__gconv_compare_alias): Use __gconv_load_conf instead of
5287 * (__gconv_find_transform): Likewise.
5288 * iconv/tst-iconv-mt.c: New test.
5289 * iconv/Makefile: Add tst-iconv_mt.
5291 2018-10-17 Joseph Myers <joseph@codesourcery.com>
5293 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5295 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
5296 (shmatt_t): Define as __syscall_ulong_t.
5297 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
5298 and [__SHM_PAD_AFTER_TIME].
5299 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
5300 Define shm_segsz and associated padding based on
5301 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
5302 Use __syscall_ulong_t instead of unsigned long int.
5303 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
5305 [__USE_MISC] (struct shm_info): Likewise.
5306 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
5307 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
5308 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
5309 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
5310 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
5311 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
5312 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
5313 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
5314 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
5315 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
5316 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
5318 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5320 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
5321 (SHMLBA): Remove macro.
5322 (__getpagesize): Remove function declaration.
5323 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
5325 (SHMLBA): Remove macro.
5326 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
5328 (SHMLBA): Remove macro.
5329 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
5331 (SHMLBA): Remove macro.
5332 (__getpagesize): Remove function declaration.
5333 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
5335 (SHMLBA): Remove macro.
5336 (__getshmlba): Remove function declaration.
5337 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
5338 (SHMLBA): Remove macro.
5339 (__getpagesize): Remove function declaration.
5340 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
5341 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
5342 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
5343 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
5344 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
5345 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
5346 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
5347 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
5348 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
5349 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
5351 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
5354 * nptl/tst-mutex10.c: New File.
5355 * nptl/Makefile (tests): Add tst-mutex10.
5356 (tst-mutex10-ENV): New variable.
5357 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
5358 Ensure that elision path is used if elision is available.
5359 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
5361 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
5363 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
5364 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
5365 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
5366 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
5368 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
5369 (__pthread_mutex_cond_lock_adjust): Likewise.
5370 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
5372 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
5373 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5374 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5375 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
5377 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
5378 Use atomic_load_relaxed and atomic_store_relaxed.
5379 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
5380 Use atomic_store_relaxed.
5382 2018-10-17 Andreas Schwab <schwab@suse.de>
5384 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
5385 * crypt/badsalttest.c (TIMEOUT): Likewise.
5386 * crypt/sha256c-test.c (TIMEOUT): Likewise.
5387 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
5388 * io/test-lfs.c (TIMEOUT): Likewise.
5389 * libio/tst-atime.c (TIMEOUT): Likewise.
5390 * localedata/tst-leaks.c (TIMEOUT): Likewise.
5391 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
5392 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
5393 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
5394 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
5395 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
5396 * nptl/tst-cond11.c (TIMEOUT): Likewise.
5397 * nptl/tst-cond14.c (TIMEOUT): Likewise.
5398 * nptl/tst-cond15.c (TIMEOUT): Likewise.
5399 * nptl/tst-cond24.c (TIMEOUT): Likewise.
5400 * nptl/tst-cond25.c (TIMEOUT): Likewise.
5401 * nptl/tst-kill2.c (TIMEOUT): Likewise.
5402 * nptl/tst-kill3.c (TIMEOUT): Likewise.
5403 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
5404 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
5405 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
5406 * nptl/tst-once2.c (TIMEOUT): Likewise.
5407 * nptl/tst-once3.c (TIMEOUT): Likewise.
5408 * nptl/tst-once4.c (TIMEOUT): Likewise.
5409 * nptl/tst-robust8.c (TIMEOUT): Likewise.
5410 * nptl/tst-robust9.c (TIMEOUT): Likewise.
5411 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
5412 * nptl/tst-sem14.c (TIMEOUT): Likewise.
5413 * nptl/tst-sem6.c (TIMEOUT): Likewise.
5414 * nptl/tst-signal3.c (TIMEOUT): Likewise.
5415 * nptl/tst-spin4.c (TIMEOUT): Likewise.
5416 * nptl/tst-tls3.c (TIMEOUT): Likewise.
5417 * nptl/tst-tls4.c (TIMEOUT): Likewise.
5418 * posix/tst-chmod.c (TIMEOUT): Likewise.
5419 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
5420 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
5421 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
5422 * posix/tst-regex2.c (TIMEOUT): Likewise.
5423 * posix/tst-waitid.c (TIMEOUT): Likewise.
5424 * rt/tst-aio.c (TIMEOUT): Likewise.
5425 * rt/tst-aio10.c (TIMEOUT): Likewise.
5426 * rt/tst-aio4.c (TIMEOUT): Likewise.
5427 * rt/tst-aio5.c (TIMEOUT): Likewise.
5428 * rt/tst-aio6.c (TIMEOUT): Likewise.
5429 * rt/tst-aio64.c (TIMEOUT): Likewise.
5430 * rt/tst-aio7.c (TIMEOUT): Likewise.
5431 * rt/tst-aio9.c (TIMEOUT): Likewise.
5432 * rt/tst-clock.c (TIMEOUT): Likewise.
5433 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
5434 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
5435 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
5436 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
5437 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
5438 * rt/tst-timer4.c (TIMEOUT): Likewise.
5439 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
5440 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
5441 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
5442 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
5443 * time/tst-ftime.c (TIMEOUT): Likewise.
5444 * timezone/tst-tzset.c (TIMEOUT): Likewise.
5446 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
5448 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
5449 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
5452 2018-10-15 Joseph Myers <joseph@codesourcery.com>
5454 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5456 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
5457 instead of <bits/wordsize.h>.
5458 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
5459 and [__SEM_PAD_AFTER_TIME].
5460 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
5461 __syscall_ulong_t instead of unsigned long int.
5462 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
5463 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
5464 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
5465 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
5466 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
5467 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
5468 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
5469 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
5470 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
5471 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
5472 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
5474 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
5476 regex: simplify by using intprops.h
5478 * posix/regex_internal.h [_LIBC]: Include intprops.h.
5479 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
5480 intprops.h defines them.
5482 regex: __builtin_expect → __glibc_unlikely
5484 This refactoring was prompted by a problem when the regex code is
5485 used as part of Gnulib and when the builder’s compiler does not grok
5486 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
5487 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
5488 Although this refactoring does not fix the problem directly,
5489 we might as well have Gawk use the now-preferred glibc style for when
5490 __builtin_expect is unavailable.
5491 * posix/regex_internal.h (BE): Remove.
5492 All uses replaced by __glibc_unlikely or __glibc_likely.
5494 2018-10-11 Joseph Myers <joseph@codesourcery.com>
5496 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5498 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
5499 instead of <bits/wordsize.h>.
5500 (msgqnum_t): Define as __syscall_ulong_t.
5501 (msglen_t): Likewise.
5502 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
5503 and [__MSQ_PAD_AFTER_TIME].
5504 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
5505 __syscall_ulong_t instead of unsigned long int.
5506 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
5507 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
5508 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
5509 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
5510 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
5511 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
5512 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
5513 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
5514 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
5515 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
5516 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
5518 2018-10-10 Joseph Myers <joseph@codesourcery.com>
5520 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
5521 (struct shmid_ds): Condition padding after time fields on
5523 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
5524 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
5525 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
5527 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
5528 (struct semid_ds): Condition padding after time fields on
5530 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
5531 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
5532 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
5533 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
5535 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
5536 (struct msqid_ds): Condition padding after time fields on
5538 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
5539 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
5540 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
5541 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
5543 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
5545 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
5547 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
5549 * libio/tst-readline.c (TIMEOUT): Define.
5551 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
5553 mktime fix for Gnulib + coreutils
5555 This fix affects only Gnulib. Problem discovered when
5556 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
5558 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
5559 Do not define since it is not used. Defining an unused static
5560 function prompts a warning from GCC when Coreutils is configured
5561 with --enable-gcc-warnings.
5563 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5565 * benchtests/scripts/compare_bench.py (main): set float type on
5568 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
5571 * localedata/locales/kl_GL (mon): Update, the relative case.
5572 (alt_mon): Add, fill with month names in the nominative case.
5573 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
5574 (d_fmt): Set to "%b %d %Y".
5576 2018-10-04 Joseph Myers <joseph@codesourcery.com>
5578 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
5579 <bits/mman-linux.h>.
5580 (PROT_READ): Don't define here.
5581 (PROT_WRITE): Likewise.
5582 (PROT_EXEC): Likewise.
5583 (PROT_NONE): Likewise.
5584 (PROT_GROWSDOWN): Likewise.
5585 (PROT_GROWSUP): Likewise.
5586 (MAP_SHARED): Likewise.
5587 (MAP_PRIVATE): Likewise.
5588 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
5589 [__USE_MISC] (MAP_FILE): Likewise.
5590 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
5591 [__USE_MISC] (MAP_ANON): Likewise.
5592 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
5593 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
5594 (MCL_CURRENT): Likewise.
5595 (MCL_FUTURE): Likewise.
5596 (MCL_ONFAULT): Likewise.
5597 [__USE_MISC] (MADV_NORMAL): Likewise.
5598 [__USE_MISC] (MADV_RANDOM): Likewise.
5599 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
5600 [__USE_MISC] (MADV_WILLNEED): Likewise.
5601 [__USE_MISC] (MADV_DONTNEED): Likewise.
5602 [__USE_MISC] (MADV_FREE): Likewise.
5603 [__USE_MISC] (MADV_REMOVE): Likewise.
5604 [__USE_MISC] (MADV_DONTFORK): Likewise.
5605 [__USE_MISC] (MADV_DOFORK): Likewise.
5606 [__USE_MISC] (MADV_HWPOISON): Likewise.
5607 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
5608 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
5609 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
5610 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
5611 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
5612 (__MAP_ANONYMOUS): New macro.
5613 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
5614 <bits/mman-linux.h> inclusion.
5615 (MAP_FIXED): Likewise.
5616 (MS_SYNC): Likewise.
5617 (MS_ASYNC): Likewise.
5618 (MS_INVALIDATE): Likewise.
5619 [__USE_MISC] (MADV_MERGEABLE): Likewise.
5620 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
5621 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
5622 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
5623 [__USE_MISC] (MADV_DONTDUMP): Likewise.
5624 [__USE_MISC] (MADV_DODUMP): Likewise.
5625 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
5626 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
5629 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
5631 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
5632 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
5633 Add test-nldbl-redirect.
5634 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
5635 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
5636 $(objpfx)libnldbl_nonshared.a.
5638 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
5640 * support/support.h (support_objdir_elf_ldso): New variable.
5641 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
5642 * support/Makefile (CFLAGS-support_paths.c): Add definition
5643 for OBJDIR_ELF_LDSO_PATH.
5644 * support/test-container.c (main): Search for the ld.so
5645 which is also used by the testsuite.
5647 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
5650 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
5651 should be "sap" rather than "sab".
5652 (day): Fix spelling of Sunday, should be "sapaat" rather than
5655 2018-10-02 Joseph Myers <joseph@codesourcery.com>
5657 * math/libm-test-fma.inc (fma_test_data): Add more tests.
5659 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
5662 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
5663 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
5664 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
5666 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5668 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
5670 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
5672 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
5674 (CFLAGS-elision-unlock.c): Likewise.
5675 (CFLAGS-elision-timed.c): Likewise.
5676 (CFLAGS-elision-trylock.c): Likewise.
5677 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
5679 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5682 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
5683 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
5684 new fd_to_filename interface.
5685 * libio/freopen64.c (freopen64): Likewise.
5686 * libio/tst-memstream.h: New file.
5687 * libio/tst-memstream4.c: Likewise.
5688 * libio/tst-wmemstream4.c: Likewise.
5689 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
5690 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
5691 and remove internal dynamic allocation.
5693 2018-10-01 Joseph Myers <joseph@codesourcery.com>
5695 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
5696 (MREMAP_MAYMOVE): Do not define here.
5697 [__USE_GNU] (MREMAP_FIXED): Likewise.
5698 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
5699 (MREMAP_MAYMOVE): Define here instead.
5700 [__USE_GNU] (MREMAP_FIXED): Likewise.
5701 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
5702 (MREMAP_MAYMOVE): Remove.
5703 [__USE_GNU] (MREMAP_FIXED): Likewise.
5705 2018-09-28 Joseph Myers <joseph@codesourcery.com>
5707 * math/fromfp.h: Do not include <math_private.h>.
5708 * math/s_cacosh_template.c: Likewise.
5709 * math/s_casin_template.c: Likewise.
5710 * math/s_casinh_template.c: Likewise.
5711 * math/s_ccos_template.c: Likewise.
5712 * math/s_cproj_template.c: Likewise.
5713 * math/s_fdim_template.c: Likewise.
5714 * math/s_fmaxmag_template.c: Likewise.
5715 * math/s_fminmag_template.c: Likewise.
5716 * math/s_iseqsig_template.c: Likewise.
5717 * math/s_ldexp_template.c: Likewise.
5718 * math/s_nextdown_template.c: Likewise.
5719 * math/w_log1p_template.c: Likewise.
5720 * math/w_scalbln_template.c: Likewise.
5721 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
5722 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
5723 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
5724 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
5725 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
5726 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
5727 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
5728 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
5729 * sysdeps/i386/fpu/s_atanl.c: Likewise.
5730 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
5731 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
5732 * sysdeps/i386/fpu/s_fdim.c: Likewise.
5733 * sysdeps/i386/fpu/s_logbl.c: Likewise.
5734 * sysdeps/i386/fpu/s_rintl.c: Likewise.
5735 * sysdeps/i386/fpu/s_significandl.c: Likewise.
5736 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
5737 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
5738 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5739 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5740 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
5741 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5742 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5743 * sysdeps/ieee754/k_standardf.c: Likewise.
5744 * sysdeps/ieee754/k_standardl.c: Likewise.
5745 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5746 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5747 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
5748 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5749 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5750 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5751 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5752 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
5753 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
5754 * sysdeps/ieee754/s_signgam.c: Likewise.
5755 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5756 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
5757 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
5758 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
5759 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
5760 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
5761 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5762 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
5763 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5764 * sysdeps/riscv/rvd/s_finite.c: Likewise.
5765 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
5766 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
5767 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
5768 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
5769 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
5770 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
5771 * sysdeps/riscv/rvf/fegetround.c: Likewise.
5772 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
5773 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
5774 * sysdeps/riscv/rvf/fesetround.c: Likewise.
5775 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
5776 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
5777 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
5778 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
5779 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
5780 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
5781 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
5782 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
5783 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
5784 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
5785 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
5786 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
5787 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
5788 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
5789 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5790 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5791 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
5793 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
5795 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
5798 * sysdeps/i386/dl-cet.c: Removed.
5799 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
5801 (_dl_runtime_profile_shstk): Likewise.
5802 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
5803 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
5805 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5808 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
5809 do_test_with_invalid_iov): New tests.
5810 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
5811 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
5812 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
5814 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
5815 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
5816 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
5818 2018-09-27 Joseph Myers <joseph@codesourcery.com>
5820 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5821 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
5822 (MATH_REDIRECT_BINARY_ARGS): New macro.
5823 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5824 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
5825 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
5827 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
5828 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5829 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
5830 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5831 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5832 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5833 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
5838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
5840 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
5841 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
5842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
5844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
5846 * sysdeps/generic/math_private_calls.h
5847 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
5848 Do not declare and define as an inline function.
5849 * math/divtc3.c (__divtc3): Use copysign functions instead of
5850 __copysign variants.
5851 * math/multc3.c (__multc3): Likewise.
5852 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
5853 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
5854 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5855 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5857 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5858 (__ieee754_yn): Likewise.
5859 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5860 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
5861 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5862 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5863 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
5865 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
5866 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5868 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5870 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5872 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5873 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5875 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5876 (__ieee754_ynf): Likewise.
5877 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
5878 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5879 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
5880 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5882 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5883 (__ieee754_ynl): Likewise.
5884 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5885 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5886 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5888 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5889 (__ieee754_ynl): Likewise.
5890 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
5891 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5892 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5893 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5895 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5897 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
5898 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5899 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
5900 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
5901 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5903 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5904 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
5905 using MATH_REDIRECT.
5906 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
5908 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
5909 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5910 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5911 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
5912 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5913 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5914 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
5916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
5917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
5918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
5919 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5920 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5921 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5922 (round): Redirect to __round.
5923 (__roundl): Call round instead of __round.
5924 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
5926 [_ARCH_PWR5X] (__roundf): Likewise.
5927 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
5928 functions instead of __round variants.
5929 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5930 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
5932 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
5934 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
5936 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
5937 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
5939 (__ieee754_expl): Call roundl instead of __roundl.
5941 2018-09-27 Andreas Schwab <schwab@suse.de>
5944 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
5945 (do_test): Make st1 static.
5947 2018-09-26 Andreas Schwab <schwab@suse.de>
5950 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
5951 * elf/Makefile (tests): Add tst-unwind-ctor.
5952 (modules-names): Add tst-unwind-ctor-lib.
5953 ($(objpfx)tst-unwind-ctor): Depend on
5954 $(objpfx)tst-unwind-ctor-lib.so.
5956 2018-09-26 Joseph Myers <joseph@codesourcery.com>
5958 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
5959 file. Most contents moved from ....
5960 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
5961 and include <bits/mman-map-flags-generic.h>.
5962 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5963 (sysdep_headers): Add bits/mman-map-flags-generic.h.
5964 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
5965 <bits/mman-map-flags-generic.h>.
5966 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
5967 macros defined in <bits/mman-map-flags-generic.h>.
5968 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
5969 <bits/mman-map-flags-generic.h>.
5970 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
5971 defined in <bits/mman-map-flags-generic.h>.
5973 2018-09-26 Andreas Schwab <schwab@suse.de>
5975 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
5978 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
5979 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5980 Fangrui Song <maskray@google.com>
5983 * config.make.in (have-textrel_ifunc): New define.
5984 * configure.ac: Add check if linker supports textrel relocation with
5986 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
5988 (CFLAGS-tst-ifunc-textrel.c): New rule.
5989 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
5990 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
5991 * elf/tst-ifunc-textrel.c: New file.
5993 2018-09-25 Joseph Myers <joseph@codesourcery.com>
5995 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
5996 <bits/procfs-prregset.h>.
5997 (prgregset_t): Define using __prgregset_t.
5998 (prfpregset_t): Define using __prfpregset_t.
5999 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6000 (sysdep_headers): Add bits/procfs-prregset.h.
6001 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
6002 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
6003 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
6004 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
6006 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
6007 <bits/procfs-id.h> and <bits/procfs-extra.h>.
6008 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
6010 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6011 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
6012 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
6013 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
6014 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
6015 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
6016 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
6017 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
6018 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
6019 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
6020 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
6021 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
6022 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
6023 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
6024 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
6025 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
6026 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
6027 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
6028 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
6029 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
6030 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
6031 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
6032 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
6033 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
6035 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
6036 AArch64 version. Include <bits/procfs.h>.
6037 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6038 (sysdep_headers): Add bits/procfs.h.
6039 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
6040 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
6041 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
6042 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
6043 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
6044 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
6045 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
6046 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
6047 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
6048 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
6049 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
6050 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
6051 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
6052 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
6053 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
6054 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6055 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
6057 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6059 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
6062 2018-09-25 Arjun Shankar <arjun@redhat.com>
6064 * iconv/gconv_int.h (__gconv_path_elem): Remove.
6065 (__gconv_max_path_elem_len): Likewise.
6066 (__gconv_nmodules): Likewise.
6067 (__gconv_get_path): Likewise.
6068 (path_elem): Move to ...
6069 * iconv/gconv_conf.c: ... here.
6070 (__gconv_get_path): Mark function static.
6071 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
6072 * iconv/gconv_open.c: ... here.
6074 2018-09-24 Andreas Schwab <schwab@suse.de>
6076 * scripts/haveversions.awk: New file.
6077 * Makerules ($(common-objpfx)Versions.def)
6078 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
6079 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
6081 * Makeconfig ($(common-objpfx)Versions.def)
6082 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
6083 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
6085 ($(common-objpfx)Versions.mk): New rule. Include it.
6086 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
6087 Emit error if build-obsolete-nsl = yes.
6088 * manual/install.texi (Configuring and compiling): Describe
6089 --enable-obsolete-nsl as unavaiable after version 2.28.
6090 * INSTALL: Regenerate.
6092 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6094 * NEWS: Add note about new TLE support on powerpc64le.
6095 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
6096 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
6098 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
6099 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
6100 * sysdeps/powerpc/powerpc32/sysdep.h,
6101 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
6102 ABORT_TRANSACTION): Remove macros.
6103 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
6104 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
6105 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
6106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
6107 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6108 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
6110 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
6112 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
6115 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
6116 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
6117 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
6118 which is the same as in it_IT.
6119 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
6120 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
6122 2018-09-20 Joseph Myers <joseph@codesourcery.com>
6124 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6125 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
6126 using MATH_REDIRECT.
6127 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
6129 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
6130 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6131 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
6132 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6133 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6134 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
6136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
6137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
6138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
6139 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6140 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6141 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
6142 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
6143 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
6144 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
6145 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
6146 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6147 (ceil): Redirect to __ceil.
6148 (floor): Redirect to __floor.
6149 (trunc): Redirect to __trunc.
6150 (__truncl): Call trunc instead of __trunc.
6151 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
6153 [_ARCH_PWR5X] (__truncf): Likewise.
6154 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
6155 trunc functions instead of __trunc variants.
6156 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6158 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6160 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6162 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6165 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
6166 [__i586__ || __pentium__].
6167 [__i486__]: Handle explicitly.
6168 (HAS_CPUID): Define to 1 if above macros are undefined.
6169 (HAS_I586): Likewise.
6170 (HAS_I686): Likewise.
6172 2018-09-20 Florian Weimer <fweimer@redhat.com>
6174 * misc/tst-gethostid.c: New file.
6175 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
6176 (tst-gethostid): Link with -ldl.
6178 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
6180 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
6181 value from gethostbyname_r.
6183 2018-09-19 Carlos O'Donell <carlos@redhat.com>
6185 * stdlib/tst-setcontext9.c (f1): Rename to...
6187 (f1b): New function implementing lower half of f1 in alternate stack.
6189 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
6191 Fix mktime localtime offset confusion
6193 * include/time.h (__mktime_internal): The localtime offset is now
6194 of type long int instead of time_t. This is the longstanding type
6195 in glibc, and it is more than enough to represent difference
6196 between localtime and gmtime even if it is 32 bits and time_t is
6197 64. Changing it now will let us avoid an unnecessary change when
6198 time_t is widened to 64 bits on 32-bit platforms.
6199 * time/mktime-internal.h (mktime_offset_t): Now long int.
6201 Merge mktime, timegm from upstream Gnulib
6202 [BZ #23603][BZ #16346]
6203 This fixes some obscure problems with integer overflow.
6204 Although it looks scary, it is almost all a byte-for-byte copy
6205 from Gnulib, and the Gnulib code has been tested reasonably well.
6206 * include/intprops.h: New file, copied from Gnulib.
6207 * include/verify.h, time/mktime-internal.h:
6208 New tiny files, simplified from Gnulib.
6209 * time/mktime.c: Copy from Gnulib. This has the following changes:
6210 Do not include config.h if DEBUG_MKTIME is nonzero.
6211 Include stdbool.h, intprops.h, verify.h.
6212 Include string.h only if needed.
6213 Include stdlib.h on MS-Windows.
6214 Include mktime-internal.h.
6215 (DEBUG_MKTIME): Default to 0, and simplify later uses.
6216 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
6217 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
6218 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
6219 simplify later conditionals; default the others to zero. Use
6220 these conditionals to express only the code needed on the current
6221 platform. In uses of these conditionals, explicitly spell out how
6222 _LIBC affects things, so it’s easier to review from a glibc
6224 (WRAPV): Remove; no longer needed now that we have
6225 systematic overflow checking.
6226 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
6227 compartmentalize tzset issues. Move system-dependent tzsettish
6228 code here from mktime.
6229 (verify): Remove; now done by verify.h. All uses changed.
6230 (long_int): Use a more-conservative definition, to avoid
6232 (SHR): Remove, replacing with ...
6233 (shr): New function, which means we needn’t worry about side
6234 effects in args, and conversion analysis is simpler.
6235 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
6236 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
6237 (time_t_avg, time_t_add_ok): Remove.
6238 (mktime_min, mktime_max): New constants.
6239 (leapyear, isdst_differ): Use bool for booleans.
6240 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
6241 Use long_int, not time_t, for mktime differences.
6242 (long_int_avg): New function, replacing time_t_avg.
6243 INT_ADD_WRAPV replaces time_t_add_ok.
6244 (guess_time_tm): 6th arg is now long_int, not time_t const *.
6246 (convert_time): New function.
6247 (ranged_convert): Use it.
6248 (__mktime_internal): Last arg now points to mktime_offset_t, not
6249 time_t. All uses changed. This is a no-op on glibc, where
6250 mktime_offset_t is always time_t. Use int, not time_t, for UTC
6251 offset guess. Directly check for integer overflow instead of
6252 using a heuristic that works only 99.9...% of the time.
6253 Access *OFFSET only once, to avoid an unlikely race if the
6254 compiler delays a load and if this cascades into a signed integer
6256 (mktime): Move tzsettish code to my_tzset, and move
6257 localtime_offset to within mktime so that it doesn’t
6258 need a separate ifdef.
6259 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
6260 instead of localtime.
6261 * time/timegm.c: Copy from Gnulib. This has the following changes:
6262 Include mktime-internal.h.
6263 [!_LIBC]: Include config.h and time.h. Do not include
6264 timegm.h or time_r.h. Make __mktime_internal a macro,
6265 and include mktime-internal.h to get its declaration.
6266 (timegm): Temporary is now mktime_offset_t, not time_t.
6267 This affects only Gnulib.
6269 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
6272 * string/test-strstr.c (pr23637): New function.
6273 (test_main): Add tests with longer needles.
6274 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
6275 * string/strstr.c (AVAILABLE): Likewise.
6277 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
6279 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
6281 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
6283 * NEWS: Mention pow improvements.
6284 * math/Makefile (type-double-routines): Add e_pow_log_data.
6285 * sysdeps/generic/math_private.h (__exp1): Remove.
6286 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
6287 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
6288 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
6290 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
6291 (exp_inline): Remove.
6292 (__ieee754_exp): Only single double input is handled.
6293 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
6294 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
6295 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
6296 (__pow_log_data): Define.
6297 * sysdeps/ieee754/dbl-64/upow.h: Remove.
6298 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
6299 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
6300 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
6302 (CFLAGS-e_pow-fma4.c): Likewise.
6304 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
6306 Simplify tzfile fstat failure code
6308 * time/tzfile.c (__tzfile_read): Simplify slightly.
6310 Fix tzfile low-memory assertion failure
6312 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
6313 when registering time zone abbreviations.
6315 2018-09-18 Joseph Myers <joseph@codesourcery.com>
6317 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
6318 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
6319 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
6320 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
6321 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
6322 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
6323 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
6324 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6325 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6327 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
6329 (__ceill): Call ceil instead of __ceil.
6330 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
6332 (__floorl): Call floor instead of __floor.
6334 2018-09-17 Joseph Myers <joseph@codesourcery.com>
6336 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6337 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
6338 using MATH_REDIRECT.
6339 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
6341 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
6342 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6343 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6344 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
6345 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6346 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6347 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6348 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
6349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
6350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
6351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
6352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
6353 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6354 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6355 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
6356 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
6357 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
6358 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
6359 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
6361 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
6362 functions instead of __ceil variants.
6363 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6364 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
6366 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
6368 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6369 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
6371 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6372 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6375 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
6377 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
6378 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
6379 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
6380 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
6381 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
6382 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
6383 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
6384 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
6385 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
6386 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
6387 (ILL_BADIADDR): Remove constant.
6388 (TRAP_BRANCH): Likewise.
6389 (TRAP_HWBKPT): Likewise.
6391 2018-09-14 Joseph Myers <joseph@codesourcery.com>
6394 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
6395 Remove [_MIPS_SIM = _ABIN32] conditional case.
6396 (struct elf_prpsinfo): Likewise.
6399 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
6400 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
6401 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
6403 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
6404 elf_prpsinfo): Likewise.
6405 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
6406 elf_prpsinfo): Likewise.
6407 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
6410 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6411 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
6412 using MATH_REDIRECT.
6413 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
6415 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
6416 * sysdeps/alpha/fpu/s_rint.c: Likewise.
6417 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
6418 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6419 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6420 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6421 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
6422 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6423 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6424 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6425 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
6426 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
6427 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
6428 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
6429 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
6430 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6431 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6432 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
6433 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
6435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
6436 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
6437 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
6438 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
6439 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
6440 * sysdeps/x86_64/fpu/math_private.h: Remove file.
6441 * math/e_scalb.c (invalid_fn): Use rint functions instead of
6443 * math/e_scalbf.c (invalid_fn): Likewise.
6444 * math/e_scalbl.c (invalid_fn): Likewise.
6445 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6447 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6449 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6450 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
6451 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6453 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6455 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6457 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
6458 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
6460 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6461 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
6463 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6464 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
6465 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6466 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
6467 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6468 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
6469 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6470 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
6471 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6472 && !NO_MATH_REDIRECT] (floor): Likewise.
6473 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
6475 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
6476 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6477 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6478 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
6479 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6480 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6481 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6482 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
6483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
6484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
6485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
6486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
6487 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6488 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6489 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
6490 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
6491 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
6492 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
6493 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
6495 [_ARCH_PWR5X] (__floorf): Likewise.
6496 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
6498 [__SSE4_1__] (__floorf): Likewise.
6499 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
6500 instead of __floor variants.
6501 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
6502 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
6503 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
6504 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
6505 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
6506 * math/w_tgamma_compat.c (__tgamma): Likewise.
6507 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
6508 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
6509 * math/w_tgammal_compat.c (__tgammal): Likewise.
6510 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
6511 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6513 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
6514 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
6515 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
6516 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6518 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6519 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
6521 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
6522 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
6524 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6525 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
6527 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6528 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6529 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
6530 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
6531 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6532 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6534 2018-09-12 Joseph Myers <joseph@codesourcery.com>
6536 * elf/Makefile (modules-names-tests): New variable.
6538 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6540 * NEWS: Mention log2 improvements.
6541 * math/Makefile (type-double-routines): Add e_log2_data.
6542 * sysdeps/i386/fpu/e_log2_data.c: New file.
6543 * sysdeps/ia64/fpu/e_log2_data.c: New file.
6544 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
6545 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
6546 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
6547 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
6548 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
6550 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6552 * NEWS: Mention log improvement.
6553 * math/Makefile (type-double-routines): Add e_log_data.
6554 * sysdeps/i386/fpu/e_log_data.c: New file.
6555 * sysdeps/ia64/fpu/e_log_data.c: New file.
6556 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
6557 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
6558 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
6559 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
6560 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
6561 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
6563 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
6564 Xuepeng Guo <xuepeng.guo@intel.com>
6567 * sysdeps/i386/start.S: Include <sysdep.h>
6568 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
6569 enabled. Add cfi_undefined (eip).
6571 2018-09-11 Joseph Myers <joseph@codesourcery.com>
6573 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
6575 (EXTRACT_WORDS64): Likewise.
6576 (INSERT_WORDS64): Likewise.
6577 (GET_FLOAT_WORD): Likewise.
6578 (SET_FLOAT_WORD): Likewise.
6580 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
6582 (Config.build_gcc): Use --disable-libsanitizer for first GCC
6583 build, but not for second build if --full-gcc. Use
6584 --enable-languages=all for second build if --full-gcc.
6585 (get_parser): Add --full-gcc option.
6586 (main): Update call to Context.
6588 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
6591 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
6592 Single Quotation Mark).
6593 (thousands_sep): Likewise.
6594 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
6595 * localedata/locales/it_IT (thousands_sep): Use ".".
6596 (grouping): Use "3;3".
6598 2018-09-10 Joseph Myers <joseph@codesourcery.com>
6600 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
6601 x86_64 and i686 configs using --enable-obsolete-rpc
6602 --enable-obsolete-nsl.
6604 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
6606 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6608 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
6610 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
6611 Increment size of new_argv by one.
6613 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
6616 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
6617 * localedata/locales/ar_IN (d_fmt): Likewise.
6618 * localedata/locales/bhb_IN (d_fmt): Likewise.
6619 * localedata/locales/bho_IN (d_fmt): Likewise.
6620 * localedata/locales/bn_BD (d_fmt): Likewise.
6621 * localedata/locales/bn_IN (d_fmt): Likewise.
6622 * localedata/locales/doi_IN (d_fmt): Likewise.
6623 * localedata/locales/gu_IN (d_fmt): Likewise.
6624 * localedata/locales/hi_IN (d_fmt): Likewise.
6625 * localedata/locales/hne_IN (d_fmt): Likewise.
6626 * localedata/locales/kn_IN (d_fmt): Likewise.
6627 * localedata/locales/mag_IN (d_fmt): Likewise.
6628 * localedata/locales/mai_IN (d_fmt): Likewise.
6629 * localedata/locales/mjw_IN (d_fmt): Likewise.
6630 * localedata/locales/ml_IN (d_fmt): Likewise.
6631 * localedata/locales/mni_IN (d_fmt): Likewise.
6632 * localedata/locales/mr_IN (d_fmt): Likewise.
6633 * localedata/locales/pa_IN (d_fmt): Likewise.
6634 * localedata/locales/raj_IN (d_fmt): Likewise.
6635 * localedata/locales/sat_IN (d_fmt): Likewise.
6636 * localedata/locales/sd_IN (d_fmt): Likewise.
6637 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
6638 * localedata/locales/ta_IN (d_fmt): Likewise.
6639 * localedata/locales/ta_LK (d_fmt): Likewise.
6640 * localedata/locales/tcy_IN (d_fmt): Likewise.
6641 * localedata/locales/ur_IN (d_fmt): Likewise.
6643 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
6644 * localedata/locales/ks_IN (d_fmt): Likewise.
6645 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
6647 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
6648 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
6649 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
6650 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
6652 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
6654 * NEWS: Mention exp and exp2 improvements.
6655 * math/Makefile (libm-support): Remove t_exp.
6656 (type-double-routines): Add math_err and e_exp_data.
6657 * sysdeps/aarch64/libm-test-ulps: Update.
6658 * sysdeps/arm/libm-test-ulps: Update.
6659 * sysdeps/i386/fpu/e_exp_data.c: New file.
6660 * sysdeps/i386/fpu/math_err.c: New file.
6661 * sysdeps/i386/fpu/t_exp.c: Remove.
6662 * sysdeps/ia64/fpu/e_exp_data.c: New file.
6663 * sysdeps/ia64/fpu/math_err.c: New file.
6664 * sysdeps/ia64/fpu/t_exp.c: Remove.
6665 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
6666 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
6667 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
6668 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
6669 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
6670 * sysdeps/ieee754/dbl-64/math_config.h: New file.
6671 * sysdeps/ieee754/dbl-64/math_err.c: New file.
6672 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
6673 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
6674 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
6675 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
6676 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
6677 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
6678 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
6679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6680 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6682 2018-09-05 Joseph Myers <joseph@codesourcery.com>
6684 * sysdeps/alpha/fpu/math_private.h: Remove.
6686 * sysdeps/generic/math_private.h
6687 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
6688 Move this inline function ....
6689 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
6690 * include/math.h [!_ISOMAC]: To here....
6692 2018-09-04 Joseph Myers <joseph@codesourcery.com>
6694 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
6696 [!FE_HAVE_ROUNDING_MODES]: And this code ....
6697 * include/fenv.h [!_ISOMAC]: ... to here.
6698 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
6699 (feraiseexcept): Likewise.
6700 * math/fromfp.h: Do not include <fenv_private.h>.
6701 * math/s_cexp_template.c: Likewise.
6702 * math/s_csin_template.c: Likewise.
6703 * math/s_csinh_template.c: Likewise.
6704 * math/s_ctan_template.c: Likewise.
6705 * math/s_ctanh_template.c: Likewise.
6706 * math/s_iseqsig_template.c: Likewise.
6707 * math/w_acos_compat.c: Likewise.
6708 * math/w_acosf_compat.c: Likewise.
6709 * math/w_acosl_compat.c: Likewise.
6710 * math/w_asin_compat.c: Likewise.
6711 * math/w_asinf_compat.c: Likewise.
6712 * math/w_asinl_compat.c: Likewise.
6713 * math/w_j0_compat.c: Likewise.
6714 * math/w_j0f_compat.c: Likewise.
6715 * math/w_j0l_compat.c: Likewise.
6716 * math/w_j1_compat.c: Likewise.
6717 * math/w_j1f_compat.c: Likewise.
6718 * math/w_j1l_compat.c: Likewise.
6719 * math/w_jn_compat.c: Likewise.
6720 * math/w_jnf_compat.c: Likewise.
6721 * math/w_log10_compat.c: Likewise.
6722 * math/w_log10f_compat.c: Likewise.
6723 * math/w_log10l_compat.c: Likewise.
6724 * math/w_log2_compat.c: Likewise.
6725 * math/w_log2f_compat.c: Likewise.
6726 * math/w_log2l_compat.c: Likewise.
6727 * math/w_log_compat.c: Likewise.
6728 * math/w_logf_compat.c: Likewise.
6729 * math/w_logl_compat.c: Likewise.
6730 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6731 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6732 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6733 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6734 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6735 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6736 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6737 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6738 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6739 * sysdeps/ieee754/k_standardl.c: Likewise.
6740 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6741 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6742 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6743 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6744 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6745 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6746 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6747 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6748 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6749 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6750 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6751 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6752 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6753 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6754 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6755 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6756 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6757 * math/w_ilogb_template.c: Include <fenv.h> instead of
6759 * math/w_llogb_template.c: Likewise.
6760 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6761 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6763 2018-09-03 Joseph Myers <joseph@codesourcery.com>
6765 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
6766 * math/fromfp.h: Include <fenv_private.h>.
6767 * math/math-narrow.h: Likewise.
6768 * math/s_cexp_template.c: Likewise.
6769 * math/s_csin_template.c: Likewise.
6770 * math/s_csinh_template.c: Likewise.
6771 * math/s_ctan_template.c: Likewise.
6772 * math/s_ctanh_template.c: Likewise.
6773 * math/s_iseqsig_template.c: Likewise.
6774 * math/w_acos_compat.c: Likewise.
6775 * math/w_acosf_compat.c: Likewise.
6776 * math/w_acosl_compat.c: Likewise.
6777 * math/w_asin_compat.c: Likewise.
6778 * math/w_asinf_compat.c: Likewise.
6779 * math/w_asinl_compat.c: Likewise.
6780 * math/w_ilogb_template.c: Likewise.
6781 * math/w_j0_compat.c: Likewise.
6782 * math/w_j0f_compat.c: Likewise.
6783 * math/w_j0l_compat.c: Likewise.
6784 * math/w_j1_compat.c: Likewise.
6785 * math/w_j1f_compat.c: Likewise.
6786 * math/w_j1l_compat.c: Likewise.
6787 * math/w_jn_compat.c: Likewise.
6788 * math/w_jnf_compat.c: Likewise.
6789 * math/w_llogb_template.c: Likewise.
6790 * math/w_log10_compat.c: Likewise.
6791 * math/w_log10f_compat.c: Likewise.
6792 * math/w_log10l_compat.c: Likewise.
6793 * math/w_log2_compat.c: Likewise.
6794 * math/w_log2f_compat.c: Likewise.
6795 * math/w_log2l_compat.c: Likewise.
6796 * math/w_log_compat.c: Likewise.
6797 * math/w_logf_compat.c: Likewise.
6798 * math/w_logl_compat.c: Likewise.
6799 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6800 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6801 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6802 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6803 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6804 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6805 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6806 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6807 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6808 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6809 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6810 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6811 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
6812 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
6813 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6814 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6815 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6816 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6817 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6818 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6819 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6820 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6821 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6822 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6823 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6824 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6825 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6826 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
6827 * sysdeps/ieee754/float128/float128_private.h: Likewise.
6828 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6829 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6830 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6831 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
6832 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6833 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6834 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6835 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6836 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6837 * sysdeps/ieee754/k_standardl.c: Likewise.
6838 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6839 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6840 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6841 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6842 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6843 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6844 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6845 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6846 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6847 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6848 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6849 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6850 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6851 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6852 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6853 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
6854 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6855 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
6856 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6857 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6858 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6859 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6860 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6861 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6862 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6863 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6864 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6865 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6866 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
6867 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6868 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6869 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6870 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6871 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6872 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6873 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6874 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6875 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6876 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6877 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6878 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6879 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6880 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6881 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6882 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6883 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6884 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6885 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6886 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6887 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6888 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6889 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6890 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6891 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6892 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6893 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6894 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6895 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6896 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6897 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6898 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6899 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6900 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6901 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6902 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6903 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6904 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6905 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6906 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6907 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6908 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6910 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6913 * include/stdio.h (__libc_fatal): Mention newline in comment.
6914 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
6915 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
6916 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6917 * nss/nsswitch.c (__nss_next2): Likewise.
6918 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
6919 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
6920 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
6921 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6922 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
6923 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
6924 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
6925 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
6926 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
6927 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
6928 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
6929 * sysdeps/unix/sysv/linux/netlink_assert_response.c
6930 (__netlink_assert_response): Likewise.
6932 2018-08-31 Joseph Myers <joseph@codesourcery.com>
6934 * conform/glibcconform.py: New file.
6935 * conform/list-header-symbols.py: Likewise.
6936 * conform/list-header-symbols.pl: Remove.
6937 * conform/Makefile (tests-special): Only add linknamespace tests
6939 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
6941 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
6944 * support/Makefile (libsupport-routines): Add
6945 support_copy_file_range and xcopy_file_range.
6946 * support/support.h: Include <sys/types.h>.
6947 (support_copy_file_range): New prototype.
6948 * support/support_copy_file_range.c: New file. Copied and
6949 modified from io/copy_file_range-compat.c.
6950 * support/test-container.c (copy_one_file): Call xcopy_file_rang
6951 instead of copy_file_range.
6952 * support/xcopy_file_range.c: New file.
6953 * support/xunistd.h (xcopy_file_range): New prototype.
6955 2018-08-30 Carlos O'Donell <carlos@redhat.com>
6957 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
6958 xpthread_create and xpthread_join.
6960 2018-08-30 Florian Weimer <fweimer@redhat.com>
6962 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
6964 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
6966 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
6969 2018-08-29 Joseph Myers <joseph@codesourcery.com>
6971 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
6972 and minus_oflow as non-finite.
6974 2018-08-28 Joseph Myers <joseph@codesourcery.com>
6976 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
6977 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
6978 moved to fenv_private.h except for ...
6979 (TOINT_INTRINSICS): Kept in math_private.h.
6980 (roundtoint): Likewise.
6981 (converttoint): Likewise.
6982 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
6983 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6984 * sysdeps/arm/math_private.h: Remove.
6985 * sysdeps/generic/fenv_private.h: New file. Contents moved from
6987 * sysdeps/generic/math_private.h: ... this file. Include
6988 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
6989 Include <fenv_private.h>. Remove functions and macros moved to
6991 * sysdeps/i386/fpu/math_private.h: Remove.
6992 * sysdeps/mips/math_private.h: Move to ....
6993 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
6994 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
6995 [__mips_hard_float] conditional. Include next <fenv_private.h>.
6996 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
6997 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6998 * sysdeps/powerpc/fpu/math_private.h: Do not include
7000 * sysdeps/riscv/rvf/math_private.h: Move to ....
7001 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
7002 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
7004 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
7005 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7006 * sysdeps/sparc/fpu/math_private.h: Remove.
7007 * sysdeps/i386/fpu/fenv_private.h: Move to ....
7008 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
7009 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
7011 * sysdeps/x86_64/fpu/math_private.h: Do not include
7012 <sysdeps/i386/fpu/fenv_private.h>.
7014 2018-08-28 Florian Weimer <fweimer@redhat.com>
7017 * posix/tst-regcomp-truncated.c: New file.
7018 * posix/Makefile (tests): Add it.
7019 (tst-regcomp-truncated.out): Depend on generated locales.
7021 2018-08-28 Florian Weimer <fweimer@redhat.com>
7023 * support/test-container.c (main): Treat unshare failure with
7024 EPERM as an unsupported test.
7026 2018-08-28 Florian Weimer <fweimer@redhat.com>
7029 nscd: Fix use-after-free in addgetnetgrentX and its callers.
7030 * nscd/netgroupcache.c
7031 (addgetnetgrentX): Add tofreep parameter. Do not free
7032 heap-allocated buffer.
7033 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
7034 (addgetnetgrentX_ignore): New function.
7035 (addgetnetgrent): Call it.
7036 (readdgetnetgrent): Likewise.
7038 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7040 * string/memmem.c: Use memcmp for first match.
7042 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
7045 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
7047 2018-08-27 DJ Delorie <dj@redhat.com>
7049 * support/Makefile (others): Don't list programs explicitly as a
7050 dependency of "others".
7052 2018-08-27 Joseph Myers <joseph@codesourcery.com>
7054 * sysdeps/generic/math-tests-trap-force.h: New file.
7055 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
7056 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
7057 * sysdeps/powerpc/math-tests.h: Remove file.
7058 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
7060 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
7061 Torvald Riegel <triegel@redhat.com>
7064 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
7065 Update r to include the set wake-request flag if waiters are
7066 remaining after spinning.
7068 2018-08-27 Joseph Myers <joseph@codesourcery.com>
7070 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
7072 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
7075 regex: fix uninitialized memory access
7076 I introduced this bug into gnulib in commit
7077 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
7078 eventually it was merged into glibc. The bug was found by
7079 project-repo <bugs@feusi.co> and reported here:
7080 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
7081 Diagnosis and draft fix reported by Assaf Gordon here:
7082 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
7083 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
7084 * posix/regex_internal.c (build_wcs_upper_buffer):
7085 Fix bug when mbrtowc returns 0.
7087 2018-08-24 Carlos O'Donell <carlos@redhat.com>
7089 * po/be.po: Update translation.
7091 2018-08-24 DJ Delorie <dj@delorie.com>
7093 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
7096 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7099 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
7100 create temporary files in source tree.
7102 2018-08-24 Joseph Myers <joseph@codesourcery.com>
7104 * sysdeps/generic/math-tests-trap.h: New file.
7105 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
7106 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
7107 * sysdeps/aarch64/math-tests.h: Remove file.
7108 * sysdeps/arm/math-tests.h: Likewise.
7109 * sysdeps/riscv/math-tests.h: Likewise.
7110 * sysdeps/aarch64/math-tests-trap.h: New file.
7111 * sysdeps/arm/math-tests-trap.h: Likewise.
7112 * sysdeps/riscv/math-tests-trap.h: Likewise.
7114 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
7116 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
7117 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
7118 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
7119 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
7120 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
7121 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
7122 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7123 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
7124 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
7125 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7126 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7127 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7128 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7129 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
7130 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
7131 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
7132 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7133 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7135 2018-08-23 Joseph Myers <joseph@codesourcery.com>
7137 * sysdeps/generic/math-tests-exceptions.h: New file.
7138 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
7139 (EXCEPTION_TESTS_float): Do not define here.
7140 (EXCEPTION_TESTS_double): Likewise.
7141 (EXCEPTION_TESTS_long_double): Likewise.
7142 (EXCEPTION_TESTS_float128): Likewise.
7143 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
7145 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
7146 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
7147 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
7148 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
7149 * sysdeps/mips/math-tests.h: Likewise.
7150 * sysdeps/nios2/math-tests.h: Likewise.
7151 * sysdeps/riscv/math-tests.h [!__riscv_flen]
7152 (EXCEPTION_TESTS_float): Do not define here.
7153 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
7154 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
7155 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
7157 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
7159 * NEWS: Move optimized sinf entry to 2.29.
7161 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
7163 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
7165 2018-08-22 DJ Delorie <dj@redhat.com>
7167 * Makefile (testroot.pristine): New rules to initialize the
7168 test-in-container "testroot".
7169 * Makerules (all-testsuite): Add tests-container.
7170 * Rules (tests-expected): Add tests-container.
7171 (binaries-all-tests): Likewise.
7172 (tests-container): New, run these tests in the testroot container.
7173 * support/Makefile (others): Add *-container, support_paths.c,
7174 xmkdirp, and links-dso-program.
7175 * support/links-dso-program-c.c: New.
7176 * support/links-dso-program.cc: New.
7177 * support/test-container.c: New.
7178 * support/shell-container.c: New.
7179 * support/echo-container.c: New.
7180 * support/true-container.c: New.
7181 * support/xmkdirp.c: New.
7182 * support/xsymlink.c: New.
7183 * support/support_paths.c: New.
7184 * support/support.h: Add support paths prototypes.
7185 * support/xunistd.h: Add xmkdirp () and xsymlink ().
7187 * nss/tst-nss-test3.c: Convert to test-in-container.
7188 * nss/tst-nss-test3.root/: New.
7190 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
7192 regex: port Gnulib code to z/OS POSIX environment
7193 Problem reported by Arnold Robbins in:
7194 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
7195 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
7198 2018-08-22 Joseph Myers <joseph@codesourcery.com>
7200 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
7201 (ROUNDING_TESTS_double): Remove.
7202 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
7203 (ROUNDING_TESTS_double): Remove.
7204 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
7205 (ROUNDING_TESTS_double): Remove.
7206 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
7207 (ROUNDING_TESTS_float): Remove.
7208 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
7209 (ROUNDING_TESTS_float): Remove.
7210 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
7211 (ROUNDING_TESTS_float): Remove.
7212 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
7214 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7215 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7217 * sysdeps/generic/math-tests-rounding.h: New file.
7218 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
7219 (ROUNDING_TESTS_float): Do not define here.
7220 (ROUNDING_TESTS_double): Likewise.
7221 (ROUNDING_TESTS_long_double): Likewise.
7222 (ROUNDING_TESTS_float128): Likewise.
7223 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
7224 (ROUNDING_TESTS_double): Undefine before defining.
7225 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
7226 (ROUNDING_TESTS_double): Undefine before defining.
7227 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
7228 (ROUNDING_TESTS_double): Undefine before defining.
7229 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
7230 (ROUNDING_TESTS_float): Undefine before defining.
7231 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
7232 (ROUNDING_TESTS_float): Undefine before defining.
7233 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
7234 (ROUNDING_TESTS_float): Undefine before defining.
7235 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
7236 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
7238 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
7239 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
7240 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
7241 * sysdeps/riscv/math-tests.h [!__riscv_flen]
7242 (ROUNDING_TESTS_float): Do not define here.
7243 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
7244 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
7245 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
7246 (ROUNDING_TESTS_float): Likewise.
7247 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
7248 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
7249 * sysdeps/mips/math-tests.h [__mips_soft_float]
7250 (ROUNDING_TESTS_float): Likewise.
7251 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
7252 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
7253 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
7254 (ROUNDING_TESTS_double): Likewise.
7255 (ROUNDING_TESTS_long_double): Likewise.
7257 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
7259 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
7260 (PF_XDP): New macro.
7261 (AF_XDP): New macro.
7262 (SOL_XDP): New macro.
7264 2018-08-21 Joseph Myers <joseph@codesourcery.com>
7266 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
7267 (TCP_INQ): Likewise.
7268 (TCP_CM_INQ): Likewise.
7269 (TCP_REPAIR_ON): Likewise.
7270 (TCP_REPAIR_OFF): Likewise.
7271 (TCP_REPAIR_OFF_NO_WP): Likewise.
7272 (struct tcp_zerocopy_receive): New type.
7274 2018-08-21 Florian Weimer <fweimer@redhat.com>
7276 * support/support.h (support_descriptor_supports_holes): Declare.
7277 * support/Makefile (libsupport-routines): Add
7278 support_descriptor_supports_holes.
7279 * support/support_descriptor_supports_holes.c: New file.
7280 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
7281 and stop testing if holes are not supported.
7282 * io/test-lfs.c (do_prepare): Likewise.
7283 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
7285 * timezone/tst-tzset.c (create_tz_file): Likewise.
7286 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
7288 (do_prepare): Set it.
7289 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
7291 2018-08-21 Florian Weimer <fweimer@redhat.com>
7294 * Makeconfig (+cflags): Do not sort (and deduplicate).
7296 2018-08-21 Florian Weimer <fweimer@redhat.com>
7298 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
7299 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
7301 2018-08-20 Florian Weimer <fweimer@redhat.com>
7303 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
7304 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
7306 2018-08-20 Joseph Myers <joseph@codesourcery.com>
7308 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
7309 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
7310 and ssi_arch members.
7312 * elf/elf.c (NT_VMCOREDD): New macro.
7313 (AT_MINSIGSTKSZ): Likewise.
7315 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7317 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
7318 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
7319 s_cosf-ppc64 and s_cosf-power8.
7320 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
7321 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7322 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7323 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
7325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
7326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
7327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
7328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
7329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
7330 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
7331 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
7333 2018-08-17 Florian Weimer <fweimer@redhat.com>
7335 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7337 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
7339 * malloc/malloc.c (_int_malloc): Additional binning code checks.
7341 2018-08-16 Florian Weimer <fweimer@redhat.com>
7343 * configure.ac: Add --with-nonshared-cflags option.
7344 * config.make.in (extra-nonshared-cflags): Set variable.
7345 * Makeconfig (CFLAGS-.oS): Use it.
7346 * manual/install.texi (Configuring and compiling): Document
7347 --with-nonshared-cflags.
7348 * configure: Regenerate.
7349 * INSTALL: Likewise.
7351 2018-08-16 Florian Weimer <fweimer@redhat.com>
7353 * Makeconfig (ASFLAGS): Always append required assembler flags.
7355 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
7357 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
7358 (malloc_consolidate): Likewise.
7360 2018-08-16 Pochang Chen <johnchen902@gmail.com>
7362 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
7364 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7366 * benchtests/bench-strlen.c (do_test): Allocate buffers before
7369 * benchtests/bench-strlen.c: Print performance numbers in json.
7371 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7373 * sysdeps/powerpc/powerpc64/multiarch/Makefile
7374 (sysdep_routines): Build strcmp-power9 and strncmp-power9
7375 only for little endian.
7376 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7377 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
7378 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
7379 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
7380 Add check for little endian.
7381 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
7382 (__strcmp_power9): Add check for little endian.
7383 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
7384 Add check for little endian.
7385 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
7386 (__strncmp_power9): Add check for little endian.
7387 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
7388 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
7389 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
7390 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
7391 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
7393 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
7395 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
7396 [!STRLEN](STRLEN): Set to __strlen.
7397 * sysdeps/aarch64/multiarch/strlen.c: New file.
7398 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
7399 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
7400 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7401 (__libc_ifunc_impl_list): Add strlen.
7402 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
7403 strlen_generic and strlen_asimd.
7405 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
7407 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
7408 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
7409 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
7411 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
7413 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
7415 2018-08-14 Florian Weimer <fweimer@redhat.com>
7418 * include/stdio.h (__vfxprintf): Declare.
7419 * stdio-common/fxprintf.c (__vfxprintf): New function.
7420 (__fxprintf): Call it.
7421 * misc/err.c (convert_and_print): Remove function.
7422 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
7423 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
7424 * misc/Makefile (tests): Add tst-warn-wide.
7425 * misc/tst-warn-wide.c: New file.
7427 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
7428 Szabolcs Nagy <szabolcs.nagy@arm.com>
7430 * NEWS: Mention sinf, cosf, sincosf.
7431 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
7432 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
7433 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
7434 constants rather than including generic sincosf.h.
7435 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
7436 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
7437 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
7438 (reduced_cos): Remove.
7439 (sinf_poly): New function.
7440 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
7442 2018-08-14 Florian Weimer <fweimer@redhat.com>
7446 * nss/nss_files/files-alias.c (get_next_alias): During :include:
7447 processing, bail out if no room, and close the stream before
7449 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
7450 (tst-nss-files-alias-leak): Link with libdl.
7451 (tst-nss-files-alias-leak.out): Depend on nss_files.
7453 * nss/tst-nss-files-alias-leak.c: New file.
7455 2018-08-14 Florian Weimer <fweimer@redhat.com>
7457 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
7458 server_user, stat_user.
7460 2018-08-13 Joseph Myers <joseph@codesourcery.com>
7462 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7464 (io_pgetevents): New syscall.
7467 * manual/install.texi (Configuring and compiling): Do not list
7468 tools used for testing pretty printers here.
7469 (Tools for Compilation): List Python, PExpect and GDB here.
7470 Update descriptions of uses of Perl and Python.
7471 * INSTALL: Regenerate.
7473 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7476 2018-08-13 Florian Weimer <fweimer@redhat.com>
7478 * misc/error.c (error): Add missing va_end call.
7479 (error_at_line): Likewise.
7481 2018-08-13 Florian Weimer <fweimer@redhat.com>
7483 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
7485 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
7487 * benchtests/scripts/benchout.schema.json (properties): Add
7490 * benchtests/bench-skeleton.c (main): Add duration and
7491 iterations attributes.
7493 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
7495 regex: Gnulib unibyte RRI uses bytes not chars
7496 Adjust the non-glibc code to agree with what Gawk needs for
7497 rational range interpretation (RRI) for regular expression ranges.
7498 In unibyte locales, Gawk wants ranges to use the underlying byte
7499 rather than the character code point. This change does not affect
7501 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
7502 In unibyte locales, use the byte value rather than
7503 running it through btowc.
7505 2018-08-10 Joseph Myers <joseph@codesourcery.com>
7507 * sysdeps/generic/math-tests-snan.h: New file.
7508 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
7509 (SNAN_TESTS_float): Do not define here.
7510 (SNAN_TESTS_double): Likewise.
7511 (SNAN_TESTS_long_double): Likewise.
7512 (SNAN_TESTS_float128): Likewise.
7513 * sysdeps/i386/fpu/math-tests-snan.h: New file.
7514 * sysdeps/i386/fpu/math-tests.h: Remove file.
7515 * sysdeps/ia64/math-tests-snan.h: New file.
7516 * sysdeps/ia64/math-tests.h: Remove file.
7517 * sysdeps/x86/math-tests.h: Likewise.
7518 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
7520 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7521 Szabolcs Nagy <szabolcs.nagy@arm.com>
7523 * math/Makefile: Add s_sincosf_data.c.
7524 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
7525 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
7526 (sincosf_poly): Likewise.
7527 (reduce_small): Likewise.
7528 (reduce_large): Likewise.
7529 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
7530 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
7531 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
7532 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
7534 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7535 Szabolcs Nagy <szabolcs.nagy@arm.com>
7537 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
7538 (converttoint): Use lround.
7539 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
7540 document the semantics when TOINT_INTRINSICS is set.
7541 (converttoint): Likewise.
7542 (TOINT_RINT): Remove.
7543 (TOINT_SHIFT): Remove.
7544 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
7547 2018-08-10 Florian Weimer <fweimer@redhat.com>
7550 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
7552 (__old_getdents64): Use getdents64. Convert entries without
7554 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
7555 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
7556 tst-readdir64-compat.
7558 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7560 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
7563 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7565 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
7566 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
7567 code to s390x-mcount.h and #include it.
7568 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
7569 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7572 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7574 * stdlib/Versions: Remove __fentry__.
7575 * sysdeps/i386/Versions: Add __fentry__.
7576 * sysdeps/x86_64/Versions: Add __fentry__.
7578 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7580 * sysdeps/s390/Makefile: Register the new tests.
7581 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
7582 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
7583 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
7584 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
7585 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
7586 * sysdeps/s390/tst-dl-runtime.c: New file.
7588 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7590 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7593 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7595 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
7598 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7600 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7603 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7605 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7608 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7610 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7611 Use symbolic offsets for stack variables.
7613 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7615 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
7616 Use symbolic offsets for stack variables.
7618 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7620 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7621 Use symbolic offsets for stack variables.
7623 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7625 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7626 Use symbolic offsets for stack variables.
7628 2018-08-09 Joseph Myers <joseph@codesourcery.com>
7630 * math/gen-libm-test.py: New file.
7631 * math/gen-libm-test.pl: Remove.
7632 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
7633 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
7635 ($(libm-test-c-noauto-obj)): Likewise.
7636 ($(libm-test-c-auto-obj)): Likewise.
7637 ($(libm-test-c-narrow-obj)): Likewise.
7638 (regen-ulps): Likewise.
7639 * math/README.libm-test: Update references to gen-libm-test.pl.
7640 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
7641 referencing gen-libm-test.pl.
7642 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
7643 * math/libm-test-support.c: Likewise.
7644 * math/libm-test-support.h: Likewise.
7645 * sysdeps/generic/libm-test-ulps: Likewise.
7647 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
7649 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
7652 2018-08-08 Joseph Myers <joseph@codesourcery.com>
7654 * math/libm-test-nextdown.inc (do_test): Move comment to ....
7655 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
7657 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
7659 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
7661 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
7662 __pthread_setspecific): Add hidden proto.
7663 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
7664 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
7666 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
7668 * benchtests/bench-string.h (buf1_size, buf2_size): New
7670 (init_sizes): New function.
7671 (test_init): Use it.
7672 (alloc_buf, exit_error): New functions.
7673 (alloc_bufs): Use ALLOC_BUF.
7674 (realloc_bufs): Remove.
7675 * benchtests/bench-memcmp.c (do_test): Adjust.
7676 * benchtests/bench-memset-large.c (do_test): Likewise.
7677 * benchtests/bench-memset-walk.c (do_test): Likewise.
7678 * benchtests/bench-memset.c (do_test): Likewise.
7679 * benchtests/bench-strncmp.c (do_test): Likewise.
7681 2018-08-06 Andreas Schwab <schwab@suse.de>
7683 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
7684 of CONST_THREAD_AREA.
7686 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
7688 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
7689 (STATE_SAVE_MASK): Likewise.
7690 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
7691 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
7692 (STATE_SAVE_MASK): Likewise.
7693 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
7694 instead of <cpu-features.h>.
7696 2018-08-03 DJ Delorie <dj@redhat.com>
7698 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
7699 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
7701 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
7703 2018-08-03 Joseph Myers <joseph@codesourcery.com>
7705 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
7707 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
7708 * math/libm-test-logb.inc (logb_test_data): Likewise.
7710 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
7712 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
7713 * string/strstr.c (AVAILABLE): Likewise.
7715 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
7717 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
7719 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
7720 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
7721 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
7723 2018-08-03 Carlos O'Donell <carlos@redhat.com>
7725 * po/be.po: Update translation.
7727 * po/be.po: Update translation.
7729 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
7731 * sysdeps/x86/cpu-features-offsets.sym
7732 (rtld_global_ro_offsetof): Removed.
7733 (CPU_FEATURES_SIZE): Likewise.
7734 (CPUID_OFFSET): Likewise.
7735 (CPUID_SIZE): Likewise.
7736 (CPUID_EAX_OFFSET): Likewise.
7737 (CPUID_EBX_OFFSET): Likewise.
7738 (CPUID_ECX_OFFSET): Likewise.
7739 (CPUID_EDX_OFFSET): Likewise.
7740 (FAMILY_OFFSET): Likewise.
7741 (MODEL_OFFSET): Likewise.
7742 (FEATURE_OFFSET): Likewise.
7743 (FEATURE_SIZ): Likewise.
7744 (COMMON_CPUID_INDEX_1): Likewise.
7745 (COMMON_CPUID_INDEX_7): Likewise.
7746 (FEATURE_INDEX_1): Likewise.
7747 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
7749 2018-08-02 Carlos O'Donell <carlos@redhat.com>
7751 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
7752 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
7753 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
7754 (install-locales): Depend on install-locale-archive.
7755 (install-locale-archive): Define.
7756 (install-locale-files): Define.
7757 (build-one-locale): Define macro.
7758 * manual/install.texi (Running make install): Document.
7759 * manual/INSTALL: Regenerate.
7761 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
7763 * benchtests/scripts/compare_strings.py: Import traceback.
7764 (parse_file): Pretty-print error.
7766 * NEWS: Mention the change.
7767 * elf/dl-tunables.list: Rename tune namespace to cpu.
7768 * sysdeps/powerpc/dl-tunables.list: Likewise.
7769 * sysdeps/x86/dl-tunables.list: Likewise.
7770 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
7772 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
7773 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
7774 * manual/README.tunables: Likewise.
7775 * manual/tunables.texi: Likewise.
7776 * sysdeps/powerpc/cpu-features.c: Likewise.
7777 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
7778 (init_cpu_features): Likewise.
7779 * sysdeps/x86/cpu-features.c: Likewise.
7780 * sysdeps/x86/cpu-features.h: Likewise.
7781 * sysdeps/x86/cpu-tunables.c: Likewise.
7782 * sysdeps/x86_64/Makefile: Likewise.
7783 * sysdeps/x86/dl-cet.c: Likewise.
7785 2018-08-02 Joseph Myers <joseph@codesourcery.com>
7788 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
7789 [__mips_hard_float].
7790 (FE_UNDERFLOW): Likewise.
7791 (FE_OVERFLOW): Likewise.
7792 (FE_DIVBYZERO): Likewise.
7793 (FE_INVALID): Likewise.
7794 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
7795 (FE_TOWARDZERO): Define only if [__mips_hard_float].
7796 (FE_UPWARD): Likewise.
7797 (FE_DOWNWARD): Likewise.
7798 (__FE_UNDEFINED): Define if [!__mips_hard_float]
7799 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
7800 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
7801 [__mips_hard_float].
7802 (FP_ROUNDMODE): Likewise.
7803 (FP_RND_NEAREST): Likewise.
7804 (FP_RND_ZERO): Likewise.
7805 (FP_RND_PINF): Likewise.
7806 (FP_RND_MINF): Likewise.
7807 (FP_EX_INVALID): Likewise.
7808 (FP_EX_OVERFLOW): Likewise.
7809 (FP_EX_UNDERFLOW): Likewise.
7810 (FP_EX_DIVZERO): Likewise.
7811 (FP_EX_INEXACT): Likewise.
7812 (FP_INIT_ROUNDMODE): Likewise.
7813 * sysdeps/mips/nofpu/fesetenv.c: New file.
7814 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
7816 2018-08-01 Joseph Myers <joseph@codesourcery.com>
7818 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
7819 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
7820 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
7821 conditional on [FE_UPWARD].
7823 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
7825 regex: fix memory leak in Gnulib
7826 Problem and fix reported by Assaf Gordon in:
7827 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
7828 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
7829 range_ends members too, as they are defined in 'struct
7830 re_charset_t' even if not _LIBC. This affects only Gnulib.
7832 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
7834 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
7836 (get_common_indices): This.
7837 (init_cpu_features): Updated.
7839 2018-08-01 Joseph Myers <joseph@codesourcery.com>
7841 * sysdeps/generic/math-tests-snan-payload.h: New file.
7842 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
7843 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
7844 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
7845 * sysdeps/generic/math-tests.h: Include
7846 <math-tests-snan-payload.h>.
7847 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
7848 * sysdeps/hppa/math-tests.h: Remove file.
7849 * sysdeps/mips/math-tests.h [!__mips_nan2008]
7850 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
7851 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
7854 * sysdeps/generic/math-tests-snan-cast.h: New file.
7855 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
7856 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
7857 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
7858 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
7860 2018-08-01 Carlos O'Donel <carlos@redhat.com>
7862 * version.h (RELEASE): Set to "development".
7863 (VERSION): Set to "2.28.9000".
7864 * NEWS (2.29): New section.
7866 * version.h (RELEASE): Set to "stable".
7867 (VERSION): Set to "2.28".
7868 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
7869 * NEWS: Add the list of bugs fixed in 2.28.
7871 * po/ca.po: Update to latest version.
7872 * po/cs.po: Likewise
7873 * po/da.po: Likewise
7874 * po/el.po: Likewise
7875 * po/eo.po: Likewise
7876 * po/es.po: Likewise
7877 * po/fi.po: Likewise
7878 * po/fr.po: Likewise
7879 * po/gl.po: Likewise
7880 * po/hu.po: Likewise
7881 * po/ia.po: Likewise
7882 * po/id.po: Likewise
7883 * po/it.po: Likewise
7884 * po/ja.po: Likewise
7885 * po/ko.po: Likewise
7886 * po/lt.po: Likewise
7887 * po/nb.po: Likewise
7888 * po/nl.po: Likewise
7889 * po/pt_BR.po: Likewise
7890 * po/ru.po: Likewise
7891 * po/rw.po: Likewise
7892 * po/sk.po: Likewise
7893 * po/sl.po: Likewise
7894 * po/tr.po: Likewise
7895 * po/zh_CN.po: Likewise
7896 * po/zh_TW.po: Likewise
7898 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7900 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
7902 (init): ... before initializing libpthread.
7904 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
7905 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
7906 (__mach_setup_tls): ... new function.
7907 (mach_setup_tls): New alias.
7908 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
7909 __mach_setup_thread.
7910 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
7911 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
7912 * mach/Versions [libc] (mach_setup_tls): Add symbol.
7913 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
7915 2018-07-31 Carlos O'Donell <carlos@redhat.com>
7917 * manual/install.texi: Update versions.
7918 * INSTALL: Regenerate.
7920 * manual/contrib.texi (Contributors): Update contributions.
7922 2018-07-31 Carlos O'Donell <carlos@redhat.com>
7924 * po/be.po: Update translations.
7926 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7928 * sysdeps/sh/libm-test-ulps: Update.
7930 2018-07-30 Carlos O'Donell <carlos@redhat.com>
7932 * po/bg.po: Update translations.
7933 * po/de.po: Likewise.
7934 * po/hr.po: Likewise.
7935 * po/pt_BR.po: Likewise.
7936 * po/sv.po: Likewise.
7937 * po/vi.po: Likewise.
7939 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
7942 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
7943 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
7944 (CFLAGS-tst-cet-property-1.o): New.
7945 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
7946 ($(objpfx)tst-cet-property-2): Likewise.
7947 ($(objpfx)tst-cet-property-2.out): Likewise.
7948 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
7949 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
7950 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
7951 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
7952 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
7954 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
7957 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
7959 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7961 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
7962 __sbrk): Do not set attribute_hidden.
7963 * sysdeps/mach/hurd/not-errno.h: New file.
7964 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
7965 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
7967 2018-07-27 Carlos O'Donell <carlos@redhat.com>
7969 * po/uk.po: Update translations.
7970 * po/cs.po: Likewise.
7971 * po/pl.po: Likewise.
7973 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
7975 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
7976 parse beyond the note end.
7978 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7980 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
7981 kernel does not support OFD locks.
7982 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
7984 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7986 * sysdeps/mach/hurd/Versions (libc): Make __access and
7987 __access_noerrno external so they can override the ld symbols.
7988 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
7989 __writev, __open64, __access_noerrno extern so they can be overrided.
7990 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
7991 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
7993 2018-07-26 Carlos O'Donell <carlos@redhat.com>
7995 * po/libc.pot: Regenerate.
7997 2018-07-26 Joseph Myers <joseph@codesourcery.com>
7999 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
8001 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
8004 * sysdeps/x86/cpu-features.c (get_extended_indices): New
8006 (init_cpu_features): Call get_extended_indices for both Intel
8008 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
8009 Remove "for AMD" comment.
8011 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
8014 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
8015 COMMON_CPUID_INDEX_80000001.
8017 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
8019 * string/tst-xbzero-opt.c (use_test_buffer): New function.
8020 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
8022 2018-07-26 Florian Weimer <fweimer@redhat.com>
8024 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
8025 aliases for symbols not in the implementation namespace.
8027 2018-07-25 Carlos O'Donell <carlos@redhat.com>
8030 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
8031 lowercase in LATIN script.
8032 * localedata/Makefile (test-input): Add en_US.UTF-8.
8033 * localedata/en_US.UTF-8.in: New file.
8034 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
8035 and restore old tests.
8036 * posix/tst-regexloc.c (do_test): Add back range expression test.
8038 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8040 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
8042 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8044 * nptl/threads.h: Move to ...
8045 * sysdeps/nptl/threads.h: ... here.
8046 * sysdeps/hurd/stdc-predef.h: New file.
8048 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8050 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
8051 tst-cet-setcontext-1 if CET is enabled.
8052 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
8053 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
8055 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8057 * include/threads.h: Move to ...
8058 * sysdeps/nptl/threads.h: ... here.
8059 * sysdeps/htl/threads.h: New file.
8060 * conform/Makefile (linknamespace-libs-ISO11): Use
8061 static-thread-library instead of linking libpthread.
8062 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
8064 2018-07-25 Florian Weimer <fweimer@redhat.com>
8066 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
8067 nanoseconds into seconds.
8068 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
8069 (do_test): Likewise.
8070 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
8071 (do_test): Likewise. Avoid nanosecond overflow and spurious
8072 timeouts due to system load.
8073 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
8074 (child_wait): Increment it.
8075 (do_test): Wait as long as necessary until all expected threads
8078 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
8079 H.J. Lu <hongjiu.lu@intel.com>
8081 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
8083 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
8084 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
8085 (__push___start_context): New.
8086 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
8088 (__getcontext): Record the current shadow stack base. Save the
8089 caller's shadow stack pointer and base.
8090 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
8091 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
8092 (__push___start_context): New prototype.
8093 (__makecontext): Call __push___start_context to allocate a new
8094 shadow stack, push __start_context onto the new stack as well
8095 as the new shadow stack.
8096 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
8098 (__setcontext): Restore the target shadow stack.
8099 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
8101 (__swapcontext): Record the current shadow stack base. Save
8102 the caller's shadow stack pointer and base. Restore the target
8104 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8105 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
8106 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
8108 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8110 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
8111 tst-setcontext8 and tst-setcontext9.
8112 * stdlib/tst-setcontext6.c: New file.
8113 * stdlib/tst-setcontext7.c: Likewise.
8114 * stdlib/tst-setcontext8.c: Likewise.
8115 * stdlib/tst-setcontext9.c: Likewise.
8117 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8119 * stdlib/Makefile ((tests): Add tst-setcontext5.
8120 * stdlib/tst-setcontext5.c: New file.
8122 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8124 * stdlib/Makefile (tests): Add tst-setcontext4.
8125 * stdlib/tst-setcontext4.c: New file.
8127 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8129 * stdlib/Makefile (tests): Add tst-swapcontext1.
8130 * stdlib/tst-swapcontext1.c: New test.
8132 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8134 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
8135 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
8136 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
8137 and tst-cet-legacy-4c.
8138 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
8139 and tst-cet-legacy-mod-4.
8140 (CFLAGS-tst-cet-legacy-2.c): New.
8141 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
8142 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
8143 (CFLAGS-tst-cet-legacy-3.c): Likewise.
8144 (CFLAGS-tst-cet-legacy-4.c): Likewise.
8145 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
8146 ($(objpfx)tst-cet-legacy-1): Likewise.
8147 ($(objpfx)tst-cet-legacy-2): Likewise.
8148 ($(objpfx)tst-cet-legacy-2.out): Likewise.
8149 ($(objpfx)tst-cet-legacy-2a): Likewise.
8150 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
8151 ($(objpfx)tst-cet-legacy-4): Likewise.
8152 ($(objpfx)tst-cet-legacy-4.out): Likewise.
8153 ($(objpfx)tst-cet-legacy-4a): Likewise.
8154 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
8155 (tst-cet-legacy-4a-ENV): Likewise.
8156 ($(objpfx)tst-cet-legacy-4b): Likewise.
8157 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
8158 (tst-cet-legacy-4b-ENV): Likewise.
8159 ($(objpfx)tst-cet-legacy-4c): Likewise.
8160 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
8161 (tst-cet-legacy-4c-ENV): Likewise.
8162 * sysdeps/x86/tst-cet-legacy-1.c: New file.
8163 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
8164 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
8165 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
8166 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
8167 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
8168 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
8169 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
8170 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
8171 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
8172 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
8174 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8176 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8177 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8179 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8180 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8183 2018-07-25 Andreas Schwab <schwab@suse.de>
8186 * locale/weightwc.h (findidx): Handle the case where usrc is a
8187 prefix of cp but one character too short.
8189 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8191 * NEWS: Add ISO C threads addition.
8193 2018-07-24 Florian Weimer <fweimer@redhat.com>
8195 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8196 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
8197 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
8200 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8202 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
8203 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
8204 <sys/prctl.h> and <asm/prctl.h>.
8205 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
8206 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
8208 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
8209 ARCH_CET_LEGACY_BITMAP.
8210 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
8211 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
8212 * sysdeps/x86/libc-start.c: Include <startup.h>.
8214 2018-07-24 Florian Weimer <fweimer@redhat.com>
8216 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
8217 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
8219 2018-07-24 Rical Jasan <rj@2c3t.io>
8220 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8221 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8224 * manual/debug.texi: Update adjacent chapter name.
8225 * manual/probes.texi: Likewise.
8226 * manual/threads.texi (ISO C Threads): New section.
8227 (POSIX Threads): Convert to a section.
8229 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8230 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8233 * nptl/Makefile (tests): Add new test files.
8234 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
8235 * nptl/tst-cnd-basic.c: Likewise.
8236 * nptl/tst-cnd-broadcast.c: Likewise.
8237 * nptl/tst-cnd-timedwait.c: Likewise.
8238 * nptl/tst-mtx-basic.c: Likewise.
8239 * nptl/tst-mtx-recursive.c: Likewise.
8240 * nptl/tst-mtx-timedlock.c: Likewise.
8241 * nptl/tst-mtx-trylock.c: Likewise.
8242 * nptl/tst-thrd-basic.c: Likewise.
8243 * nptl/tst-thrd-detach.c: Likewise.
8244 * nptl/tst-thrd-sleep.c: Likewise.
8245 * nptl/tst-tss-basic.c: Likewise.
8247 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8250 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
8251 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
8253 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8254 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8255 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8256 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8257 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8258 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8259 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8260 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8261 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8262 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8263 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8264 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
8271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8272 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
8273 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8274 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8275 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8276 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8277 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8278 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8279 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8280 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
8281 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
8282 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
8283 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
8284 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
8286 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
8287 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
8288 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
8289 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
8290 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
8291 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
8292 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
8293 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
8294 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
8295 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
8296 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
8297 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
8299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
8300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8304 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
8305 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
8306 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
8307 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
8308 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
8309 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
8310 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
8311 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
8314 * conform/data/threads.h-data (thread_local): New macro.
8315 (TSS_DTOR_ITERATIONS): Likewise.
8317 (tss_dtor_t): Likewise.
8318 (tss_create): New function.
8319 (tss_get): Likewise.
8320 (tss_set): Likewise.
8321 (tss_delete): Likewise.
8322 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
8323 tss_get, and tss_set objects.
8324 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
8325 * nptl/tss_create.c: New file.
8326 * nptl/tss_delete.c: Likewise.
8327 * nptl/tss_get.c: Likewise.
8328 * nptl/tss_set.c: Likewise.
8329 * sysdeps/nptl/threads.h (thread_local): New define.
8330 (TSS_DTOR_ITERATIONS): Likewise.
8331 (tss_t): New typedef.
8332 (tss_dtor_t): Likewise.
8333 (tss_create): New prototype.
8334 (tss_get): Likewise.
8335 (tss_set): Likewise.
8336 (tss_delete): Likewise.
8339 * conform/data/threads.h-data (cnd_t): New type.
8340 (cnd_init): New function.
8341 (cnd_signal): Likewise.
8342 (cnd_broadcast): Likewise.
8343 (cnd_wait): Likewise.
8344 (cnd_timedwait): Likewise.
8345 (cnd_destroy): Likewise.
8346 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
8347 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
8349 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
8350 * nptl/cnd_broadcast.c: New file.
8351 * nptl/cnd_destroy.c: Likewise.
8352 * nptl/cnd_init.c: Likewise.
8353 * nptl/cnd_signal.c: Likewise.
8354 * nptl/cnd_timedwait.c: Likewise.
8355 * nptl/cnd_wait.c: Likewise.
8356 * sysdeps/nptl/threads.h (cnd_t): New type.
8357 (cnd_init): New prototype.
8358 (cnd_signa): Likewise.
8359 (cnd_broadcast): Likewise.
8360 (cnd_wait): Likewise.
8361 (cnd_timedwait): Likewise.
8362 (cnd_destroy): Likewise.
8365 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
8366 (once_flag): New type.
8367 (call_once): New function.
8368 * nptl/Makefile (libpthread-routines): Add call_once object.
8369 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
8370 * nptl/call_once.c: New file.
8371 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
8372 (once_flag): New type.
8373 (call_once): New prototype.
8376 * conform/data/threads.h-data (mtx_plain): New constant.
8377 (mtx_recursive): Likewise.
8378 (mtx_timed): Likewise.
8380 (mtx_init): New function.
8381 (mtx_lock): Likewise.
8382 (mtx_timedlock): Likewise.
8383 (mtx_trylock): Likewise.
8384 (mtx_unlock): Likewise.
8385 (mtx_destroy): Likewise.
8386 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
8387 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
8388 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
8389 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
8390 * nptl/mtx_destroy.c: New file.
8391 * nptl/mtx_init.c: Likewise.
8392 * nptl/mtx_lock.c: Likewise.
8393 * nptl/mtx_timedlock.c: Likewise.
8394 * nptl/mtx_trylock.c: Likewise.
8395 * nptl/mtx_unlock.c: Likewise.
8396 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
8397 (mtx_recursive): Likewise.
8398 (mtx_timed): Likewise.
8400 (mtx_init): New prototype.
8401 (mtx_lock): Likewise.
8402 (mtx_timedlock): Likewise.
8403 (mtx_trylock): Likewise.
8404 (mtx_unlock): Likewise.
8405 (mtx_destroy): Likewise.
8408 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
8409 (linknamespace-libs-ISO11): Add libpthread.a.
8410 * conform/data/threads.h-data: New file: add C11 thrd_* types and
8412 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
8413 * nptl/Makefile (headers): Add threads.h.
8414 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
8415 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
8417 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
8418 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
8419 thrd_join, thrd_sleep, and thrd_yield symbols.
8420 * nptl/descr.h (struct pthread): Add c11 field.
8421 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
8422 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
8423 routine with expected function prototype.
8424 (__pthread_create_2_1): Add C11 threads check based on attribute
8426 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
8427 * nptl/thrd_create.c: New file.
8428 * nptl/thrd_current.c: Likewise.
8429 * nptl/thrd_detach.c: Likewise.
8430 * nptl/thrd_equal.c: Likewise.
8431 * nptl/thrd_exit.c: Likewise.
8432 * nptl/thrd_join.c: Likewise.
8433 * nptl/thrd_priv.h: Likewise.
8434 * nptl/thrd_sleep.c: Likewise.
8435 * nptl/thrd_yield.c: Likewise.
8436 * include/threads.h: Likewise.
8438 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8440 * bits/indirect-return.h: New file.
8441 * misc/sys/cdefs.h (__glibc_has_attribute): New.
8442 * sysdeps/x86/bits/indirect-return.h: Likewise.
8443 * stdlib/Makefile (headers): Add bits/indirect-return.h.
8444 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
8445 (swapcontext): Add __INDIRECT_RETURN.
8446 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
8447 (prepare_test_buffer): Use it.
8449 2018-07-24 Andreas Schwab <schwab@suse.de>
8452 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
8453 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
8455 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8457 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
8458 Redefine if shadow stack is enabled.
8459 (SYSCALL_ERROR_LABEL): Likewise.
8460 (__vfork): Pop shadow stack and jump back to to caller directly
8461 when shadow stack is in use.
8462 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
8463 Redefine if shadow stack is enabled.
8464 (SYSCALL_ERROR_LABEL): Likewise.
8465 (__vfork): Pop shadow stack and jump back to to caller directly
8466 when shadow stack is in use.
8468 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8470 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
8473 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
8476 2018-07-20 Joseph Myers <joseph@codesourcery.com>
8478 * scripts/build-many-glibcs.py (Context.checkout): Default
8479 binutils version to 2.31 branch.
8481 2018-07-20 Zong Li <zong@andestech.com>
8483 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
8484 URL of gcc's tarball.
8486 2018-07-20 Florian Weimer <fweimer@redhat.com>
8489 * posix/regcomp.c (build_equiv_class): When comparing weights, do
8490 not compare an extra byte after the end of the weights.
8492 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
8494 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
8496 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
8498 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
8499 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
8500 * scripts/check-execstack.awk: Consider `xfail' variable containing a
8501 list of libraries whose stack executability is expected.
8502 * elf/Makefile ($(objpfx)check-execstack.out): Pass
8503 $(check-execstack-xfail) to check-execstack.awk through `xfail'
8505 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
8506 libc.so libpthread.so.
8508 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
8510 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
8512 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
8514 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
8516 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
8518 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8520 * benchtests/scripts/compare_bench.py (__main__): use the argparse
8521 library to improve command line parsing.
8522 (__main__): make schema file as optional parameter (--schema),
8523 defaulting to benchtests/scripts/benchout.schema.json.
8524 (main): move out of the parsing stuff to __main_ and leave it
8525 only as caller of main comparison functions.
8527 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
8529 * NEWS: Add a note for Intel CET status.
8530 * manual/install.texi: Likewise.
8531 * INSTALL: Regenerated.
8533 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
8536 * localedata/locales/oc_FR (mon): Rename to...
8537 (alt_mon): This, then update October (typo fix).
8538 (mon): New content (genitive case, month names preceded by
8542 * localedata/locales/oc_FR (abday): Update all items.
8543 (day): Update Wednesday and Saturday (typo fixes).
8544 (abmon): Update all items, except May.
8545 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
8546 (LC_IDENTIFICATION): Bump the revision number and date.
8547 Keep the "category" entries in alphabetic order.
8548 (LC_ADDRESS): Remove no longer needed comment.
8549 (LC_COLLATE): Use “copy "ca_ES"”.
8550 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
8553 2018-07-18 Joseph Myers <joseph@codesourcery.com>
8555 * grp/tst_fgetgrent.c: Include <unistd.h>.
8556 (main): Use mkstemp instead of tmpnam.
8557 * io/test-utime.c (main): Likewise.
8558 * posix/annexc.c (macrofile): Change to modifiable array.
8559 (main): Remove macrofile here.
8560 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
8562 (check_header): Do not remove macrofile here.
8563 * posix/bug-getopt1.c: Include <stdlib.h>.
8564 (do_test): Use mkstemp instead of tmpnam.
8565 * posix/bug-getopt2.c: Include <stdlib.h>.
8566 (do_test): Use mkstemp instead of tmpnam.
8567 * posix/bug-getopt3.c: Include <stdlib.h>.
8568 (do_test): Use mkstemp instead of tmpnam.
8569 * posix/bug-getopt4.c: Include <stdlib.h>.
8570 (do_test): Use mkstemp instead of tmpnam.
8571 * posix/bug-getopt5.c: Include <stdlib.h>.
8572 (do_test): Use mkstemp instead of tmpnam.
8573 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
8574 (main): Use mkstemp instead of tmpnam.
8575 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
8576 (main): Use mkstemp instead of tmpnam.
8577 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
8578 (main): use mkstemp instead of tmpnam.
8579 * stdlib/isomac.c (macrofile): Change to modifiable array.
8580 (main): Remove macrofile here.
8581 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
8583 (check_header): Do not remove macrofile here.
8585 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8587 * manual/tunables.texi: Document glibc.tune.x86_ibt and
8588 glibc.tune.x86_shstk.
8590 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8592 * NEWS: Mention --enable-cet.
8593 * manual/install.texi: Document --enable-cet.
8594 * INSTALL: Regenerated.
8596 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8598 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
8599 Add _CET_NOTRACK before indirect jump to jump table.
8601 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8603 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
8604 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8607 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8609 * sysdeps/i386/i686/multiarch/strcat-sse2.S
8610 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8613 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8615 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
8616 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8619 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8621 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
8622 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8625 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8627 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
8628 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8630 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
8632 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8634 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
8635 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8638 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8640 * sysdeps/i386/i686/multiarch/memset-sse2.S
8641 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8644 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8646 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
8647 indirect jump to jump table.
8649 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8651 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
8652 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8656 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8658 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
8659 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8663 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8665 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
8666 _CET_NOTRACK before indirect jump to jump table.
8668 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8670 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
8671 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8674 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8676 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
8677 indirect jump to jump table.
8679 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
8682 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
8683 (LOCALES): Likewise.
8684 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
8685 * localedata/locales/sah_RU: New file.
8686 * localedata/sah_RU.UTF-8.in: New file.
8688 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8690 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
8692 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
8693 _CET_ENDBR to indirect jump targets and adjust jump destination
8695 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
8697 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
8698 _CET_ENDBR to indirect jump targets and adjust jump destination
8700 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
8702 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
8703 _CET_ENDBR to indirect jump targets and adjust jump destination
8706 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8708 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
8711 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8713 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
8715 (_dl_tlsdesc_undefweak): Likewise.
8716 (_dl_tlsdesc_dynamic): Likewise.
8717 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
8718 (_dl_tlsdesc_resolve_rel): Likewise.
8719 (_dl_tlsdesc_resolve_rela): Likewise.
8720 (_dl_tlsdesc_resolve_hold): Likewise.
8721 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
8722 (_dl_tlsdesc_undefweak): Likewise.
8723 (_dl_tlsdesc_dynamic): Likewise.
8724 (_dl_tlsdesc_resolve_rela): Likewise.
8725 (_dl_tlsdesc_resolve_hold): Likewise.
8727 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8729 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
8731 * sysdeps/x86_64/crti.S (_init): Likewise.
8734 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
8737 * localedata/locales/os_RU (mon): Rename to...
8739 (mon): Import from CLDR (genitive case).
8741 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8743 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
8744 cet-tunables.h> when CET is enabled.
8746 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
8749 * configure.ac: Add --enable-cet.
8750 * configure: Regenerated.
8751 * elf/Makefille (all-built-dso): Add a comment.
8752 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
8753 Include <dl-prop.h>.
8754 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
8756 * elf/dl-open.c: Include <dl-prop.h>.
8757 (dl_open_worker): Call _dl_open_check.
8758 * elf/rtld.c: Include <dl-prop.h>.
8759 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
8761 * sysdeps/generic/dl-prop.h: New file.
8762 * sysdeps/i386/dl-cet.c: Likewise.
8763 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
8764 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
8765 * sysdeps/x86/cet-tunables.h: Likewise.
8766 * sysdeps/x86/check-cet.awk: Likewise.
8767 * sysdeps/x86/configure: Likewise.
8768 * sysdeps/x86/configure.ac: Likewise.
8769 * sysdeps/x86/dl-cet.c: Likewise.
8770 * sysdeps/x86/dl-procruntime.c: Likewise.
8771 * sysdeps/x86/dl-prop.h: Likewise.
8772 * sysdeps/x86/libc-start.h: Likewise.
8773 * sysdeps/x86/link_map.h: Likewise.
8774 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
8776 (_dl_runtime_profile): Likewise.
8777 (_dl_runtime_resolve_shstk): New.
8778 (_dl_runtime_profile_shstk): Likewise.
8779 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
8781 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
8782 (CFLAGS-.os): Likewise.
8783 (CFLAGS-.op): Likewise.
8784 (CFLAGS-.oS): Likewise.
8785 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
8787 (tests-special): Add $(objpfx)check-cet.out.
8788 (cet-built-dso): New.
8789 (+$(cet-built-dso:=.note)): Likewise.
8790 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
8791 ($(objpfx)check-cet.out): New.
8792 (generated): Add check-cet.out.
8793 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
8795 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
8796 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
8797 (init_cpu_features): Call get_cet_status to check CET status
8798 and update dl_x86_feature_1 with CET status. Call
8799 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
8800 (set_x86_shstk). Disable and lock CET in libc.a.
8801 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
8802 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
8803 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
8804 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
8805 (_CET_ENDBR): Define if not defined.
8806 (ENTRY): Add _CET_ENDBR.
8807 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
8809 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
8811 (_dl_runtime_profile): Likewise.
8813 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
8816 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
8817 restore r2 on longjmp.
8818 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
8820 Added rules to build test tst-setjmp-bug21895-static.
8821 Added module setjmp-bug21895 and rules to build a shared object from it.
8822 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
8823 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
8825 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
8827 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
8828 * benchtests/bench-strstr.c: Likewise.
8829 * string/memmem.c (FASTSEARCH): Define.
8830 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
8831 Add support for FASTSEARCH.
8832 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
8833 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
8834 (FASTSEARCH): Define.
8835 * string/test-strcasestr.c: Rename __strnlen to strnlen.
8836 * string/test-strstr.c: Likewise.
8838 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
8840 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
8841 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
8843 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
8844 H.J. Lu <hongjiu.lu@intel.com>
8846 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
8847 (__longjmp): Restore shadow stack pointer if shadow stack is
8848 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
8849 isn't defined for __longjmp_cancel.
8850 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
8851 (_setjmp): Save shadow stack pointer if shadow stack is enabled
8852 and SHADOW_STACK_POINTER_OFFSET is defined.
8853 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
8854 (setjmp): Save shadow stack pointer if shadow stack is enabled
8855 and SHADOW_STACK_POINTER_OFFSET is defined.
8856 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
8857 (__sigsetjmp): Save shadow stack pointer if shadow stack is
8858 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8859 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
8861 (____longjmp_chk): Restore shadow stack pointer if shadow stack
8862 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8863 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
8864 Remove jmp_buf-ssp.sym.
8865 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8867 (____longjmp_chk): Restore shadow stack pointer if shadow stack
8868 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8869 * sysdeps/x86/Makefile (gen-as-const-headers): Add
8871 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
8872 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
8873 (__longjmp): Restore shadow stack pointer if shadow stack is
8874 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
8875 isn't defined for __longjmp_cancel.
8876 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
8877 (__sigsetjmp): Save shadow stack pointer if shadow stack is
8878 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8880 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
8883 * nptl/pthread_create.c: Include <tls-setup.h>.
8884 (__pthread_create_2_1): Call tls_setup_tcbhead.
8885 * sysdeps/generic/tls-setup.h: New file.
8886 * sysdeps/x86/nptl/tls-setup.h: Likewise.
8887 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
8888 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
8890 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
8892 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
8893 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
8894 (X86_FEATURE_1_SHSTK): Likewise.
8895 (CET_ENABLED): Likewise.
8896 (IBT_ENABLED): Likewise.
8897 (SHSTK_ENABLED): Likewise.
8899 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
8902 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
8903 (LOCALES): Likewise.
8904 * localedata/dsb_DE.UTF-8.in: New file.
8905 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
8907 2018-07-12 Florian Weimer <fweimer@redhat.com>
8909 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
8910 __mprotect, not mprotect.
8912 2018-07-11 Florian Weimer <fweimer@redhat.com>
8914 * io/Makefile (headers): Add bits/statx.h.
8916 2018-07-10 Mike FABIAN <mfabian@redhat.com>
8918 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
8919 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
8921 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
8922 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
8925 2018-07-10 Florian Weimer <fweimer@redhat.com>
8927 * io/Makefile (routines): Add statx.
8928 (tests-internal): Add tst-statx.
8929 * io/Versions (GLIBC_2.28): Export statx.
8930 * io/bits/statx.h: New file.
8931 * io/sys/stat.h [__USE_GNU]: Include it.
8932 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
8933 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
8935 * io/statx.c: New file.
8936 * io/statx_generic.: Likewise.
8937 * io/tst-statx.: Likewise.
8938 * include/bits/statx.h: Likewise.
8939 * sysdeps/unix/sysv/linux/kernel-features.h
8940 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
8941 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8942 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
8943 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
8945 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8946 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
8947 * sysdeps/unix/sysv/linux/statx.c: New file.
8948 * manual/filesys.texi: Note that statx is undocumented.
8949 * sysdeps/**/libc*.abilist: Update.
8951 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8953 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
8954 a kernel issue which lead to test failure in some cases.
8956 2018-07-10 Florian Weimer <fweimer@redhat.com>
8959 * posix/regexec.c (check_node_accept_bytes): When comparing
8960 weights, do not compare an extra byte after the end of the
8963 2018-07-10 Florian Weimer <fweimer@redhat.com>
8965 * libio/readline.c: Fix copyright year.
8966 * libio/tst-readline.c Likewise.
8967 * nss/tst-nss-files-hosts-getent.c: Likewise.
8969 2018-07-06 Florian Weimer <fweimer@redhat.com>
8972 * nss/nss_files/files-XXX.c (internal_getent): Use
8973 __libc_readline_unlocked. Seek back to the start of the line if
8974 parsing failes with ERANGE.
8975 (get_contents_ret, get_contents): Remove.
8976 * nss/tst-nss-files-hosts-getent.c: New file.
8977 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
8978 (tst-nss-files-hosts-getent): Link with -ldl.
8980 2018-07-06 Florian Weimer <fweimer@redhat.com>
8982 * include/stdio.h (__libc_readline_unlocked): Declare.
8983 (__ftello64, __fseeko64): Declare aliases.
8984 * libio/readline.c: New file.
8985 * libio/tst-readline.c: Likewise.
8986 (routines): Add readline.
8987 (tests-internal): Add tst-readlime.
8988 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
8989 __libc_readline_unlocked.
8990 * libio/fseeko.c (__fseeko): Rename from fseeko.
8991 (fseeko): Add alias.
8992 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
8993 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
8994 (fseeko64): Add alias.
8995 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
8996 * libio/ftello64.c (__ftello64): Rename from ftello64.
8997 (ftello64): Add alias.
8999 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
9001 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
9004 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
9006 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
9007 Use dl_hwcap without masking.
9008 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
9011 2018-07-06 Florian Weimer <fweimer@redhat.com>
9013 * conform/conformtest.pl (checknamespace): Escape literal braces
9014 in regular expressions.
9016 2018-07-06 Amit Pawar <amit.pawar@amd.com>
9018 * sysdeps/x86/cpu-features.c (get_common_indeces):
9019 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
9020 * sysdeps/x86/cpu-features.c (init_cpu_features):
9021 AVX_Fast_Unaligned_Load is disabled for Excavator core.
9023 2018-07-05 Florian Weimer <fweimer@redhat.com>
9025 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
9027 (CFLAGS-elf-init.oS): Likewise.
9029 2018-07-05 Florian Weimer <fweimer@redhat.com>
9030 Carlos O'Donell <carlos@redhat.com>
9032 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
9033 $(no-stack-protector). stack_chk_fail_local.c can be compiled
9034 with stack protector enabled because there is no risk of infinite
9037 2018-07-05 Maciej W. Rozycki <macro@mips.com>
9041 * libc-abis (ABSOLUTE): New ABI.
9042 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
9043 * NEWS: Mention the new ABI.
9045 2018-07-05 Florian Weimer <fweimer@redhat.com>
9048 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
9049 (RENAME_WHITEOUT): Define.
9050 [__USE_GNU] (renameat2): Declare.
9051 * stdio-common/Makefile (routines): Add renameat2.
9052 (tests): Add tst-renameat2.
9053 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
9054 * stdio-common/renameat2.c: New file.
9055 * stdio-common/tst-renameat2.c: Likewise.
9056 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
9057 * manual/filesys.texi (Temporary Files): Note that renameat2 is
9059 * sysdeps/unix/sysv/linux/kernel-features.h
9060 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
9061 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9062 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
9063 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9064 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
9065 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9066 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
9067 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9068 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
9069 * include/stdio.h (__renameat): Add alias for renameat.
9070 * stdio-common/renameat.c (__renameat): Rename from renameat.
9071 Add hidden definition and alias.
9072 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
9073 * sysdeps/mach/hurd/renameat.c: Likewise.
9074 * sysdeps/**/libc*.abilist: Add renameat2.
9076 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9078 * posix/bug-regex33.c: Fix build after regex sync.
9080 2018-07-04 Carlos O'Donell <carlos@redhat.com>
9083 * localedata/tst-langinfo-setlocale.c: New file.
9084 * localedata/tst-langinfo-setlocale-static.c: New file.
9085 * localedata/tst-langinfo-newlocale.c: New file.
9086 * localedata/tst-langinfo-newlocale-static.c: New file.
9087 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
9088 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
9089 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
9090 (tests-static): Remove tst-langinfo-static. Add
9091 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
9092 (tests-special): Remove $(objpfx)tst-langinfo.out,
9093 $(objpfx)tst-langinfo-static.out. Add
9094 $(objpfx)tst-langinfo-setlocale.out,
9095 $(objpfx)tst-langinfo-newlocale.out,
9096 $(objpfx)tst-langinfo-setlocale-static.out,
9097 $(objpfx)tst-langinfo-newlocale-static.out.
9098 ($(objpfx)tst-langinfo.out): Remove.
9099 ($(objpfx)tst-langinfo-static.out): Remove.
9100 ($(objpfx)tst-langinfo-newlocale.out): New target.
9101 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
9102 (test-xfail-tst-langinfo-newlocale-static): Add.
9103 ($(objpfx)tst-langinfo-setlocale.out): New target.
9104 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
9105 * localedata/tst-langinfo.c: Call test_locale.
9106 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
9109 2018-07-04 Florian Weimer <fweimer@redhat.com>
9111 testrun.sh: Implement --tool=strace, --tool=valgrind
9112 * Makefile (testrun-script): Define variable.
9113 (testrun.sh): Use variable.
9114 * manual/install.texi (Tools for Compilation): make 4.0 or later
9116 * configure.ac: Check for make 4.0 or later.
9117 * INSTALL: Regenerate.
9118 * configure: Likewise.
9120 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9126 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
9127 * posix/PCRE.tests: Remove invalid test.
9128 * posix/bug-regex28.c: Fix expected values for used syntax.
9129 * posix/bug-regex37.c: New file.
9130 * posix/bug-regex38.c: Likewise.
9131 * posix/regcomp.c: Sync with gnulib.
9132 * posix/regex.c: Likewise.
9133 * posix/regex.h: Likewise.
9134 * posix/regex_internal.c: Likewise.
9135 * posix/regex_internal.h: Likewise.
9136 * posix/regexec.c: Likewise.
9138 2018-06-26 Mike FABIAN <mfabian@redhat.com>
9141 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
9142 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
9143 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
9144 * localedata/unicode-gen/PropList.txt: likewise.
9145 * localedata/unicode-gen/UnicodeData.txt: likewise.
9146 * localedata/charmaps/UTF-8: Regenerate.
9147 * localedata/locales/i18n_ctype: likewise.
9148 * localedata/locales/tr_TR: likewise.
9149 * localedata/locales/translit_circle: likewise.
9150 * localedata/locales/translit_cjk_compat: likewise.
9151 * localedata/locales/translit_combining: likewise.
9152 * localedata/locales/translit_compat: likewise.
9153 * localedata/locales/translit_font: likewise.
9154 * localedata/locales/translit_fraction: likewise.
9156 2018-07-03 Florian Weimer <fweimer@redhat.com>
9159 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
9160 * stdio-common/tst-printf.sh: Adjust expected output.
9163 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9165 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
9168 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9170 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
9171 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
9172 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
9173 * stdio-common/tst-printfsz-islongdouble.c: New file.
9174 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
9175 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
9176 [subdir == stdio-common] (routines): Add ieee128-printf_size.
9177 [subdir == stdio-common] (tests-internal): Add
9178 test-printf-size-ieee128, and test-printf-size-ibm128.
9179 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
9180 (CFLAGS-test-printf-size-ibm128.c): New variables.
9181 [subdir == stdio-common] (tests-special): Add
9182 $(objpfx)test-printf-size-ieee128.out and
9183 $(objpfx)test-printf-size-ibm128.out.
9184 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
9185 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
9186 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
9187 __printf_sizeieee128.
9188 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
9190 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
9192 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
9195 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
9197 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
9198 (exp2f_inline): Likewise.
9199 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
9200 (__math_uflowf): Likewise.
9201 (__math_may_uflowf): Likewise.
9202 (__math_divzerof): Likewise.
9203 (__math_invalidf): Likewise.
9204 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
9205 (__math_oflowf): Likewise.
9206 (__math_uflowf): Likewise.
9207 (__math_may_uflowf): Likewise.
9208 (__math_divzerof): Likewise.
9209 (__math_invalidf): Likewise.
9211 2018-06-29 DJ Delorie <dj@redhat.com>
9212 Carlos O'Donell <carlos@redhat.com>
9215 * include/libc-symbols.h: Comment the freeres framework.
9216 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
9217 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
9218 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
9219 * dlfcn/dlerror.c: Include libc-symbols.h
9220 (__dlerror_main_freeres): New function.
9221 * dlfcn/dlfreeres.c: New file.
9222 * dlfcn/sdlfreeres.c: New file.
9223 * include/dlfcn.h: Declare __dlerror_main_freeres.
9224 * malloc/set-freeres.c: Declare __libdl_freeres, and
9225 __libpthread_freeres.
9226 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
9227 the releavant libraries are loaded.
9228 * malloc/thread-freeres.c: Add comments.
9229 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
9230 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
9231 * nptl/allocatestack.c (__nptl_free_stacks): New function.
9232 (__free_stacks): Rename to...
9233 (free_stacks): ...this. Mark static.
9234 (queue_stack): Call free_stacks.
9235 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
9236 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
9237 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
9238 ptr_freeres element from struct.
9239 (pthread_functions): Remove .ptr_freeres from struct initializer.
9240 [SHARED] (nptl_freeres): Remove.
9241 * nptl/nptlfreeres.c: New file.
9243 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
9244 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
9246 (__free_stacks): Rename to...
9247 (__nptl_stacks_freeres): ...this.
9248 (__shm_directory_freeres): Declare.
9249 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
9250 (__nptl_unwind_freeres): ...this.
9251 * resolv/res-close.c: Add comment.
9252 * resolv/resolv_conf.c: Include libc-symbols.h.
9253 * string/strerror_l.c: Include libc-symbols.h.
9254 * sunrpc/rpc_thread.c: Include libc-symbols.h.
9255 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
9256 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
9257 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
9259 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9261 * stdlib/tst-strfmon_l.c: Add tests for long double.
9263 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
9266 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
9267 * localedata/locales/dsb_DE: New file.
9269 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9272 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
9274 (alt_mon): New entry, import from CLDR (nominative case).
9276 2018-06-29 Sylvain Lesage <severo@rednegra.net>
9279 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
9281 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
9283 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
9284 Use vector registers.
9286 * sysdeps/aarch64/multiarch/memmove_falkor.S
9287 (__memcpy_falkor): Use vector registers.
9289 2018-06-29 Martin Sebor <msebor@redhat.com>
9291 * manual/stdio.texi (Customizing Printf): Mention interaction
9294 2018-06-29 Maciej W. Rozycki <macro@mips.com>
9297 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
9298 `st_value' is 0 if `st_shndx' is SHN_ABS.
9299 * elf/tst-absolute-zero.c: New file.
9300 * elf/tst-absolute-zero-lib.c: New file.
9301 * elf/tst-absolute-zero-lib.lds: New file.
9302 * elf/Makefile (tests): Add `tst-absolute-zero'.
9303 (modules-names): Add `tst-absolute-zero-lib'.
9304 (LDLIBS-tst-absolute-zero-lib.so): New variable.
9305 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
9306 ($(objpfx)tst-absolute-zero: New dependency.
9308 2018-06-29 Zack Weinberg <zackw@panix.com>
9310 * configure.ac: New command-line option --disable-crypt.
9311 Force --disable-nss-crypt when --disable-crypt is given, with a
9312 warning if it was explicitly enabled.
9313 * configure: Regenerate.
9314 * config.make.in: New boolean substitution variable $(build-crypt).
9315 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
9316 when $(build-crypt).
9317 * manual/install.texi: Document --disable-crypt.
9318 * INSTALL: Regenerate.
9320 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
9322 * conform/Makefile: Only include libcrypt.a in
9323 linknamespace-libs-xsi and linknamespace-libs-XPG4
9324 when $(build-crypt).
9325 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
9326 USE_CRYPT to 1 when $(build-crypt).
9327 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
9328 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
9329 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
9331 2018-06-29 Zack Weinberg <zackw@panix.com>
9333 * crypt/crypt.h, posix/unistd.h: Update comments and
9334 prototypes for crypt and crypt_r.
9336 * manual/crypt.texi (Cryptographic Functions): New initial
9338 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
9339 (Unpredictable Bytes): Improve initial exposition. Clarify error
9340 behavior of getentropy and getrandom.
9341 * manual/examples/genpass.c: Generate a salt using getentropy
9342 instead of the current time. Use hash $5$ (SHA-2-256).
9343 * manual/examples/testpass.c: Demonstrate validation against
9344 hashes generated with three different one-way functions.
9346 * manual/intro.texi: crypt.texi does not need an overview
9349 * manual/nss.texi, manual/memory.texi, manual/socket.texi
9350 * manual/terminal.texi: Consistently refer to "passphrases"
9351 * instead of "passwords", and to the "user database" instead
9352 * of the "password database".
9353 * manual/users.texi: Similarly. Add notes about how actual
9354 passphrase hashes are now stored in the shadow database.
9355 Remove 20-year-old junk todo note.
9357 2018-06-29 Zack Weinberg <zackw@panix.com>
9359 * manual/crypt.texi: Use a normal top-level @node declaration.
9360 Move most of the introductory text to the 'crypt' section.
9361 Move the example programs below the @deftypefun for 'crypt_r'.
9362 Move the 'getpass' section...
9363 * manual/terminal.texi: ...here.
9365 2018-06-29 Zack Weinberg <zackw@panix.com>
9366 Florian Weimer <fweimer@redhat.com>
9368 * posix/unistd.h: Do not declare encrypt.
9369 (_XOPEN_CRYPT): Remove macro definition.
9370 (crypt): Declare only for _USE_MISC.
9371 * stdlib/stdlib.h: Do not declare setkey.
9372 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
9373 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
9375 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
9376 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
9377 into compat symbols. Don't define initial_perm if it's not
9379 * crypt/cert.c: Link explicitly with the expected versions for
9380 setkey and encrypt. If they are not available at all, mark
9381 the test as unsupported.
9383 * sunrpc/des_crypt.c: Unconditionally block linkage with
9384 cbc_crypt and ecb_crypt for new binaries.
9385 * sunrpc/des_soft.c: Unconditionally block linkage with
9386 des_setparity for new binaries.
9388 * manual/crypt.texi: Remove the entire "DES Encryption"
9389 section. Also remove the paragraph talking about FIPS 140-2
9390 from the introduction.
9391 * manual/string.texi (strfry, memfrob): Revise. Recommend use
9392 of libgcrypt for "real" encryption, not DES.
9393 * manual/conf.texi (Constants for Sysconf): Mention that
9394 _XOPEN_CRYPT is no longer impelemented.
9396 * conform/data/unistd.h-data: Remove crypt function declaration.
9398 2018-06-29 Florian Weimer <fweimer@redhat.com>
9401 * malloc/hooks.c: Update comments on restoring of dumped heaps.
9402 (disallow_malloc_check): Remove variable.
9403 (__malloc_check_init): Adjust.
9404 (malloc_set_state): Update comment.
9405 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
9408 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9411 * localedata/locales/ast_ES (mon): Rename to...
9413 (mon): Import from CLDR (genitive case).
9415 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
9416 Jakub Sitnicki <jkbs@redhat.com>
9419 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
9422 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
9424 * manual/llio.texi: Remove spurious space.
9426 2018-06-28 Florian Weimer <fweimer@redhat.com>
9429 * time/bits/types/struct_timespec.h: Change header inclusion guard to
9432 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9434 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
9435 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
9436 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
9437 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
9438 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
9439 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
9440 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
9442 2018-06-27 Maciej W. Rozycki <macro@mips.com>
9445 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
9446 Copy and null-terminate entries that are not terminated, in
9447 addition to empty ones.
9449 2018-06-27 Florian Weimer <fweimer@redhat.com>
9452 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
9453 (extend_alloca_account): Remove.
9454 * manual/stdio.texi (Variable Arguments Output): Update comment.
9456 2018-06-27 Joseph Myers <joseph@codesourcery.com>
9458 * nptl/sockperf.c: Remove file.
9460 2018-06-27 Florian Weimer <fweimer@redhat.com>
9463 * elf/dl-deps.c (_dl_map_object_deps): Use struct
9464 scratch_buffer instead of extend_alloca.
9466 2018-06-27 Florian Weimer <fweimer@redhat.com>
9469 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
9470 scratch_buffer instead of extend_alloca. Update comments.
9472 2018-06-27 Florian Weimer <fweimer@redhat.com>
9475 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
9476 instead of extend_alloca.
9478 2018-06-26 Joseph Myers <joseph@codesourcery.com>
9481 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
9482 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
9484 * scripts/test-installation.pl: Put temporary files in build
9485 directory, not /tmp.
9486 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
9487 (CFLAGS-bug4.c): Likewise.
9488 (CFLAGS-bug5.c): Likewise.
9489 (CFLAGS-test-fseek.c): Likewise.
9490 (CFLAGS-test-popen.c): Likewise.
9491 (CFLAGS-test_rdwr.c): Likewise.
9492 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
9494 * stdio-common/bug4.c (main): Likewise.
9495 * stdio-common/bug5.c (main): Likewise.
9496 * stdio-common/test-fseek.c (TESTFILE): Likewise.
9497 * stdio-common/test-popen.c (do_test): Likewise.
9498 * stdio-common/test_rdwr.c (main): Likewise.
9500 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
9502 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
9503 (sem_open): Set sem.newsem.pad to zero for valgrind.
9505 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9508 * NEWS: Mention fcntl64 addition.
9509 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
9510 * login/utmp_file.c: Likewise.
9511 * sysdeps/posix/fdopendir.c: Likewise.
9512 * sysdeps/posix/opendir.c: Likewise.
9513 * sysdeps/unix/pt-fcntl.c: Likewise.
9514 * include/fcntl.h (__libc_fcntl64, __fcntl64,
9515 __fcntl64_nocancel_adjusted): New prototype.
9516 (__fcntl_nocancel_adjusted): Remove prototype.
9517 * io/Makefile (routines): Add fcntl64.
9518 (CFLAGS-fcntl64.c): New rule.
9519 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
9520 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
9521 * io/fcntl.h (fcntl64): Add prototype and redirect if
9522 __USE_FILE_OFFSET64 is defined.
9523 * io/fcntl64.c: New file.
9524 * manual/llio.text: Add a note for which commands fcntl acts a
9526 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
9527 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
9528 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
9530 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
9531 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
9533 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
9534 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
9535 to __fcntl64_nocancel.
9536 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
9537 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
9538 to __fcntl64_nocancel.
9539 * sysdeps/generic/not-cancel.h: Likewise.
9540 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
9541 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
9542 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9543 (fcntl64): New symbol.
9544 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9545 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9546 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9549 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9550 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9551 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9552 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9553 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9554 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
9556 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9557 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
9558 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9559 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9560 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9561 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9562 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9563 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9564 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9569 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9570 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9571 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9573 2018-06-26 Florian Weimer <fweimer@redhat.com>
9575 Run thread shutdown functions in an explicit order.
9576 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
9578 (__libc_thread_freeres): Call thread shutdown functions
9580 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
9581 * include/string.h (__strerror_thread_freeres): Declare.
9582 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
9583 arena_thread_freeres. No longer static. Remove thread shutdown
9585 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
9587 * resolv/res-close.c (__res_thread_freeres): Renamed from
9588 res_thread_freeres. No longer static. Remove thread shutdown
9590 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
9591 * resolv/resolv_conf.c (freeres): Remove incorrect section
9592 attribute and use libc_freeres_fn.
9593 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
9594 strerror_thread_freeres. No longer static. Remove thread
9595 shutdown hook registration.
9596 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
9597 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
9598 shutdown hook registration.
9599 * Makerules (shlib.lds): Do not provide section boundary symbols
9600 for __libc_thread_subfreeres.
9601 * manual/memory.texi (Basic Allocation): Update comment.
9603 2018-06-26 Florian Weimer <fweimer@redhat.com>
9605 Remove always-defined _RPC_THREAD_SAFE_ macro.
9606 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
9607 Do not define _RPC_THREAD_SAFE_.
9608 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
9610 * sunrpc/clnt_perr.c: Likewise.
9611 * sunrpc/clnt_raw.c: Likewise.
9612 * sunrpc/clnt_simp.c: Likewise.
9613 * sunrpc/key_call.c: Likewise.
9614 * sunrpc/rpc_common.c: Likewise.
9615 * sunrpc/rpc_main.c: Likewise.
9616 * sunrpc/rpc_thread.c: Likewise.
9617 * sunrpc/svc.c: Likewise.
9618 * sunrpc/svc_raw.c: Likewise.
9619 * sunrpc/svc_simple.c: Likewise.
9620 * sumrpc/svcauth_des.c: Likewise.
9622 2018-06-26 Florian Weimer <fweimer@redhat.com>
9624 * libio/Makefile (tests-internal): Add tst-vtables,
9625 tst-vtables-interposed.
9626 * libio/tst-vtables.c: New file.
9627 * libio/tst-vtables-common.c: Likewise.
9628 * libio/tst-vtables-interposed.c: Likewise.
9630 2018-06-26 Florian Weimer <fweimer@redhat.com>
9632 * support/support_test_main.c (support_test_main): Only call
9633 setvbuf if not disables.
9634 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
9635 * support/test-driver.h (struct test_config): Add no_setvbuf member.
9637 2018-06-26 Florian Weimer <fweimer@redhat.com>
9640 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
9642 2018-06-25 Florian Weimer <fweimer@redhat.com>
9645 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9646 Use struct scratch_buffer instead of extend_alloca.
9648 2018-06-25 Florian Weimer <fweimer@redhat.com>
9651 * nss/getent.c (initgroups_keys): Use dynarray instead of
9654 2018-06-25 Florian Weimer <fweimer@redhat.com>
9657 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
9658 Use struct scratch_buffer instead of extend_alloca.
9660 2018-06-25 Florian Weimer <fweimer@redhat.com>
9663 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
9664 back to malloc directly, without stack allocations.
9666 2018-06-25 Florian Weimer <fweimer@redhat.com>
9669 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
9672 2018-06-25 Florian Weimer <fweimer@redhat.com>
9675 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
9677 * nscd/hstcache.c (addhstbyX): Likewise.
9678 * nscd/pwdcache.c (addpwbyX): Likewise.
9679 * nscd/servicescache.c (addservbyX): Likewise.
9681 2018-06-25 Florian Weimer <fweimer@redhat.com>
9684 * nscd/connections.c (read_cmdline): New function.
9685 (restart): Use it. Update comment.
9687 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
9690 * localedata/locales/csb_PL (mon): Rename to...
9692 (abmon): Rename to...
9694 (mon): Add with proper genitive forms, copy from Wikipedia.
9697 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
9700 * localedata/locales/csb_PL (mon): Fix typos:
9701 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
9702 (yesstr): Add, value is "jo".
9703 (nostr): Add, value is "nié".
9705 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9707 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
9708 all log1p and significand functions on m680x0.
9709 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
9710 of s_significand.c..
9711 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
9712 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
9713 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
9714 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
9715 s_log1p.c and include it..
9717 2018-06-21 Vincent Chen <vincentc@andestech.com>
9719 * elf/elf.h (R_NDS32_NONE): New define.
9720 (R_NDS32_32_RELA): Likewise.
9721 (R_NDS32_COPY): Likewise.
9722 (R_NDS32_GLOB_DAT): Likewise.
9723 (R_NDS32_JUMP_SLOT): Likewise.
9724 (R_NDS32_RELATIVE): Likewise.
9725 (R_NDS32_TLS_TPOFF): Likewise.
9726 (R_NDS32_TLS_DESC): Likewise.
9728 2018-06-21 Mark Wielaard <mark@klomp.org>
9730 * elf/elf.h (R_BPF_MAP_FD): Removed.
9731 (R_BPF_64_64, R_BPF_64_32): New.
9733 2018-06-21 Florian Weimer <fweimer@redhat.com>
9736 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
9737 Renamed from libc_feholdsetround_ctx.
9738 (default_libc_feresetround_ctx): Renamed from
9739 libc_feresetround_ctx.
9740 (default_libc_feholdsetround_noex_ctx): Renamed from
9741 libc_feholdsetround_noex_ctx.
9742 (default_libc_feresetround_noex_ctx): Renamed from
9743 libc_feresetround_noex_ctx.
9744 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
9745 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
9746 forwardning to the old implementations under the new names.
9747 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
9748 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
9749 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
9750 (libc_feresetround_ctx): Forward to default implements for i386
9751 and MATH_SET_BOTH_ROUNDING_MODES.
9752 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
9753 Add -DMATH_SET_BOTH_ROUNDING_MODES.
9755 2018-06-20 Joseph Myers <joseph@codesourcery.com>
9757 * string/tst-cmp.c: Include <libc-diag.h>.
9758 (strncmp_max): Disable -Wstringop-overflow= around call to
9760 (strncasecmp_max): Disable -Wstringop-overflow= around call to
9763 * string/bug-strpbrk1.c: Include <libc-diag.h>.
9764 (main): Disable -Wunused-value around call to strpbrk.
9765 * string/bug-strspn1.c: Include <libc-diag.h>.
9766 (main): Disable -Wunused-value around call to strspn.
9768 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9769 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9771 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
9772 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
9774 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9776 * math/Makefile (libm-calls): Move s_significandF to...
9777 (gen-libm-calls): ... here.
9778 * math/s_significand_template.c: New file.
9779 * math/s_significand.c: Removed.
9780 * math/s_significandf.c: Removed.
9781 * math/s_significandl.c: Removed.
9782 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
9783 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
9785 * math/e_exp2_template.c (declare_mgen_finite_alias,
9786 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
9787 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
9788 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
9790 2018-06-20 Florian Weimer <fweimer@redhat.com>
9792 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
9794 2018-06-19 Joseph Myers <joseph@codesourcery.com>
9797 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
9798 floating-point number to strtod functions rather than possibly
9799 negating result of those functions.
9800 * stdio-common/tst-scanf-round.c: New file.
9801 * stdio-common/Makefile (tests): Add tst-scanf-round.
9802 ($(objpfx)tst-scanf-round): Depend on $(libm).
9804 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
9806 * sysdeps/mach/hurd/localplt.data: Move to...
9807 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
9808 R_386_GLOB_DAT like on Linux i386.
9810 2018-06-18 Joseph Myers <joseph@codesourcery.com>
9812 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
9813 (SHM_STAT_ANY): New macro.
9814 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
9815 (SHM_STAT_ANY): Likewise.
9816 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
9817 (SHM_STAT_ANY): Likewise.
9818 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
9819 (SHM_STAT_ANY): Likewise.
9820 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
9821 (SHM_STAT_ANY): Likewise.
9822 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
9823 (SHM_STAT_ANY): Likewise.
9824 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
9825 (SHM_STAT_ANY): Likewise.
9826 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
9827 (SHM_STAT_ANY): Likewise.
9828 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
9829 (SHM_STAT_ANY): Likewise.
9830 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
9831 (SHM_STAT_ANY): Likewise.
9832 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
9833 (SHM_STAT_ANY): Likewise.
9834 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
9835 (SHM_STAT_ANY): Likewise.
9837 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
9838 (SEM_STAT_ANY): New macro.
9839 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
9840 (SEM_STAT_ANY): Likewise.
9841 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
9842 (SEM_STAT_ANY): Likewise.
9843 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
9844 (SEM_STAT_ANY): Likewise.
9845 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
9846 (SEM_STAT_ANY): Likewise.
9847 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
9848 (SEM_STAT_ANY): Likewise.
9849 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
9850 (SEM_STAT_ANY): Likewise.
9851 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
9852 (SEM_STAT_ANY): Likewise.
9853 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
9854 (SEM_STAT_ANY): Likewise.
9855 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
9856 (SEM_STAT_ANY): Likewise.
9858 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
9859 (MSG_STAT_ANY): New macro.
9860 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
9861 (MSG_STAT_ANY): Likewise.
9862 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
9863 (MSG_STAT_ANY): Likewise.
9864 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
9865 (MSG_STAT_ANY): Likewise.
9866 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
9867 (MSG_STAT_ANY): Likewise.
9868 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
9869 (MSG_STAT_ANY): Likewise.
9870 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
9871 (MSG_STAT_ANY): Likewise.
9872 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
9873 (MSG_STAT_ANY): Likewise.
9874 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
9875 (MSG_STAT_ANY): Likewise.
9876 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
9877 (MSG_STAT_ANY): Likewise.
9879 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9880 (MAP_TYPE): Change value to 0x2b.
9882 2018-06-18 Florian Weimer <fweimer@redhat.com>
9885 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
9886 socket with SOCK_CLOEXEC.
9888 2018-06-18 Joseph Myers <joseph@codesourcery.com>
9891 * sysdeps/powerpc/powerpc64/le/Makefile
9892 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
9893 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
9894 (gnulib-tests): Also add $(f128-loader-link) for
9895 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
9897 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
9899 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
9900 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
9902 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
9903 (sendfile64): New strong alias.
9904 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
9905 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
9906 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
9907 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
9909 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
9910 ___pthread_get_cleanup_stack.
9911 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
9912 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
9913 * mach/shortcut.awk: Make syscall stubs include
9914 <mach-shortcuts-hidden.h> and add hidden definition.
9915 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
9916 (__mach_msg): Add hidden prototype.
9917 * mach/msg.c: Include <mach.h>.
9918 (__mach_msg): Add hidden definition.
9919 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
9920 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
9921 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
9922 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
9923 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
9924 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
9925 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
9926 prototype and definition.
9927 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
9928 hidden target for _hurd_self_sigstate.
9930 2018-06-15 Joseph Myers <joseph@codesourcery.com>
9933 * stdlib/tst-strtod-nan-sign-main.c: New file.
9934 * stdlib/tst-strtod-nan-sign.c: Likewise.
9935 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
9936 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
9937 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
9938 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
9939 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
9941 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
9944 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
9947 2018-06-14 Florian Weimer <fweimer@redhat.com>
9950 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
9951 that the result stays within the ISO-8859-1 range.
9952 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
9953 characters are defined in IBM273.
9955 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
9957 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
9958 __mach_task_self): Remove attribute_hidden.
9960 2018-06-14 Joseph Myers <joseph@codesourcery.com>
9962 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
9963 ignore -Wrestrict for one test.
9965 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
9966 Szabolcs Nagy <szabolcs.nagy@arm.com>
9968 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
9970 2018-06-14 Florian Weimer <fweimer@redhat.com>
9972 * scripts/update-abilist.sh: Accept empty list of files to patch.
9974 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
9976 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
9977 test-xfail-check-abi-libmachuser): Add.
9978 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
9979 __libc_read and __libc_write to __read and __write.
9980 * sysdeps/hurd/include/hurd/port.h: New file.
9981 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
9982 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
9983 __thread_switch, __evc_wait): Move declarations to...
9984 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
9986 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
9987 use PLT to call _hurd_self_sigstate.
9989 2018-06-13 Joseph Myers <joseph@codesourcery.com>
9992 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
9993 MAX_EXP as overflowing.
9994 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
9996 (round_str): Output also whether result overflows in each rounding
9998 * stdlib/tst-strtod-round-data: Add more tests.
9999 * stdlib/tst-strtod-round-data.h: Regenerated.
10000 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
10001 (TEST): Handle extra arguments for overflow flags.
10002 (struct test_overflow): New type.
10003 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
10004 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
10005 (test_in_one_mode): Take argument with overflow information.
10006 (do_test): Update calls to test_in_one_mode.
10008 2018-06-12 Carlos O'Donell <carlos@redhat.com>
10010 * elf/dl-load (_dl_dst_substitute): Correct comment.
10011 (_dl_dst_count): Likewise.
10013 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
10014 lll_futex_timed_wait.
10016 2018-06-12 Joseph Myers <joseph@codesourcery.com>
10019 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
10021 * math/test-nan-const.c: New file.
10022 * math/Makefile (tests): Add test-nan-const.
10023 (CFLAGS-test-nan-const.c): New variable.
10025 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
10027 * benchtests/scripts/compare_strings.py (process_results): Add
10028 funcs argument. Compare only functions which are selected.
10029 (main): Check if base function is among selected functions.
10030 Pass selected functions to process_results.
10031 (__main__): Add -f/--functions argument.
10033 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
10034 Hongbo Zhang <hongbo.zhang@linaro.org>
10036 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
10037 __memcpy_falkor for phecda core.
10038 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
10039 __memmove_falkor for phecda core.
10040 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
10041 __memset_falkor for phecda core.
10042 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
10044 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
10045 macro to identify phecda core.
10047 2018-06-12 Carlos O'Donell <carlos@redhat.com>
10048 Andreas Schwab <schwab@suse.de>
10049 Dmitry V. Levin <ldv@altlinux.org>
10050 Florian Weimer <fweimer@redhat.com>
10057 * elf/dl-dst.h: Remove DL_DST_COUNT.
10058 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
10059 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
10060 (is_dst): Comment. Support ELF gABI.
10061 (_dl_dst_count): Comment. Simplify and count DSTs.
10062 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
10063 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
10066 2018-06-12 Zack Weinberg <zackw@panix.com>
10068 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
10069 * sysdeps/unix/sysv/linux/dl-sysdep.c
10070 Include not-cancel.h. Use __close_nocancel instead of __close,
10071 __open64_nocancel instead of __open, __read_nocancel instead of
10072 __libc_read, and __write_nocancel instead of __libc_write.
10074 * csu/check_fds.c (check_one_fd)
10075 * sysdeps/posix/fdopendir.c (__fdopendir)
10076 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
10077 instead of __fcntl and/or __libc_fcntl.
10079 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
10080 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
10081 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
10082 Use __open64_nocancel instead of __open_nocancel.
10084 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
10085 hidden_proto declarations to the end and issue them if either
10086 IS_IN(libc) or IS_IN(rtld).
10087 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
10088 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
10089 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
10090 read_nocancel, waitpid_nocancel, write_nocancel.
10092 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
10093 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
10094 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
10096 * nptl/pt-fcntl.c: New file.
10097 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
10098 (libpthread-routines): Add pt-fcntl.
10099 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
10100 (__libc_fcntl): Remove attribute_hidden.
10101 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
10102 __fcntl_nocancel_adjusted, not fcntl_common.
10103 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
10104 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
10105 to fcntl_nocancel.c.
10106 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
10107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
10108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10109 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
10111 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
10112 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
10113 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
10114 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
10115 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
10116 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
10117 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
10118 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
10119 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
10120 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
10121 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
10122 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
10123 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
10124 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
10125 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
10126 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
10127 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
10128 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
10129 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
10130 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
10132 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
10133 libpthread-routines.
10134 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
10137 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
10138 __libc_read, and __write instead of __libc_write. Define
10139 __open64 in addition to __open.
10141 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
10145 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
10146 to _private_tm[3] and add __glibc_reserved2.
10147 Add _Static_assert of offset of __private_ss == 0x30.
10148 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
10149 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
10151 2018-06-12 Florian Weimer <fweimer@redhat.com>
10153 x86: Make strncmp usable from rtld.
10154 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
10155 __strncmp_ia32 if in libc (and not in rtld).
10156 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
10157 strncmp if not in libc (and not to __strncmp_sse2).
10159 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
10162 * localedata/locales/gd_GB (mon): Rename to...
10164 (mon): Import from CLDR (genitive case).
10165 * localedata/locales/hsb_DE (mon): Rename to...
10167 (mon): Import from CLDR (genitive case).
10168 * localedata/locales/wa_BE (mon): Rename to...
10170 (mon): Add, fill with the proper genitive forms, but CLDR data
10171 is incomplete; completed according to the comments in this file.
10172 (d_t_fmt): Do not use "di" before the month name, no longer needed.
10174 * localedata/locales/wa_BE (country_name): Reword
10175 "Beljike" -> "Beldjike".
10177 2018-06-11 Joseph Myers <joseph@codesourcery.com>
10180 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
10181 cases of non-finite arguments.
10182 * math/libm-test-fma.inc (fma_test_data): Add more tests.
10184 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
10187 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
10189 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10192 * include/unistd.h (__execvpex): New prototype.
10193 * posix/Makefile (tests): Add tst-spawn4.
10194 (tests-internal): Add tst-spawn4-compat.
10195 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
10196 * posix/tst-spawn4-compat.c: New file.
10197 * posix/tst-spawn4.c: Likewise.
10198 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
10199 binaries as shell scripts.
10200 * sysdeps/posix/spawni.c (__spawni): Likewise.
10202 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
10205 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
10206 ($(all-built-dso:=.dynsym): New target.
10207 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
10208 ($(objpfx)check-initfini.out): New target.
10209 (generated): Add check-initfini.out.
10210 * scripts/check-initfini.awk: New file.
10211 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
10213 * sysdeps/alpha/crti.S (_init): Mark as hidden.
10215 * sysdeps/arm/crti.S (_init): Mark as hidden.
10217 * sysdeps/hppa/crti.S (_init): Mark as hidden.
10219 * sysdeps/i386/crti.S (_init): Mark as hidden.
10221 * sysdeps/ia64/crti.S (_init): Mark as hidden.
10223 * sysdeps/m68k/crti.S (_init): Mark as hidden.
10225 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
10227 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
10229 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
10231 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
10233 * sysdeps/nios2/crti.S (_init): Mark as hidden.
10235 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
10237 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
10239 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
10241 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
10243 * sysdeps/sh/crti.S (_init): Mark as hidden.
10245 * sysdeps/sparc/crti.S (_init): Mark as hidden.
10247 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
10250 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10252 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
10253 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
10254 and TF redirection to KFtype and KF only when the default
10255 long double type is not the IEEE 128-bit floating point type.
10257 2018-06-05 Joseph Myers <joseph@codesourcery.com>
10259 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
10261 (HWCAP_USCAT): Likewise.
10262 (HWCAP_ILRCPC): Likewise.
10263 (HWCAP_FLAGM): Likewise.
10264 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
10266 (_dl_aarch64_cap_flags): Add new flag names.
10268 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
10269 (MAP_FIXED_NOREPLACE): New macro.
10270 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
10271 (MAP_FIXED_NOREPLACE): Likewise.
10272 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
10273 (MAP_FIXED_NOREPLACE): Likewise.
10274 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10275 (MAP_FIXED_NOREPLACE): Likewise.
10276 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
10277 (MAP_FIXED_NOREPLACE): Likewise.
10278 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
10279 (MAP_FIXED_NOREPLACE): Likewise.
10280 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
10281 (MAP_FIXED_NOREPLACE): Likewise.
10282 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
10283 (MAP_FIXED_NOREPLACE): Likewise.
10284 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
10285 (MAP_FIXED_NOREPLACE): Likewise.
10286 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
10287 (MAP_FIXED_NOREPLACE): Likewise.
10288 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
10289 (MAP_FIXED_NOREPLACE): Likewise.
10290 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
10291 (MAP_FIXED_NOREPLACE): Likewise.
10292 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
10293 (MAP_FIXED_NOREPLACE): Likewise.
10294 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
10295 (MAP_FIXED_NOREPLACE): Likewise.
10296 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
10297 (MAP_FIXED_NOREPLACE): Likewise.
10299 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10302 2018-06-04 Joseph Myers <joseph@codesourcery.com>
10304 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10307 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10309 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
10311 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
10313 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10315 * benchtests/scripts/compare_string.py: (process_results) Catch
10316 exception in non-existent base_func and catch exception in
10317 non-existent attribute.
10318 (parse_file) Catch exception if input file does not exist.
10320 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10322 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
10323 options to avoid diff calculation and omit header, respectively.
10324 (main): process --no-diff and --no-header
10326 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10327 H.J. Lu <hongjiu.lu@intel.com>
10329 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10330 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
10332 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10333 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
10334 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
10335 and __wcsncmp_sse2.
10336 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
10337 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
10338 AVX unaligned load is fast and vzeroupper is preferred.
10339 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
10340 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
10341 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
10342 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
10343 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
10344 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
10345 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
10346 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
10347 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
10348 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
10351 2018-06-01 Florian Weimer <fweimer@redhat.com>
10353 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
10354 configuring with --disable-multi-arch, building with
10355 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
10358 2018-06-01 Florian Weimer <fweimer@redhat.com>
10360 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
10361 results from building with “-march=x86-64 -mtune=generic
10362 -mfpmath=sse” and running on a Haswell-era CPU.
10364 2018-06-01 Joseph Myers <joseph@codesourcery.com>
10367 * soft-fp/sqrttf2.c: Remove file.
10368 * soft-fp/sqrtdf2.c: Move to ....
10369 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
10371 (__sqrtdf2): Make conditional on
10372 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
10374 * soft-fp/sqrtsf2.c: Move to ....
10375 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
10377 (__sqrtsf2): Make conditional on
10378 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
10380 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
10381 (gcc-double-routines): Remove sqrtdf2.
10382 (gcc-quad-routines): Remove sqrttf2.
10383 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
10384 Do not filter out sqrtsf2 and sqrtdf2.
10385 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10386 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
10388 2018-06-01 Florian Weimer <fweimer@redhat.com>
10390 * sysdeps/generic/libcidn.abilist: Remove file.
10392 2018-06-01 Florian Weimer <fweimer@redhat.com>
10395 * libio/strfile.h (struct _IO_str_fields): Rename members to
10396 discourage their use and add comment.
10397 (_IO_STR_DYNAMIC): Remove unused macro.
10398 * libio/strops.c (_IO_str_init_static_internal): Do not use
10399 callback pointers. Call malloc and free.
10400 (_IO_str_overflow): Do not use callback pointers. Call malloc
10402 (enlarge_userbuf): Likewise.
10403 (_IO_str_finish): Call free.
10404 * libio/wstrops.c (_IO_wstr_init_static): Initialize
10405 _allocate_buffer_unused.
10406 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
10408 (enlarge_userbuf): Likewise.
10409 (_IO_wstr_finish): Call free.
10410 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
10411 _allocate_buffer_unused, _free_buffer_unused.
10412 * libio/memstream.c (__open_memstream): Likewise.
10413 * libio/vasprintf.c (_IO_vasprintf): Likewise.
10414 * libio/wmemstream.c (open_wmemstream): Likewise.
10416 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
10418 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
10421 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10423 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
10424 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
10425 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
10427 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
10429 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
10431 2018-05-29 Florian Weimer <fweimer@redhat.com>
10433 * support/Makefile (libsupport-routines): Add
10434 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
10435 xpthread_barrierattr_setpshared.
10436 * support/xpthread_barrierattr_destroy.c: New file.
10437 * support/xpthread_barrierattr_init.c: Likewise.
10438 * support/xpthread_barrierattr_setpshared.c: Likewise.
10440 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
10443 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
10444 _r_debug and update DT_DEBUG for debugger.
10446 2018-05-29 Florian Weimer <fweimer@redhat.com>
10448 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
10449 (tst-strtod5i.out): Likewise.
10451 2018-05-25 Joseph Myers <joseph@codesourcery.com>
10453 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
10454 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
10455 (sparc64-quad-routines): New variable. Moved from ....
10456 [$(subdir) = soft-fp] (sysdep_routines): Add
10457 $(sparc64-quad-routines). Moved from ....
10458 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
10459 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
10460 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
10462 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
10463 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
10464 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
10465 * sysdeps/sparc/sparc64/qp_add.c: ... here.
10466 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
10467 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
10468 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
10469 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
10470 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
10471 * sysdeps/sparc/sparc64/qp_div.c: ... here.
10472 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
10473 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
10474 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
10475 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
10476 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
10477 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
10478 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
10479 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
10480 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
10481 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
10482 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
10483 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
10484 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
10485 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
10486 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
10487 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
10488 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
10489 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
10490 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
10491 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
10492 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
10493 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
10494 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
10495 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
10496 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
10497 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
10498 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
10499 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
10500 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
10501 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
10502 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
10503 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
10504 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
10505 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
10506 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
10507 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
10508 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
10509 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
10510 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
10511 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
10512 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
10513 * sysdeps/sparc/sparc64/qp_util.c: ... here.
10514 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
10515 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
10516 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
10517 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
10518 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
10519 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
10521 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
10522 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
10523 (sparc32-quad-routines): New variable. Moved from ....
10524 [$(subdir) = soft-fp] (sysdep_routines): Add
10525 $(sparc32-quad-routines). Moved from ....
10526 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
10527 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
10529 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
10530 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
10531 * sysdeps/sparc/sparc32/q_add.c: ... here.
10532 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
10533 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
10534 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
10535 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
10536 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
10537 * sysdeps/sparc/sparc32/q_div.c: ... here.
10538 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
10539 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
10540 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
10541 * sysdeps/sparc/sparc32/q_feq.c: ... here.
10542 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
10543 * sysdeps/sparc/sparc32/q_fge.c: ... here.
10544 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
10545 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
10546 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
10547 * sysdeps/sparc/sparc32/q_fle.c: ... here.
10548 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
10549 * sysdeps/sparc/sparc32/q_flt.c: ... here.
10550 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
10551 * sysdeps/sparc/sparc32/q_fne.c: ... here.
10552 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
10553 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
10554 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
10555 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
10556 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
10557 * sysdeps/sparc/sparc32/q_mul.c: ... here.
10558 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
10559 * sysdeps/sparc/sparc32/q_neg.c: ... here.
10560 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
10561 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
10562 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
10563 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
10564 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
10565 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
10566 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
10567 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
10568 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
10569 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
10570 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
10571 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
10572 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
10573 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
10574 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
10575 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
10576 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
10577 * sysdeps/sparc/sparc32/q_sub.c: ... here.
10578 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
10579 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
10580 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
10581 * sysdeps/sparc/sparc32/q_util.c: ... here.
10582 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
10583 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
10584 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
10585 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
10587 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10588 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10590 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
10591 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
10592 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
10593 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
10595 2018-05-24 Joseph Myers <joseph@codesourcery.com>
10597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
10599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10601 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
10602 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
10604 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10607 * math/math.h [C++] (iseqsig): Fix parameter type for the long
10610 2018-05-23 Joseph Myers <joseph@codesourcery.com>
10612 * sysdeps/sh/Implies: Remove sh/soft-fp.
10613 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
10614 * sysdeps/sh/sfp-machine.h: ... here.
10616 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
10618 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10619 (__mempcpy_erms): Skip zero length.
10620 (__memmove_erms): Likewise.
10621 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10622 (__memset_erms): Likewise.
10624 2018-05-23 Joseph Myers <joseph@codesourcery.com>
10626 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
10627 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
10628 Add functions moved from ....
10629 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
10630 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
10631 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
10633 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
10634 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
10635 * sysdeps/alpha/e_sqrtl.c: ... here.
10636 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
10637 * sysdeps/alpha/local-soft-fp.h: ... here.
10638 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
10639 * sysdeps/alpha/ots_add.c: ... here.
10640 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
10641 * sysdeps/alpha/ots_cmp.c: ... here.
10642 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
10643 * sysdeps/alpha/ots_cmpe.c: ... here.
10644 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
10645 * sysdeps/alpha/ots_cvtqux.c: ... here.
10646 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
10647 * sysdeps/alpha/ots_cvtqx.c: ... here.
10648 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
10649 * sysdeps/alpha/ots_cvttx.c: ... here.
10650 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
10651 * sysdeps/alpha/ots_cvtxq.c: ... here.
10652 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
10653 * sysdeps/alpha/ots_cvtxt.c: ... here.
10654 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
10655 * sysdeps/alpha/ots_div.c: ... here.
10656 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
10657 * sysdeps/alpha/ots_mul.c: ... here.
10658 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
10659 * sysdeps/alpha/ots_nintxq.c: ... here.
10660 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
10661 * sysdeps/alpha/ots_sub.c: ... here.
10662 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
10663 * sysdeps/alpha/sfp-machine.h: ... here.
10665 2018-05-23 Florian Weimer <fweimer@redhat.com>
10673 Switch to extern IDNA implementation (libidn2).
10674 * libidn: Remove subdirectory.
10675 * LICENSES: Do not mention licensing conditions for the removed
10677 * config.h.in (HAVE_LIBIDN): Remove.
10678 * include/dlfcn.h (__libc_dlopen): Update comment.
10679 * include/idna.h: Remove file.
10680 * inet/Makefile (routines): Add idna.
10681 (tests-static, tests-internal): Add tst-idna_name_classify.
10682 (LOCALES): Generate locales for tests.
10683 (tst-idna_name_classify.out): Depend on generated locales.
10684 * inet/idna_name_classify.c: New file.
10685 * inet/tst-idna_name_classify.c: Likewise.
10686 * inet/net-internal.h (__idna_to_dns_encoding)
10687 (__idna_from_dns_encoding): Declare.
10688 * inet/net-internal.h (enum idna_name_classification): Define.
10689 (__idna_name_classify): Declare.
10690 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
10691 __idna_from_dns_encoding.
10692 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
10693 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
10694 name as a fallback in case of encoding errors.
10695 (getnameinfo): Use DEPRECATED_NI_IDN.
10696 * inet/idna.c: New file.
10697 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
10698 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
10699 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
10700 (modules-names): Add tst-no-libidn2.
10701 (extra-test-objs): Add tst-no-libidn2.os.
10702 (LDFLAGS-tst-no-libidn2.so): Set soname.
10703 (LOCALES): Set, and generate locales.
10704 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
10705 (tst-resolv-ai_idn-latin1): Likewise.
10706 (tst-resolv-ai_idn-nolibidn2): Likewise.
10707 (tst-resolv-ai_idn.out): Depend on locales.
10708 (tst-resolv-ai_idn-latin1.out): Depend on locales.
10709 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
10711 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
10712 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
10713 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
10714 * resolv/tst-resolv-ai_idn.c: New file.
10715 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
10716 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
10717 * resolv/tst-no-libidn2.c: Likewise.
10718 * support/support_format_addrinfo.c (format_ai_flags): Do not
10719 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
10720 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
10721 (gaih_inet): Call __idna_to_dns_encoding and
10722 __idna_from_dns_encoding, and use the original (punycode) name if
10723 __idna_from_dns_encoding fails due to an encoding error.
10724 (getaddrinfo): Use DEPRECATED_AI_IDN.
10725 * sysdeps/unix/inet/Subdirs (libidn): Remove.
10726 * sysdeps/unix/inet/configure: Remove file.
10727 * sysdeps/unix/inet/configure.ac: Likewise.
10729 2018-05-23 Florian Weimer <fweimer@redhat.com>
10731 Implement allocate_once.
10732 * include/allocate_once.h: New file.
10733 * misc/allocate_once.c: Likewise.
10734 * misc/tst-allocate_once.c: Likewise.
10735 * misc/Makefile (routines): Add allocate_once.
10736 (tests-internal): Add tst-allocate_once.
10737 (generated): Add tst-allocate_once.mtrace,
10738 tst-allocate_once-mem.out.
10739 (tests-special): Add tst-allocate_once-mem.out.
10740 (tst-allocate_once-ENV): Set MALLOC_TRACE.
10741 (tst-allocate_once-mem.out): Call mtrace.
10742 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
10744 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
10747 * string/test-memcpy.c (do_test1): New function.
10748 (test_main): Call it.
10750 2018-05-23 Andreas Schwab <schwab@suse.de>
10754 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
10755 (L(preloop_large)): Save initial destination pointer in %r11 and
10756 use it instead of %rax after the loop.
10757 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
10759 2018-05-22 Joseph Myers <joseph@codesourcery.com>
10761 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
10762 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
10763 -I../soft-fp. Moved from ....
10764 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
10765 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
10766 * sysdeps/aarch64/e_sqrtl.c: ... here.
10767 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
10768 * sysdeps/aarch64/sfp-machine.h: ... here.
10770 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
10771 -Wmaybe-uninitialized around access to fq[0].
10772 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10776 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
10777 aliases for non-libc case of versioned symbols.
10778 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
10779 (llseek): Define as compat symbol if
10780 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
10782 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
10783 Make into a compat symbol, disabled for minimum symbol version
10784 GLIBC_2.28 and later.
10785 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
10787 2018-05-22 Florian Weimer <fweimer@redhat.com>
10789 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
10790 not add -mpreferred-stack-boundary=4.
10791 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
10792 (stack-align-test-flags): Likewise.
10793 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
10795 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
10796 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
10797 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
10798 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
10799 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
10800 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
10801 (CFLAGS-tst-align2.c): Likewise.
10803 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
10805 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
10806 (index_arch_Prefer_FSRM): Likewise.
10807 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
10808 Also check Prefer_FSRM.
10809 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
10810 Also return OPTIMIZE (erms) for Prefer_FSRM.
10812 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
10814 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
10815 (index_cpu_FSRM): Likewise.
10816 (reg_FSRM): Likewise.
10818 2018-05-18 Joseph Myers <joseph@codesourcery.com>
10820 * math/gen-tgmath-tests.py: Import sys.
10821 (Tests.__init__): Initialize macros_seen.
10822 (Tests.add_tests): Add macro to macros_seen. Only generate tests
10823 if requested to do so for this macro.
10824 (Tests.add_all_tests): Take argument for macro for which to
10826 (Tests.check_macro_list): New function.
10827 (main): Handle check-list argument and argument specifying macro
10828 for which to generate tests.
10829 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
10830 [PYTHON] (tgmath3-macro-tests): Likewise.
10831 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
10832 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
10833 not test-tgmath3.c.
10834 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
10835 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
10837 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
10838 [PYTHON] ($(foreach
10839 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
10841 [PYTHON] (tests-special): Add
10842 $(objpfx)test-tgmath3-macro-list.out.
10843 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
10845 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
10846 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
10850 * time/tzset.c (SECSPERDAY): Cast to time_t.
10851 * time/tst-y2039.c: New file.
10852 * time/Makefile (tests): Add tst-y2039.
10854 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10856 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10857 (PREFETCH_ONE_SET): Remove duplicate line.
10859 2018-05-17 Florian Weimer <fweimer@redhat.com>
10861 * sysdeps/generic/math-type-macros-double.h: Include
10862 <math-nan-payload-double.h> after <libm-alias-double.h>.
10863 * sysdeps/generic/math-type-macros-float.h: Include
10864 <math-nan-payload-float.h> after <libm-alias-float.h>.
10865 * sysdeps/generic/math-type-macros-float128.h: Include
10866 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
10867 * sysdeps/generic/math-type-macros-ldouble.h: Include
10868 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
10870 2018-05-17 Andreas Schwab <schwab@suse.de>
10872 * resolv/res_send.c (__res_context_send): Don't set errno when
10873 returing error after malloc failure.
10875 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
10877 * nptl/allocatestack.c (allocate_stack): Remove the
10878 !__ASSUME_PRIVATE_FUTEX paths.
10879 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
10880 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10882 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
10883 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10884 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10885 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10886 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
10887 !__ASSUME_PRIVATE_FUTEX path.
10888 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
10889 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
10890 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
10891 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
10892 !__ASSUME_PRIVATE_FUTEX macros.
10893 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10894 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
10895 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10896 * sysdeps/unix/sysv/linux/kernel-features.h
10897 (__ASSUME_PRIVATE_FUTEX): Removed.
10899 2018-05-17 Joseph Myers <joseph@codesourcery.com>
10901 * math/Makefile (libm-narrow-fns): Add div.
10902 (libm-test-funcs-narrow): Likewise.
10903 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
10904 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
10905 * math/gen-auto-libm-tests.c (test_functions): Add div.
10906 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
10907 (NARROW_DIV_ROUND_TO_ODD): Likewise.
10908 (NARROW_DIV_TRIVIAL): Likewise.
10909 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
10911 (__ddivl): Likewise.
10912 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
10914 (CFLAGS-nldbl-ddiv.c): New variable.
10915 (CFLAGS-nldbl-fdiv.c): Likewise.
10916 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10918 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
10920 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
10921 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
10922 * math/auto-libm-test-in: Add tests of div.
10923 * math/auto-libm-test-out-narrow-div: New generated file.
10924 * math/libm-test-narrow-div.inc: New file.
10925 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
10926 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
10927 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
10928 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
10929 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
10930 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
10931 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
10932 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
10933 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
10934 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
10935 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
10936 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
10937 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
10938 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
10939 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
10940 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
10941 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
10942 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
10943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10944 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10945 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10946 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10947 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10948 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10949 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10950 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10951 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10952 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10953 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10954 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10955 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10956 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10961 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10962 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10963 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10964 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10965 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10966 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10967 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10968 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10970 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10973 * nscd/nscd-client.h (sendfileall): Remove prototype.
10974 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
10975 (handle_request): Use writeall instead of sendfileall.
10976 * nscd/aicache.c (addhstaiX): Likewise.
10977 * nscd/grpcache.c (cache_addgr): Likewise.
10978 * nscd/hstcache.c (cache_addhst): Likewise.
10979 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10980 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
10981 * nscd/pwdcache.c (cache_addpw): Likewise.
10982 * nscd/servicescache.c (cache_addserv): Likewise.
10983 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
10984 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
10985 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
10988 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
10990 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
10991 Include <string/strncat.c>.
10992 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
10994 (__GI___strncat): New hidden alias.
10996 2018-05-16 Joseph Myers <joseph@codesourcery.com>
10998 * sysdeps/mips/mips32/libm-test-ulps: Update.
10999 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11001 2018-05-16 Florian Weimer <fweimer@redhat.com>
11003 * support/Makefile (libsupport-routines): Add support_quote_blob,
11004 support_test_compare_blob.
11005 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
11006 * support/check.h (TEST_COMPARE_BLOB): Define.
11007 (support_test_compare_blob): Declare.
11008 * support/support.h (support_quote_blob): Declare.
11009 * support/support_quote_blob.c: New file.
11010 * support/support_test_compare_blob.c: Likewise.
11011 * support/tst-support_quote_blob.c: Likewise.
11012 * support/tst-test_compare_blob.c: Likewise.
11014 2018-05-16 Florian Weimer <fweimer@redhat.com>
11016 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
11017 of <strtod_nan_double.h>.
11018 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
11019 instead of SET_MANTISSA.
11020 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
11021 of include <strtod_nan_float.h>.
11022 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
11023 instead of <strtod_nan_ldouble.h>.
11024 * stdlib/strtod_nan_double.h: Move to ...
11025 * sysdeps/generic/math-nan-payload-double.h: ... here.
11026 (FLOAT): Remove definition.
11027 (SET_MANTISSA): Rename to ...
11028 (SET_NAN_PAYLOAD): ... this.
11029 * stdlib/strtod_nan_float.h: Move to ...
11030 * sysdeps/generic/math-nan-payload-float.h: ... here.
11031 (FLOAT): Remove definition.
11032 (SET_MANTISSA): Rename to ...
11033 (SET_NAN_PAYLOAD): ... this.
11034 * sysdeps/generic/math-type-macros-double.h: Include
11035 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
11036 instead of <math-svid-compat.h>.
11037 * sysdeps/generic/math-type-macros-float.h: Include
11038 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
11039 instead of <math-svid-compat.h>.
11040 * sysdeps/generic/math-type-macros-float128.h: Include
11041 <math-nan-payload-float128.h>.
11042 * sysdeps/generic/math-type-macros-ldouble.h: Include
11043 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
11044 instead of <math-svid-compat.h>.
11045 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
11046 check for definition.
11047 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
11048 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
11049 Include <ieee754_float128.h>.
11050 (FLOAT): Remove definition.
11051 (SET_MANTISSA): Rename to ...
11052 (SET_NAN_PAYLOAD): ... this.
11053 * sysdeps/ieee754/float128/strtof128_nan.c: Include
11054 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
11055 Do not include <float128_private.h>.
11056 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
11057 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
11058 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
11059 (FLOAT): Remove definition.
11060 (SET_MANTISSA): Rename to ...
11061 (SET_NAN_PAYLOAD): ... this.
11062 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
11063 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
11064 (FLOAT): Remove definition.
11065 (SET_MANTISSA): Rename to ...
11066 (SET_NAN_PAYLOAD): ... this.
11067 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
11068 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
11069 (FLOAT): Remove definition.
11070 (SET_MANTISSA): Rename to ...
11071 (SET_NAN_PAYLOAD): ... this.
11072 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
11073 of "../stdlib/strtod_nan_double.h".
11074 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
11075 of "../stdlib/strtod_nan_float.h".
11076 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
11077 instead of "../stdlib/strtod_nan_ldouble.h".
11078 * manual/arith.texi (Parsing of Floats): Adjust comment.
11080 2018-05-16 Joseph Myers <joseph@codesourcery.com>
11082 * math/Makefile (libm-narrow-fns): Add mul.
11083 (libm-test-funcs-narrow): Likewise.
11084 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
11085 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
11086 * math/gen-auto-libm-tests.c (test_functions): Add mul.
11087 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
11088 (NARROW_MUL_ROUND_TO_ODD): Likewise.
11089 (NARROW_MUL_TRIVIAL): Likewise.
11090 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
11091 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
11093 (__dmull): Likewise.
11094 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
11096 (CFLAGS-nldbl-dmul.c): New variable.
11097 (CFLAGS-nldbl-fmul.c): Likewise.
11098 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11100 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
11102 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
11103 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
11104 * math/auto-libm-test-in: Add tests of mul.
11105 * math/auto-libm-test-out-narrow-mul: New generated file.
11106 * math/libm-test-narrow-mul.inc: New file.
11107 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
11108 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
11109 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
11110 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
11111 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
11112 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
11113 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
11114 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
11115 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
11116 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
11117 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
11118 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
11119 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
11120 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
11121 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
11122 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
11123 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
11124 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
11125 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11126 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11127 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11128 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11129 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11130 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11131 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11132 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11133 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11134 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11135 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11136 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11137 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11138 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11143 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11144 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11145 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11146 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11147 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11148 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11149 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11150 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11152 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11154 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
11155 with *%eax in call.
11157 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11159 * sysdeps/i386/ldsodefs.h: Removed.
11160 * sysdeps/x86_64/ldsodefs.h: Moved to ...
11161 * sysdeps/x86/ldsodefs.h: This.
11162 (La_i86_regs): New.
11163 (La_i86_retval): Likewise.
11164 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
11165 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
11167 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11169 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
11172 2018-05-13 Alan Modra <amodra@gmail.com>
11174 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
11175 R_PARISC_TLS_DTPOFF32 reloc addend.
11177 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11179 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
11180 * math/math.h: Restrict the prototype definition for the functions
11181 issignaling(_Float128) and iszero(_Float128); and template
11182 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
11183 __HAVE_FLOAT128_UNLIKE_LDBL.
11184 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
11185 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
11186 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
11187 __f128() constants; define the type _Float128 as long double;
11188 and reuse long double in __CFLOAT128.
11190 2018-05-11 Joseph Myers <joseph@codesourcery.com>
11192 * sysdeps/generic/math_private.h: Do not include
11194 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
11196 * math/fromfp.h: Include <math-barriers.h>.
11197 * math/math-narrow.h: Likewise.
11198 * math/s_nextafter.c: Likewise.
11199 * math/s_nexttowardf.c: Likewise.
11200 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
11201 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
11202 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
11203 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
11204 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11205 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11206 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11207 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11208 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11209 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11210 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11211 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11212 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11213 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11214 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11215 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11216 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11217 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11218 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11219 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11220 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11221 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11222 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11223 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11224 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11225 * sysdeps/ieee754/k_standardl.c: Likewise.
11226 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11227 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11228 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11229 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11230 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11231 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11232 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11233 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11234 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11235 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11236 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11237 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11238 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11239 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11240 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11241 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11242 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11243 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11244 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11245 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11246 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
11247 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
11249 2018-05-11 Florian Weimer <fweimer@redhat.com>
11251 Use 64-bit epoch values in the time zone file parser.
11252 * include/time.h (internal_time_t): Define.
11253 (__tzfile_compute): Use it.
11254 * time/tzfile.c (struct leap): Use internal_time_t for epoch
11256 (transitions): Switch to internal_time_t.
11257 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
11259 (__tzfile_compute): Use internal_time_t for timer argument. Check
11260 for truncation before calling __offtime.
11262 2018-05-11 Florian Weimer <fweimer@redhat.com>
11265 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
11266 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
11268 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
11269 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
11270 export without --enable-obsolete-rpc.
11271 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
11272 symbol. This should not have been exported, ever.
11274 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
11277 * localedata/locales/gd_GB (abmon): Fix typo in May:
11278 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
11280 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11282 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11283 Use multiple registers to copy data in loop tail.
11285 * sysdeps/aarch64/multiarch/memmove_falkor.S
11286 (__memmove_falkor): Use multiple registers to move data in
11289 2018-05-10 Joseph Myers <joseph@codesourcery.com>
11291 * math/math-underflow.h: New file.
11292 * sysdeps/generic/math_private.h: Do not include <float.h>.
11293 (fabs_tg): Remove macro. Moved to math-underflow.h.
11294 (min_of_type_f): Likewise.
11295 (min_of_type_): Likewise.
11296 (min_of_type_l): Likewise.
11297 (min_of_type_f128): Likewise.
11298 (min_of_type): Likewise.
11299 (math_check_force_underflow): Likewise.
11300 (math_check_force_underflow_nonneg): Likewise.
11301 (math_check_force_underflow_complex): Likewise.
11302 * math/e_exp2_template.c: Include <math-underflow.h>.
11303 * math/k_casinh_template.c: Likewise.
11304 * math/s_catan_template.c: Likewise.
11305 * math/s_catanh_template.c: Likewise.
11306 * math/s_ccosh_template.c: Likewise.
11307 * math/s_cexp_template.c: Likewise.
11308 * math/s_clog10_template.c: Likewise.
11309 * math/s_clog_template.c: Likewise.
11310 * math/s_csin_template.c: Likewise.
11311 * math/s_csinh_template.c: Likewise.
11312 * math/s_csqrt_template.c: Likewise.
11313 * math/s_ctan_template.c: Likewise.
11314 * math/s_ctanh_template.c: Likewise.
11315 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11316 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11317 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11318 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11319 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11320 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11321 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11322 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11323 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11324 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11325 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11326 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11327 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11328 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11329 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11330 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11331 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11332 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11333 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11334 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11335 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11336 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11337 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11338 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11339 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11340 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11341 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11342 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11343 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11344 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11345 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11346 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11347 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11348 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11349 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11350 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11351 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11352 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11353 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11354 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11355 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11356 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11357 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11358 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11359 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11360 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11361 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11362 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11363 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11364 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11365 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11366 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11367 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11368 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11369 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11370 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11371 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11372 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11373 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11374 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11375 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11376 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11377 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11378 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11379 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11380 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11381 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11382 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11383 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11384 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11385 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11386 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11387 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
11388 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
11389 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11390 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11391 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11392 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11393 * sysdeps/x86/fpu/powl_helper.c: Likewise.
11394 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
11395 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
11396 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11397 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
11398 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
11400 2018-05-09 Joseph Myers <joseph@codesourcery.com>
11402 * sysdeps/generic/math-barriers.h: New file.
11403 * sysdeps/generic/math_private.h [!math_opt_barrier]
11404 (math_opt_barrier): Move to math-barriers.h.
11405 [!math_opt_barrier] (math_force_eval): Likewise.
11406 * sysdeps/aarch64/fpu/math-barriers.h: New file.
11407 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
11409 (math_force_eval): Likewise.
11410 * sysdeps/alpha/fpu/math-barriers.h: New file.
11411 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
11413 (math_force_eval): Likewise.
11414 * sysdeps/x86/fpu/math-barriers.h: New file.
11415 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
11417 (math_force_eval): Likewise.
11418 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
11419 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
11420 multiple-include guard for rename.
11421 * sysdeps/powerpc/fpu/math-barriers.h: New file.
11422 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
11424 (math_force_eval): Likewise.
11426 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
11430 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
11432 * stdlib/Makefile (test-bz22786): New test.
11433 * stdlib/test-bz22786.c: New test.
11435 2018-05-09 Joseph Myers <joseph@codesourcery.com>
11437 * include/math-narrow-eval.h: New file. Contents moved from ....
11438 * sysdeps/generic/math_private.h: ... here.
11439 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
11440 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
11441 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
11442 * stdlib/strtod_l.c: Likewise.
11443 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
11444 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
11445 * sysdeps/i386/fpu/s_fdim.c: Likewise.
11446 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11447 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11448 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11449 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11450 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11451 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11452 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11453 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11454 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
11455 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11456 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11457 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11458 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11459 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11460 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11461 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11462 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11463 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11464 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11465 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11466 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11467 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11468 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11469 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11470 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11471 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11473 2018-05-08 Andreas Schwab <schwab@suse.de>
11475 * sysdeps/nptl/internaltypes.h: Fix comment.
11477 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
11479 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11480 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
11483 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
11485 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
11486 of I into loop header.
11487 * benchtests/bench-memmove-walk.c
11488 (test_main): Likewise.
11490 2018-05-07 Alexandre Oliva <oliva@gnu.org>
11493 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
11494 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
11496 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11499 * elf/dl-load.c (open_verify): Fix stack overflow.
11500 * elf/Makefile (tst-big-note): New test.
11501 * elf/tst-big-note-lib.S: New.
11502 * elf/tst-big-note.c: New.
11504 2018-05-04 Joseph Myers <joseph@codesourcery.com>
11506 * scripts/abilist.awk: Ignore absolute symbols.
11507 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
11508 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
11509 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
11510 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
11511 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
11512 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
11513 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11514 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
11515 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
11516 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
11517 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
11518 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
11519 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
11520 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
11521 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
11522 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
11523 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
11524 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
11525 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11526 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
11527 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11528 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
11529 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
11530 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
11531 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
11532 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
11533 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
11534 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
11535 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11536 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
11537 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
11538 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11539 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
11540 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11541 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
11542 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
11543 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
11544 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
11545 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
11546 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
11547 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
11548 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11549 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
11550 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
11551 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11552 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
11553 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11554 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
11555 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
11556 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
11557 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
11558 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
11559 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
11560 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
11561 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11562 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
11563 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
11564 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11565 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
11566 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11567 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
11568 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
11569 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
11570 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
11571 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
11572 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
11573 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
11574 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11575 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
11576 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
11577 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11578 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
11579 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11580 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
11581 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
11582 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
11583 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
11584 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
11585 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
11586 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
11587 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11588 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
11589 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
11590 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11591 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
11592 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11593 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
11594 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
11595 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
11596 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
11597 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
11598 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11600 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
11601 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11602 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
11603 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
11604 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11605 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
11606 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
11607 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
11608 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
11609 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
11610 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
11611 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
11612 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11614 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
11615 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11616 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
11617 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
11618 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11619 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
11620 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
11621 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
11622 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
11623 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
11624 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
11625 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
11626 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
11627 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
11628 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11629 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
11630 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
11631 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11632 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
11633 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
11634 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
11635 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
11636 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
11637 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
11638 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11639 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
11640 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
11642 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
11643 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
11644 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
11645 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
11646 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11647 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
11648 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
11649 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
11650 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
11651 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
11652 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
11653 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
11654 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
11655 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
11656 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
11657 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
11658 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
11659 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
11660 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11661 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
11663 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
11664 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
11665 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
11666 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11667 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
11668 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
11669 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
11670 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
11671 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
11672 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
11673 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11674 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
11675 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
11676 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11677 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
11678 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
11679 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
11680 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
11681 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11682 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
11683 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
11684 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11685 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
11686 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
11687 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
11688 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
11689 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
11690 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
11691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
11692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
11694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
11697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
11698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
11699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
11700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
11702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
11704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
11705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
11708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
11713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
11714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
11720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
11721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
11726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
11727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
11728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
11732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
11733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
11741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
11742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
11743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
11750 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
11751 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
11753 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
11754 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11755 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
11756 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
11757 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11758 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
11759 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
11760 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
11761 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
11762 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
11763 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
11764 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
11765 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
11766 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
11768 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11769 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
11770 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
11771 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11772 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
11773 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
11774 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
11775 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
11776 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
11777 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
11778 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
11779 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
11781 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11782 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
11783 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
11784 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11785 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
11786 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
11787 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
11788 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
11789 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
11790 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
11791 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
11792 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
11793 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
11794 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11795 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
11796 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
11797 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11798 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
11799 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
11800 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
11801 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
11802 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
11803 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
11804 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
11805 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
11807 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
11808 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11809 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
11810 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
11811 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11812 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
11813 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
11814 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
11815 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
11816 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
11817 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
11818 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
11819 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
11821 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
11822 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11823 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
11824 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
11825 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11826 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
11827 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
11828 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
11829 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
11830 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
11831 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
11832 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
11833 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
11834 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
11835 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11836 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
11837 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
11838 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11839 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
11840 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
11841 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
11842 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
11843 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
11844 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
11845 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
11846 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
11847 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
11848 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
11849 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11850 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
11851 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
11852 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11853 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
11854 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
11855 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
11856 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
11857 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
11858 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
11860 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
11863 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
11864 Use atomic_load_acquire to load __tid.
11866 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11868 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
11869 Restore the pointer into %rdx, after syscall and use %rdx,
11870 instead of %rsi, to restore context.
11872 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11874 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
11875 Pop the pointer into %rdx after syscall and use %rdx, instead
11876 of %rsi, to restore context.
11878 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11880 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
11881 handlers after setjmp.
11882 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
11884 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
11885 <libc-pointer-arith.h>.
11886 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
11887 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
11888 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
11889 _JUMP_BUF_SIGSET_BITS_PER_WORD.
11890 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
11891 * sysdeps/x86/__longjmp_cancel.S: New file.
11892 * sysdeps/x86/longjmp.c: Likewise.
11893 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
11895 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11897 * NEWS: Add ustat.h deprecation entry.
11898 * bits/ustat.h: Remove file.
11899 * misc/sys/ustat.h: Likewise.
11900 * misc/ustat.h: Likewise.
11901 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
11902 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
11903 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
11904 compatibility mode.
11905 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
11906 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
11907 generic Linux implementation.
11909 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11911 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
11912 * math/w_expl_compat.c: Likewise.
11913 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
11915 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
11917 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
11919 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11921 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
11922 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
11923 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
11925 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
11926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11927 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11928 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
11929 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
11932 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11934 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
11936 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
11937 * math/w_asin_template.c: Likewise.
11938 * math/w_atanh_template.c: Likewise.
11940 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11942 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
11943 to powerpc/powerpc64/be for big-endian.
11944 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
11947 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
11948 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
11949 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
11950 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
11951 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11952 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
11953 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
11954 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
11955 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
11956 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11957 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
11958 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
11959 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
11960 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
11961 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
11962 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
11963 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
11964 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
11965 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
11966 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
11967 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
11968 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11969 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
11970 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
11971 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
11972 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11973 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
11974 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
11975 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
11976 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
11977 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
11978 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
11980 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
11981 adjusted to imply powerpc64 and older processors on powerpc64/be.
11982 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
11983 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
11984 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
11985 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
11986 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
11987 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
11988 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
11989 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
11990 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
11991 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
11992 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
11993 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
11994 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
11995 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
11996 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
11997 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
11998 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
11999 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
12000 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
12001 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
12002 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
12003 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
12004 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
12005 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
12006 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
12007 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
12008 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
12009 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
12010 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
12011 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
12012 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
12014 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
12015 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
12016 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
12017 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
12019 * sysdeps/powerpc/powerpc64/be/Implies: New file.
12020 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
12021 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
12022 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
12024 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
12025 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
12026 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
12027 * sysdeps/powerpc/powerpc64le/configure: Likewise.
12028 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
12029 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
12030 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
12031 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
12032 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
12033 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
12034 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
12036 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
12037 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
12038 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
12039 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
12040 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
12041 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
12042 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
12043 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
12044 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
12045 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
12046 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
12048 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
12049 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
12050 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
12051 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
12052 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
12053 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
12054 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
12055 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
12056 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
12057 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
12058 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
12059 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
12061 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
12062 and adjusted to imply olders processors.
12063 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
12064 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
12065 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
12066 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
12067 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
12068 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
12069 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
12070 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
12071 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
12072 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
12073 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
12075 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
12077 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
12078 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
12080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
12082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
12083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
12085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
12087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
12089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
12091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
12092 powerpc64 and adjusted.
12093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
12094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
12095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
12098 2018-04-27 Joseph Myers <joseph@codesourcery.com>
12100 * sysdeps/tile: Remove.
12101 * sysdeps/unix/sysv/linux/tile: Likewise.
12102 * README (tilegx-*-linux-gnu): Remove from list of supported
12104 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
12105 contribution of support for generic Linux kernel syscall
12107 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
12108 tilegx configurations.
12109 (Config.install_linux_headers): Do not handle tile.
12110 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
12112 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
12113 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
12114 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
12115 conditional undefine and redefine.
12116 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
12118 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
12119 conditional undefine and redefine.
12121 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
12123 * signal/tst-sigaction.c: New file to test BZ #23069.
12124 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
12126 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12129 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
12130 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
12131 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
12132 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
12134 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12136 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
12137 _DIRENT_MATCHES_DIRENT64 is not defined.
12138 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
12139 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
12141 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
12142 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
12144 2018-04-25 Joseph Myers <joseph@codesourcery.com>
12146 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
12147 version to GCC 8 branch.
12149 2018-04-24 Joseph Myers <joseph@codesourcery.com>
12151 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
12152 (check_no_hidden): Use type of original function when declaring
12155 * sysdeps/unix/sysv/linux/sys/ptrace.h
12156 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
12157 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
12158 (struct __ptrace_seccomp_metadata): New type.
12159 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
12160 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12161 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
12162 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12163 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
12164 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12165 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
12166 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12167 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
12168 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12169 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
12170 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12171 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
12172 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12173 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
12174 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12176 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12178 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
12180 * dirent/versionsort.c (versionsort): Likewise.
12181 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
12182 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
12183 * dirent/versionsort64.c (versionsort64): Likewise.
12184 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
12185 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
12186 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
12187 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
12188 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
12189 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
12190 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
12191 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
12192 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
12193 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
12194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
12195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
12196 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
12197 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
12199 2018-04-23 Joseph Myers <joseph@codesourcery.com>
12201 * elf/elf.h (NT_PPC_PKEY): New macro.
12203 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
12206 * localedata/locales/hr_HR: fix thousands_sep and
12209 2018-04-20 Joseph Myers <joseph@codesourcery.com>
12211 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
12212 (XTABS): Define to TAB3.
12214 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12216 * sysdeps/hppa/fpu/libm-test-ulps: Update.
12218 * dirent/scandir-tail-common.c: New file.
12219 * dirent/scandir-tail.c: Use scandir-tail-common.c.
12220 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
12221 * dirent/scandir.c: Use scandir-tail-common.c.
12222 * dirent/scandirat.c: Likewise.
12223 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
12224 * dirent/scandir64.c (scandir64): Always build and alias to scandir
12225 if _DIRENT_MATCHES_DIRENT64 is defined.
12226 * dirent/scandirat64.c (scandirat64): Likewise.
12227 * include/dirent.h (__scandir_tail): Only define iff
12228 _DIRENT_MATCHES_DIRENT64 is not defined.
12229 (__scandir64_tail): Define regardless.
12230 (__scandirat, scandirat64): Remove libc_hidden_proto.
12231 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
12232 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
12233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
12234 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
12235 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12236 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
12237 * sysdeps/unix/sysv/linux/scandir64.c: New file.
12239 2018-04-20 Joseph Myers <joseph@codesourcery.com>
12241 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
12243 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12245 (_dl_aarch64_cap_flags): Add asimdfhm.
12247 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
12249 * sysdeps/nios2/libm-test-ulps: Update.
12251 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12253 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
12254 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
12256 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
12258 (_DIRENT_MATCHES_DIRENT64): Undef
12259 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
12260 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
12261 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
12262 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
12263 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
12264 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
12265 use getdents64 syscalls as base.
12266 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
12267 symbol if required.
12268 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
12269 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
12270 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
12271 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
12272 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
12273 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
12274 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
12275 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
12276 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12277 (__get_clockfreq_via_proc_openprom): Use __getdents64.
12278 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
12280 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12282 * scripts/test_printers_common.py (init_test): Disable lock elision.
12284 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12286 * math/test-tgmath.c (count_double, count_float,
12287 count_ldouble, count_cdouble, count_cfloat,
12288 count_cldouble): Use volatile int.
12290 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
12292 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
12293 (conformtest-xfail-conds): Add i386-gnu.
12294 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
12296 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
12297 ipc_perm.cuid, ipc_perm.cgid): Likewise.
12298 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
12299 msqid_ds.msg_lrpid): Likewise.
12300 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
12302 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
12303 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
12304 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
12305 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
12307 (struct statvfs64): Likewise.
12308 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
12310 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
12311 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
12312 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
12313 instead of wait_queue.
12314 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
12315 instead of vm_area_struct.
12316 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
12317 struct sched_param definition to it.
12318 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12319 * bits/types/struct_sched_param.h: New file.
12320 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
12321 <bits/types/struct_sched_param.h> instead of <sched.h>.
12322 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
12323 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
12324 generic version but include <bits/pthreadtypes.h> to make struct
12325 sigevent's sigev_notify_attributes field a pthread_attr_t*.
12326 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
12328 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
12329 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
12330 [__USE_XOPEN] (OFDEL): New macro.
12331 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
12332 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
12333 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
12335 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
12336 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
12337 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
12339 * sysdeps/i386/sys/ucontext.h: Likewise.
12340 * sysdeps/m68k/sys/ucontext.h: Likewise.
12341 * sysdeps/mips/sys/ucontext.h: Likewise.
12342 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
12343 * sysdeps/mach/hurd/i386/Makefile
12344 (test-xfail-POSIX/fcntl.h/conform): Add.
12345 (test-xfail-POSIX/signal.h/conform): Add.
12346 (test-xfail-POSIX/semaphore.h/conform): Add.
12347 (test-xfail-POSIX/regex.h/conform): Add.
12348 (test-xfail-POSIX/aio.h/conform): Add.
12349 (test-xfail-POSIX/mqueue.h/conform): Add.
12350 (test-xfail-POSIX/sys/types.h/conform): Add.
12351 (test-xfail-UNIX98/fcntl.h/conform): Add.
12352 (test-xfail-UNIX98/netdb.h/conform): Add.
12353 (test-xfail-UNIX98/signal.h/conform): Add.
12354 (test-xfail-UNIX98/semaphore.h/conform): Add.
12355 (test-xfail-UNIX98/regex.h/conform): Add.
12356 (test-xfail-UNIX98/aio.h/conform): Add.
12357 (test-xfail-UNIX98/ftw.h/conform): Add.
12358 (test-xfail-UNIX98/mqueue.h/conform): Add.
12359 (test-xfail-UNIX98/netinet/in.h/conform): Add.
12360 (test-xfail-UNIX98/sys/wait.h/conform): Add.
12361 (test-xfail-UNIX98/sys/sem.h/conform): Add.
12362 (test-xfail-UNIX98/sys/uio.h/conform): Add.
12363 (test-xfail-UNIX98/sys/socket.h/conform): Add.
12364 (test-xfail-UNIX98/sys/types.h/conform): Add.
12365 (test-xfail-UNIX98/stdlib.h/conform): Add.
12366 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
12367 (test-xfail-POSIX2008/fcntl.h/conform): Add.
12368 (test-xfail-POSIX2008/netdb.h/conform): Add.
12369 (test-xfail-POSIX2008/signal.h/conform): Add.
12370 (test-xfail-POSIX2008/semaphore.h/conform): Add.
12371 (test-xfail-POSIX2008/regex.h/conform): Add.
12372 (test-xfail-POSIX2008/aio.h/conform): Add.
12373 (test-xfail-POSIX2008/mqueue.h/conform): Add.
12374 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
12375 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
12376 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
12377 (test-xfail-POSIX2008/sys/types.h/conform): Add.
12378 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
12379 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
12380 (test-xfail-XOPEN2K/netdb.h/conform): Add.
12381 (test-xfail-XOPEN2K/signal.h/conform): Add.
12382 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
12383 (test-xfail-XOPEN2K/regex.h/conform): Add.
12384 (test-xfail-XOPEN2K/aio.h/conform): Add.
12385 (test-xfail-XOPEN2K/ftw.h/conform): Add.
12386 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
12387 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
12388 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
12389 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
12390 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
12391 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
12392 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
12393 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
12394 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
12395 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
12396 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
12397 (test-xfail-XOPEN2K8/signal.h/conform): Add.
12398 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
12399 (test-xfail-XOPEN2K8/regex.h/conform): Add.
12400 (test-xfail-XOPEN2K8/aio.h/conform): Add.
12401 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
12402 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
12403 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
12404 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
12405 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
12406 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
12407 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
12408 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
12409 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
12410 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
12411 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
12413 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
12414 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
12416 2018-04-18 Joseph Myers <joseph@codesourcery.com>
12418 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
12419 --enable-obsolete for powerpc-linux-gnuspe.
12421 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12423 * conform/data/sys/un.h-data: Allow sun_ prefix.
12424 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
12426 * sysdeps/mach/include/mach.h: Likewise.
12427 * sysdeps/mach/include/mach/mig_support.h: Likewise.
12428 * sysdeps/mach/include/mach_error.h: Likewise.
12430 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12432 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
12433 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
12434 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
12435 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
12437 2018-04-16 Andreas Schwab <schwab@suse.de>
12440 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
12442 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
12444 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
12445 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
12447 2018-04-12 DJ Delorie <dj@redhat.com>
12449 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12452 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12454 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
12455 (struct kernel_sigaction): Use the same definition on 31bit as is used
12458 2018-04-09 Florian Weimer <fweimer@redhat.com>
12461 * resolv/res_send.c (send_dg): Use designated initializers instead
12462 of assignment to zero-initialize other fields of struct mmsghdr.
12464 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12466 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
12467 __READDIR_ALIAS): Undefine after usage.
12468 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
12469 __READDIR_R_ALIAS): Likewise.
12470 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
12471 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
12472 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
12473 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
12474 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
12475 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
12476 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
12477 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12478 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
12479 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
12480 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
12481 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
12482 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
12483 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
12484 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
12485 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
12486 * sysdeps/unix/sysv/linux/readdir.c: New file.
12487 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
12488 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
12489 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
12491 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
12493 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
12495 * manual/charset.texi (Converting a Character): Fix typo.
12497 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12499 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12501 * sysdeps/arm/libm-test-ulps: Update.
12503 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
12504 as base implementation.
12505 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12506 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12507 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12508 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12509 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12510 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
12511 remove unrequired definitions and update comments.
12512 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
12513 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
12514 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
12515 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
12516 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
12517 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
12518 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
12519 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
12520 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
12521 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
12522 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
12523 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12524 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12525 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
12526 and RESET_SA_RESTORER hooks.
12528 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
12530 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12532 2018-04-05 Florian Weimer <fweimer@redhat.com>
12534 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
12535 integer overflow, memory leak on error, and indeterminate errno
12536 value. Add a null wide character to terminate the result string.
12537 * manual/charset.texi (Converting a Character): Mention embedded
12538 null bytes in the mbrtowc input string. Explain what happens in
12539 the -2 result case. Do not claim that mbrtowc is simple or
12540 obvious to use. Adjust the description of the code example. Use
12541 @code, not @var, for concrete variables.
12543 2018-04-05 Florian Weimer <fweimer@redhat.com>
12545 * manual/examples/mbstouwcs.c: New file.
12546 * manual/charset.texi (Converting a Character): Include it.
12548 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
12550 * include/dirent.h (dirfd): Add hidden proto.
12551 * dirent/dirfd.c (dirfd): Add hidden def.
12552 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
12553 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
12555 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12557 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
12558 sin, cos and sincos to 1 ULP.
12560 2018-04-04 Maciej W. Rozycki <macro@mips.com>
12563 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
12565 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
12566 * elf/tst-absolute-sym.c: New file.
12567 * elf/tst-absolute-sym-lib.c: New file.
12568 * elf/tst-absolute-sym-lib.lds: New file.
12569 * elf/Makefile (tests): Add `tst-absolute-sym'.
12570 (modules-names): Add `tst-absolute-sym-lib'.
12571 (LDLIBS-tst-absolute-sym-lib.so): New variable.
12572 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
12573 ($(objpfx)tst-absolute-sym): New dependency.
12576 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
12578 (SYMBOL_ADDRESS): New macro.
12579 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
12580 SYMBOL_ADDRESS for symbol address calculation.
12581 * elf/dl-runtime.c (_dl_fixup): Likewise.
12582 (_dl_profile_fixup): Likewise.
12583 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
12584 * elf/rtld.c (dl_main): Likewise.
12585 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
12586 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
12587 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
12588 (elf_machine_rela): Likewise.
12589 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
12590 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
12591 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12592 (elf_machine_rela): Likewise.
12593 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12594 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
12595 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
12596 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
12598 (elf_machine_reloc): Likewise.
12599 (elf_machine_got_rel): Likewise.
12600 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
12601 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
12602 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12604 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12606 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
12607 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12609 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12611 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12612 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12614 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12616 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
12617 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12619 2018-04-04 Zack Weinberg <zackw@panix.com>
12621 * sysdeps/generic/internal-signals.h: Include signal.h,
12622 sigsetops.h, and stdbool.h.
12623 (__libc_signal_block_all): Actually block all signals.
12624 (__libc_signal_block_app): Likewise.
12625 (__libc_signal_restore_set): Actually restore the signal mask.
12627 2018-04-04 Florian Weimer <fweimer@redhat.com>
12629 inet: Actually build and run tst-deadline.
12630 * inet/Makefile (tests-internal): Add tst-deadline and do not
12631 overwrite the variable.
12632 (tests-static-internal): Remove variable.
12634 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
12637 * bits/uio-ext.h (RWF_APPEND): New.
12638 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
12639 * manual/llio.texi: Document RWF_APPEND.
12640 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
12641 (RWF_SUPPORTED): Add RWF_APPEND.
12643 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12646 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
12647 check for internal nptl signals.
12648 * nptl/sigaction.c (__sigaction): Likewise.
12649 * signal/sigaddset.c (sigaddset): Likewise.
12650 * signal/sigdelset.c (sigdelset): Likewise.
12651 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
12652 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
12654 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
12655 to filter out internal nptl signals.
12656 * signal/tst-sigset.c (do_test): Check ech signal indidually and
12657 also check realtime signals using standard macros.
12658 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
12659 __is_internal_signal, __libc_signal_block_all,
12660 __libc_signal_block_app, __libc_signal_restore_set): New functions.
12661 * sysdeps/nptl/sigfillset.c: Remove file.
12662 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
12663 Change return to bool.
12664 (__clear_internal_signals): Remove SIGTIMER clean since it is
12665 equal to SIGCANEL on Linux.
12666 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
12667 signal set was constructed using standard functions.
12669 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
12671 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
12672 ifname is too long.
12673 * hurd/hurdsig.c (interrupted_reply_port_location): Use
12674 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
12675 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
12677 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
12678 * signal/sigaddset.c: Include <sigsetopts.h>.
12679 * signal/sigdelset.c: Likewise.
12681 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12683 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
12685 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
12686 logic as sin and cos.
12688 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12690 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
12691 inputs. Return correct sign.
12692 (do_sincos): Remove small input check before do_sin, let do_sin set
12697 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12699 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
12700 (do_cos_slow): Likewise.
12701 (do_sin_slow): Likewise.
12702 (reduce_and_compute): Likewise.
12707 (sloww1): Likewise.
12708 (sloww2): Likewise.
12710 (bslow1): Likewise.
12711 (bslow2): Likewise.
12712 (cslow2): Likewise.
12714 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12716 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
12717 (do_cos): Remove corp parameter and calculations.
12718 (do_sin): Likewise.
12719 (do_sincos): Remove cor variable.
12720 (__sin): Use do_sincos for huge inputs.
12722 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12723 (reduce_and_compute_sincos): Remove unused function.
12725 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12727 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
12728 reduce_sincos, improve accuracy to 136 bits.
12729 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
12730 (__sin): Use improved reduction and simplified do_sincos calculation.
12732 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12734 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12736 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
12737 (do_sincos_2): Likewise.
12738 (__sin): Remove middle range reduction case.
12740 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
12743 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12745 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
12746 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
12749 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
12751 2018-04-03 Joseph Myers <joseph@codesourcery.com>
12753 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12756 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12758 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
12759 Remove definitions.
12760 (opendir_oflags): Use O_DIRECTORY regardless.
12761 (__opendir, __opendirat): Remove need_isdir_precheck usage.
12762 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
12764 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12766 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
12767 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
12769 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
12770 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
12771 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
12772 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
12773 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
12774 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
12776 * htl/Makefile: Bump licence to LGPL 2.1+.
12777 * htl/alloca_cutoff.c: Likewise.
12778 * htl/cthreads-compat.c: Likewise.
12779 * htl/lockfile.c: Likewise.
12780 * htl/pt-alloc.c: Likewise.
12781 * htl/pt-cancel.c: Likewise.
12782 * htl/pt-cleanup.c: Likewise.
12783 * htl/pt-create.c: Likewise.
12784 * htl/pt-dealloc.c: Likewise.
12785 * htl/pt-detach.c: Likewise.
12786 * htl/pt-exit.c: Likewise.
12787 * htl/pt-getattr.c: Likewise.
12788 * htl/pt-initialize.c: Likewise.
12789 * htl/pt-internal.h: Likewise.
12790 * htl/pt-join.c: Likewise.
12791 * htl/pt-self.c: Likewise.
12792 * htl/pt-setcancelstate.c: Likewise.
12793 * htl/pt-setcanceltype.c: Likewise.
12794 * htl/pt-sigmask.c: Likewise.
12795 * htl/pt-spin-inlines.c: Likewise.
12796 * htl/pt-testcancel.c: Likewise.
12797 * htl/pt-yield.c: Likewise.
12798 * htl/tests/test-1.c: Likewise.
12799 * htl/tests/test-10.c: Likewise.
12800 * htl/tests/test-11.c: Likewise.
12801 * htl/tests/test-12.c: Likewise.
12802 * htl/tests/test-13.c: Likewise.
12803 * htl/tests/test-14.c: Likewise.
12804 * htl/tests/test-15.c: Likewise.
12805 * htl/tests/test-16.c: Likewise.
12806 * htl/tests/test-17.c: Likewise.
12807 * htl/tests/test-2.c: Likewise.
12808 * htl/tests/test-3.c: Likewise.
12809 * htl/tests/test-4.c: Likewise.
12810 * htl/tests/test-5.c: Likewise.
12811 * htl/tests/test-6.c: Likewise.
12812 * htl/tests/test-7.c: Likewise.
12813 * htl/tests/test-8.c: Likewise.
12814 * htl/tests/test-9.c: Likewise.
12815 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
12816 * sysdeps/htl/bits/cancelation.h: Likewise.
12817 * sysdeps/htl/bits/pthread-np.h: Likewise.
12818 * sysdeps/htl/bits/pthread.h: Likewise.
12819 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
12820 * sysdeps/htl/bits/semaphore.h: Likewise.
12821 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
12822 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
12823 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
12824 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
12825 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
12826 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
12827 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
12828 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
12829 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
12830 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
12831 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
12832 * sysdeps/htl/old_pt-atfork.c: Likewise.
12833 * sysdeps/htl/pt-atfork.c: Likewise.
12834 * sysdeps/htl/pt-attr-destroy.c: Likewise.
12835 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
12836 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
12837 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
12838 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
12839 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
12840 * sysdeps/htl/pt-attr-getscope.c: Likewise.
12841 * sysdeps/htl/pt-attr-getstack.c: Likewise.
12842 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
12843 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
12844 * sysdeps/htl/pt-attr-init.c: Likewise.
12845 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
12846 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
12847 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
12848 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
12849 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
12850 * sysdeps/htl/pt-attr-setscope.c: Likewise.
12851 * sysdeps/htl/pt-attr-setstack.c: Likewise.
12852 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
12853 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
12854 * sysdeps/htl/pt-attr.c: Likewise.
12855 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
12856 * sysdeps/htl/pt-barrier-init.c: Likewise.
12857 * sysdeps/htl/pt-barrier-wait.c: Likewise.
12858 * sysdeps/htl/pt-barrier.c: Likewise.
12859 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
12860 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
12861 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
12862 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
12863 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
12864 * sysdeps/htl/pt-cond-destroy.c: Likewise.
12865 * sysdeps/htl/pt-cond-init.c: Likewise.
12866 * sysdeps/htl/pt-cond-signal.c: Likewise.
12867 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
12868 * sysdeps/htl/pt-cond-wait.c: Likewise.
12869 * sysdeps/htl/pt-cond.c: Likewise.
12870 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
12871 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
12872 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
12873 * sysdeps/htl/pt-condattr-init.c: Likewise.
12874 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
12875 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
12876 * sysdeps/htl/pt-destroy-specific.c: Likewise.
12877 * sysdeps/htl/pt-equal.c: Likewise.
12878 * sysdeps/htl/pt-getconcurrency.c: Likewise.
12879 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
12880 * sysdeps/htl/pt-getschedparam.c: Likewise.
12881 * sysdeps/htl/pt-getspecific.c: Likewise.
12882 * sysdeps/htl/pt-init-specific.c: Likewise.
12883 * sysdeps/htl/pt-key-create.c: Likewise.
12884 * sysdeps/htl/pt-key-delete.c: Likewise.
12885 * sysdeps/htl/pt-key.h: Likewise.
12886 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
12887 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
12888 * sysdeps/htl/pt-mutex-init.c: Likewise.
12889 * sysdeps/htl/pt-mutex-lock.c: Likewise.
12890 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
12891 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
12892 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
12893 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
12894 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
12895 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
12896 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
12897 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
12898 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
12899 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
12900 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
12901 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
12902 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
12903 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
12904 * sysdeps/htl/pt-mutexattr.c: Likewise.
12905 * sysdeps/htl/pt-once.c: Likewise.
12906 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
12907 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
12908 * sysdeps/htl/pt-rwlock-init.c: Likewise.
12909 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
12910 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
12911 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
12912 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
12913 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
12914 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
12915 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
12916 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
12917 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
12918 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
12919 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
12920 * sysdeps/htl/pt-setconcurrency.c: Likewise.
12921 * sysdeps/htl/pt-setschedparam.c: Likewise.
12922 * sysdeps/htl/pt-setschedprio.c: Likewise.
12923 * sysdeps/htl/pt-setspecific.c: Likewise.
12924 * sysdeps/htl/pt-spin.c: Likewise.
12925 * sysdeps/htl/pt-startup.c: Likewise.
12926 * sysdeps/htl/pthread.h: Likewise.
12927 * sysdeps/htl/sem-close.c: Likewise.
12928 * sysdeps/htl/sem-destroy.c: Likewise.
12929 * sysdeps/htl/sem-getvalue.c: Likewise.
12930 * sysdeps/htl/sem-init.c: Likewise.
12931 * sysdeps/htl/sem-open.c: Likewise.
12932 * sysdeps/htl/sem-post.c: Likewise.
12933 * sysdeps/htl/sem-timedwait.c: Likewise.
12934 * sysdeps/htl/sem-trywait.c: Likewise.
12935 * sysdeps/htl/sem-unlink.c: Likewise.
12936 * sysdeps/htl/sem-wait.c: Likewise.
12937 * sysdeps/hurd/htl/pt-kill.c: Likewise.
12938 * sysdeps/i386/htl/pt-machdep.h: Likewise.
12939 * sysdeps/mach/htl/pt-block.c: Likewise.
12940 * sysdeps/mach/htl/pt-spin.c: Likewise.
12941 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
12942 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
12943 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
12944 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
12945 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
12946 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
12947 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
12948 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
12949 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
12950 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
12951 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
12952 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
12953 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
12954 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
12955 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
12956 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
12957 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
12958 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
12959 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
12960 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
12961 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
12962 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
12963 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
12964 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
12965 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
12966 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
12967 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
12968 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
12969 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
12970 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
12971 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
12972 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
12973 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
12974 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
12975 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
12976 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
12977 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
12978 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
12979 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
12980 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
12981 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
12982 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
12983 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
12985 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
12986 * README: Remove the mention of out-of-tree patches needed for
12989 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
12990 (UTIME_NOW, UTIME_OMIT): Define macros.
12992 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
12993 instead of pthread_detach.
12994 (__cthread_fork): Call __pthread_create instead of pthread_create.
12995 (__cthread_keycreate): Call __pthread_key_create instead of
12996 pthread_key_create.
12997 (__cthread_getspecific): Call __pthread_getspecific instead of
12998 pthread_getspecific.
12999 (__cthread_setspecific): Call __pthread_setspecific instead of
13000 pthread_setspecific.
13001 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
13002 __pthread_mutex_unlock instead of pthread_mutex_lock and
13003 pthread_mutex_unlock.
13004 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
13005 ___pthread_get_cleanup_stack.
13006 (__pthread_get_cleanup_stack): New strong alias.
13007 * htl/pt-create.c: Include <pthreadP.h>.
13008 (entry_point): Call __pthread_exit instead of pthread_exit.
13009 (pthread_create): Rename to __pthread_create.
13010 (pthread_create): New strong alias.
13011 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
13012 (pthread_detach): New strong alias.
13013 (__pthread_detach): Call __pthread_cond_broadcast instead of
13014 pthread_cond_broadcast.
13015 * htl/pt-exit.c: Include <pthreadP.h>.
13016 (__pthread_exit): Call __pthread_setcancelstate and
13017 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
13018 __pthread_get_cleanup_stack.
13019 * htl/pt-testcancel.c: Include <pthreadP.h>.
13020 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
13021 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
13022 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
13023 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
13024 pthread_attr_getstacksize.
13025 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
13026 Rename to __pthread_attr_getstackaddr.
13027 (pthread_attr_getstackaddr): New strong alias.
13028 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
13029 Rename to __pthread_attr_getstacksize.
13030 (pthread_attr_getstacksize): New strong alias.
13031 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
13032 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
13033 (pthread_attr_setstack): New strong alias.
13034 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
13035 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
13036 pthread_attr_getstacksize, pthread_attr_setstacksize and
13037 pthread_attr_setstackaddr.
13038 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
13039 Rename to __pthread_attr_setstackaddr.
13040 (pthread_attr_setstackaddr): New strong alias.
13041 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
13042 Rename to __pthread_attr_setstacksize.
13043 (pthread_attr_setstacksize): New strong alias.
13044 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
13045 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
13047 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
13048 (__pthread_key_create): New hidden def.
13049 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
13050 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
13051 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
13052 __pthread_exit, __pthread_key_create, __pthread_getspecific,
13053 __pthread_setspecific, __pthread_setcancelstate,
13054 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
13055 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
13056 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
13058 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
13059 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
13060 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
13061 (pthread_attr_setstackaddr): New strong alias.
13062 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
13063 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
13064 (pthread_attr_setstacksize): New strong alias.
13065 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
13066 (call_exit): Call __pthread_exit instead of pthread_exit.
13067 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
13068 (_pthread_mutex_init): New hidden definition.
13069 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
13070 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
13071 instead of pthread_attr_init and pthread_attr_setstack.
13073 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
13074 __vm_deallocate instead of vm_allocate and vm_deallocate.
13075 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
13077 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
13079 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
13081 * hurd/siginfo.c: Include <libioP.h>.
13082 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
13083 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
13085 * mach/devstream.c: Include <libioP.h>.
13086 (dealloc_ref): Call __mach_port_deallocate instead of
13087 mach_port_deallocate.
13088 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
13089 Call __mach_port_deallocate instead of mach_port_deallocate.
13090 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
13092 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
13094 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
13095 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
13096 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
13098 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
13100 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
13101 instead of sysconf.
13102 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
13103 __clock_gettime instead of clock_gettime.
13104 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
13105 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
13106 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
13107 * sysdeps/unix/bsd/stty.c (stty): Likewise.
13108 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
13110 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
13111 __clock_gettime and __nanosleep instead of clock_gettime and
13113 * hurd/catch-signal.c (hurd_catch_signal): Rename to
13114 __hurd_catch_signal.
13115 (hurd_catch_signal): New strong alias.
13116 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
13117 __hurd_catch_signal instead of hurd_catch_signal.
13118 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
13119 * hurd/hurdexec.c (_hurd_init): Add hidden def.
13120 * hurd/hurdinit.c (_hurd_init): Add hidden def.
13121 * hurd/hurdsig.c: Include <mach/mig_support.h>.
13122 (_hurd_thread_sigstate): Add hidden def.
13123 (_hurd_internal_post_signal): Use __mutex_unlock instead of
13125 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
13126 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
13127 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
13128 __hurd_file_name_path_lookup.
13129 (hurd_file_name_path_lookup): New strong alias.
13130 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
13131 hurd_file_name_path_lookup.
13132 * mach/errstring.c (mach_error_type): Add hidden def.
13133 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
13134 * mach/mutex-init.c (__mutex_init): Add hidden def.
13135 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
13136 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
13137 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
13138 * sysdeps/mach/hurd/getcwd.c
13139 (_hurd_canonicalize_directory_name_internal): Rename to
13140 __hurd_canonicalize_directory_name_internal.
13141 (_hurd_canonicalize_directory_name_internal): New strong alias.
13142 (__canonicalize_directory_name_internal, __getcwd): Call
13143 __hurd_canonicalize_directory_name_internal instead of
13144 _hurd_canonicalize_directory_name_internal.
13145 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
13146 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
13148 * sysdeps/hurd/include/hurd.h: New file.
13149 * sysdeps/hurd/include/hurd/fd.h: New file.
13150 * sysdeps/hurd/include/hurd/signal.h: New file.
13151 * sysdeps/mach/include/lock-intern.h: New file.
13152 * sysdeps/mach/include/mach.h: New file.
13153 * sysdeps/mach/include/mach/mig_support.h: New file.
13154 * sysdeps/mach/include/mach_error.h: New file.
13155 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
13157 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
13158 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
13159 _HEADER_H_HIDDEN_DEF macro.
13160 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
13161 _hurd_fd_error_signal): Add hidden prototype.
13162 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
13164 * libio/iolibio.h (_IO_puts): New hidden prototype.
13165 * libio/ioputs.c (_IO_puts): New hidden def.
13166 * sysdeps/mach/hurd/localplt.data: New file.
13168 2018-04-02 Agustina Arzille <avarzille@riseup.net>
13169 Amos Jeffries <squid3@treenet.co.nz>
13170 David Michael <fedora.dm0@gmail.com>
13171 Marco Gerards <marco@gnu.org>
13172 Marcus Brinkmann <marcus@gnu.org>
13173 Neal H. Walfield <neal@gnu.org>
13174 Pino Toscano <toscano.pino@tiscali.it>
13175 Richard Braun <rbraun@sceen.net>
13176 Roland McGrath <roland@gnu.org>
13177 Samuel Thibault <samuel.thibault@ens-lyon.org>
13178 Thomas DiModica <ricinwich@yahoo.com>
13179 Thomas Schwinge <tschwinge@gnu.org>
13181 * htl: New directory.
13182 * sysdeps/htl: New directory.
13183 * sysdeps/hurd/htl: New directory.
13184 * sysdeps/i386/htl: New directory.
13185 * sysdeps/mach/htl: New directory.
13186 * sysdeps/mach/hurd/htl: New directory.
13187 * sysdeps/mach/hurd/i386/htl: New directory.
13188 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
13189 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
13190 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
13192 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13194 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
13195 signals in thread created for runing timers.
13197 2018-04-01 Florian Weimer <fweimer@redhat.com>
13199 * support/support_format_addrinfo.c (support_format_addrinfo):
13200 Include unknown error number in formatted result.
13202 2018-03-29 Florian Weimer <fweimer@redhat.com>
13204 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
13207 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13209 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
13210 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
13211 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13212 (__ASSUME_CLONE_BACKWARDS): Define.
13214 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
13217 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
13218 early when linux sentinel value is set.
13220 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13222 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
13224 2018-03-27 Andreas Schwab <schwab@suse.de>
13227 * resolv/res_send.c (__res_context_send): Return ENOMEM if
13228 allocation of private copy of nsaddr_list fails.
13230 2018-03-26 Joseph Myers <joseph@codesourcery.com>
13233 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
13234 * sysdeps/unix/sysv/linux/umount.c: ... here.
13235 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
13236 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
13237 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
13238 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
13239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
13240 * sysdeps/unix/sysv/linux/umount.S: Likewise.
13241 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
13243 2018-03-26 Andreas Schwab <schwab@suse.de>
13245 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
13246 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
13247 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
13248 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
13249 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
13250 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
13251 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
13252 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
13253 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
13254 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
13255 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
13256 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
13257 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
13258 (R_RISCV_NUM): Define.
13260 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
13262 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
13263 TLS declaration of errno.
13264 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
13266 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
13267 (ARCH_SETUP_TLS): Likewise.
13268 * sysdeps/mach/hurd/libc-start.h: New file copied from
13269 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
13270 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
13271 instead of __libc_setup_tls.
13272 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
13273 __libc_setup_tls before initializing libpthread and running _hurd_init
13274 which starts the signal thread.
13275 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
13277 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13279 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
13282 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
13283 after it is defined.
13285 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
13286 Max Horn <max@quendi.de>
13290 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
13292 * string/test-memmove.c (do_test2): New testcase.
13294 2018-03-22 Joseph Myers <joseph@codesourcery.com>
13296 * sysdeps/generic/frame.h: Remove file.
13297 * sysdeps/arm/frame.h: Likewise.
13298 * sysdeps/hppa/frame.h: Likewise.
13299 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
13301 (GET_FRAME): Likewise.
13302 (GET_STACK): Likewise.
13303 (CALL_SIGHANDLER): Likewise.
13304 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
13306 (GET_FRAME): Likewise.
13307 (GET_STACK): Likewise.
13308 (CALL_SIGHANDLER): Likewise.
13309 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
13310 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13311 (GET_FRAME): Likewise.
13312 (GET_STACK): Likewise.
13313 (CALL_SIGHANDLER): Likewise.
13314 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
13315 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13316 (GET_FRAME): Likewise.
13317 (GET_STACK): Likewise.
13318 (ADVANCE_STACK_FRAME): Likewise.
13319 (CALL_SIGHANDLER): Likewise.
13320 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
13321 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13322 (GET_FRAME): Likewise.
13323 (GET_STACK): Likewise.
13324 (CALL_SIGHANDLER): Likewise.
13325 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
13326 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13327 (GET_FRAME): Likewise.
13328 (GET_STACK): Likewise.
13329 (CALL_SIGHANDLER): Likewise.
13330 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
13331 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13332 (GET_FRAME): Likewise.
13333 (GET_STACK): Likewise.
13334 (CALL_SIGHANDLER): Likewise.
13335 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
13336 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13337 (GET_FRAME): Likewise.
13338 (GET_STACK): Likewise.
13339 (CALL_SIGHANDLER): Likewise.
13340 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
13341 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13342 (GET_FRAME): Likewise.
13343 (GET_STACK): Likewise.
13344 (CALL_SIGHANDLER): Likewise.
13345 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
13346 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13347 (GET_FRAME): Likewise.
13348 (GET_STACK): Likewise.
13349 (CALL_SIGHANDLER): Likewise.
13350 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
13351 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13352 (GET_FRAME): Likewise.
13353 (GET_STACK): Likewise.
13354 (CALL_SIGHANDLER): Likewise.
13355 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
13356 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13357 (GET_FRAME): Likewise.
13358 (GET_STACK): Likewise.
13359 (CALL_SIGHANDLER): Likewise.
13360 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
13361 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13362 (GET_FRAME): Likewise.
13363 (GET_STACK): Likewise.
13364 (CALL_SIGHANDLER): Likewise.
13365 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
13366 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13367 (FIRST_FRAME_POINTER): Likewise.
13368 (ADVANCE_STACK_FRAME): Likewise.
13369 (GET_STACK): Likewise.
13370 (GET_FRAME): Likewise.
13371 (CALL_SIGHANDLER): Likewise.
13372 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
13373 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13374 (ADVANCE_STACK_FRAME): Likewise.
13375 (GET_STACK): Likewise.
13376 (GET_FRAME): Likewise.
13377 (CALL_SIGHANDLER): Likewise.
13378 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
13379 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13380 (GET_FRAME): Likewise.
13381 (GET_STACK): Likewise.
13382 (CALL_SIGHANDLER): Likewise.
13383 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
13384 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13385 (GET_FRAME): Likewise.
13386 (GET_STACK): Likewise.
13387 (CALL_SIGHANDLER): Likewise.
13389 2018-03-21 Joseph Myers <joseph@codesourcery.com>
13391 * sysdeps/x86_64/backtrace.c: Move to ....
13392 * debug/backtrace.c: ... here.
13393 * sysdeps/aarch64/backtrace.c: Remove file.
13394 * sysdeps/alpha/backtrace.c: Likewise.
13395 * sysdeps/hppa/backtrace.c: Likewise.
13396 * sysdeps/ia64/backtrace.c: Likewise.
13397 * sysdeps/mips/backtrace.c: Likewise.
13398 * sysdeps/nios2/backtrace.c: Likewise.
13399 * sysdeps/riscv/backtrace.c: Likewise.
13400 * sysdeps/sh/backtrace.c: Likewise.
13401 * sysdeps/tile/backtrace.c: Likewise.
13403 2018-03-20 Joseph Myers <joseph@codesourcery.com>
13406 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
13409 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
13412 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
13413 possibly overflowing computations.
13415 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
13417 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
13418 values from Linux-specific section now that it is in the GNU section.
13419 * sysdeps/gnu/errlist.c: Regenerate.
13421 2018-03-20 Joseph Myers <joseph@codesourcery.com>
13423 * math/Makefile (libm-narrow-fns): Add sub.
13424 (libm-test-funcs-narrow): Likewise.
13425 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
13426 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
13427 * math/gen-auto-libm-tests.c (test_functions): Add sub.
13428 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
13429 (NARROW_SUB_ROUND_TO_ODD): Likewise.
13430 (NARROW_SUB_TRIVIAL): Likewise.
13431 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
13433 (__dsubl): Likewise.
13434 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
13436 (CFLAGS-nldbl-dsub.c): New variable.
13437 (CFLAGS-nldbl-fsub.c): Likewise.
13438 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13440 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
13442 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
13443 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
13444 * math/auto-libm-test-in: Add tests of sub.
13445 * math/auto-libm-test-out-narrow-sub: New generated file.
13446 * math/libm-test-narrow-sub.inc: New file.
13447 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
13448 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
13449 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
13450 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
13451 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
13452 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
13453 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
13454 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
13455 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
13456 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
13457 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
13458 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
13459 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
13460 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
13461 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
13462 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
13463 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
13464 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
13465 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13466 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13467 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13468 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13469 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13470 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13471 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13472 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13473 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13474 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13475 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13476 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13477 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13478 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13483 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13484 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13485 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13486 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13487 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13488 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13489 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
13490 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
13491 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13492 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13494 2018-03-19 Joseph Myers <joseph@codesourcery.com>
13497 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
13499 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
13501 * benchtests/bench-timing.h (attribute_hidden): Undefine.
13503 2018-03-18 Richard Braun <rbraun@sceen.net>
13505 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
13508 2018-03-18 Agustina Arzille <avarzille@riseup.net>
13510 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
13511 (__libc_cleanup_fct): Define function.
13512 (__libc_cleanup_region_start, __libc_cleanup_region_end,
13513 __libc_cleanup_end): Rewrite implementation using
13514 __attribute__ ((__cleanup__)).
13515 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
13516 * hurd/Makefile (routines): Add hurdlock.
13517 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
13519 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
13520 * hurd/hurdpid.c: Include <lowlevellock.h>
13521 (_S_msg_proc_newids): Use lll_wait to synchronize.
13522 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
13523 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
13524 * mach/Makefile (lock-headers): Remove machine-lock.h.
13525 * mach/lock-intern.h: Include <lowlevellock.h> instead of
13527 (__spin_lock_t): New type.
13528 (__SPIN_LOCK_INITIALIZER): New macro.
13529 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
13530 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
13531 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
13532 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
13533 (__mutex_init): Initialize with lll.
13534 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
13535 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
13537 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13538 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
13539 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
13540 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
13541 (__setpgid): Use lll for synchronization.
13542 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
13543 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
13544 instead of <cthreads.h>.
13545 (_IO_lock_inexpensive): New macro
13546 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
13547 (__libc_lock_self0): New declaration.
13548 (__libc_lock_owner_self): New macro.
13549 (__libc_key_t): Remove type.
13550 (_LIBC_LOCK_INITIALIZER): New macro.
13551 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
13552 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
13553 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
13554 __libc_lock_define_initialized_recursive,
13555 __rtld_lock_define_initialized_recursive,
13556 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
13557 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
13558 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
13559 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
13560 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
13561 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
13562 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
13564 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
13565 * hurd/hurdlock.c: New file.
13566 * hurd/hurdlock.h: New file.
13567 * mach/lowlevellock.h: New file
13569 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13571 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
13572 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
13573 when opening a symlink with O_NOFOLLOW.
13574 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
13575 path when flags contains O_NOFOLLOW.
13576 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
13577 if flags contains O_DIRECTORY and the result is a directory.
13578 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
13579 oneself when the pointer given in D is nul (as set by ext2fs).
13580 * sysdeps/mach/hurd/mlockall.c: New file.
13581 * sysdeps/mach/hurd/munlockall.c: New file.
13583 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
13585 * hurd/hurdsig.c: Include <pthread.h>.
13586 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
13587 get the signal thread stack layout.
13588 * hurd/Makefile (headers): Remove threadvar.h.
13589 (inline-headers): Remove threadvar.h.
13590 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
13591 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
13592 __hurd_threadvar_max, __hurd_errno_location.
13593 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
13594 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
13595 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
13596 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
13597 unless TLS is not initialized yet, in which case we do not need a
13598 critical section yet anyway.
13599 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
13601 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
13603 (__hurd_threadvar_index): Remove enum.
13604 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
13605 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
13607 (__hurd_reply_port0): New variable declaration.
13608 (__hurd_local_reply_port): New macro.
13609 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
13610 (interrupted_reply_port_location): Add thread_t parameter. Use it
13611 with THREAD_TCB to access thread-local variables.
13612 (_hurdsig_abort_rpcs): Pass ss->thread to
13613 interrupted_reply_port_location.
13614 (_hurd_internal_post_signal): Likewise.
13615 (_hurdsig_init): Use presence of cthread_fork instead of
13616 __hurd_threadvar_stack_mask to start signal thread by hand.
13617 Remove signal thread threadvar initialization.
13618 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
13619 * hurd/sigunwind.c: Include <hurd/threadvar.h>
13620 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
13622 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
13624 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
13625 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
13626 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
13627 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
13628 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
13629 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
13630 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
13632 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
13633 <hurd/threadvar.h>.
13634 [IS_IN(rtld)] (rtld_errno): New variable.
13635 [IS_IN(rtld)] (__errno_location): New weak function.
13636 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
13637 * sysdeps/mach/hurd/errno.c: Remove file.
13638 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
13639 (__fork): Remove THREADVAR_SPACE macro and its use.
13640 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
13642 (init): Do not initialize threadvar.
13643 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
13645 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
13646 __hurd_local_reply_port instead of threadvar.
13647 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
13648 _hurd_sigstate fields.
13649 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
13650 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
13651 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
13652 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
13653 instead of threadvar.
13654 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
13655 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
13656 (use_threadvar, global_reply_port): Remove variables.
13657 (__hurd_reply_port0): New variable.
13658 (__mig_get_reply_port): Use __hurd_local_reply_port and
13659 __hurd_reply_port0 instead of threadvar.
13660 (__mig_dealloc_reply_port): Likewise.
13661 (__mig_init): Do not initialize threadvar.
13662 * sysdeps/mach/hurd/profil.c: Fix comment.
13663 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
13664 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
13665 cthread_keycreate, cthread_getspecific, cthread_setspecific to
13666 __cthread_fork, __cthread_detach, __pthread_getattr_np,
13667 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
13668 __cthread_setspecific.
13669 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
13670 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
13671 __cthread_t instead of cthread_fork, cthread_detach,
13672 pthread_getattr_np, pthread_attr_getstack.
13673 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
13674 __cthread_keycreate.
13675 (cthread_getspecific): Rename to __cthread_getspecific.
13676 (cthread_setspecific): Rename to __cthread_setspecific.
13677 (__libc_getspecific): Use __cthread_getspecific instead of
13678 cthread_getspecific.
13679 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
13680 __cthread_keycreate instead of cthread_keycreate.
13681 (__libc_setspecific): Use __cthread_setspecific instead of
13682 cthread_setspecific.
13683 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
13685 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
13686 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
13687 testing whether it is defined.
13689 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13691 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
13693 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
13694 * sysdeps/mach/i386/thread_state.h
13695 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
13697 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
13699 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
13701 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
13702 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
13704 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
13706 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
13707 descriptor instead of creating a new one.
13708 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
13710 * mach/setup-thread.c: Include <ldsodefs.h>.
13711 (__mach_setup_thread): Call _dl_allocate_tls, pass
13712 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
13713 MACHINE_THREAD_STATE_FLAVOR, before getting
13714 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
13715 MACHINE_THREAD_STATE_FLAVOR with the result.
13716 * hurd/hurdfault.c (_hurdsig_fault_init): Call
13717 MACHINE_THREAD_STATE_FIX_NEW.
13718 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
13719 too. Add original thread parameter.
13721 2018-03-16 Joseph Myers <joseph@codesourcery.com>
13723 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
13724 Remove inline function.
13726 * sysdeps/i386/fpu/libm-test-ulps: Update.
13727 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
13729 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
13731 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
13734 2018-03-15 Joseph Myers <joseph@codesourcery.com>
13736 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
13737 (__sincos_code): Remove define and undefine.
13738 [__FAST_MATH__] (__sincos): Remove inline function.
13739 [__FAST_MATH__] (__sincosf): Remove inline function.
13740 [__FAST_MATH__] (__sincosl): Remove inline function.
13741 (__atan2l): Remove inline functions.
13742 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
13743 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
13745 (floor): Remove inline function.
13747 [__FAST_MATH__] (__ldexp_code): Remove macro.
13748 [__FAST_MATH__] (ldexp): Remove inline function.
13749 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
13750 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
13751 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
13752 [__USE_ISOC99] (__lrint_code): Remove macro.
13753 [__USE_ISOC99] (__llrint_code): Likewise.
13754 [__USE_ISOC99] (lrintf): Remove inline function.
13755 [__USE_ISOC99] (lrint): Likewise.
13756 [__USE_ISOC99] (lrintl): Likewise.
13757 [__USE_ISOC99] (llrint): Likewise.
13758 [__USE_ISOC99] (llrintf): Likewise.
13759 [__USE_ISOC99] (llrintl): Likewise.
13761 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13763 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
13764 (__ieee754_sqrtf): Remove.
13765 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
13766 (__ieee754_sqrtf): Remove.
13767 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
13768 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
13769 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
13770 (__ieee754_sqrtf): Remove.
13771 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
13772 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
13775 (__ieee754_sqrt): Remove.
13776 (__ieee754_sqrtf): Remove.
13777 (__ieee754_sqrtl): Remove.
13778 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
13779 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
13780 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
13781 (__ieee754_sqrtf): Remove.
13782 (__ieee754_sqrtl): Remove.
13784 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13786 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
13787 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
13788 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
13789 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
13790 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
13791 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13792 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13793 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13795 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
13796 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
13797 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
13798 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
13799 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
13800 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
13801 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
13802 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
13803 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
13804 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
13805 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
13806 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
13807 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
13808 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
13809 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
13810 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13811 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13812 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13813 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
13814 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
13815 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13816 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13817 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
13818 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
13819 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
13820 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
13821 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13822 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13823 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
13824 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
13825 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
13826 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
13827 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13828 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
13829 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13830 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13831 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
13832 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
13833 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
13834 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
13836 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13838 * include/math.h (sqrt): Declare with asm redirect.
13841 (sqrtf128): Likewise.
13842 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
13843 nonlib and libnldbl with -fmath-errno.
13844 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
13845 * math/w_sqrt_template.c: Likewise.
13846 * math/w_sqrtf_compat.c: Likewise.
13847 * math/w_sqrtl_compat.c: Likewise.
13848 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
13849 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
13850 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
13853 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13855 * benchtests/Makefile: Define _ISOMAC.
13856 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
13857 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
13858 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
13859 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
13860 * benchtests/bench-timing.h: Define attribute_hidden.
13862 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
13864 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
13867 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13870 * localedata/locales/cs_CZ (mon): Rename to...
13872 (mon): Import from CLDR (genitive case).
13874 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13877 * localedata/locales/el_CY (abmon): Rename to...
13878 (ab_alt_mon): This.
13879 (abmon): Import from CLDR (abbreviated genitive case).
13880 * localedata/locales/el_GR (abmon): Rename to...
13881 (ab_alt_mon): This.
13882 (abmon): Import from CLDR (abbreviated genitive case).
13884 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13887 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
13889 2018-03-15 Robert Buj <robert.buj@gmail.com>
13892 * localedata/locales/ca_ES (abmon): Rename to...
13893 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
13894 (mon): Rename to...
13896 (abmon): Import from CLDR (genitive case, month names preceded by
13899 (abday): Synchronize with CLDR.
13900 (d_t_fmt): Likewise.
13904 (LC_TIME): Improve indentation.
13905 (LC_TELEPHONE): Likewise.
13906 (LC_NAME): Likewise.
13907 (LC_ADDRESS): Likewise.
13909 2018-03-14 Joseph Myers <joseph@codesourcery.com>
13911 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
13912 (lrintf): Remove definitions used only with old GCC.
13913 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
13914 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
13915 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
13916 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
13917 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
13918 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
13919 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
13920 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
13921 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
13922 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
13923 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
13924 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
13925 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
13926 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
13927 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
13928 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
13929 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
13930 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
13931 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
13932 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
13933 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
13934 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
13935 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
13936 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
13937 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
13938 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
13939 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
13940 [__FAST_MATH__] (__M_SQRT2): Remove macro.
13942 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
13944 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
13945 instruction to unbreak builds with binutils 2.26 and older.
13947 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
13949 * sysdeps/aarch64/strncmp.S (count): New macro.
13950 (strncmp): Store misaligned length in SRC1 in COUNT.
13951 (mutual_align): Adjust.
13952 (misaligned8): Load dword at a time when it is safe.
13954 2018-03-12 Zack Weinberg <zackw@panix.com>
13958 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
13959 if the _IO_EOF_SEEN bit is already set; update commentary.
13960 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
13961 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
13963 * support/support_openpty.c, support/tty.h: New files.
13964 * support/Makefile (libsupport-routines): Add support_openpty.
13966 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
13968 * libio/Makefile (tests): Add tst-fgetc-after-eof.
13969 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
13971 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
13973 * po/pt_BR.po: Update translations.
13975 2018-03-12 David Michael <fedora.dm0@gmail.com>
13977 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
13978 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
13979 get a port to the startup server.
13981 2018-03-11 Zack Weinberg <zackw@panix.com>
13983 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
13984 before nldbl-compat.h.
13986 2018-03-10 Zack Weinberg <zackw@panix.com>
13988 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
13989 math.h or math_private.h.
13991 * sysdeps/alpha/fpu/s_isnan.c
13992 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
13993 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
13994 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
13995 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
13996 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
13997 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
13998 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
13999 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
14000 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
14001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
14002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
14003 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
14004 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
14005 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
14006 Include math_private.h.
14008 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
14009 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
14010 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
14011 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
14012 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
14013 * sysdeps/powerpc/power7/fpu/s_logb.c:
14014 Include math.h and math_private.h.
14016 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
14017 uses of $at in .set noat / .set at.
14019 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
14021 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
14022 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
14023 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
14024 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
14027 2018-03-09 Florian Weimer <fweimer@redhat.com>
14029 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
14032 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
14035 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
14036 Add nop before __startcontext, add explaining comments.
14038 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14041 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
14043 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
14044 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
14045 Do not build hardware transactional code for __SPE__.
14046 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
14047 (__lll_trylock_elision): Likewise.
14048 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
14049 (__lll_unlock_elision): Likewise.
14051 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
14052 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
14053 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
14054 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
14055 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
14056 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
14057 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
14058 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
14059 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
14060 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
14061 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
14062 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
14063 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
14064 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
14065 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
14066 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
14067 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
14068 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
14069 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
14070 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
14071 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
14072 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14073 (__ASSUME_CLONE_BACKWARDS): Define.
14074 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
14075 __clone2 if __NR_clone2 is defined.
14076 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14077 (__ASSUME_CLONE_BACKWARDS): Likewise.
14078 * sysdeps/unix/sysv/linux/i386/kernel-features.h
14079 (__ASSUME_CLONE_BACKWARDS): Likewise.
14080 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14081 (__ASSUME_CLONE2): Likewise.
14082 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14083 (__ASSUME_CLONE_BACKWARDS3): Likewise.
14084 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
14085 variants and the define architecture can use.
14086 (__ASSUME_CLONE_DEFAULT): Define as default.
14087 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14088 (__ASSUME_CLONE_BACKWARDS): Likewise.
14089 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14090 (__ASSUME_CLONE_BACKWARDS): Likewise.
14091 * sysdeps/unix/sysv/linux/s390/kernel-features.h
14092 (__ASSUME_CLONE_BACKWARDS2): Likewise.
14094 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
14096 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
14098 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
14101 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
14102 (do_test_limit): Likewise.
14104 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
14105 for every implementation.
14106 (do_test): Likewise.
14108 * benchtests/bench-strncmp.c: Convert output to json.
14110 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14112 * io/futimens.c: Add missing start-of-file descriptive comment.
14113 * io/utime.c: Likewise.
14114 * misc/futimesat.c: Likewise.
14115 * misc/utimes.c: Likewise.
14116 * sysdeps/mach/hurd/futimesat.c: Likewise.
14117 * sysdeps/mach/hurd/utimes.c: Likewise.
14118 * sysdeps/posix/utime.c: Likewise.
14119 * sysdeps/posix/utimes.c: Likewise.
14120 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
14121 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14122 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
14123 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
14125 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14127 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
14129 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
14130 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
14131 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
14132 (__futimens): Move implementation to...
14133 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
14134 utime_tvalue_from_tspec): ... new helper functions.
14135 (hurd_futimens): New function.
14136 * sysdeps/mach/hurd/futimesat.c: New file.
14137 * sysdeps/mach/hurd/utimensat.c: New file.
14139 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
14141 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
14142 UTIME_OMIT): New macros.
14143 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
14144 before reverting to converting time spec to time value and calling
14146 * sysdeps/mach/hurd/utime-helper.c: New file.
14147 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
14148 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
14149 reverting to utime_tvalue_from_tval and __file_utimes.
14150 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
14151 (__lutimes): Just call hurd_futimens after lookup.
14152 * sysdeps/mach/hurd/utimes.c: Likewise.
14154 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14156 * bits/sigaction.h: Add include guard.
14157 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
14158 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
14159 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
14160 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
14161 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
14162 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
14163 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
14164 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
14165 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
14167 2018-03-05 Joseph Myers <joseph@codesourcery.com>
14169 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
14170 -Wmaybe-uninitialized for -Os.
14171 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
14174 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14176 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
14177 __INO_T_MATCHES_INO64_T is defined.
14178 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
14179 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
14181 * dirent/alphasort64.c: Likewise.
14182 * dirent/scandir.c: Likewise.
14183 * dirent/scandir64-tail.c: Likewise.
14184 * dirent/scandir64.c: Likewise.
14185 * dirent/scandirat.c: Likewise.
14186 * dirent/scandirat64.c: Likewise.
14187 * dirent/versionsort.c: Likewise.
14188 * dirent/versionsort64.c: Likewise.
14189 * include/dirent.h: Likewise.
14191 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
14192 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
14193 for socketpair endpoint.
14194 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
14195 WRITE_BUFFER_SIZE as buffer size for sending socket.
14196 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
14197 issue on system where send is implemented with sendto syscall.
14198 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
14199 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
14200 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
14201 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
14204 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
14205 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
14206 sa_restorer for vDSO case.
14207 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
14209 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14211 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
14212 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
14213 * hurd/hurd/ioctl.h: Include <mach/port.h>
14214 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
14215 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
14216 <mach/mach_types.h> and <mach/message.h>.
14217 (headers): Move mach/param.h to bits/mach/param.h.
14218 * sysdeps/mach/i386/mach/param.h: Move file to ...
14219 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
14220 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
14222 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
14223 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
14224 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
14225 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
14226 trivial, for C++ conformity.
14227 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
14228 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
14229 Process mig output through $(migheadersed).
14230 * hurd/Makefile (migheadersed): Define variable.
14231 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
14232 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
14234 * hurd/hurd.h: Include <bits/types/sigset_t.h>
14235 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
14236 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
14237 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
14238 <bits/types/sigset_t.h>.
14239 [!defined __USE_GNU]: Do not #error out.
14240 (struct hurd_sigstate): Use _NSIG instead of NSIG.
14241 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
14242 Include <stddef.h> and <bits/types/sigset_t.h>
14243 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
14244 instead of sighandler_t.
14245 * stdlib/errno.h (error_t): Move definition to...
14246 * bits/types/error_t.h: ... new header.
14247 * stdlib/Makefile (headers): Add bits/types/error_t.h.
14248 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
14249 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
14250 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
14251 * hurd/hurd.h: Include <bits/types/error_t.h>
14252 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
14253 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
14254 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
14255 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
14256 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
14257 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
14258 * sysdeps/mach/hurd/futimens.c: New file.
14260 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
14263 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
14264 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
14265 * nscd/gai.c (__nss_hosts_database): Readd definition.
14266 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
14267 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
14268 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
14270 2018-03-02 Joseph Myers <joseph@codesourcery.com>
14272 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
14273 (ifunc_one): Likewise.
14275 2018-03-01 DJ Delorie <dj@delorie.com>
14278 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
14281 2018-03-01 Maciej W. Rozycki <macro@mips.com>
14283 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
14284 `match_pid' parameter.
14285 (td_ta_thr_iter): Update accordingly.
14287 2018-03-01 Florian Weimer <fweimer@redhat.com>
14289 * nptl/Makefile (install-lib-ldscripts): Remove.
14290 (install): Remove rule.
14291 ($(inst_libdir)/libpthread.so): Likewise.
14293 2018-03-01 Mike FABIAN <mfabian@redhat.com>
14296 * localedata/locales/an_ES: update month and day names,
14297 improve d_fmt, improve postal_fmt, add country_post,
14300 2018-03-01 Mike FABIAN <mfabian@redhat.com>
14302 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
14303 Ukrainian instead of Bulgarian.
14305 2018-03-01 Florian Weimer <fweimer@redhat.com>
14307 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
14310 2018-03-01 Florian Weimer <fweimer@redhat.com>
14312 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
14313 * nptl/Makefile (routines): Add pthread_atfork.
14314 (static-only-routines): Set to pthread_atfork.
14315 (libpthread-routines): Remove pthread_atfork.
14316 (libpthread-static-only-routines): Remove.
14317 (install): Update comment.
14318 (libpthread.so): Do not install libpthread_nonshared.a.
14319 (tests): Do not link with libpthread_nonshared.a.
14320 (generated): Remove libpthread_nonshared.a.
14321 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
14322 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
14323 with libpthread_nonshared.a.
14325 2018-02-28 Joseph Myers <joseph@codesourcery.com>
14328 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
14329 (libc_feholdexcept_setroundf128): New macro.
14330 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
14333 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
14335 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
14336 * include/inttypes.h: New file.
14338 2018-02-27 Joseph Myers <joseph@codesourcery.com>
14340 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
14341 -Os in two more places.
14343 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14345 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
14346 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
14347 be sorted correctly at the moment because of a bug.
14349 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14351 [BZ #22550] - es_ES locale (and other es_* locales): collation should
14352 treat ñ as a primary different character, sync the collation
14353 for Spanish with CLDR.
14354 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
14355 * localedata/Makefile: Add new test files.
14356 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
14357 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
14359 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
14360 * localedata/am_ET.UTF-8.in: New test file.
14361 * localedata/az_AZ.UTF-8.in: Likewise.
14362 * localedata/be_BY.UTF-8.in: Likewise.
14363 * localedata/ber_DZ.UTF-8.in: Likewise.
14364 * localedata/ber_MA.UTF-8.in: Likewise.
14365 * localedata/bg_BG.UTF-8.in: Likewise.
14366 * localedata/br_FR.UTF-8.in: Likewise.
14367 * localedata/cmn_TW.UTF-8.in: Likewise.
14368 * localedata/crh_UA.UTF-8.in: Likewise.
14369 * localedata/csb_PL.UTF-8.in: Likewise.
14370 * localedata/cv_RU.UTF-8.in: Likewise.
14371 * localedata/cy_GB.UTF-8.in: Likewise.
14372 * localedata/dz_BT.UTF-8.in: Likewise.
14373 * localedata/eo.UTF-8.in: Likewise.
14374 * localedata/es_ES.UTF-8.in: Likewise.
14375 * localedata/fa_IR.UTF-8.in: Likewise.
14376 * localedata/fi_FI.UTF-8.in: Likewise.
14377 * localedata/fil_PH.UTF-8.in: Likewise.
14378 * localedata/fur_IT.UTF-8.in: Likewise.
14379 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
14380 * localedata/ha_NG.UTF-8.in: Likewise.
14381 * localedata/ig_NG.UTF-8.in: Likewise.
14382 * localedata/ik_CA.UTF-8.in: Likewise.
14383 * localedata/kk_KZ.UTF-8.in: Likewise.
14384 * localedata/ku_TR.UTF-8.in: Likewise.
14385 * localedata/ky_KG.UTF-8.in: Likewise.
14386 * localedata/ln_CD.UTF-8.in: Likewise.
14387 * localedata/mi_NZ.UTF-8.in: Likewise.
14388 * localedata/ml_IN.UTF-8.in: Likewise.
14389 * localedata/mn_MN.UTF-8.in: Likewise.
14390 * localedata/mr_IN.UTF-8.in: Likewise.
14391 * localedata/mt_MT.UTF-8.in: Likewise.
14392 * localedata/nb_NO.UTF-8.in: Likewise.
14393 * localedata/om_KE.UTF-8.in: Likewise.
14394 * localedata/os_RU.UTF-8.in: Likewise.
14395 * localedata/ps_AF.UTF-8.in: Likewise.
14396 * localedata/ro_RO.UTF-8.in: Likewise.
14397 * localedata/ru_RU.UTF-8.in: Likewise.
14398 * localedata/sc_IT.UTF-8.in: Likewise.
14399 * localedata/se_NO.UTF-8.in: Likewise.
14400 * localedata/sq_AL.UTF-8.in: Likewise.
14401 * localedata/sv_SE.UTF-8.in: Likewise.
14402 * localedata/szl_PL.UTF-8.in: Likewise.
14403 * localedata/tg_TJ.UTF-8.in: Likewise.
14404 * localedata/tk_TM.UTF-8.in: Likewise.
14405 * localedata/tt_RU.UTF-8.in: Likewise.
14406 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
14407 * localedata/ug_CN.UTF-8.in: Likewise.
14408 * localedata/uz_UZ.UTF-8.in: Likewise.
14409 * localedata/vi_VN.UTF-8.in: Likewise.
14410 * localedata/yi_US.UTF-8.in: Likewise.
14411 * localedata/yo_NG.UTF-8.in: Likewise.
14412 * localedata/zh_CN.UTF-8.in: Likewise.
14413 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
14414 file and fix bugs in the collation.
14415 * localedata/locales/az_AZ: Likewise.
14416 * localedata/locales/be_BY: Likewise.
14417 * localedata/locales/ber_DZ: Likewise.
14418 * localedata/locales/ber_MA: Likewise.
14419 * localedata/locales/bg_BG: Likewise.
14420 * localedata/locales/br_FR: Likewise.
14421 * localedata/locales/br_FR@euro: Likewise.
14422 * localedata/locales/ca_ES: Likewise.
14423 * localedata/locales/cns11643_stroke: Likewise.
14424 * localedata/locales/crh_UA: Likewise.
14425 * localedata/locales/cs_CZ: Likewise.
14426 * localedata/locales/csb_PL: Likewise.
14427 * localedata/locales/cv_RU: Likewise.
14428 * localedata/locales/cy_GB: Likewise.
14429 * localedata/locales/da_DK: Likewise.
14430 * localedata/locales/dz_BT: Likewise.
14431 * localedata/locales/en_CA: Likewise.
14432 * localedata/locales/eo: Likewise.
14433 * localedata/locales/es_CU: Likewise.
14434 * localedata/locales/es_EC: Likewise.
14435 * localedata/locales/es_ES: Likewise.
14436 * localedata/locales/es_US: Likewise.
14437 * localedata/locales/et_EE: Likewise.
14438 * localedata/locales/fa_IR: Likewise.
14439 * localedata/locales/fi_FI: Likewise.
14440 * localedata/locales/fil_PH: Likewise.
14441 * localedata/locales/fur_IT: Likewise.
14442 * localedata/locales/gez_ER@abegede: Likewise.
14443 * localedata/locales/ha_NG: Likewise.
14444 * localedata/locales/hr_HR: Likewise.
14445 * localedata/locales/hsb_DE: Likewise.
14446 * localedata/locales/hu_HU: Likewise.
14447 * localedata/locales/ig_NG: Likewise.
14448 * localedata/locales/ik_CA: Likewise.
14449 * localedata/locales/is_IS: Likewise.
14450 * localedata/locales/iso14651_t1_pinyin: Likewise.
14451 * localedata/locales/kk_KZ: Likewise.
14452 * localedata/locales/ku_TR: Likewise.
14453 * localedata/locales/ky_KG: Likewise.
14454 * localedata/locales/ln_CD: Likewise.
14455 * localedata/locales/lt_LT: Likewise.
14456 * localedata/locales/lv_LV: Likewise.
14457 * localedata/locales/mi_NZ: Likewise.
14458 * localedata/locales/ml_IN: Likewise.
14459 * localedata/locales/mn_MN: Likewise.
14460 * localedata/locales/mr_IN: Likewise.
14461 * localedata/locales/mt_MT: Likewise.
14462 * localedata/locales/nb_NO: Likewise.
14463 * localedata/locales/om_KE: Likewise.
14464 * localedata/locales/os_RU: Likewise.
14465 * localedata/locales/pl_PL: Likewise.
14466 * localedata/locales/ps_AF: Likewise.
14467 * localedata/locales/ro_RO: Likewise.
14468 * localedata/locales/ru_RU: Likewise.
14469 * localedata/locales/ru_UA: Likewise.
14470 * localedata/locales/sc_IT: Likewise.
14471 * localedata/locales/se_NO: Likewise.
14472 * localedata/locales/si_LK: Likewise.
14473 * localedata/locales/sq_AL: Likewise.
14474 * localedata/locales/sv_FI: Likewise.
14475 * localedata/locales/sv_FI@euro: Likewise.
14476 * localedata/locales/sv_SE: Likewise.
14477 * localedata/locales/szl_PL: Likewise.
14478 * localedata/locales/tg_TJ: Likewise.
14479 * localedata/locales/ti_ER: Likewise.
14480 * localedata/locales/tk_TM: Likewise.
14481 * localedata/locales/tl_PH: Likewise.
14482 * localedata/locales/tr_TR: Likewise.
14483 * localedata/locales/tt_RU: Likewise.
14484 * localedata/locales/tt_RU@iqtelif: Likewise.
14485 * localedata/locales/ug_CN: Likewise.
14486 * localedata/locales/uk_UA: Likewise.
14487 * localedata/locales/uz_UZ: Likewise.
14488 * localedata/locales/uz_UZ@cyrillic: Likewise.
14489 * localedata/locales/vi_VN: Likewise.
14490 * localedata/locales/yi_US: Likewise.
14491 * localedata/locales/yo_NG: Likewise.
14493 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14495 * gen-locales.mk: Make test files which contain @ modifiers in their
14497 * localedata/gen-locale.sh: Likewise.
14499 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14501 * posix/tst-fnmatch.input: Fix results for range expressions
14503 * posix/tst-regexloc.c: Do not use a range expression for
14504 de_DE.ISO-8859-1 locale.
14506 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14508 * posix/bug-regex5.c: Fix test case because with the new
14509 iso14651_t1_common file, the da_DK locale now has 6 collating elements
14510 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
14513 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14515 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
14516 downloaded from ISO, the collation order of @-. and space has changed.
14517 Therefore, this test file needed to be adapted.
14518 * localedata/fr_CA.UTF-8.in: Likewise.
14519 * localedata/fr_FR.UTF-8.in: Likewise.
14520 * localedata/uk_UA.UTF-8.in: Likewise.
14522 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14524 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
14525 order of ȥ in the new iso14651_t1_common file.
14526 * localedata/pl_PL.UTF-8.in: Likewise.
14528 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14530 * localedata/locales/iso14651_t1_common: Add sections for various
14531 scripts to the iso14651_t1_common file.
14533 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14535 * localedata/locales/iso14651_t1_common: Use the code point of a
14536 character in the fourth collation level instead of IGNORE for all
14537 entries which have IGNORE on all 4 levels.
14539 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14541 * localedata/locales/iso14651_t1_common: Add some convenient collation
14542 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
14543 rules similar to those in CLDR.
14545 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14547 * localedata/locales/iso14651_t1_common: The new version of this
14548 file downloaded from ISO contained several syntax errors which
14549 are fixed by this patch.
14551 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14553 * localedata/locales/iso14651_t1_common: replace all <U.....>
14554 with <U000.....> because glibc understands only 4 digit or 8 digit
14556 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14558 * localedata/locales/iso14651_t1_common: Necessary changes
14559 to make the file downloaded from ISO usable by glibc.
14561 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14564 * localedata/locales/iso14651_t1_common: Update file to
14565 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
14567 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14569 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
14570 of <nptl/pthreadP.h>
14571 (thread_attr_compare): Move function to...
14572 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
14573 * sysdeps/nptl/timer_routines.h: ... new header.
14574 * sysdeps/mach/hurd/gai_misc.h: New file.
14576 2018-02-26 Joseph Myers <joseph@codesourcery.com>
14578 * string/strcoll_l.c: Include <libc-diag.h>.
14579 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
14580 declarations of seq1 and seq2.
14583 * stdlib/atoi.c (atoi): Use libc_hidden_def.
14584 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
14586 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
14590 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
14591 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
14592 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
14593 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
14594 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
14595 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
14597 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14599 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
14600 macros used in __ptrace_request.
14602 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
14605 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
14607 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
14608 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
14609 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
14612 2018-02-23 Joseph Myers <joseph@codesourcery.com>
14615 * ctype/ctype.c (tolower): Use libc_hidden_def.
14616 (toupper): Likewise.
14617 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
14618 [!_ISOMAC] (toupper): Likewise.
14620 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14622 * localedata/Makefile: Remove --quiet argument when
14625 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14628 * localedata/locales/pt_BR (LC_TIME): use / instead of -
14630 * localedata/locales/pt_PT (LC_TIME): likewise
14632 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14635 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
14636 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
14637 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
14639 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14643 * nptl/Makefile (routines): Remove unregister-atfork.
14644 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
14645 (fork_handler_alloc): Remove function.
14646 (fork_handlers, fork_handler_init): New variables.
14647 (__fork_lock): Rename to atfork_lock.
14648 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
14649 to use a dynamic array to add/remove atfork handlers.
14650 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14651 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
14652 Remove declaration.
14653 (fork_handler): Remove next, refcntr, and need_signal member.
14654 (__run_fork_handler_type): New enum.
14655 (__run_fork_handlers): New prototype.
14656 * nptl/register-atfork.c: Remove file.
14657 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
14659 * sysdeps/nptl/nptl-signals.h: Move to ...
14660 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
14662 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
14663 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
14664 unnecessary check for SIGTIMER.
14665 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
14666 remove unnecessary removal of SIGTIMER.
14667 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
14668 include-signals.h rename.
14669 * nptl/pthreadP.h: Likewise.
14670 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
14671 __is_internal_signal instead of __nptl_is_internal_signal.
14673 2018-02-22 Andrew Waterman <andrew@sifive.com>
14676 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
14677 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
14678 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
14679 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
14681 2018-02-22 DJ Delorie <dj@delorie.com>
14683 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
14685 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
14687 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
14688 do_misaligned, not misaligned8.
14690 2018-02-22 Steve Ellcey <sellcey@cavium.com>
14692 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
14693 Add memcpy_thunderx2.
14694 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
14696 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
14697 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
14698 and IS_THUNDERX2PA checks.
14699 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
14700 Use macro to set name appropriately.
14701 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
14702 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
14703 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
14705 (IS_THUNDERX2): New macro.
14707 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
14709 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14711 2018-02-21 Zack Weinberg <zackw@panix.com>
14713 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
14714 Define here, unconditionally.
14715 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
14716 * libio/libioP.h: Remove #if 0 blocks.
14717 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
14718 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
14719 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
14721 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
14722 Assume weak_alias is always defined.
14724 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
14725 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
14726 Remove #if 0 and #ifdef TODO blocks.
14727 Assume text_set_element is always defined.
14729 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
14730 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
14731 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
14733 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
14734 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
14735 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
14736 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
14737 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
14738 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
14739 Reformat bit flags for _flags field to make occupancy clearer.
14741 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
14742 Keep definitions consistent with those in libio/libio.h.
14744 * libio/libio.h (_IO_file_flags): Remove macro.
14745 All uses changed to _flags.
14747 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
14748 (__HAVE_COLUMN, _IO_BE): Don't define.
14749 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
14750 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
14751 * libio/libioP.h (EOF): Don't define.
14752 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
14753 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
14754 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
14755 testing _IO_UNIFIED_JUMPTABLES.
14757 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
14758 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
14759 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
14760 (_IO_size_t): Delete; all uses changed to size_t.
14761 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
14762 (_IO_off_t): Delete; all uses changed to off_t.
14763 (_IO_off64_t): Delete; all uses changed to off64_t.
14764 (_IO_pid_t): Delete; all uses changed to pid_t.
14765 (_IO_uid_t): Delete; all uses changed to uid_t.
14766 (_IO_wint_t): Delete; all uses changed to wint_t.
14767 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
14768 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
14769 (_IO_cookie_io_functions_t): Delete; all uses changed to
14770 cookie_io_functions_t.
14771 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
14772 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
14773 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
14774 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
14776 * libio/iofopncook.c: Remove unnecessary forward declarations.
14777 * libio/iolibio.h: Correct outdated commentary.
14778 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
14779 * stdio-common/fxprintf.c (__fxprintf_nocancel):
14780 Remove unnecessary casts.
14781 * stdio-common/getline.c: Use _IO_getdelim directly.
14782 Don't redefine ssize_t.
14783 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
14784 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
14785 Remove outdated comments.
14786 * stdio-common/vfscanf.c: Don't redefine va_list.
14788 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
14789 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
14790 Remove preprocessor conditionals on _LIBC and __USE_GNU,
14791 which are always true, and __cplusplus, which is always false.
14793 2018-02-21 Joseph Myers <joseph@codesourcery.com>
14797 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
14798 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
14799 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
14800 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
14802 [!_ISOMAC] (putc_unlocked): Likewise.
14803 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
14804 define inline if [__USE_EXTERN_INLINES].
14805 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
14810 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
14811 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
14812 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
14813 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
14814 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
14816 * time/tzfile.c (__tzfile_read): Likewise.
14818 2018-02-21 Mike FABIAN <mfabian@redhat.com>
14821 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
14823 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
14825 * io/fcntl.h: Fix a typo in a comment.
14827 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
14830 * include/features.h: Add _ISOC11_SOURCE to test for whether to
14831 define _DEFAULT_SOURCE.
14832 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
14834 2018-02-21 Florian Weimer <fweimer@redhat.com>
14837 * elf/cache.c (save_cache): Call fsync on temporary file before
14839 (save_aux_cache): Call fdatasync on temporary file before renaming
14842 2018-02-21 Florian Weimer <fweimer@redhat.com>
14845 * include/caller.h: Remove file.
14846 * elf/dl-caller.c: Likewise.
14847 * elf/Makefile (dl-routines): Remove dl-caller.
14848 (shared-only-routines): Do not add dl-caller.
14849 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
14851 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
14853 (dl_open_worker): Do not call __check_caller.
14854 (_dl_open): Do not set caller_dl_open member.
14855 * elf/rtld.c (_rtld_global_ro): Do not initialize
14856 _dl_check_caller member.
14857 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
14858 _dl_check_caller member.
14859 (_dl_check_caller): Remove declaration.
14860 * sysdeps/unix/sysv/linux/dl-execstack.c
14861 (_dl_make_stack_executable): Do not call __check_caller.
14863 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
14865 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
14866 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
14868 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
14870 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
14873 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
14876 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
14877 of 199606L, 200112L, and 200809L.
14878 (_XOPEN_SOURCE): Document special values of 600 and 700.
14879 (_ISOC11_SOURCE): Document macro.
14880 (_ATFILE_SOURCE): Likewise.
14881 (_FORTIFY_SOURCE): Likewise.
14883 2018-02-19 Joseph Myers <joseph@codesourcery.com>
14887 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
14888 and define as weak alias of __ferror_unlocked. Use
14890 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
14892 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
14893 function if [__USE_EXTERN_INLINES].
14894 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
14897 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
14900 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
14902 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
14905 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
14906 the GLIBC_2.1 version.
14908 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
14911 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
14912 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
14913 intl/tst-gettext-de.po from po/de.po by removing the
14914 POT-Creation-Date line.
14915 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
14917 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
14920 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14922 * mach/Makefile (headers): Add mach/param.h.
14923 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
14924 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
14925 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
14926 (__ptsname_r): Move implementation to...
14927 (__ptsname_internal): ... new function. Add filling the STP
14930 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
14932 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
14935 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
14937 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
14940 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14942 * nptl/Makefile (tst-mutex8-ENV): Delete.
14943 * nptl/tst-mutex8.c (check_type):
14944 Add runtime check if mutex will be elided.
14946 2018-02-15 Joseph Myers <joseph@codesourcery.com>
14950 * manual/install.texi (Configuring and compiling): Describe
14951 passing CC and CFLAGS on configure command line, not as
14952 environment variables. Use @code markup on those variables.
14953 Specify what options go in CC and what go in CFLAGS. Note the
14954 requirement to compile with optimization.
14955 * INSTALL: Regenerated.
14958 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
14959 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
14960 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
14961 __sigprocmask instead of sigprocmask.
14962 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
14964 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
14965 __sigsetjmp and sigprocmask.
14968 * include/argz.h (argz_next): Use libc_hidden_proto.
14969 (__argz_next): Likewise.
14970 * string-argz-next.c (__argz_next): Use libc_hidden_def.
14971 (argz_next): Use libc_hidden_weak.
14974 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
14976 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
14980 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
14982 * libio/iofputs.c (fputs): Use libc_hidden_weak.
14986 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
14987 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
14988 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
14989 (__feof_unlocked): New declaration, and inline function if
14990 [__USE_EXTERN_INLINES].
14991 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
14992 instead of feof_unlocked.
14993 * intl/localealias.c [_LIBC] (FEOF): Likewise.
14994 * nss/nsswitch.c (nss_parse_file): Likewise.
14995 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
14997 * time/getdate.c (__getdate_r): Likewise.
14998 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
14999 Define as macro to call __feof_unlocked.
15001 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
15003 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
15005 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
15007 * math/Makefile: Remove mpexp.c and mplog.c
15008 * sysdeps/i386/fpu/mpexp.c: Delete file.
15009 * sysdeps/i386/fpu/mplog.c: Likewise.
15010 * sysdeps/ia64/fpu/mpexp.c: Likewise.
15011 * sysdeps/ia64/fpu/mplog.c: Likewise.
15012 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
15013 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
15014 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
15015 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15016 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
15017 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
15018 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
15019 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
15020 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
15021 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15022 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
15023 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
15024 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15025 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
15026 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
15027 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15029 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
15031 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15033 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15035 * sysdeps/sh/libm-test-ulps: Update.
15037 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15039 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
15042 2018-02-12 Zack Weinberg <zackw@panix.com>
15045 * posix/sys/types.h: Don't include sys/sysmacros.h.
15046 * misc/sys/sysmacros.h: Remove the conditional deprecation
15047 warnings for the macros defined by this header.
15049 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
15051 * manual/probes.texi: Remove slowexp probes.
15052 * math/Makefile: Remove slowexp.
15053 * sysdeps/generic/math_private.h (__slowexp): Remove.
15054 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
15055 document error bounds.
15056 * sysdeps/i386/fpu/slowexp.c: Remove.
15057 * sysdeps/ia64/fpu/slowexp.c: Remove.
15058 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
15059 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
15060 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
15061 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
15062 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
15063 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
15064 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
15065 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
15066 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
15067 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
15068 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
15070 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
15073 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
15074 * benchtests/pow-inputs: Update comment for slow path cases.
15075 * manual/probes.texi (slowpow_p10): Delete removed probe.
15076 (slowpow_p10): Likewise.
15077 * math/Makefile: Remove halfulp.c and slowpow.c.
15078 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
15079 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
15080 (__halfulp): Remove.
15081 (__slowpow): Remove.
15082 * sysdeps/i386/fpu/halfulp.c: Delete file.
15083 * sysdeps/i386/fpu/slowpow.c: Likewise.
15084 * sysdeps/ia64/fpu/halfulp.c: Likewise.
15085 * sysdeps/ia64/fpu/slowpow.c: Likewise.
15086 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
15087 improve comments and add error analysis.
15088 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
15089 (power1): Remove function:
15090 (log1): Remove error argument, add error analysis.
15091 (my_log2): Remove function.
15092 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
15093 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15094 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
15095 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
15096 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
15097 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
15098 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
15099 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
15100 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
15101 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
15102 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
15103 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15104 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
15105 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15107 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
15109 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
15110 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
15112 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
15115 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
15116 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
15117 and PTRACE_SETHBPREGS.
15119 2018-02-10 Zack Weinberg <zackw@panix.com>
15122 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
15124 * malloc/tst-malloc-stats-cancellation.c: New test case.
15125 * malloc/Makefile: Add new test case.
15127 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
15129 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
15131 2018-02-10 Joseph Myers <joseph@codesourcery.com>
15133 * math/Makefile (libm-narrow-fns): Add add.
15134 (libm-test-funcs-narrow): Likewise.
15135 * math/Versions (GLIBC_2.28): Add narrowing add functions.
15136 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
15137 * math/gen-auto-libm-tests.c (test_functions): Add add.
15138 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
15139 (NARROW_ADD_ROUND_TO_ODD): Likewise.
15140 (NARROW_ADD_TRIVIAL): Likewise.
15141 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
15143 (__daddl): Likewise.
15144 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
15146 (CFLAGS-nldbl-dadd.c): New variable.
15147 (CFLAGS-nldbl-fadd.c): Likewise.
15148 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15150 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
15152 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
15153 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
15154 * math/auto-libm-test-in: Add tests of add.
15155 * math/auto-libm-test-out-narrow-add: New generated file.
15156 * math/libm-test-narrow-add.inc: New file.
15157 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
15158 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
15159 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
15160 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
15161 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
15162 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
15163 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
15164 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
15165 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
15166 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
15167 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
15168 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
15169 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
15170 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
15171 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
15172 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
15173 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
15174 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
15175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15176 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15177 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15178 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15179 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15180 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15181 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15182 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15183 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15184 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15185 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15186 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15187 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15188 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15193 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15194 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15195 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15196 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15197 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15198 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15199 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
15200 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
15201 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15202 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15204 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
15205 (f128-pairs): New variable.
15206 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
15207 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
15209 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
15210 Also make tests add $(f128-loader-link) to gnulib-tests.
15212 2018-02-09 DJ Delorie <dj@redhat.com>
15215 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
15216 64-bit ELF type for 64-bit ELF objects.
15218 2018-02-09 Joseph Myers <joseph@codesourcery.com>
15220 * math/libm-test-driver.c (snan_tests_arg): New variable.
15221 * math/libm-test-support.h (snan_tests_arg): New declaration.
15222 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
15224 * math/Makefile (test-type-pairs): New variable.
15225 (test-type-pairs-f64xf128-yes): Likewise.
15226 (tests): Add test-narrow-macros.
15227 (libm-test-funcs-narrow): New variable.
15228 (libm-test-c-narrow): Likewise.
15229 (generated): Add $(libm-test-c-narrow).
15230 (libm-tests-base-narrow): New variable.
15231 (libm-tests-narrow): Likewise.
15232 (libm-tests): Add $(libm-tests-narrow).
15233 (libm-tests-for-type): Handle $(libm-tests-narrow).
15234 (libm-test-c-narrow-obj): New variable.
15235 ($(libm-test-c-narrow-obj)): New rule.
15236 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
15237 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
15238 $(o-iterator) to set dependencies and CFLAGS.
15239 * math/gen-auto-libm-tests.c: Document use for narrowing
15241 (output_for_one_input_case): Take argument NARROW.
15242 (generate_output): Likewise. Update call to
15243 output_for_one_input_case.
15244 (main): Take --narrow option. Update call to generate_output.
15245 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
15246 (apply_lit): Update call to _apply_lit.
15247 (apply_arglit): New function.
15248 (parse_args): Handle "a" arguments.
15249 (parse_auto_input): Handle format names using ":".
15250 * math/README.libm-test: Document "a" parameter type.
15251 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
15252 (ARG_TYPE_TRUE_MIN): Likewise.
15253 (ARG_TYPE_MAX): Likwise.
15254 (ARG_MIN_EXP): Likewise.
15255 (ARG_MAX_EXP): Likewise.
15256 (ARG_MANT_DIG): Likewise.
15257 (TEST_COND_arg_ibm128): Likewise.
15258 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
15259 (TEST_COND_arg_fmt): New macro.
15260 (init_max_error): Update prototype.
15261 * math/libm-test-support.c (test_ibm128): New variable.
15262 (init_max_error): Take argument testing_ibm128 and set test_ibm128
15263 instead of using [TEST_COND_ibm128] conditional.
15264 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
15265 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
15266 [TEST_NARROW] (TEST_MSG): New definition.
15267 (arg_plus_zero): New macro.
15268 (arg_minus_zero): Likewise.
15269 (arg_plus_infty): Likewise.
15270 (arg_minus_infty): Likewise.
15271 (arg_qnan_value_pl): Likewise.
15272 (arg_qnan_value): Likewise.
15273 (arg_snan_value_pl): Likewise.
15274 (arg_snan_value): Likewise.
15275 (arg_max_value): Likewise.
15276 (arg_min_value): Likewise.
15277 (arg_min_subnorm_value): Likewise.
15278 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
15279 (RUN_TEST_LOOP_aa_f): New macro.
15280 (TEST_SUFF): New macro.
15281 (TEST_SUFF_STR): Likewise.
15282 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
15283 (TEST_COND_any_ibm128): New macro.
15284 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
15285 this_func. Update call to init_max_error.
15286 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
15287 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
15288 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
15289 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
15290 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
15291 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
15292 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
15293 * math/test-math-scalar.h (TEST_NARROW): Likewise.
15294 * math/test-math-vector.h (TEST_NARROW): Likewise.
15295 * math/test-arg-double.h: New file.
15296 * math/test-arg-float128.h: Likewise.
15297 * math/test-arg-float32x.h: Likewise.
15298 * math/test-arg-float64.h: Likewise.
15299 * math/test-arg-float64x.h: Likewise.
15300 * math/test-arg-ldouble.h: Likewise.
15301 * math/test-math-narrow.h: Likewise.
15302 * math/test-narrow-macros.c: Likewise.
15303 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
15304 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
15305 test-narrow-macros-ldbl-64.
15306 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
15308 * math/bits/mathcalls-narrow.h: New file.
15309 * include/bits/mathcalls-narrow.h: Likewise.
15310 * math/math-narrow.h: Likewise.
15311 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
15312 (__MATHCALL_NARROW_ARGS_2): Likewise.
15313 (__MATHCALL_NARROW_ARGS_3): Likewise.
15314 (__MATHCALL_NARROW_NORMAL): Likewise.
15315 (__MATHCALL_NARROW_REDIR): Likewise.
15316 (__MATHCALL_NARROW): Likewise.
15317 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
15318 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
15320 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
15321 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
15322 (libm-narrow-fns): New variable.
15323 (libm-narrow-types-basic): Likewise.
15324 (libm-narrow-types-ldouble-yes): Likewise.
15325 (libm-narrow-types-float128-yes): Likewise.
15326 (libm-narrow-types-float128-alias-yes): Likewise.
15327 (libm-narrow-types): Likewise.
15328 (libm-routines): Add narrowing functions.
15329 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
15330 (libc_feholdexcept_setroundf128): New macro.
15331 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
15332 * sysdeps/ieee754/float128/float128_private.h: Include
15333 <math/math-narrow.h>.
15334 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
15335 Undefine and redefine.
15336 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
15337 (libm_alias_float_ldouble): Undefine and redefine.
15338 (libm_alias_double_ldouble): Likewise.
15340 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
15342 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
15344 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
15347 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
15349 * manual/creature.texi: Convert references to gcc.info to gcc.
15350 * manual/stdio.texi: Likewise.
15351 * manual/string.texi: Likewise.
15353 2018-02-07 Joseph Myers <joseph@codesourcery.com>
15356 * posix/bits/types.h (__int_least8_t): New typedef.
15357 (__uint_least8_t): Likewise.
15358 (__int_least16_t): Likewise.
15359 (__uint_least16_t): Likewise.
15360 (__int_least32_t): Likewise.
15361 (__uint_least32_t): Likewise.
15362 (__int_least64_t): Likewise.
15363 (__uint_least64_t): Likewise.
15364 * sysdeps/generic/stdint.h (int_least8_t): Define using
15366 (int_least16_t): Define using __int_least16_t.
15367 (int_least32_t): Define using __int_least32_t.
15368 (int_least64_t): Define using __int_least64_t.
15369 (uint_least8_t): Define using __uint_least8_t.
15370 (uint_least16_t): Define using __uint_least16_t.
15371 (uint_least32_t): Define using __uint_least32_t.
15372 (uint_least64_t): Define using __uint_least64_t.
15373 * wcsmbs/uchar.h: Include <bits/types.h>.
15374 (char16_t): Define using __uint_least16_t conditional only on
15376 (char32_t): Define using __uint_least32_t conditional only on
15378 * wcsmbs/test-char-types.c: New file.
15379 * wcsmbs/Makefile (tests): Add test-char-types.
15381 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
15384 2018-02-07 Zack Weinberg <zackw@panix.com>
15386 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
15387 Delete all contents except for definitions of _G_HAVE_MMAP and
15388 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
15389 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
15390 sysdeps/unix/sysv/linux/_G_config.h. Make same content
15393 * libio/libio.h: Don't include bits/_G_config.h here.
15394 Include stddef.h with __need_wchar_t defined. Include
15395 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
15396 Define _IO_iconv_t here, directly.
15397 Don't define _IO_HAVE_ST_BLKSIZE.
15398 * libio/libioP.h: Include _G_config.h here. Move include of
15399 shlib-compat.h up with rest of includes. Simplify conditionals
15400 controlling definition of _IO_JUMPS_OFFSET.
15402 * csu/init.c: Remove always-true #if around entire file.
15403 Don't include stdio.h. Set _IO_stdin_used to hardwired
15404 constant 0x20001, and update commentary.
15405 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
15406 Replace all uses of _G_va_list with __gnuc_va_list.
15407 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
15408 instead of #if _IO_HAVE_ST_BLKSIZE.
15409 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
15410 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
15413 * libio/bits/libio.h: Move back to libio/libio.h and adjust
15414 multiple-include guard to match.
15415 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
15417 Remove preprocessor conditionals that are always true and/or
15418 redundant to other preprocessor conditionals in the same nest.
15419 Include shlib-compat.h unconditionally.
15420 Error out if _LIBC is not defined, or if _ISOMAC is defined,
15421 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
15422 defined after including stdio.h.
15423 Use __BEGIN_DECLS/__END_DECLS.
15425 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
15426 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
15427 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
15429 2018-02-07 Zack Weinberg <zackw@panix.com>
15431 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
15432 New single-type headers split from _G_config.h.
15433 * libio/bits/types/cookie_io_functions_t.h
15434 * libio/bits/types/struct_FILE.h
15435 New single-type headers split from libio.h.
15437 * libio/Makefile: Install the above new headers. Don't install
15438 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
15440 * libio/_G_config.h, libio/libio.h: Delete file.
15442 * libio/bits/libio.h: Remove improper-inclusion guard.
15443 Include stdio.h and don't repeat anything that it does.
15444 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
15445 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
15446 __io_read_fn as cookie_read_function_t,
15447 __io_write_fn as cookie_write_function_t,
15448 __io_seek_fn as cookie_seek_function_t,
15449 __io_close_fn as cookie_close_function_t,
15450 and _IO_cookie_io_functions_t as cookie_io_functions_t.
15451 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
15452 here, in the "compatibility defines" section. Remove an #if 0
15453 block. Use the "body" macros from bits/types/struct_FILE.h to
15454 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
15455 and _IO_ferror_unlocked.
15456 Move prototypes of __uflow and __overflow...
15458 * libio/stdio.h: ...here. Don't include bits/libio.h.
15459 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
15460 directly from stdarg.h. Include bits/types/__fpos_t.h,
15461 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
15462 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
15463 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
15464 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
15465 cookie_io_functions_t, not _IO_cookie_io_functions_t;
15466 __ssize_t, not _IO_ssize_t. Unconditionally define
15467 BUFSIZ as 8192 and EOF as (-1).
15469 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
15470 macros from bits/types/struct_FILE.h instead of _IO_* macros
15471 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
15472 instead of _IO_ssize_t.
15473 * libio/bits/stdio2.h: Similarly.
15475 * libio/iolibio.h: Add multiple-include guard.
15476 Include bits/libio.h after stdio.h.
15477 * libio/libioP.h: Add multiple-include guard.
15478 Include stdio.h and bits/libio.h before iolibio.h.
15480 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
15481 * include/bits/types/cookie_io_functions_t.h
15482 * include/bits/types/struct_FILE.h: New wrappers.
15484 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
15485 Get definitions of _G_fpos_t and _G_fpos64_t from
15486 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
15487 respectively. Remove improper-inclusion guards.
15489 * conform/data/stdio.h-data: Update expectations of va_list.
15490 * scripts/check-installed-headers.sh: Remove special case for
15491 libio.h and _G_config.h.
15493 2018-02-07 Joseph Myers <joseph@codesourcery.com>
15497 * include/sys/sysmacros.h [!_ISOMAC]
15498 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
15499 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
15500 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
15501 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
15503 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
15504 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
15506 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
15507 Undefine and redefine to add use __gnu_dev_ prefix.
15508 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
15510 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
15511 and define as hidden inline function.
15512 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
15514 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
15516 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
15517 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
15518 (gnu_dev_minor): Likewise.
15519 (gnu_dev_makedev): Likewise.
15520 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
15522 * posix/wordexp.c (exec_comm_child): Likewise.
15523 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
15524 instead of minor and __gnu_dev_major instead of major.
15525 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
15526 __gnu_dev_major instead of major.
15527 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
15528 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
15529 instead of gnu_dev_minor.
15530 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
15531 (SLAVE_P): Likewise.
15532 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
15533 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
15537 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
15539 * locale/weightwc.h (findidx): Likewise.
15541 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
15543 * manual/probes.texi (slowlog): Delete documentation of removed probe.
15544 (slowlog_inexact): Likewise
15545 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
15546 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
15548 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
15551 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
15552 missing second underscore to parameter name.
15554 2018-02-06 Joseph Myers <joseph@codesourcery.com>
15560 * bits/byteswap.h: Update file comment. Do not include
15561 <bits/byteswap-16.h>.
15562 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
15564 (__bswap_16): Define as inline function.
15565 (__bswap_constant_32): Reformat definition.
15566 (__bswap_32): Always define as inline function, not macro, using
15567 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
15568 otherwise __bswap_constant_32.
15569 (__bswap_constant_64): Reformat definition. Do not use
15570 __extension__ here.
15571 (__bswap_64): Always define as inline function, not macro. Use
15572 __extension__ on function definition. Use __builtin_bswap64 if
15573 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
15574 * string/test-endian-file-scope.c: New file.
15575 * string/test-endian-sign-conversion.c: Likewise.
15576 * string/Makefile (headers): Remove bits/byteswap-16.h.
15577 (tests): Add test-endian-file-scope and
15578 test-endian-sign-conversion.
15579 (CFLAGS-test-endian-sign-conversion.c): New variable.
15580 * bits/byteswap-16.h: Remove file.
15581 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
15582 * sysdeps/ia64/bits/byteswap.h: Likewise.
15583 * sysdeps/m68k/bits/byteswap.h: Likewise.
15584 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15585 * sysdeps/s390/bits/byteswap.h: Likewise.
15586 * sysdeps/tile/bits/byteswap.h: Likewise.
15587 * sysdeps/x86/bits/byteswap-16.h: Likewise.
15588 * sysdeps/x86/bits/byteswap.h: Likewise.
15591 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
15592 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
15593 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
15594 199901L] (__restrict): Define to restrict.
15597 * string/testcopy.c: Include <support/support.h>. Do not include
15598 <malloc.h>. Use <support/test-driver.c>.
15599 (main): Rename to do_test. Make static. Use xmalloc instead of
15603 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
15604 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
15605 (SSIZE_MAX): Define to INT_MAX.
15606 * posix/test-ssize-max.c: New file.
15607 * posix/Makefile (tests): Add test-ssize-max.
15610 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
15611 <support/support.h>. Do not include <malloc.h>.
15612 (query_auxv): Use xmalloc instead of malloc.
15615 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
15616 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
15619 2018-02-06 Florian Weimer <fweimer@redhat.com>
15622 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15623 Use scratch_buffer instead of extend_alloca.
15625 2018-02-06 Zack Weinberg <zackw@panix.com>
15627 * libio/stdio.h: Don't define getc or putc as macros.
15628 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
15629 not _IO_getc and _IO_putc.
15631 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
15632 * stdio-common/tstgetln.c: Don't redefine ssize_t.
15634 2018-02-06 Joseph Myers <joseph@codesourcery.com>
15636 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
15637 (TCP_FASTOPEN_NO_COOKIE): Likewise.
15639 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
15642 * elf/elf.h (NT_PRFPREG): New macro.
15643 (NT_S390_VXRS_LOW): Likewise.
15644 (NT_S390_VXRS_HIGH): Likewise.
15645 (NT_S390_GS_CB): Likewise.
15646 (NT_S390_GS_BC): Likewise.
15647 (NT_S390_RI_CB): Likewise.
15649 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
15650 (MAP_SYNC): New macro.
15651 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
15653 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
15654 (MAP_SYNC): Likewise.
15655 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
15656 (MAP_SYNC): Likewise.
15657 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
15658 (MAP_SYNC): Likewise.
15659 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
15660 (MAP_SYNC): Likewise.
15661 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
15662 (MAP_SYNC): Likewise.
15663 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
15664 (MAP_SYNC): Likewise.
15665 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
15667 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
15670 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
15671 (MAP_SHARED_VALIDATE): New macro.
15672 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15673 (MAP_SHARED_VALIDATE): Likewise.
15675 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15677 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
15678 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
15679 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
15681 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15683 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
15684 (DT_NUM): Updated to 35.
15686 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15688 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
15689 __builtin_expect with __glibc_likely and __glibc_unlikely.
15690 (elf_machine_rela): Likewise.
15691 (elf_machine_lazy_rel): Likewise.
15693 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15695 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
15696 __builtin_expect with __glibc_likely and __glibc_unlikely.
15697 (elf_machine_lazy_rel): Likewise.
15699 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15702 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
15704 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
15706 2018-02-05 Andreas Schwab <schwab@suse.de>
15709 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
15712 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15714 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
15715 not check against PTHREAD_STACK_MIN.
15717 2018-02-02 Sean McKean <smckean83@gmail.com>
15720 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
15722 2018-02-02 Florian Weimer <fweimer@redhat.com>
15725 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
15726 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
15727 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
15728 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
15729 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
15730 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
15731 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
15732 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
15733 * manual/llio.texi (Scatter-Gather): Mention offset -1.
15734 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
15735 * misc/tst-preadvwritev2.c (do_test): Call it.
15736 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
15738 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
15740 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
15742 * benchtests/bench-memcmp.c: Print json instead of plain text.
15744 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
15747 2018-02-01 Joseph Myers <joseph@codesourcery.com>
15749 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15751 (s390_sthyi): New syscall.
15753 * sysdeps/generic/ldbl-classify-compat.h: New file.
15754 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
15755 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
15756 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
15757 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
15758 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
15759 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
15760 * sysdeps/ieee754/dbl-64/s_finite.c: Include
15761 <ldbl-classify-compat.h>.
15762 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15763 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
15764 <ldbl-classify-compat.h>.
15765 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15766 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
15767 <ldbl-classify-compat.h>.
15768 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15769 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
15770 <ldbl-classify-compat.h>.
15771 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15772 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
15773 <ldbl-classify-compat.h>.
15774 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15775 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
15776 <ldbl-classify-compat.h>.
15777 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15778 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
15779 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15780 * sysdeps/m68k/coldfire/math_private.h: Remove file.
15781 * sysdeps/microblaze/math_private.h: Likewise.
15782 * sysdeps/nios2/math_private.h: Likewise.
15783 * sysdeps/sh/math_private.h: Likewise.
15785 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
15786 * sysdeps/m68k/coldfire/math_private.h: ... here.
15787 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
15788 * sysdeps/tile/math_private.h: Likewise.
15789 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
15791 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
15794 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
15796 (libc_fetestexcept): Likewise.
15797 (libc_feupdateenv_test): Likewise.
15798 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
15799 (libc_fetestexcept): Likewise.
15800 (libc_feupdateenv_test): Likewise.
15801 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
15802 (libc_fetestexcept): Likewise.
15803 (libc_feupdateenv_test): Likewise.
15804 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
15805 (libc_fetestexcept): Likewise.
15806 (libc_feupdateenv_test): Likewise.
15808 * sysdeps/generic/math_private.h
15809 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
15810 New inline function.
15811 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
15814 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
15815 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
15816 * sysdeps/generic/math_private.h
15817 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
15819 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
15821 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
15823 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
15825 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
15827 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
15829 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
15830 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
15831 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
15832 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
15833 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
15834 (__fegetenv): Likewise.
15835 (fesetenv): Likewise.
15836 (__fesetenv): Likewise.
15837 (feupdateenv): Likewise.
15838 (__feupdateenv): Likewise.
15839 (fegetround): Likewise.
15840 (__fegetround): Likewise.
15841 (fesetround): Likewise.
15842 (__fesetround): Likewise.
15844 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
15845 (feraiseexcept): New macro.
15846 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
15847 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
15849 (__feraiseexcept): Likewise.
15850 (feclearexcept): Likewise.
15851 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
15852 (__feraiseexcept): Likewise.
15853 (feclearexcept): Likewise.
15854 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
15855 (__feraiseexcept): Likewise.
15856 (feclearexcept): Likewise.
15857 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
15858 (__feraiseexcept): Likewise.
15859 (feclearexcept): Likewise.
15860 (fetestexcept): Likewise.
15862 * sysdeps/m68k/coldfire/math-tests.h: New file.
15864 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
15865 * sysdeps/m68k/bits/fenv.h: ... here.
15866 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
15868 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
15870 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
15872 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
15874 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
15876 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
15878 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
15879 (__FE_UNDEFINED): New enum constant.
15880 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
15882 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
15884 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
15886 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
15887 to match generic bits/fenv.h.
15888 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
15891 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
15893 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
15894 * soft-fp/half.h (union _FP_UNION_H): Likewise.
15895 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
15896 * soft-fp/single.h (union _FP_UNION_S): Likewise.
15898 2018-02-01 Carlos O'Donell <carlos@redhat.com>
15899 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
15900 Joseph Myers <joseph@codesourcery.com>
15903 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
15904 (__log1p): Disable -Wmaybe-uninitialized for -Os around
15905 computation using c.
15906 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
15907 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
15908 computation using c.
15910 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
15912 * version.h (RELEASE): Set to "development".
15913 (VERSION): Set to "2.27.9000".
15914 * NEWS (2.28): New section.
15916 * version.h (RELEASE): Set to "stable".
15917 (VERSION): Set to "2.27".
15918 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
15920 * NEWS: Add the list of bugs fixed in 2.27.
15922 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15924 * stdlib/test-atexit-race-common.c (do_test): Check stack size
15925 against PTHREAD_STACK_MIN.
15927 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
15929 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
15931 (Rafal Luzynski, Andreas Schwab): Update.
15933 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
15936 * NEWS: List the languages which actually use the alternative
15937 months feature in this release. Also explain that "alt_mon" and
15938 "ab_alt_mon" are optional.
15940 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
15943 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
15945 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
15947 * manual/install.texi (Tools for Compilation): Update the newest
15948 versions of gcc, binutils, texinfo, gawk, bison, and sed.
15949 * INSTALL: Regenerated.
15951 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15953 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
15954 instead of __builtin_expect.
15956 2018-01-30 Florian Weimer <fweimer@redhat.com>
15958 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
15960 * nss/tst-nss-getpwent.c (do_test): Likewise.
15962 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
15965 * localedata/locales/hr_HR (mon): Rename to...
15967 (mon): Import from CLDR (genitive case).
15968 (d_t_fmt): Update the comment.
15970 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
15972 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
15973 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
15974 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
15976 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15978 * mach/Versions: Fix version when __mach_host_self_ was added.
15979 * hurd/Versions: Fix version when _hurd_exec_paths was added.
15980 * sysdeps/mach/hurd/i386/ld.abilist: New file.
15981 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
15982 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
15983 * sysdeps/mach/hurd/i386/libc.abilist: New file.
15984 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
15985 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
15986 * sysdeps/mach/hurd/i386/libm.abilist: New file.
15987 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
15988 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
15989 * sysdeps/mach/hurd/i386/librt.abilist: New file.
15990 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
15991 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
15992 || to respect codestyle.
15993 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
15994 (do_test_bz20181): Rename accordingly.
15995 * malloc/malloc.c: Include <assert.h>.
15996 (assert): Do not define.
15997 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
15998 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
15999 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
16000 * sysdeps/mach/hurd/hp-timing.h: New file.
16001 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
16003 2018-01-29 Darius Rad <darius@bluespec.com>
16005 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
16007 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
16009 * sysdeps/init_array/crti.S (.section .init_array): Add
16010 PREINIT_FUNCTION when defined.
16011 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
16012 * config.h.in: Regenerate.
16013 * manual/platform.texi: Add RISC-V documenation for
16014 __riscv_flush_icache.
16015 * sysdeps/riscv/__longjmp.S: New file.
16016 * sysdeps/riscv/backtrace.c: Likewise.
16017 * sysdeps/riscv/bits/endian.h: Likewise.
16018 * sysdeps/riscv/bits/setjmp.h: Likewise.
16019 * sysdeps/riscv/bits/wordsize.h: Likewise.
16020 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
16021 * sysdeps/riscv/bsd-setjmp.c: Likewise.
16022 * sysdeps/riscv/dl-trampoline.S: Likewise.
16023 * sysdeps/riscv/gccframe.h: Likewise.
16024 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
16025 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
16026 * sysdeps/riscv/machine-gmon.h: Likewise.
16027 * sysdeps/riscv/memusage.h: Likewise.
16028 * sysdeps/riscv/setjmp.S: Likewise.
16029 * sysdeps/riscv/sys/asm.h: Likewise.
16030 * sysdeps/riscv/tls-macros.h: Likewise.
16031 * sysdeps/riscv/dl-tls.h: New file.
16032 * sysdeps/riscv/libc-tls.c: Likewise.
16033 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
16034 * sysdeps/riscv/nptl/tls.h: Likewise.
16035 * sysdeps/riscv/stackinfo.h: Likewise.
16036 * sysdeps/riscv/bits/fenv.h: New file.
16037 * sysdeps/riscv/e_sqrtl.c: Likewise.
16038 * sysdeps/riscv/fpu_control.h: Likewise.
16039 * sysdeps/riscv/math-tests.h: Likewise.
16040 * sysdeps/riscv/nofpu/Implies: Likewise.
16041 * sysdeps/riscv/sfp-machine.h: Likewise.
16042 * sysdeps/riscv/tininess.h: Likewise.
16043 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
16044 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
16045 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
16046 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
16047 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
16048 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
16049 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
16050 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
16051 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
16052 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
16053 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
16054 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
16055 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
16056 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
16057 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
16058 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
16059 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
16060 * sysdeps/riscv/rvd/s_finite.c: Likewise.
16061 * sysdeps/riscv/rvd/s_fma.c: Likewise.
16062 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
16063 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
16064 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
16065 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
16066 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
16067 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
16068 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
16069 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
16070 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
16071 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
16072 * sysdeps/riscv/rvf/fegetround.c: Likewise.
16073 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
16074 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
16075 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
16076 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
16077 * sysdeps/riscv/rvf/fesetround.c: Likewise.
16078 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
16079 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
16080 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
16081 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
16082 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
16083 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
16084 * sysdeps/riscv/rvf/math_private.h: Likewise.
16085 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
16086 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
16087 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
16088 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
16089 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
16090 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
16091 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
16092 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
16093 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
16094 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
16095 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
16096 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
16097 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
16098 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
16099 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
16100 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
16101 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
16102 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
16103 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
16104 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
16105 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
16106 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
16107 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
16108 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
16109 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
16110 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
16111 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
16112 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
16113 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
16114 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
16115 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
16116 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
16117 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
16118 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
16119 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
16120 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
16121 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
16122 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
16123 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
16124 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
16125 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
16126 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
16127 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
16128 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
16129 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
16130 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
16131 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
16132 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
16133 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
16134 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
16135 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
16136 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
16137 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
16138 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
16139 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
16140 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
16141 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
16142 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
16143 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
16144 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
16145 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
16146 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
16147 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16148 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
16149 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16150 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
16151 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
16152 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
16153 * sysdeps/riscv/Implies: New file.
16154 * sysdeps/riscv/Makefile: Likewise.
16155 * sysdeps/riscv/configure: Likewise.
16156 * sysdeps/riscv/configure.ac: Likewise.
16157 * sysdeps/riscv/nptl/Makefile: Likewise.
16158 * sysdeps/riscv/preconfigure: Likewise.
16159 * sysdeps/riscv/rv64/Implies-after: Likewise.
16160 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
16161 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
16162 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
16163 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
16164 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
16165 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
16166 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
16167 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
16168 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
16169 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
16170 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
16171 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
16172 (Config): Likewise.
16174 2018-01-29 Florian Weimer <fweimer@redhat.com>
16177 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
16178 libnsl_hidden_proto.
16179 * include/rpcsvc/yp.h (yp_xdrall): Declare with
16180 libnsl_hidden_proto.
16181 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
16182 * nis/Makefile (libnsl-routines): Add nss-default only for
16183 build-obsolete-nsl.
16184 * nis/nis_defaults.c (__nis_default_ttl): Add
16185 libnsl_hidden_nolink_def.
16186 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
16188 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
16189 * nis/ypclnt.c (yp_maplist): Likewise.
16191 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
16193 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16194 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
16196 2018-01-29 Joseph Myers <joseph@codesourcery.com>
16198 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
16199 clean -dxfq for git updates when replacing sources.
16201 * scripts/build-many-glibcs.py (Config.build_gcc): Use
16202 --disable-libcilkrts unconditionally, not just for the final GCC
16205 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16208 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16211 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
16214 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16217 * localedata/locales/be_BY (mon): Rename to...
16218 (alt_mon): This, then synchronize with CLDR (nominative case).
16219 (abmon): Rename to...
16220 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16221 (mon): Import from CLDR (genitive case).
16223 * localedata/locales/be_BY@latin (mon): Rename to...
16225 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
16227 * localedata/locales/be_BY@latin (lang_name): Reworded to
16228 "biełaruskaja mova".
16230 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16233 * localedata/locales/el_CY (mon): Renamed to...
16235 (mon): Import from CLDR (genitive case).
16236 * localedata/locales/el_GR: Likewise.
16238 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16241 * localedata/locales/ru_RU (mon): Rename to...
16243 (abmon): Rename to...
16244 (ab_alt_mon): This.
16245 (mon): Import from CLDR (genitive case).
16246 (abmon): Copy from the old content except the 5th month which is
16247 now in the genitive case, even when abbreviated.
16248 * localedata/locales/ru_UA: Likewise.
16249 * time/tst-strptime.c (day_tests): Add an actual example of
16250 a difference between %b and %Ob in Russian.
16252 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16254 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
16255 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
16257 * resolv/res-close.c: Include <stdlib.h>.
16258 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
16259 <sys/wait.h>, <time.h>, <sys/uio.h>.
16260 (NOT_CANCEL_H): Add inclusion guard.
16261 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
16262 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
16263 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
16265 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
16266 vm_address_t * to ElfW(Addr) * for dl_main parameter.
16267 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
16269 * sysdeps/pthread/timer_create.c (timer_create): Do not use
16270 timer_ptr2id to cast struct timer_node * to void *.
16271 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
16272 --disable-libcilkrts to gcc configure.
16273 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
16274 and make them the default for now.
16275 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
16276 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
16277 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
16278 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
16279 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
16281 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
16282 __task_terminate would ever return successfully.
16283 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
16285 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
16286 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
16287 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
16288 critical section to make code simpler and avoid warning.
16289 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
16290 critical section to make code simpler and avoid warning.
16291 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
16292 const char * instead of char *.
16293 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
16294 __hurd_file_name_split, hurd_file_name_split,
16295 __hurd_directory_name_split, hurd_directory_name_split,
16296 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
16297 hurd_file_name_path_lookup): Make lookup function parameter take a
16298 const char *name instead of char *name.
16299 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
16300 __hurd_directory_name_split): Likewise.
16301 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
16302 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
16303 * sysdeps/mach/hurd/check_native.c: New file.
16304 * sysdeps/mach/hurd/check_pf.c: New file.
16305 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
16306 (__freeifaddrs): Define macro to freeifaddrs.
16307 * sysdeps/mach/hurd/libhurduser.abilist: New file.
16308 * sysdeps/mach/libmachuser.abilist: New file.
16309 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
16310 (do_test_bz20181): Rename accordingly.
16311 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
16312 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
16314 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
16315 version only if __USE_EXTERN_INLINES is defined.
16316 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
16317 __hurd_sockfail): Likewise.
16318 (_hurd_fd_get): Always declare functions, and provide inline versions
16319 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
16320 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
16321 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
16322 _hurd_port_set): Always declare functions, and provide inline versions
16323 only if __USE_EXTERN_INLINES and _LIBC are defined and
16325 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
16326 _hurd_critical_section_unlock): Likewise.
16327 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
16328 * __hurd_threadvar_location): Likewise.
16329 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
16330 _hurd_userlink_clear): Likewise.
16331 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
16332 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
16333 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
16334 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
16335 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
16336 __spin_lock_locked): Likewise.
16337 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
16338 __spin_lock_locked): Likewise.
16339 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
16340 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
16341 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
16342 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
16343 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
16344 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
16345 _POSIX_NO_TRUNC): Define to 0.
16346 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
16347 check size against PTHREAD_STACK_MIN.
16348 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
16349 IS_IN(libpthread)]: Include <sigsetops.h>.
16350 * mach/Makefile (user-interfaces): Add mach/gnumach.
16351 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
16352 * sysdeps/mach/configure (mach_interface_list): Regenerate.
16353 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
16354 instead of invalid -1.
16355 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
16356 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
16357 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
16360 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
16362 * hurd/fcntl-internal.h: New file.
16364 2018-01-27 James Clarke <jrtc27@jrtc27.com>
16366 * sysdeps/hppa/fpu/libm-test-ulps: Update.
16368 * sysdeps/alpha/fpu/libm-test-ulps: Update.
16370 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
16373 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
16374 Build only shared objects.
16376 2018-01-26 Carlos O'Donell <carlos@redhat.com>
16378 * README: Update for hppa.
16380 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16382 * sysdeps/sparc/fpu/libm-test-ulps: Update
16383 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
16385 2018-01-26 Carlos O'Donell <carlos@redhat.com>
16389 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16392 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16393 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
16394 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16395 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
16398 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16401 * bits/types/__cancel_jmp_buf_tag.h: New file.
16402 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
16403 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
16404 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
16405 * nptl/Makefile (headers): Add
16406 bits/types/__cancel_jmp_buf_tag.h.
16407 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
16408 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
16409 * sysdeps/nptl/pthread.h: Include
16410 <bits/types/__cancel_jmp_buf_tag.h>.
16411 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
16413 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
16415 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
16418 * localedata/locales/uk_UA (mon): Renamed to...
16420 (alt_digits): "0" removed and then renamed to...
16422 (date_fmt): Definition changed not to use the alternative
16425 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
16427 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
16428 FLAG_RISCV_FLOAT_ABI_DOUBLE.
16429 * elf/elf.h (EF_RISCV_RVC): New define.
16430 (EF_RISCV_FLOAT_ABI): Likewise.
16431 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
16432 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
16433 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
16434 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
16435 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
16437 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
16439 2018-01-25 Andreas Schwab <schwab@suse.de>
16441 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
16443 * sysdeps/gnu/configure: Regenerate.
16444 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
16445 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
16447 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
16448 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
16449 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
16450 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
16451 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
16453 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16455 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
16456 URL, and run autoconf, make it the default for now.
16458 2018-01-24 Joseph Myers <joseph@codesourcery.com>
16460 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16461 soft-float ColdFire configuration.
16463 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
16464 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
16465 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
16467 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
16470 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
16472 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
16474 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
16477 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
16478 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
16479 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
16482 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
16485 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
16486 Rename to __reserved and add comment.
16487 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
16488 Rename to __reserved.
16490 2018-01-24 Joseph Myers <joseph@codesourcery.com>
16492 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16493 i686-gnu configurations.
16494 (Context.run_builds): Include mig, gnumach and hurd in components
16496 (Context.checkout): Add mig, gnumach and hurd to components.
16497 (Context.checkout_tar): Add URL mappings for mig, gnumach and
16499 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
16500 (Config.build): Install gnumach headers, build mig and install
16501 hurd headers for 'gnu' OS.
16502 (Config.install_gnumach_headers): New function.
16503 (Config.install_hurd_headers): Likewise.
16504 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
16505 when building for 'gnu' OS.
16507 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
16509 * manual/tunables.texi (Hardware Capability Tunables): Fix
16512 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
16514 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
16515 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
16516 (ALTMON_11, ALTMON_12): Improve documentation.
16517 * manual/time.texi (strftime): Likewise.
16519 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16522 * localedata/locales/pl_PL: Alternative month names added,
16523 primary month names are genitive now.
16524 * time/tst-strptime.c (day_tests): Actually use a genitive case
16525 of a month name in Polish language.
16527 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16530 * manual/locale.texi: Document ALTMON_1..12 constants for
16531 nl_langinfo. Specify when to use ALTMON instead of MON.
16532 * manual/time.texi (strftime, strptime): Document GNU extension
16533 permitting O modifier with %B and %b. Specify when to use
16536 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16539 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
16540 names, define them as the same as abbreviated month names explicitly.
16541 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
16542 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
16543 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
16544 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
16545 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
16546 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
16547 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
16548 _NL_WABALTMON_12): New enum constants.
16549 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
16550 wab_alt_mon, and ab_alt_mon_defined members.
16551 (time_output): Output ab_alt_mon and wab_alt_mon members.
16552 (time_read): Read them, initialize them as copies of abmon and wabmon
16553 respectively if they are missing, initialize ab_alt_mon_defined.
16554 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
16555 * locale/programs/locfile-kw.h: Regenerate.
16556 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
16557 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
16559 * time/strftime_l.c (a_altmonth, aam_len): New macros.
16560 [!COMPILE_WIDE] (ABALTMON_1): New macro.
16561 (__strftime_internal): Handle %Ob and %Oh formats.
16562 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
16563 (__strptime_internal): Handle %Ob and %Oh formats.
16564 * time/tst-strptime.c (day_tests): Add more tests to parse different
16565 forms of month names including the new %Ob format specifier.
16567 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16570 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
16571 define them as the same as primary full month names explicitly.
16572 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
16573 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
16574 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
16575 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
16576 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
16577 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
16578 _NL_WALTMON_12): New enum constants.
16579 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
16580 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
16582 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
16583 walt_mon, and alt_mon_defined members.
16584 (time_output): Output alt_mon and walt_mon members.
16585 (time_read): Read them, initialize them as copies of mon and wmon
16586 respectively if they are missing, initialize alt_mon_defined.
16587 * locale/programs/locfile-kw.gperf (alt_mon): Define.
16588 * locale/programs/locfile-kw.h: Regenerate.
16589 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
16590 * localedata/tst-langinfo.c (map): Add tests for the new constants
16591 ALTMON_1 .. ALTMON_12.
16592 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
16594 * time/strftime_l.c (f_altmonth): New macro.
16595 (__strftime_internal): Handle %OB format.
16596 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
16597 (__strptime_internal): Handle %OB format.
16598 * time/tst-strptime.c (day_tests): Add tests to parse different forms
16599 of month names including the new %OB format specifier.
16601 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16604 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
16605 from ABORT_TRANSACTION.
16606 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
16607 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
16608 ABORT_TRANSACTION_IMPL): Likewise.
16609 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
16610 Linux code, but remove the code that aborts transactions.
16612 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
16614 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
16616 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
16618 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
16619 in date: "2004-14-09" should be "2004-09-14".
16620 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
16621 "2003-15-09" should be "2003-09-15".
16623 2018-01-18 Arjun Shankar <arjun@redhat.com>
16629 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
16631 (_int_memalign): check for integer overflow before calling
16633 * malloc/tst-malloc-too-large.c: New test.
16634 * malloc/Makefile: Add tst-malloc-too-large.
16636 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
16638 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
16639 in date: "2017-24-07" should be "2017-07-24".
16640 * localedata/locales/mai_IN: Likewise.
16641 * localedata/locales/mai_NP: Likewise.
16643 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
16645 * po/ru.po: Update translations.
16647 2018-01-17 Joseph Myers <joseph@codesourcery.com>
16650 * sysdeps/hppa/backtrace.c: New file.
16652 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
16655 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
16656 align La_x86_64_retval to VEC_SIZE.
16658 2018-01-16 Joseph Myers <joseph@codesourcery.com>
16660 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
16661 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
16663 2018-01-16 Florian Weimer <fweimer@redhat.com>
16665 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
16666 Move tst-thread-exit-clobber ...
16667 [$(CXX)] (tests-unsupported): ... to here.
16669 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
16671 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
16672 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
16673 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
16674 (_dl_aarch64_cap_flags): Update.
16675 (_DL_HWCAP_COUNT): Update.
16677 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
16679 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
16680 (_DL_HWCAP_LAST): Remove.
16681 (_DL_HWCAP_COUNT): Move to ...
16682 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
16683 (_DL_HWCAP_COUNT): ... here.
16685 2018-01-16 Florian Weimer <fweimer@redhat.com>
16687 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
16688 mode with GNU extensions.
16690 2018-01-15 Alan Hayward <alan.hayward@arm.com>
16692 * elf/elf.h (NT_ARM_SVE): Define.
16694 2018-01-15 Florian Weimer <fweimer@redhat.com>
16697 * nptl/tst-minstack-throw.cc: New file.
16698 * nptl/Makefile (tests): Add tst-minstack-throw.
16699 (LDLIBS-tst-minstack-throw): Link with libstdc++.
16700 [!CXX] (tests-unsupported): Add tst-minstack-throw.
16702 2018-01-15 Joseph Myers <joseph@codesourcery.com>
16704 * scripts/build-many-glibcs.py (Context.checkout): Default
16705 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
16708 2018-01-13 Carlos O'Donell <carlos@redhat.com>
16711 * elf/elf.h (DF_1_STUB): Define.
16712 (DF_1_PIE): Define.
16714 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16717 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
16718 Do not add 0.5 to integer or out-of-range arguments.
16720 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
16722 * po/bg.po: Update translations.
16723 * po/cs.po: Likewise.
16724 * po/de.po: Likewise.
16725 * po/ko.po: Likewise.
16726 * po/pl.po: Likewise.
16727 * po/sv.po: Likewise.
16728 * po/uk.po: Likewise.
16729 * po/vi.po: Likewise.
16731 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16733 * aarch64/start.S (_start): Use __wrap_main.
16734 (__wrap_main): New local symbol.
16736 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
16740 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
16741 generic_getcwd if the path returned by getcwd syscall is not absolute.
16742 * io/tst-getcwd-abspath.c: New test.
16743 * io/Makefile (tests): Add tst-getcwd-abspath.
16745 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
16747 * malloc/malloc.c (malloc_consolidate): Add size check.
16749 2018-01-12 Florian Weimer <fweimer@redhat.com>
16751 * support/write_message.c (write_message): Preserve errno.
16752 * support/check.c (print_failure): Likewise.
16753 * support/support_test_verify_impl.c (support_test_verify_impl):
16755 * support/support_test_compare_failure.c
16756 (support_test_compare_failure): Likewise.
16758 2018-01-12 Florian Weimer <fweimer@redhat.com>
16761 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
16762 Prevent installation of libnsl.so.
16763 (libnsl-inhibit-o): Do not build (or install) static libraries.
16765 2018-01-12 Egmont Koblinger <egmont@gmail.com>
16768 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
16769 before the day number which may produce a double space.
16770 (date_fmt): Likewise.
16772 2018-01-12 Joseph Myers <joseph@codesourcery.com>
16774 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
16775 instead of fegetenv.
16777 2018-01-11 Joseph Myers <joseph@codesourcery.com>
16780 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
16781 comment to say exceptions are discarded.
16782 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
16784 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
16787 2018-01-11 Florian Weimer <fweimer@redhat.com>
16789 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
16792 2018-01-11 Florian Weimer <fweimer@redhat.com>
16795 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
16796 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
16798 2018-01-10 Joseph Myers <joseph@codesourcery.com>
16801 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
16802 negative arguments in test for NaN or infinity argument.
16804 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
16806 * po/libc.pot: Regenerate.
16808 2018-01-10 Florian Weimer <fweimer@redhat.com>
16811 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
16812 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
16814 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16816 * hurd/hurd/fd.h: Include <fcntl.h>
16817 (__hurd_at_flags): New function.
16818 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
16819 with call to __hurd_at_flags.
16820 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
16821 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
16823 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
16824 (__access_noerrno): Use __faccessat_common instead of access_common.
16825 (__access): Likewise.
16826 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
16827 with a call to __faccessat.
16828 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
16829 (__faccessat_common): ... this. Move implementation of __access into it when
16830 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
16831 reauthenticate_cwdir_at helper to implement AT mechanism.
16832 (__faccessat_noerrno): New function, just calls __faccessat_common.
16833 (__faccessat): New function, just calls __faccessat_common.
16834 (faccessat): Define weak alias.
16836 2018-01-10 Joseph Myers <joseph@codesourcery.com>
16839 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16840 (CFLAGS-s_fmaxmagl.c): New variable.
16841 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
16844 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
16845 long int for arguments of possibly overflowing addition or
16847 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16849 2018-01-09 Joseph Myers <joseph@codesourcery.com>
16852 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16853 (CFLAGS-e_remainderl.c): New variable.
16856 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
16858 (CFLAGS-s_cacoshl.c): Likewise.
16859 (CFLAGS-s_casinhl.c): Likewise.
16860 (CFLAGS-s_catanl.c): Likewise.
16861 (CFLAGS-s_catanhl.c): Likewise.
16862 (CFLAGS-s_cexpl.c): Likewise.
16863 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
16864 (CFLAGS-s_csinhl.c): Likewise.
16865 (CFLAGS-s_clogl.c): Likewise.
16866 (CFLAGS-s_clog10l.c): Likewise.
16867 (CFLAGS-s_csinl.c): Likewise.
16868 (CFLAGS-s_csqrtl.c): Likewise.
16870 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
16871 2017-01-09 Svante Signell <svante.signell@gmail.com>
16873 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
16874 (_hurd_exec_paths): New function.
16875 * hurd/hurd.h (_hurd_exec): Deprecate function.
16876 (_hurd_exec_paths): Declare function.
16877 * hurd/Versions: Export _hurd_exec_paths.
16878 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
16879 (__execve): Use __getcwd to build absolute path, and use
16880 _hurd_exec_paths instead of _hurd_exec.
16881 * sysdeps/mach/hurd/spawni.c: Likewise.
16882 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
16885 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
16887 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
16888 test instead of failing in case of ENOENT returned by posix_openpt.
16890 2018-01-08 Florian Weimer <fweimer@redhat.com>
16892 resolv: Support binary labels in test framework.
16893 * support/resolv_test.c (struct to_be_freed): Remove.
16894 (struct compressed_name): New.
16895 (allocate_compressed_name, ascii_tolower)
16896 (compare_compressed_name): New functions.
16897 (struct resolv_response_builder): Update type of
16898 compression_offsets for use with tsearch. Rempve to_be_freed.
16899 (response_push_pointer_to_free): Remove function.
16900 (resolv_response_add_name): Rewrite using struct compressed_name
16901 and tsearch instead of hsearch_r.
16902 (response_builder_allocate): Remove initialization of
16903 compression_offsets.
16904 (response_builder_free): Update for removal of to_be_freed. Use
16905 tdestroy instead of hdestroy_r.
16906 * resolv/Makefile (tests): Add tst-resolv-binary.
16907 (tst-resolv-binary): Link with -lresolv -lpthread.
16909 2018-01-08 Florian Weimer <fweimer@redhat.com>
16911 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
16912 time. Pass positive flag instead of negative flag to
16913 support_test_compare_failure.
16914 (support_test_compare_failure): Change negative parameter to
16916 * support/support_test_compare_failure.c (report)
16917 (support_test_compare_failure): Likewise.
16918 * support/tst-test_compare.c (return_ssize_t, return_int): New.
16919 (do_test): Check int/size_t, ssize_t/size_t comparisons.
16921 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
16924 * nptl/descr.h (stackblock, stackblock_size): Update comments.
16925 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
16926 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
16928 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
16930 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
16932 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16933 Add s_sincosf-sse2 and s_sincosf-fma.
16934 (CFLAGS-s_sincosf-fma.c): New.
16935 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
16936 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
16937 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
16938 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
16939 __sincosf is defined.
16941 2018-01-08 Florian Weimer <fweimer@redhat.com>
16943 * nptl/tst-thread-exit-clobber.cc: New file.
16944 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
16946 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
16947 (tests): Add tst-thread-exit-clobber.
16948 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
16950 2018-01-08 Florian Weimer <fweimer@redhat.com>
16952 * support/check.h (support_static_assert): Define.
16953 (TEST_COMPARE): Use it.
16955 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
16957 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
16958 [!__RLIM_T_MATCHES_RLIM64_T]
16959 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
16960 __getrlimit64. Add libc_hidden_weak.
16962 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
16964 * elf/elf.h (R_RISCV_NONE): New define.
16965 (R_RISCV_32): Likewise.
16966 (R_RISCV_64): Likewise.
16967 (R_RISCV_RELATIVE): Likewise.
16968 (R_RISCV_COPY): Likewise.
16969 (R_RISCV_JUMP_SLOT): Likewise.
16970 (R_RISCV_TLS_DTPMOD32): Likewise.
16971 (R_RISCV_TLS_DTPMOD64): Likewise.
16972 (R_RISCV_TLS_DTPREL32): Likewise.
16973 (R_RISCV_TLS_DTPREL64): Likewise.
16974 (R_RISCV_TLS_TPREL32): Likewise.
16975 (R_RISCV_TLS_TPREL64): Likewise.
16976 * Makerules (make-link-multidir): Make directories before linking into
16978 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
16980 (VDSO_HASH_LINUX_4_15): Likewise.
16981 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
16982 in subdirectories of lib.
16983 * nptl/Makefile (/librt.so): Always depend on
16984 "$(shared-thread-library)".
16986 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16988 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
16989 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
16990 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
16992 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
16993 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
16995 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
16996 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
16997 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
16998 * sysdeps/gnu/glob-lstat-compat.c: New file.
16999 * sysdeps/gnu/glob64-lstat-compat.c: New file.
17000 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
17002 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17004 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
17005 Reserve 16 chars to reloc_addr before calling _itoa_word.
17007 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17010 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
17011 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
17013 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
17014 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
17016 * resource/tst-getrlimit.c: Add copyright header.
17018 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17019 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17021 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
17022 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
17023 Define __GI_getrlimit64 as weak alias of __getrlimit64.
17024 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
17026 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
17027 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
17028 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
17029 RLIM64_INFINITY): Fix values to match the kernel ones.
17030 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
17031 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
17032 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
17033 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
17034 getrlimit64@@GLIBC_2_27.
17035 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
17037 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
17038 getrlimit, setrlimit, getrlimit64 and setrlimit64.
17039 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
17040 setrlimit, getrlimit64 and setrlimit64.
17042 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17045 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
17046 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
17048 2018-01-04 Joseph Myers <joseph@codesourcery.com>
17050 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
17051 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
17052 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
17054 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17058 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
17059 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
17063 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
17064 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
17065 * sysdeps/alpha/fpu/s_floor.c: Likewise.
17066 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
17068 2018-01-04 Florian Weimer <fweimer@redhat.com>
17071 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
17072 Align the stack before calling exit.
17073 * stdlib/tst-makecontext-align.c: New file.
17074 * stdlib/Makefile (tests): Add tst-makecontext-align.
17076 2018-01-04 Florian Weimer <fweimer@redhat.com>
17078 Add support for calling dlvsym from libc.so.
17079 * include/dlfcn.h (__libc_dlvsym): Declare.
17080 * elf/Makefile (tests-static-internal): Add
17081 tst-libc_dlvsym-static.
17082 (tests-internal): Add tst-libc_dlvsym.
17083 (modules-names): Add tst-libc_dlvsym-dso.
17084 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
17085 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
17086 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
17087 object tst-libc_dlvsym-dso.so needs to be built before running
17089 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
17090 * elf/Versions: Export __libc_dlvsym.
17091 * elf/dl-libc.c (struct do_dlvsym_args): New.
17092 (do_dlvsym, __libc_dlvsym): New functions.
17093 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
17094 (_dl_open_hook2): New variable.
17095 (__libc_register_dl_open_hook): Set it.
17096 * elf/tst-libc_dlvsym-dso.c: New file.
17097 * elf/tst-libc_dlvsym-static.c: Likewise.
17098 * elf/tst-libc_dlvsym.c: Likewise.
17099 * elf/tst-libc_dlvsym.h: Likewise.
17101 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17103 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
17104 include <sys/mount.h>.
17106 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
17108 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
17109 Add __NO_MATH_ERRNO__ check.
17111 2018-01-02 Joseph Myers <joseph@codesourcery.com>
17113 * sysdeps/mips/mips32/libm-test-ulps: Update.
17114 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17116 2018-01-02 Florian Weimer <fweimer@redhat.com>
17118 * misc/tst-pselect.c: Add copyright header.
17120 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
17122 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
17124 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
17126 (settrlimit): Rename into setrlimit.
17127 (__sttrlimit): Rename into __setrlimit.
17129 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
17130 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
17131 never defined in that case.
17133 2018-01-02 Joseph Myers <joseph@codesourcery.com>
17135 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
17137 * sysdeps/arm/libm-test-ulps: Update.
17139 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
17140 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
17142 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17144 * NEWS: Add cosf and sincosf to list of optimized functions.
17146 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
17149 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
17150 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
17151 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
17152 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
17154 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
17157 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
17159 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
17160 making a copy of it.
17162 2018-01-01 Joseph Myers <joseph@codesourcery.com>
17164 * manual/texinfo.tex: Update to version 2017-12-26.21 with
17165 trailing whitespace removed.
17166 * scripts/config.guess: Update to version 2018-01-01.
17167 * scripts/config.sub: Update to version 2018-01-01.
17168 * scripts/move-if-change: Update from gnulib.
17170 * NEWS: Update copyright dates.
17171 * catgets/gencat.c (print_version): Likewise.
17172 * csu/version.c (banner): Likewise.
17173 * debug/catchsegv.sh: Likewise.
17174 * debug/pcprofiledump.c (print_version): Likewise.
17175 * debug/xtrace.sh (do_version): Likewise.
17176 * elf/ldconfig.c (print_version): Likewise.
17177 * elf/ldd.bash.in: Likewise.
17178 * elf/pldd.c (print_version): Likewise.
17179 * elf/sotruss.sh: Likewise.
17180 * elf/sprof.c (print_version): Likewise.
17181 * iconv/iconv_prog.c (print_version): Likewise.
17182 * iconv/iconvconfig.c (print_version): Likewise.
17183 * locale/programs/locale.c (print_version): Likewise.
17184 * locale/programs/localedef.c (print_version): Likewise.
17185 * login/programs/pt_chown.c (print_version): Likewise.
17186 * malloc/memusage.sh (do_version): Likewise.
17187 * malloc/memusagestat.c (print_version): Likewise.
17188 * malloc/mtrace.pl: Likewise.
17189 * manual/libc.texinfo: Likewise.
17190 * nptl/version.c (banner): Likewise.
17191 * nscd/nscd.c (print_version): Likewise.
17192 * nss/getent.c (print_version): Likewise.
17193 * nss/makedb.c (print_version): Likewise.
17194 * posix/getconf.c (main): Likewise.
17195 * scripts/test-installation.pl: Likewise.
17196 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17198 * All files with FSF copyright notices: Update copyright dates
17199 using scripts/update-copyrights.
17200 * locale/programs/charmap-kw.h: Regenerated.
17201 * locale/programs/locfile-kw.h: Likewise.
17203 2017-12-31 Zack Weinberg <zackw@panix.com>
17205 * libio/bits/libio-ldbl.h: Correct check for improper
17206 inclusion. Add own multiple include guard.
17208 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
17209 Dmitry V. Levin <ldv@altlinux.org>
17213 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
17214 string token expansion. Check for NULL pointer or empty string possibly
17215 returned by expand_dynamic_string_token.
17216 (decompose_rpath): Check for empty path after dynamic string
17219 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
17222 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
17224 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
17225 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
17226 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
17227 and PTRACE_SYSCALL.
17228 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
17229 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17230 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17231 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17232 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17233 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
17235 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
17236 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
17237 __ptrace_peeksiginfo_flags, ptrace): Move to ...
17238 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
17239 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17240 bits/ptrace-shared.h.
17241 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
17242 <bits/ptrace-shared.h>.
17243 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
17244 __ptrace_peeksiginfo_flags, ptrace): Remove.
17245 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17246 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17247 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17248 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17249 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
17251 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
17254 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
17255 end of the loop. Improve comments.
17257 2017-12-29 Zack Weinberg <zackw@panix.com>
17260 * manual/errno.texi (Checking for Errors): Explicitly say that errno
17261 might be set on success.
17263 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
17266 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
17267 is unchanged on success.
17269 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
17271 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
17273 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
17274 expand_dynamic_string_token): Likewise.
17275 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
17278 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
17281 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
17282 is set and name contains ':', and all code depending on these checks.
17284 2017-12-24 Zack Weinberg <zackw@panix.com>
17286 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
17287 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
17289 * libio/libio.h: Rename the original version of this file to
17290 libio/bits/libio.h. Error out if not included by stdio.h or the
17292 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
17293 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
17294 if not included by bits/libio.h or the stub _G_config.h.
17295 * sysdeps/unix/sysv/linux/_G_config.h: Move to
17296 sysdeps/unix/sysv/linux/bits. Error out if not included by
17297 bits/libio.h or the stub _G_config.h.
17298 * libio/stdio.h: Include bits/libio.h, not libio.h.
17299 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
17300 well as libio.h and _G_config.h.
17302 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
17303 * libio/strfile.h, stdio-common/vfscanf.c
17304 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
17305 Include stdio.h, not _G_config.h nor libio.h.
17306 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
17307 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
17309 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
17311 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
17314 * stdlib/getrandom.c (getrandom): Fix comment.
17315 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
17317 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
17320 * manual/arith.texi (strtoul): Fix a typo.
17323 * manual/arith.texi (finite): Fix the description of the return
17326 2017-12-22 Eric Blake <ebb9@byu.net>
17328 Avoid gcc warnings on cygwin
17329 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
17330 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
17331 Avoid unused variable.
17333 2017-12-22 Florian Weimer <fweimer@redhat.com>
17335 * io/Makefile (routines): Add copy_file_range.
17336 (tests): Add tst-copy_file_range.
17337 (tests-static, tests-internal): Add tst-copy_file_range-compat.
17338 * io/Versions (GLIBC_2.27): Export copy_file_range.
17339 * io/copy_file_range-compat.c: New file.
17340 * io/copy_file_range.c: Likewise.
17341 * io/tst-copy_file_range-compat.c: Likewise.
17342 * io/tst-copy_file_range.c: Likewise.
17343 * manual/llio.texi (Copying File Data): New section.
17344 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
17345 * support/Makefile (libsupport-routines): Add support-xfstat,
17346 xftruncate, xlseek.
17347 * support/support-xfstat.c: New file.
17348 * support/xftruncate.c: Likewise.
17349 * support/xlseek.c: Likewise.
17350 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
17351 * sysdeps/unix/sysv/linux/**.abilist: Update.
17352 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
17354 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
17356 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17357 disable-multi-arch variant to aarch64-linux-gnu.
17359 2017-12-20 Joseph Myers <joseph@codesourcery.com>
17361 * manual/texinfo.tex: Update to version 2017-12-18.20 with
17362 trailing whitespace removed.
17363 * scripts/config.guess: Update to version 2017-12-17.
17364 * scripts/config.sub: Update to version 2017-11-23.
17365 * scripts/install-sh: Update to version 2017-09-23.17.
17366 * scripts/move-if-change: Update to version 2017-09-13 06:45.
17368 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17370 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
17371 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
17372 * sysdeps/tile/_mcount.S (__mcount): Likewise.
17373 * sysdeps/tile/crti.S (_init, _fini): Likewise.
17374 * sysdeps/tile/crtn.S: Likewise.
17375 * sysdeps/tile/dl-start.S (_start): Likewise.
17376 * sysdeps/tile/dl-trampoline.S: Likewise.
17377 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
17378 * sysdeps/tile/start.S (_start): Likewise.
17379 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
17380 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
17381 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
17382 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
17383 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
17384 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
17385 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
17387 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
17389 * sysdeps/tile/preconfigure: Remove tilegx folder.
17390 * sysdeps/tile/tilegx/Implies: Move definitions to ...
17391 * sysdeps/tile/Implies: ... here.
17392 * sysdeps/tile/tilegx/Makefile: Move rules to ...
17393 * sysdeps/tile/Makefile: ... here.
17394 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
17395 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
17396 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
17397 * sysdeps/tile/bits/wordsize.h: ... here.
17398 * sysdeps/tile/tilegx/*: Move to ...
17399 * sysdeps/tile/*: ... here.
17400 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
17401 * sysdeps/tile/tilegx32/Implies: ... here.
17402 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
17403 * sysdeps/tile/tilegx64/Implies: ... here.
17404 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
17406 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
17407 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
17408 * sysdeps/unix/sysv/linux/tile/*: ... here.
17409 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
17410 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
17411 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
17412 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
17414 * README: Remove tilepro-*-linux-gnu from supported architecture.
17415 * scripts/build-many-glibcs.py: Likewise.
17416 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
17417 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
17418 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
17419 elf_machine_matches_host, elf_machine_dynamic,
17420 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
17421 howto, elf_machine_rela): Likewise.
17422 * sysdeps/tile/dl-start.S (_start): Likewise.
17423 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
17424 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
17425 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
17426 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
17427 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
17428 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
17430 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
17431 * sysdeps/tile/preconfigure: Likewise.
17432 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
17433 POINTER_CHK_GUARD): Likewise.
17434 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
17435 * sysdeps/tile/start.S (_start): Likewise.
17436 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
17438 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
17439 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
17441 * sysdeps/unix/sysv/linux/tile/bits/environments.h
17442 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
17443 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
17445 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
17446 * sysdeps/tile/tilepro/Implies: Remove file.
17447 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
17448 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
17449 * sysdeps/tile/tilepro/memchr.c: Likewise.
17450 * sysdeps/tile/tilepro/memcpy.S: Likewise.
17451 * sysdeps/tile/tilepro/memset.c: Likewise.
17452 * sysdeps/tile/tilepro/memusage.h: Likewise.
17453 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
17454 * sysdeps/tile/tilepro/strchr.c: Likewise.
17455 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
17456 * sysdeps/tile/tilepro/strlen.c: Likewise.
17457 * sysdeps/tile/tilepro/strrchr.c: Likewise.
17458 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
17459 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
17460 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
17461 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
17462 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
17463 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17465 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
17466 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17467 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
17468 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
17469 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17470 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
17471 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
17472 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
17473 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
17474 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
17475 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
17476 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
17477 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
17478 tilepro mention in comment.
17480 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
17481 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
17482 * nptl/pthread_join_common.c: New file: common function used on
17483 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
17484 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
17485 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
17486 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
17487 (cleanup): Move definition to pthread_join_common.c.
17488 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
17489 Remove superflous checks.
17490 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
17493 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
17495 * sysdeps/aarch64/libm-test-ulps: Update.
17497 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17499 * sysdeps/aarch64/memset.S (MEMSET): Define.
17501 2017-12-20 Florian Weimer <fweimer@redhat.com>
17504 nptl: Provide full implementation of pthread_self in libc.so.
17505 * nptl/Makefile (routines): Add pthread_self.
17506 (libpthread-routines): Replace pthread_self with
17507 compat-pthread_self.
17508 * nptl/forward.c (pthread_self): Remove.
17509 * nptl/nptl-init.c (pthread_functions): Do not initialize
17511 * nptl/pthread_self.c (pthread_self): Remove weak alias.
17512 * nptl/compat-pthread_self.c: New file.
17513 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
17514 Remove ptr_pthread_self.
17516 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
17518 * posix/regcomp.c: Fix spelling in comments.
17519 * posix/regex.h: Likewise.
17520 * posix/regex_internal.c: Likewise.
17521 * posix/regexec.c: Likewise.
17523 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17526 * math/Makefile [C++] (tests): Add test for iseqsig.
17527 * math/math.h [C++] (iseqsig): New implementation, which does
17528 not rely on __MATH_TG/__builtin_types_compatible_p.
17529 * math/test-math-iseqsig.cc: New file.
17530 * sysdeps/powerpc/powerpc64le/Makefile
17531 (CFLAGS-test-math-iseqsig.cc): New variable.
17533 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
17535 * elf/dl-load.c (is_trusted_path): Remove.
17536 (fillin_rpath): Remove check_trusted argument and its use,
17537 all callers changed.
17539 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17542 * Makeconfig (link-pie-before-libc): Replace -pie with
17543 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
17544 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
17545 (tst-dlopen-aout-no-pie): New.
17546 (LDFLAGS-tst-prelink): Removed.
17547 (tst-prelink-no-pie): New.
17548 (LDFLAGS-tst-main1): Removed.
17549 (tst-main1-no-pie): New.
17550 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
17551 (tst-gmon-no-pie): New.
17553 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17555 * manual/install.texi: Document that --enable-static-pie
17557 * INSTALL: Regenerated.
17559 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
17562 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
17565 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17569 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17571 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17573 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17575 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
17576 <errno.h>. Include "eexp.tbl".
17577 (half): New constant.
17579 (__ieee754_exp): Rewrite.
17580 (__slowexp): Remove prototype.
17581 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
17582 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
17583 * sysdeps/i386/fpu/slowexp.c: Likewise.
17584 * sysdeps/ia64/fpu/slowexp.c: Likewise.
17585 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
17586 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
17587 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
17588 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17589 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
17590 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
17592 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
17593 (CPPFLAGS-slowexp.c): Remove variable.
17594 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17595 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
17596 (CFLAGS-slowexp-fma.c): Remove variable.
17597 (CFLAGS-slowexp-fma4.c): Likewise.
17598 (CFLAGS-slowexp-avx.c): Likewise.
17599 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
17601 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
17602 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
17603 * math/Makefile (type-double-routines): Remove slowexp.
17604 * manual/probes.texi (slowexp_p6): Remove.
17605 (slowexp_p32): Likewise.
17607 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17609 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
17612 * lib/glob.c (glob): Do not pass NULL to mempcpy.
17614 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17616 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17618 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17620 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
17621 <errno.h>. Include "eexp.tbl".
17622 (half): New constant.
17624 (__ieee754_exp): Rewrite.
17625 (__slowexp): Remove prototype.
17626 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
17627 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
17628 * sysdeps/i386/fpu/slowexp.c: Likewise.
17629 * sysdeps/ia64/fpu/slowexp.c: Likewise.
17630 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
17631 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
17632 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
17633 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17634 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
17635 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
17637 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
17638 (CPPFLAGS-slowexp.c): Remove variable.
17639 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17640 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
17641 (CFLAGS-slowexp-fma.c): Remove variable.
17642 (CFLAGS-slowexp-fma4.c): Likewise.
17643 (CFLAGS-slowexp-avx.c): Likewise.
17644 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
17646 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
17647 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
17648 * math/Makefile (type-double-routines): Remove slowexp.
17649 * manual/probes.texi (slowexp_p6): Remove.
17650 (slowexp_p32): Likewise.
17652 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17653 James Clarke <jrtc27@jrtc27.com>
17656 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
17659 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17662 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
17665 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17668 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17669 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17670 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17671 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17674 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17677 * bits/types/__cancel_jmp_buf_tag.h: New file.
17678 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17679 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17680 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17681 * nptl/Makefile (headers): Add
17682 bits/types/__cancel_jmp_buf_tag.h.
17683 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17684 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17685 * sysdeps/nptl/pthread.h: Include
17686 <bits/types/__cancel_jmp_buf_tag.h>.
17687 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17689 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17691 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
17693 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17694 --enable-static-pie variants to x86_64, x32 and i686.
17696 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17699 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
17700 argument for attrubutes. All callers changed.
17701 (__inline_mathop1): Likewise. All callers changed.
17702 (__inline_mathop): Likewise. All callers changed.
17703 [__USE_MISC] (scalbn): Use __inline_forward instead of
17704 __inline_forward_c.
17705 [__USE_ISOC99] (scalbln): Likewise.
17706 [__USE_ISOC99] (nearbyint): Likewise.
17707 [__USE_ISOC99] (lrint): Likewise.
17708 [__USE_MISC] (scalbnf): Likewise.
17709 [__USE_ISOC99] (scalblnf): Likewise.
17710 [__USE_ISOC99] (nearbyintf): Likewise.
17711 [__USE_ISOC99] (lrintf): Likewise.
17712 [__USE_MISC] (scalbnl): Likewise.
17713 [__USE_ISOC99] (scalblnl): Likewise.
17714 [__USE_ISOC99] (nearbyintl): Likewise.
17715 [__USE_ISOC99] (lrintl): Likewise.
17716 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
17717 __inline_mathop and __m81_defun changed.
17719 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
17720 CPU or FPU for ARM hard-float configurations.
17722 2017-12-18 Joseph Myers <joseph@codesourcery.com>
17724 * nptl/tst-attr3.c: Include <libc-diag.h>.
17725 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
17727 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
17729 * string/tester.c (test_strncat): Also disable -Warray-bounds
17730 warnings for two tests.
17732 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
17735 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
17736 $(cc-pie-default) == yes.
17737 * config.make.in (cc-pie-default): New.
17738 * configure.ac (libc_cv_pie_default): Renamed to ...
17739 (libc_cv_cc_pie_default): This.
17740 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
17741 * configure: Regenerated.
17743 2017-12-18 Florian Weimer <fweimer@redhat.com>
17746 ld.so: Harden dl-libc/libdl hooks.
17747 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
17748 (rtld_active): New function.
17749 * dlfcn/dladdr.c (__dladdr): Call it.
17750 * dlfcn/dladdr1.c (__dladdr1): Likewise.
17751 * dlfcn/dlclose.c (__dlcose): Likewise.
17752 * dlfcn/dlerror.c (__dlerror): Likewise.
17753 * dlfcn/dlinfo.c (__dlinfo): Likewise.
17754 * dlfcn/dlmopen.c (__dlmopen): Likewise.
17755 * dlfcn/dlopen.c (__dlopen): Likewise.
17756 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17757 * dlfcn/dlsym.c (__dlsym): Likewise.
17758 * dlfcn/dlvsym.c (__dlvsym): Likewise.
17759 * libio/vtables.c (_IO_vtable_check): Likewise.
17760 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
17761 (__libc_dlclose): Likewise.
17762 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
17765 2017-12-18 Joseph Myers <joseph@codesourcery.com>
17768 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
17769 buffers for readlink input and output.
17771 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
17774 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
17775 inhibit_stack_protector.
17778 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
17779 inhibit_stack_protector.
17781 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
17784 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
17785 code and invocation.
17787 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
17789 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
17791 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
17794 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
17796 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17798 * sysdeps/s390/fpu/libm-test-ulps: Update.
17800 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17804 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17806 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
17807 constants to s_sincosf.h file.
17808 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17809 * sysdeps/ieee754/flt-32/s_sincosf.c: New
17811 * sysdeps/ieee754/flt-32/s_sincosf.h:
17814 2017-12-12 Carlos O'Donell <carlos@redhat.com>
17817 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
17820 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
17823 * INSTALL: Regenerated.
17824 * Makeconfig (real-static-start-installed-name): New.
17825 (pic-default): Updated for --enable-static-pie.
17826 (pie-default): New for --enable-static-pie.
17827 (default-pie-ldflag): Likewise.
17828 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
17829 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
17830 Replace $(static-start-installed-name) with
17831 $(real-static-start-installed-name).
17832 (+prectorT): Updated for --enable-static-pie.
17833 (+postctorT): Likewise.
17834 (CFLAGS-.o): Add $(pie-default).
17835 (CFLAGS-.op): Likewise.
17836 * NEWS: Mention --enable-static-pie.
17837 * config.h.in (ENABLE_STATIC_PIE): New.
17838 * configure.ac (--enable-static-pie): New configure option.
17839 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
17840 (have-static-pie): Likewise.
17841 Enable static PIE if linker supports --no-dynamic-linker.
17842 (ENABLE_STATIC_PIE): New AC_DEFINE.
17843 (enable-static-pie): New LIBC_CONFIG_VAR.
17844 * configure: Regenerated.
17845 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
17846 gr$(start-installed-name) for --enable-static-pie.
17847 (extra-objs): Likewise.
17848 (install-lib): Likewise.
17849 (extra-objs): Add static-reloc.o and static-reloc.os
17850 ($(objpfx)$(start-installed-name)): Also depend on
17851 $(objpfx)static-reloc.o.
17852 ($(objpfx)r$(start-installed-name)): New.
17853 ($(objpfx)g$(start-installed-name)): Also depend on
17854 $(objpfx)static-reloc.os.
17855 ($(objpfx)gr$(start-installed-name)): New.
17856 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
17858 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
17860 * csu/static-reloc.c: New file.
17861 * elf/Makefile (routines): Add dl-reloc-static-pie.
17862 (elide-routines.os): Likewise.
17863 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
17864 (tst-tls1-static-non-pie-no-pie): New.
17865 * elf/dl-reloc-static-pie.c: New file.
17866 * elf/dl-support.c (_dl_get_dl_main_map): New function.
17867 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
17868 STATIC_PIE_BOOTSTRAP.
17869 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
17870 * gmon/Makefile (tests): Add tst-gmon-static-pie.
17871 (tests-static): Likewise.
17872 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
17873 (tst-gmon-static-no-pie): New.
17874 (CFLAGS-tst-gmon-static-pie.c): Likewise.
17875 (CRT-tst-gmon-static-pie): Likewise.
17876 (tst-gmon-static-pie-ENV): Likewise.
17877 (tests-special): Likewise.
17878 ($(objpfx)tst-gmon-static-pie.out): Likewise.
17879 (clean-tst-gmon-static-pie-data): Likewise.
17880 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
17881 * gmon/tst-gmon-static-pie.c: New file.
17882 * manual/install.texi: Document --enable-static-pie.
17883 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
17884 (_dl_get_dl_main_map): Likewise.
17885 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
17886 * sysdeps/x86_64/configure.ac: Likewise.
17887 * sysdeps/i386/configure: Regenerated.
17888 * sysdeps/x86_64/configure: Likewise.
17889 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
17890 (ASFLAGS-.op): Likewise.
17892 2017-12-15 Joseph Myers <joseph@codesourcery.com>
17894 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
17895 * posix/tst-mmap-offset.c (fname): Use /tmp.
17896 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
17898 2017-12-15 Steve Ellcey <sellcey@cavium.com>
17900 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
17902 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
17904 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
17907 2017-12-15 Joseph Myers <joseph@codesourcery.com>
17909 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
17910 --with-float=hard for arm-linux-gnueabihf configurations.
17913 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
17914 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
17915 ($(mo-installed)): Use $(objpfx)%.mo.
17916 (realclean): Remove rule.
17918 * po/Makefile (linguas): Remove rule and dependencies.
17919 (linguas.mo): Likewise.
17920 (.PHONY): Do not depend on linguas and linguas.mo.
17921 (podir): Remove variable.
17922 (pofiles): Likewise.
17923 [$(pofiles)] (%.po): Remove rule.
17925 * sysdeps/sparc/sparc32/Makefile
17926 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
17927 start-of-line whitespace in argument of echo.
17928 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
17929 with whitespace. Generate __wrap_.udiv alias.
17930 * sysdeps/sparc/sparc32/rem.S: Regenerated.
17931 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17932 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17933 * sysdeps/sparc/sparc32/urem.S: Likewise.
17935 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17937 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
17938 for aligned inputs.
17940 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
17942 * benchtests/bench-strcmp.c: Print output in JSON format.
17944 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
17946 2017-12-14 Florian Weimer <fweimer@redhat.com>
17950 * elf/dl-load.c (_dl_init_paths): Compute number of components in
17951 the expanded path string.
17953 2017-12-14 Florian Weimer <fweimer@redhat.com>
17957 * elf/dl-load.c (system_dirs): Update comment.
17958 (nsystem_dirs_len): Use array_length.
17959 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
17961 2017-12-14 Florian Weimer <fweimer@redhat.com>
17963 Simplify compiling most of support/ outside of glibc.
17964 * support/check_addrinfo.c: Include <string.h>.
17965 * support/check_dns_packet.c: Likewise.
17966 * support/check_hostent.c: Likewise.
17967 * support/support_can_chroot.c: Include <support/xunistd.h>.
17968 * support/support_format_addrinfo.c: Include <stdlib.h>
17969 * support/support_format_dns_packet.c: Include <stdbool.h>.
17970 * support/support_format_hostent.c: Include <stdlib.h>.
17971 * support/support_format_netent.c: Likewise.
17972 * support/support_write_string.c: Include <support/xunistd.h>.
17973 * support/xdlfcn.c: Include <stddef.h>.
17975 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
17977 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
17979 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17980 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17982 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17983 (sysdeps_routines): Add memset-niagara7.
17984 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
17986 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
17988 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
17989 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
17990 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
17991 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
17992 Add niagara7 option.
17993 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
17996 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17997 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
17998 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
18000 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
18002 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
18003 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
18004 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
18005 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
18006 and __memmove_niagara7.
18007 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
18008 Add niagara7 option.
18009 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
18010 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
18011 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
18012 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
18013 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
18015 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
18017 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
18018 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
18019 * sysdeps/sparc/sparc64/memmove.S: Likewise.
18020 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
18022 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
18023 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
18024 _dl_sparc_cap_flags array.
18025 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
18027 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
18029 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
18030 time whenever possible.
18032 2017-12-12 Carlos O'Donell <carlos@redhat.com>
18034 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
18035 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
18037 2017-12-12 Joseph Myers <joseph@codesourcery.com>
18039 * soft-fp/fmadf4.c: Move to ....
18040 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
18041 * soft-fp/fmasf4.c: Move to ....
18042 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
18043 * soft-fp/fmatf4.c: Move to ....
18044 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
18045 * sysdeps/ieee754/soft-fp/Makefile: New file.
18046 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
18047 * sysdeps/arm/preconfigure: Regenerated.
18048 * sysdeps/arm/nofpu/Implies: New file.
18049 * sysdeps/arm/s_fma.c: Remove file.
18050 * sysdeps/arm/s_fmaf.c: Likewise.
18051 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
18052 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
18053 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
18054 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
18055 * sysdeps/microblaze/s_fma.c: Remove file.
18056 * sysdeps/microblaze/s_fmaf.c: Likewise.
18057 * sysdeps/mips/mips32/nofpu/Implies: New file.
18058 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
18059 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
18060 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
18061 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
18062 * sysdeps/mips/ieee754/s_fma.c: Remove file.
18063 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
18064 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
18066 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
18067 * sysdeps/nios2/s_fma.c: Remove file.
18068 * sysdeps/nios2/s_fmaf.c: Likewise.
18069 * sysdeps/sh/nofpu/Implies: New file.
18070 * sysdeps/sh/s_fma.c: Remove file.
18071 * sysdeps/sh/s_fmaf.c: Likewise.
18072 * sysdeps/tile/Implies: Add ieee754/soft-fp.
18073 * sysdeps/tile/s_fma.c: Remove file.
18074 * sysdeps/tile/s_fmaf.c: Likewise.
18076 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
18078 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18079 Add s_cosf-sse2 and s_cosf-fma.
18080 (CFLAGS-s_cosf-fma.c): New.
18081 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
18082 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
18083 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
18085 2017-12-12 Steve Ellcey <sellcey@cavium.com>
18087 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
18089 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18091 * libio/Makefile (tests): Add tst-bz22415.
18092 (tst-bz22415-ENV): New rule.
18093 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
18094 (tests-special): Add tst-bz22415-mem.out.
18095 ($(objpfx)tst-bz22415-mem.out): New rule.
18096 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
18097 in case of a successful seek operation.
18098 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18099 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
18100 buffer is required.
18101 * libio/tst-bz22415.c: New test.
18103 * sysdeps/ia64/fpu/libm-test-ulps: Update.
18105 2017-12-12 James Clarke <jrtc27@jrtc27.com>
18107 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
18108 __IPC_64 to 0 to avoid IPC_64 being set.
18110 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18113 * math/bits/mathcalls.h (nextafter): Remove const.
18114 (nexttoward): Likewise.
18116 2017-12-12 Joseph Myers <joseph@codesourcery.com>
18118 * configure.ac (--with-fp): Remove configure option.
18119 (with_fp_cond): New variable.
18120 (libc_cv_with_fp): New configure test. Use this variable instead
18122 * configure: Regenerated.
18123 * config.make.in (with-fp): Use @libc_cv_with_fp@.
18124 * manual/install.texi (Configuring and compiling): Remove
18126 * INSTALL: Regenerated.
18127 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
18128 * sysdeps/mips/preconfigure (with_fp_cond): Define.
18129 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
18130 * sysdeps/sh/preconfigure (with_fp_cond): Define.
18131 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
18132 use --without-fp to configure glibc.
18134 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
18136 * manual/locale.texi (nl_langinfo): Fix a typo.
18138 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
18141 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
18143 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
18145 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
18146 (CFLAGS-argp-parse.c): Likewise.
18147 (CFLAGS-argp-fmtstream.c): Likewise.
18148 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
18149 (CPPFLAGS-sha512-crypt.c): Likewise.
18150 (CPPFLAGS-md5-crypt.c): Likewise.
18151 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
18152 (CFLAGS-stack_chk_fail_local.c): Likewise.
18153 (CFLAGS-backtrace.c): Likewise.
18154 (CFLAGS-sprintf_chk.c): Likewise.
18155 (CFLAGS-snprintf_chk.c): Likewise.
18156 (CFLAGS-vsprintf_chk.c): Likewise.
18157 (CFLAGS-vsnprintf_chk.c): Likewise.
18158 (CFLAGS-asprintf_chk.c): Likewise.
18159 (CFLAGS-vasprintf_chk.c): Likewise.
18160 (CFLAGS-obprintf_chk.c): Likewise.
18161 (CFLAGS-dprintf_chk.c): Likewise.
18162 (CFLAGS-vdprintf_chk.c): Likewise.
18163 (CFLAGS-printf_chk.c): Likewise.
18164 (CFLAGS-fprintf_chk.c): Likewise.
18165 (CFLAGS-vprintf_chk.c): Likewise.
18166 (CFLAGS-vfprintf_chk.c): Likewise.
18167 (CFLAGS-gets_chk.c): Likewise.
18168 (CFLAGS-fgets_chk.c): Likewise.
18169 (CFLAGS-fgets_u_chk.c): Likewise.
18170 (CFLAGS-fread_chk.c): Likewise.
18171 (CFLAGS-fread_u_chk.c): Likewise.
18172 (CFLAGS-swprintf_chk.c): Likewise.
18173 (CFLAGS-vswprintf_chk.c): Likewise.
18174 (CFLAGS-wprintf_chk.c): Likewise.
18175 (CFLAGS-fwprintf_chk.c): Likewise.
18176 (CFLAGS-vwprintf_chk.c): Likewise.
18177 (CFLAGS-vfwprintf_chk.c): Likewise.
18178 (CFLAGS-fgetws_chk.c): Likewise.
18179 (CFLAGS-fgetws_u_chk.c): Likewise.
18180 (CFLAGS-read_chk.c): Likewise.
18181 (CFLAGS-pread_chk.c): Likewise.
18182 (CFLAGS-pread64_chk.c): Likewise.
18183 (CFLAGS-recv_chk.c): Likewise.
18184 (CFLAGS-recvfrom_chk.c): Likewise.
18185 (CFLAGS-tst-longjmp_chk.c): Likewise.
18186 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
18187 (CFLAGS-tst-longjmp_chk2.c): Likewise.
18188 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
18189 (CFLAGS-tst-longjmp_chk3.c): Likewise.
18190 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18191 (CFLAGS-tst-chk1.c): Likewise.
18192 (CFLAGS-tst-chk2.c): Likewise.
18193 (CFLAGS-tst-chk3.c): Likewise.
18194 (CFLAGS-tst-chk4.cc): Likewise.
18195 (CFLAGS-tst-chk5.cc): Likewise.
18196 (CFLAGS-tst-chk6.cc): Likewise.
18197 (CFLAGS-tst-lfschk1.c): Likewise.
18198 (CFLAGS-tst-lfschk2.c): Likewise.
18199 (CFLAGS-tst-lfschk3.c): Likewise.
18200 (CFLAGS-tst-lfschk4.cc): Likewise.
18201 (CFLAGS-tst-lfschk5.cc): Likewise.
18202 (CFLAGS-tst-lfschk6.cc): Likewise.
18203 (CFLAGS-tst-ssp-1.c): Likewise.
18204 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
18205 (CFLAGS-scandir64.c): Likewise.
18206 (CFLAGS-scandir-tail.c): Likewise.
18207 (CFLAGS-scandir64-tail.c): Likewise.
18208 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
18209 (CFLAGS-dl-tunables.c): Likewise.
18210 (CFLAGS-dl-runtime.c): Likewise.
18211 (CFLAGS-dl-lookup.c): Likewise.
18212 (CFLAGS-dl-iterate-phdr.c): Likewise.
18213 (CFLAGS-vismain.c): Likewise.
18214 (CFLAGS-tst-linkall-static.c): Likewise.
18215 (CFLAGS-tst-linkall-static.c): Likewise.
18216 (CPPFLAGS-dl-load.c): Likewise.
18217 (CFLAGS-ldconfig.c): Likewise.
18218 (CFLAGS-dl-cache.c): Likewise.
18219 (CFLAGS-cache.c): Likewise.
18220 (CFLAGS-rtld.c): Likewise.
18221 (CFLAGS-multiload.c): Likewise.
18222 (CFLAGS-filtmod1.c): Likewise.
18223 (CFLAGS-tst-align.c): Likewise.
18224 (CFLAGS-tst-align2.c): Likewise.
18225 (CFLAGS-tst-alignmod.c): Likewise.
18226 (CFLAGS-tst-alignmod2.c): Likewise.
18227 (CPPFLAGS-tst-execstack.c): Likewise.
18228 (CFLAGS-tst-ptrguard1-static.c): Likewise.
18229 (CFLAGS-tst-latepthreadmod.c): Likewise.
18230 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
18231 (CFLAGS-getgrnam_r.c): Likewise.
18232 (CFLAGS-getgrent_r.c): Likewise.
18233 (CFLAGS-getgrent.c): Likewise.
18234 (CFLAGS-fgetgrent.c): Likewise.
18235 (CFLAGS-fgetgrent_r.c): Likewise.
18236 (CFLAGS-putgrent.c): Likewise.
18237 (CFLAGS-initgroups.c): Likewise.
18238 (CFLAGS-getgrgid.c): Likewise.
18239 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
18240 (CFLAGS-getsgent.c): Likewise.
18241 (CFLAGS-fgetsgent.c): Likewise.
18242 (CFLAGS-fgetsgent_r.c): Likewise.
18243 (CFLAGS-putsgent.c): Likewise.
18244 (CFLAGS-getsgnam.c): Likewise.
18245 (CFLAGS-getsgnam_r.c): Likewise.
18246 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
18247 (CFLAGS-iconv_charmap.c): Likewise.
18248 (CFLAGS-dummy-repertoire.c): Likewise.
18249 (CFLAGS-charmap.c): Likewise.
18250 (CFLAGS-linereader.c): Likewise.
18251 (CFLAGS-simple-hash.c): Likewise.
18252 (CFLAGS-gconv_conf.c): Likewise.
18253 (CFLAGS-iconvconfig.c): Likewise.
18254 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18255 (CFLAGS-gethstbyad.c): Likewise.
18256 (CFLAGS-gethstbynm_r.c): Likewise.
18257 (CFLAGS-gethstbynm.c): Likewise.
18258 (CFLAGS-gethstbynm2_r.c): Likewise.
18259 (CFLAGS-gethstbynm2.c): Likewise.
18260 (CFLAGS-gethstent_r.c): Likewise.
18261 (CFLAGS-gethstent.c): Likewise.
18262 (CFLAGS-rcmd.c): Likewise.
18263 (CFLAGS-getnetbynm_r.c): Likewise.
18264 (CFLAGS-getnetbynm.c): Likewise.
18265 (CFLAGS-getnetbyad_r.c): Likewise.
18266 (CFLAGS-getnetbyad.c): Likewise.
18267 (CFLAGS-getnetent_r.c): Likewise.
18268 (CFLAGS-getnetent.c): Likewise.
18269 (CFLAGS-getaliasent_r.c): Likewise.
18270 (CFLAGS-getaliasent.c): Likewise.
18271 (CFLAGS-getrpcent_r.c): Likewise.
18272 (CFLAGS-getrpcent.c): Likewise.
18273 (CFLAGS-getservent_r.c): Likewise.
18274 (CFLAGS-getservent.c): Likewise.
18275 (CFLAGS-getprtent_r.c): Likewise.
18276 (CFLAGS-getprtent.c): Likewise.
18277 (CFLAGS-either_ntoh.c): Likewise.
18278 (CFLAGS-either_hton.c): Likewise.
18279 (CFLAGS-getnetgrent.c): Likewise.
18280 (CFLAGS-getnetgrent_r.c): Likewise.
18281 (CFLAGS-tst-checks-posix.c): Likewise.
18282 (CFLAGS-tst-sockaddr.c): Likewise.
18283 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
18284 (CFLAGS-tst-translit.c): Likewise.
18285 (CFLAGS-tst-gettext2.c): Likewise.
18286 (CFLAGS-tst-codeset.c): Likewise.
18287 (CFLAGS-tst-gettext3.c): Likewise.
18288 (CFLAGS-tst-gettext4.c): Likewise.
18289 (CFLAGS-tst-gettext5.c): Likewise.
18290 (CFLAGS-tst-gettext6.c): Likewise.
18291 * io/Makefile (CFLAGS-open.c): Likewise.
18292 (CFLAGS-open64.c): Likewise.
18293 (CFLAGS-creat.c): Likewise.
18294 (CFLAGS-creat64.c): Likewise.
18295 (CFLAGS-fcntl.c): Likewise.
18296 (CFLAGS-poll.c): Likewise.
18297 (CFLAGS-ppoll.c): Likewise.
18298 (CFLAGS-lockf.c): Likewise.
18299 (CFLAGS-statfs.c): Likewise.
18300 (CFLAGS-fstatfs.c): Likewise.
18301 (CFLAGS-statvfs.c): Likewise.
18302 (CFLAGS-fstatvfs.c): Likewise.
18303 (CFLAGS-fts.c): Likewise.
18304 (CFLAGS-fts64.c): Likewise.
18305 (CFLAGS-ftw.c): Likewise.
18306 (CFLAGS-ftw64.c): Likewise.
18307 (CFLAGS-lockf.c): Likewise.
18308 (CFLAGS-posix_fallocate.c): Likewise.
18309 (CFLAGS-posix_fallocate64.c): Likewise.
18310 (CFLAGS-fallocate.c): Likewise.
18311 (CFLAGS-fallocate64.c): Likewise.
18312 (CFLAGS-read.c): Likewise.
18313 (CFLAGS-write.c): Likewise.
18314 (CFLAGS-test-stat.c): Likewise.
18315 (CFLAGS-test-lfs.c): Likewise.
18316 * libio/Makefile (CFLAGS-fileops.c): Likewise.
18317 (CFLAGS-fputc.c): Likewise.
18318 (CFLAGS-fputwc.c): Likewise.
18319 (CFLAGS-freopen64.c): Likewise.
18320 (CFLAGS-freopen.c): Likewise.
18321 (CFLAGS-fseek.c): Likewise.
18322 (CFLAGS-fseeko64.c): Likewise.
18323 (CFLAGS-fseeko.c): Likewise.
18324 (CFLAGS-ftello64.c): Likewise.
18325 (CFLAGS-ftello.c): Likewise.
18326 (CFLAGS-fwide.c): Likewise.
18327 (CFLAGS-genops.c): Likewise.
18328 (CFLAGS-getc.c): Likewise.
18329 (CFLAGS-getchar.c): Likewise.
18330 (CFLAGS-getwc.c): Likewise.
18331 (CFLAGS-getwchar.c): Likewise.
18332 (CFLAGS-iofclose.c): Likewise.
18333 (CFLAGS-iofflush.c): Likewise.
18334 (CFLAGS-iofgetpos64.c): Likewise.
18335 (CFLAGS-iofgetpos.c): Likewise.
18336 (CFLAGS-iofgets.c): Likewise.
18337 (CFLAGS-iofgetws.c): Likewise.
18338 (CFLAGS-iofputs.c): Likewise.
18339 (CFLAGS-iofputws.c): Likewise.
18340 (CFLAGS-iofread.c): Likewise.
18341 (CFLAGS-iofsetpos64.c): Likewise.
18342 (CFLAGS-iofsetpos.c): Likewise.
18343 (CFLAGS-ioftell.c): Likewise.
18344 (CFLAGS-iofwrite.c): Likewise.
18345 (CFLAGS-iogetdelim.c): Likewise.
18346 (CFLAGS-iogetline.c): Likewise.
18347 (CFLAGS-iogets.c): Likewise.
18348 (CFLAGS-iogetwline.c): Likewise.
18349 (CFLAGS-ioputs.c): Likewise.
18350 (CFLAGS-ioseekoff.c): Likewise.
18351 (CFLAGS-ioseekpos.c): Likewise.
18352 (CFLAGS-iosetbuffer.c): Likewise.
18353 (CFLAGS-iosetvbuf.c): Likewise.
18354 (CFLAGS-ioungetc.c): Likewise.
18355 (CFLAGS-ioungetwc.c): Likewise.
18356 (CFLAGS-oldfileops.c): Likewise.
18357 (CFLAGS-oldiofclose.c): Likewise.
18358 (CFLAGS-oldiofgetpos64.c): Likewise.
18359 (CFLAGS-oldiofgetpos.c): Likewise.
18360 (CFLAGS-oldiofsetpos64.c): Likewise.
18361 (CFLAGS-oldiofsetpos.c): Likewise.
18362 (CFLAGS-peekc.c): Likewise.
18363 (CFLAGS-putc.c): Likewise.
18364 (CFLAGS-putchar.c): Likewise.
18365 (CFLAGS-putwc.c): Likewise.
18366 (CFLAGS-putwchar.c): Likewise.
18367 (CFLAGS-rewind.c): Likewise.
18368 (CFLAGS-wfileops.c): Likewise.
18369 (CFLAGS-wgenops.c): Likewise.
18370 (CFLAGS-oldiofopen.c): Likewise.
18371 (CFLAGS-iofopen.c): Likewise.
18372 (CFLAGS-iofopen64.c): Likewise.
18373 (CFLAGS-oldtmpfile.c): Likewise.
18374 (CFLAGS-tst_putwc.c): Likewise.
18375 * locale/Makefile (CFLAGS-md5.c): Likewise.
18376 (CFLAGS-charmap.c): Likewise.
18377 (CFLAGS-locfile.c): Likewise.
18378 (CFLAGS-charmap-dir.c): Likewise.
18379 * login/Makefile (CFLAGS-grantpt.c): Likewise.
18380 (CFLAGS-getpt.c): Likewise.
18381 (CFLAGS-pt_chown.c): Likewise.
18382 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
18383 (CFLAGS-obstack.c): Likewise.
18384 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
18385 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
18386 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
18387 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
18388 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
18389 (CFLAGS-test-tgmath.c): Likewise.
18390 (CFLAGS-test-tgmath2.c): Likewise.
18391 (CFLAGS-test-tgmath-ret.c): Likewise.
18392 (CFLAGS-test-powl.c): Likewise.
18393 (CFLAGS-test-snan.c): Likewise.
18394 (CFLAGS-test-signgam-finite.c): Likewise.
18395 (CFLAGS-test-signgam-finite-c99.c): Likewise.
18396 (CFLAGS-test-signgam-finite-c11.c): Likewise.
18397 (CFLAGS-test-signgam-uchar.c): Likewise.
18398 (CFLAGS-test-signgam-uchar-init.c): Likewise.
18399 (CFLAGS-test-signgam-uchar-static.c): Likewise.
18400 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
18401 (CFLAGS-test-signgam-uint.c): Likewise.
18402 (CFLAGS-test-signgam-uint-init.c): Likewise.
18403 (CFLAGS-test-signgam-uint-static.c): Likewise.
18404 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
18405 (CFLAGS-test-signgam-ullong.c): Likewise.
18406 (CFLAGS-test-signgam-ullong-init.c): Likewise.
18407 (CFLAGS-test-signgam-ullong-static.c): Likewise.
18408 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
18409 (CFLAGS-test-math-cxx11.cc): Likewise.
18410 (CFLAGS-test-math-isinff.cc): Likewise.
18411 (CFLAGS-test-math-iszero.cc): Likewise.
18412 (CFLAGS-test-math-issignaling.cc): Likewise.
18413 (CFLAGS-test-math-iscanonical.cc): Likewise.
18414 (CFLAGS-test-iszero-excess-precision.c): Likewise.
18415 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
18416 (CFLAGS-test-flt-eval-method.c): Likewise.
18417 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
18418 (CFLAGS-test-finite-macros.c): Likewise.
18419 * misc/Makefile (CFLAGS-select.c): Likewise.
18420 (CFLAGS-tsearch.c): Likewise.
18421 (CFLAGS-lsearch.c): Likewise.
18422 (CFLAGS-pselect.c): Likewise.
18423 (CFLAGS-readv.c): Likewise.
18424 (CFLAGS-writev.c): Likewise.
18425 (CFLAGS-preadv.c): Likewise.
18426 (CFLAGS-preadv64.c): Likewise.
18427 (CFLAGS-pwritev.c): Likewise.
18428 (CFLAGS-pwritev64.c): Likewise.
18429 (CFLAGS-preadv2.c): Likewise.
18430 (CFLAGS-preadv64v2.c): Likewise.
18431 (CFLAGS-pwritev2.c): Likewise.
18432 (CFLAGS-pwritev64v2.c): Likewise.
18433 (CFLAGS-usleep.c): Likewise.
18434 (CFLAGS-syslog.c): Likewise.
18435 (CFLAGS-error.c): Likewise.
18436 (CFLAGS-getpass.c): Likewise.
18437 (CFLAGS-mkstemp.c): Likewise.
18438 (CFLAGS-mkstemp64.c): Likewise.
18439 (CFLAGS-getsysstats.c): Likewise.
18440 (CFLAGS-getusershell.c): Likewise.
18441 (CFLAGS-err.c): Likewise.
18442 (CFLAGS-tst-tsearch.c): Likewise.
18443 (CFLAGS-msync.c): Likewise.
18444 (CFLAGS-fdatasync.c): Likewise.
18445 (CFLAGS-fsync.c): Likewise.
18446 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
18447 (CFLAGS-unwind.c): Likewise.
18448 (CFLAGS-unwind-forcedunwind.c): Likewise.
18449 (CFLAGS-pthread_cancel.c): Likewise.
18450 (CFLAGS-pthread_setcancelstate.c): Likewise.
18451 (CFLAGS-pthread_setcanceltype.c): Likewise.
18452 (CFLAGS-cancellation.c): Likewise.
18453 (CFLAGS-libc-cancellation.c): Likewise.
18454 (CFLAGS-pthread_exit.c): Likewise.
18455 (CFLAGS-forward.c): Likewise.
18456 (CFLAGS-pthread_testcancel.c): Likewise.
18457 (CFLAGS-pthread_join.c): Likewise.
18458 (CFLAGS-pthread_timedjoin.c): Likewise.
18459 (CFLAGS-pthread_once.c): Likewise.
18460 (CFLAGS-pthread_cond_wait.c): Likewise.
18461 (CFLAGS-sem_wait.c): Likewise.
18462 (CFLAGS-sem_timedwait.c): Likewise.
18463 (CFLAGS-fcntl.c): Likewise.
18464 (CFLAGS-lockf.c): Likewise.
18465 (CFLAGS-pread.c): Likewise.
18466 (CFLAGS-pread64.c): Likewise.
18467 (CFLAGS-pwrite.c): Likewise.
18468 (CFLAGS-pwrite64.c): Likewise.
18469 (CFLAGS-wait.c): Likewise.
18470 (CFLAGS-waitpid.c): Likewise.
18471 (CFLAGS-sigwait.c): Likewise.
18472 (CFLAGS-msgrcv.c): Likewise.
18473 (CFLAGS-msgsnd.c): Likewise.
18474 (CFLAGS-tcdrain.c): Likewise.
18475 (CFLAGS-open.c): Likewise.
18476 (CFLAGS-open64.c): Likewise.
18477 (CFLAGS-pause.c): Likewise.
18478 (CFLAGS-recv.c): Likewise.
18479 (CFLAGS-send.c): Likewise.
18480 (CFLAGS-accept.c): Likewise.
18481 (CFLAGS-sendto.c): Likewise.
18482 (CFLAGS-connect.c): Likewise.
18483 (CFLAGS-recvfrom.c): Likewise.
18484 (CFLAGS-recvmsg.c): Likewise.
18485 (CFLAGS-sendmsg.c): Likewise.
18486 (CFLAGS-close.c): Likewise.
18487 (CFLAGS-read.c): Likewise.
18488 (CFLAGS-write.c): Likewise.
18489 (CFLAGS-nanosleep.c): Likewise.
18490 (CFLAGS-sigsuspend.c): Likewise.
18491 (CFLAGS-msync.c): Likewise.
18492 (CFLAGS-fdatasync.c): Likewise.
18493 (CFLAGS-fsync.c): Likewise.
18494 (CFLAGS-pt-system.c): Likewise.
18495 (CFLAGS-tst-cleanup2.c): Likewise.
18496 (CFLAGS-tst-cleanupx2.c): Likewise.
18497 (CFLAGS-flockfile.c): Likewise.
18498 (CFLAGS-ftrylockfile.c): Likewise.
18499 (CFLAGS-funlockfile.c): Likewise.
18500 (CFLAGS-tst-initializers1.c): Likewise.
18501 (CFLAGS-tst-initializers1-c89.c): Likewise.
18502 (CFLAGS-tst-initializers1-c99.c): Likewise.
18503 (CFLAGS-tst-initializers1-c11.c): Likewise.
18504 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
18505 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
18506 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
18507 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
18508 (CFLAGS-nscd_getgr_r.c): Likewise.
18509 (CFLAGS-nscd_gethst_r.c): Likewise.
18510 (CFLAGS-nscd_getai.c): Likewise.
18511 (CFLAGS-nscd_initgroups.c): Likewise.
18512 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
18513 (CFLAGS-pause.c): Likewise.
18514 (CFLAGS-pread.c): Likewise.
18515 (CFLAGS-pread64.c): Likewise.
18516 (CFLAGS-pwrite.c): Likewise.
18517 (CFLAGS-pwrite64.c): Likewise.
18518 (CFLAGS-sleep.c): Likewise.
18519 (CFLAGS-wait.c): Likewise.
18520 (CFLAGS-waitid.c): Likewise.
18521 (CFLAGS-waitpid.c): Likewise.
18522 (CFLAGS-getopt.c): Likewise.
18523 (CFLAGS-wordexp.c): Likewise.
18524 (CFLAGS-sysconf.c): Likewise.
18525 (CFLAGS-pathconf.c): Likewise.
18526 (CFLAGS-fpathconf.c): Likewise.
18527 (CFLAGS-spawn.c): Likewise.
18528 (CFLAGS-spawnp.c): Likewise.
18529 (CFLAGS-spawni.c): Likewise.
18530 (CFLAGS-glob.c): Likewise.
18531 (CFLAGS-glob64.c): Likewise.
18532 (CFLAGS-getconf.c): Likewise.
18533 (CFLAGS-nanosleep.c): Likewise.
18534 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
18535 (CFLAGS-getpwent.c): Likewise.
18536 (CFLAGS-getpw.c): Likewise.
18537 (CFLAGS-fgetpwent_r.c): Likewise.
18538 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
18539 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
18540 (CFLAGS-mq_timedreceive.c): Likewise.
18541 (CFLAGS-mq_timedsend.c): Likewise.
18542 (CFLAGS-clock_nanosleep.c): Likewise.
18543 (CFLAGS-librt-cancellation.c): Likewise.
18544 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
18545 (CFLAGS-getspent.c): Likewise.
18546 (CFLAGS-fgetspent.c): Likewise.
18547 (CFLAGS-fgetspent_r.c): Likewise.
18548 (CFLAGS-putspent.c): Likewise.
18549 (CFLAGS-getspnam.c): Likewise.
18550 (CFLAGS-getspnam_r.c): Likewise.
18551 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
18552 (CFLAGS-sigsuspend.c): Likewise.
18553 (CFLAGS-sigtimedwait.c): Likewise.
18554 (CFLAGS-sigwait.c): Likewise.
18555 (CFLAGS-sigwaitinfo.c): Likewise.
18556 (CFLAGS-sigreturn.c): Likewise.
18557 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
18558 (CFLAGS-vfwprintf.c): Likewise.
18559 (CFLAGS-tmpfile.c): Likewise.
18560 (CFLAGS-tmpfile64.c): Likewise.
18561 (CFLAGS-tempname.c): Likewise.
18562 (CFLAGS-psignal.c): Likewise.
18563 (CFLAGS-vprintf.c): Likewise.
18564 (CFLAGS-cuserid.c): Likewise.
18565 (CFLAGS-errlist.c): Likewise.
18566 (CFLAGS-siglist.c): Likewise.
18567 (CFLAGS-scanf15.c): Likewise.
18568 (CFLAGS-scanf17.c): Likewise.
18569 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
18570 (CFLAGS-msort.c): Likewise.
18571 (CFLAGS-qsort.c): Likewise.
18572 (CFLAGS-system.c): Likewise.
18573 (CFLAGS-fmtmsg.c): Likewise.
18574 (CFLAGS-strfmon.c): Likewise.
18575 (CFLAGS-strfmon_l.c): Likewise.
18576 (CFLAGS-strfromd.c): Likewise.
18577 (CFLAGS-strfromf.c): Likewise.
18578 (CFLAGS-strfroml.c): Likewise.
18579 (CFLAGS-tst-bsearch.c): Likewise.
18580 (CFLAGS-tst-qsort.c): Likewise.
18581 (CFLAGS-tst-makecontext2.c): Likewise.
18582 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
18583 (CFLAGS-xnlm_prot.c): Likewise.
18584 (CFLAGS-xrstat.c): Likewise.
18585 (CFLAGS-xyppasswd.c): Likewise.
18586 (CFLAGS-xklm_prot.c): Likewise.
18587 (CFLAGS-xrex.c): Likewise.
18588 (CFLAGS-xsm_inter.c): Likewise.
18589 (CFLAGS-xmount.c): Likewise.
18590 (CFLAGS-xrusers.c): Likewise.
18591 (CFLAGS-xspray.c): Likewise.
18592 (CFLAGS-xnfs_prot.c): Likewise.
18593 (CFLAGS-xrquota.c): Likewise.
18594 (CFLAGS-xkey_prot.c): Likewise.
18595 (CFLAGS-auth_unix.c): Likewise.
18596 (CFLAGS-key_call.c): Likewise.
18597 (CFLAGS-pmap_rmt.c): Likewise.
18598 (CFLAGS-clnt_perr.c): Likewise.
18599 (CFLAGS-openchild.c): Likewise.
18600 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
18601 (CFLAGS-msgsnd.c): Likewise.
18602 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
18603 * time/Makefile (CFLAGS-tzfile.c): Likewise.
18604 (CFLAGS-tzset.c): Likewise.
18605 (CFLAGS-getdate.c): Likewise.
18606 (CFLAGS-test_time.c): Likewise.
18607 (CPPFLAGS-tst-tzname.c): Likewise.
18608 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
18609 (CFLAGS-zic.c): Likewise.
18610 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
18611 (CFLAGS-wcswidth.c): Likewise.
18612 (CFLAGS-wcstol.c): Likewise.
18613 (CFLAGS-wcstoul.c): Likewise.
18614 (CFLAGS-wcstoll.c): Likewise.
18615 (CFLAGS-wcstoull.c): Likewise.
18616 (CFLAGS-wcstod.c): Likewise.
18617 (CFLAGS-wcstold.c): Likewise.
18618 (CFLAGS-wcstof128.c): Likewise.
18619 (CFLAGS-wcstof.c): Likewise.
18620 (CFLAGS-wcstol_l.c): Likewise.
18621 (CFLAGS-wcstoul_l.c): Likewise.
18622 (CFLAGS-wcstoll_l.c): Likewise.
18623 (CFLAGS-wcstoull_l.c): Likewise.
18624 (CFLAGS-wcstod_l.c): Likewise.
18625 (CFLAGS-wcstold_l.c): Likewise.
18626 (CFLAGS-wcstof128_l.c): Likewise.
18627 (CFLAGS-wcstof_l.c): Likewise.
18628 (CPPFLAGS-tst-wchar-h.c): Likewise.
18629 (CPPFLAGS-wcstold_l.c): Likewise.
18631 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
18633 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
18635 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18636 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18638 * manual/tunables.texi (Hardware Capability Tunables): Document
18639 glibc.tune.cached_memopt.
18640 * sysdeps/powerpc/cpu-features.c: New file.
18641 * sysdeps/powerpc/cpu-features.h: New file.
18642 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
18643 _dl_powerpc_cpu_features.
18644 * sysdeps/powerpc/dl-tunables.list: New file.
18645 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
18646 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
18647 (INIT_ARCH): Initialize use_aligned_memopt.
18648 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
18649 IS_IN(rtld))]: Restrict dl_platform_init availability and
18650 initialize CPU features used by tunables.
18651 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
18652 Add memcpy-power8-cached.
18653 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
18654 __memcpy_power8_cached.
18655 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
18656 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
18659 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
18661 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
18662 (CFLAGS-noinl-tester.c): Likewise.
18663 (CFLAGS-tst-strlen.c): Likewise.
18664 (CFLAGS-stratcliff.c): Likewise.
18665 (CFLAGS-test-ffs.c): Likewise.
18666 (CFLAGS-tst-inlcall.c): Likewise.
18667 (CFLAGS-tst-xbzero-opt.c): Likewise.
18668 (CFLAGS-memcpy.c): Likewise.
18669 (CFLAGS-wordcopy.c): Likewise.
18671 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18673 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
18674 Store r15 on stack and add cfi rule.
18675 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
18678 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
18681 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
18684 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
18686 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18687 Add s_sinf-sse2 and s_sinf-fma.
18688 (CFLAGS-s_sinf-fma.c): New.
18689 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
18690 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
18691 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
18693 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
18695 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
18697 2017-12-07 Joseph Myers <joseph@codesourcery.com>
18700 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
18701 part of result to imaginary part of argument if it is zero and the
18702 real part of the argument is not finite.
18703 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
18704 of result to real part of argument if it is zero and the imaginary
18705 part of the argument is not finite.
18707 2017-12-07 Mike FABIAN <mfabian@redhat.com>
18710 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
18711 and to the list of locales to be built for testing.
18712 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
18713 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
18714 and build the collation rules upon that.
18716 2017-12-07 Joseph Myers <joseph@codesourcery.com>
18718 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
18719 * manual/math.texi (Mathematics): Document support for _Float32.
18720 * math/Makefile (test-types): Add float32.
18721 * math/Versions (GLIBC_2.27): Add _Float32 functions.
18722 * stdlib/Versions (GLIBC_2.27): Likewise.
18723 * wcsmbs/Versions (GLIBC_2.27): Likewise.
18724 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
18725 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18726 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18727 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18728 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18729 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18730 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18731 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18732 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18733 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18734 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18735 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18736 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18737 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18738 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18739 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18740 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18741 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18742 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18743 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18744 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
18746 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18747 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18748 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18749 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18750 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
18762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
18764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18768 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18769 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18770 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18771 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18772 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18773 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18774 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18775 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18776 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18777 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18778 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18780 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18782 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18784 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18786 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18787 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18788 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18789 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18790 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18791 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18792 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18793 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18795 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18797 * stdlib/strtof.c: Include <bits/floatn.h>
18798 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
18799 and later undefine as macro. Define as weak alias if
18801 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
18802 and later undefine as macro. Define as weak alias if
18804 * stdlib/strtof_l.c: Include <bits/floatn.h>
18805 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
18806 and later undefine as macro. Define as weak alias if
18808 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
18809 and later undefine as macro. Define as weak alias if
18812 * stdlib/strfromf.c: Include <bits/floatn.h>.
18813 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
18814 and later undefine as macro and define as weak alias.
18816 * math/test-float32.h: New file.
18818 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
18819 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
18820 (libm_alias_float_other_r): Create f32 alias.
18821 (libm_alias_float_r): Use semicolon before call to
18822 libm_alias_float_other_r.
18824 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
18825 second argument to libm_alias_float_other.
18826 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
18827 second argument to libm_alias_float_other.
18828 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
18829 argument to libm_alias_float_other.
18832 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
18833 real part of result for argument 0 + i * NaN.
18834 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
18835 results for tests of 0 + i * NaN.
18837 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18839 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18841 2017-12-06 David S. Miller <davem@davemloft.net>
18843 * sysdeps/sparc/fpu/libm-test-ulps: Update
18844 exp_{downward,towardzero,upward} ulps.
18846 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18848 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
18851 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
18853 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
18855 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
18857 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
18860 2017-12-06 Mike FABIAN <mfabian@redhat.com>
18863 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
18864 and to the list of locales to be built for testing.
18865 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
18866 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
18867 and build the collation rules upon that.
18869 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18871 * NEWS: Add sinf to list of optimized functions.
18873 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18875 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
18876 (__HAVE_FLOAT32X): Likewise.
18877 * manual/math.texi (Mathematics): Document support for _Float64
18879 * math/Makefile (test-types): Add float64 and float32x.
18880 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
18882 * stdlib/Versions (GLIBC_2.27): Likewise.
18883 * wcsmbs/Versions (GLIBC_2.27): Likewise.
18884 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
18885 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18886 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18887 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18888 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18889 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18890 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18891 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18892 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18893 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18894 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18895 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18896 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18897 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18898 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18899 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18900 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18901 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18902 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18903 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18904 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
18906 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18907 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18908 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18909 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18910 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
18921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
18923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18927 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18928 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18929 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18930 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18931 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18932 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18933 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18934 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18935 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18936 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18939 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18941 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18943 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18945 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18946 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18947 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18948 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18949 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18950 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18951 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18952 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18954 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18956 * bits/floatn-common.h: Include <bits/long-double.h>.
18957 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18958 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
18959 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18960 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
18961 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18962 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
18963 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18964 (__builtin_huge_valf64): Use __builtin_huge_vall.
18965 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18966 (__builtin_inff64): Use __builtin_infl.
18967 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18968 (__builtin_nanf64): Use __builtin_nanl.
18969 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18970 (__builtin_nansf64): Use __builtin_nansl.
18972 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
18973 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18974 Carlos O'Donnell <carlos@redhat.com>
18976 * elf/dl-tunables.list: Add elision parameters.
18977 * manual/tunables.texi: Add entries about elision tunable.
18978 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
18979 Add callback functions to dynamically enable/disable elision.
18980 Add multiple callbacks functions to set elision parameters.
18981 Deleted __libc_enable_secure check.
18982 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
18983 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
18984 * configure: Regenerated.
18985 * configure.ac: Option enable_lock_elision was deleted.
18986 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
18987 * config.make.in: Remove references to enable_lock_elision.
18988 * manual/install.texi: Elision configure option was removed.
18989 * INSTALL: Regenerated to remove enable_lock_elision.
18991 Disable elision so it can verify error case for destroying a mutex.
18992 * sysdeps/powerpc/nptl/elide.h:
18993 Cleanup ENABLE_LOCK_ELISION check.
18994 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
18995 * sysdeps/s390/configure: Regenerated.
18996 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
18997 * nptl/tst-mutex8.c:
18998 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
18999 * sysdeps/powerpc/powerpc32/sysdep.h:
19000 Deleted all ENABLE_LOCK_ELISION checks.
19001 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19002 * sysdeps/powerpc/sysdep.h: Likewise.
19003 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
19004 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
19005 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19006 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19007 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19008 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
19009 enable-lock-elision.
19011 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19013 * stdlib/strtod.c: Include <bits/floatn.h>.
19014 (BUILD_DOUBLE): New macro.
19015 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19016 (strtof64): Define and later undefine as macro. Define as weak
19017 alias if [!USE_WIDE_CHAR].
19018 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19019 (wcstof64): Define and later undefine as macro. Define as weak
19020 alias if [USE_WIDE_CHAR].
19021 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19022 (strtof32x): Define and later undefine as macro. Define as weak
19023 alias if [!USE_WIDE_CHAR].
19024 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19025 (wcstof32x): Define and later undefine as macro. Define as weak
19026 alias if [USE_WIDE_CHAR].
19027 * stdlib/strtod_l.c: Include <bits/floatn.h>.
19028 (BUILD_DOUBLE): New macro.
19029 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19030 (strtof64_l): Define and later undefine as macro. Define as weak
19031 alias if [!USE_WIDE_CHAR].
19032 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19033 (wcstof64_l): Define and later undefine as macro. Define as weak
19034 alias if [USE_WIDE_CHAR].
19035 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19036 (strtof32x_l): Define and later undefine as macro. Define as weak
19037 alias if [!USE_WIDE_CHAR].
19038 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19039 (wcstof32x_l): Define and later undefine as macro. Define as weak
19040 alias if [USE_WIDE_CHAR].
19042 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19044 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
19045 (reduced): Use ones as double instead of integer.
19047 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
19049 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
19051 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19053 * stdlib/strfromd.c: Include <bits/floatn.h>.
19054 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
19055 and later undefine as macro and define as weak alias.
19056 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
19059 * math/test-float32x.h: New file.
19060 * math/test-float64.h: Likewise.
19062 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
19063 (libm_alias_double_other_r_f64): New macro.
19064 (libm_alias_double_other_r_f32x): Likewise.
19065 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
19066 libm_alias_double_other_r_f32x.
19067 (libm_alias_double_r): Use semicolon before call to
19068 libm_alias_double_other_r.
19069 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
19071 (libm_alias_double_other_r_f64): New macro.
19072 (libm_alias_double_other_r_f32x): Likewise.
19073 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
19074 libm_alias_double_other_r_f32x.
19076 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
19078 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
19080 (SINF_FUNC): Likewise. Replace floor with simple casts.
19082 2017-12-05 Mike FABIAN <mfabian@redhat.com>
19085 * localedata/Makefile: Add et_EE.UTF-8 to test-input
19086 and to the list of locales to be built for testing.
19087 * localedata/et_EE.UTF-8.in: New file for testing the collation.
19088 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
19089 and build the collation rules upon that.
19091 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
19093 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
19094 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
19095 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
19096 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
19097 instead of __insn__xxx.
19098 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
19099 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
19100 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
19101 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
19102 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
19103 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
19105 2017-12-05 Florian Weimer <fweimer@redhat.com>
19107 Linux: Implement interfaces for memory protection keys
19108 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
19110 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
19111 * support/xunistd.h (xsysconf): Declare.
19112 * support/xraise.c: New file.
19113 * support/xsigaction.c: Likewise.
19114 * support/xsignal.c: Likewise.
19115 * support/xsysconf.c: Likewise.
19116 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
19117 pkey_set, pkey_get, pkey_mprotect.
19118 [misc] (tests): Add tst-pkey.
19119 (tst-pkey): Link with -lpthread.
19120 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
19121 pkey_free, pkey_set, pkey_get, pkey_mprotect.
19122 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
19123 (PKEY_DISABLE_WRITE): Define.
19124 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
19126 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
19127 (SEGV_PKUERR): Add.
19128 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
19129 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
19130 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
19131 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
19133 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
19134 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
19135 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
19136 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
19137 * sysdeps/unix/sysv/linux/**.abilist: Update.
19139 2017-12-05 Florian Weimer <fweimer@redhat.com>
19141 * support/tst-test_compare.c (subprocess): Use long long instead
19142 of long argument for consistent type width across 32-bit and
19143 64-bit architectures.
19144 (do_test): Adjust expected output.
19146 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19148 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
19149 (cosf): Define using libm_alias_float.
19150 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
19151 (fabsf): Define using libm_alias_float.
19152 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
19153 (fmaf): Define using libm_alias_float.
19154 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
19155 (rintf): Define using libm_alias_float.
19156 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
19157 (sinf): Define using libm_alias_float.
19158 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
19159 <libm-alias-float.h>.
19160 (modff): Define using libm_alias_float.
19161 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
19162 <libm-alias-float.h>.
19163 (logbf): Define using libm_alias_float.
19164 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
19165 <libm-alias-float.h>.
19166 (ceilf): Define using libm_alias_float.
19167 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
19168 <libm-alias-float.h>.
19169 (copysignf): Define using libm_alias_float.
19170 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
19171 <libm-alias-float.h>.
19172 (floorf): Define using libm_alias_float.
19173 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
19174 <libm-alias-float.h>.
19175 (llrintf): Define using libm_alias_float.
19176 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
19177 <libm-alias-float.h>.
19178 (llroundf): Define using libm_alias_float.
19179 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
19180 <libm-alias-float.h>.
19181 (lrintf): Define using libm_alias_float.
19182 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
19183 <libm-alias-float.h>.
19184 (lroundf): Define using libm_alias_float.
19185 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
19186 <libm-alias-float.h>.
19187 (nearbyintf): Define using libm_alias_float.
19188 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
19189 <libm-alias-float.h>.
19190 (rintf): Define using libm_alias_float.
19191 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
19192 <libm-alias-float.h>.
19193 (roundf): Define using libm_alias_float.
19194 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
19195 <libm-alias-float.h>.
19196 (truncf): Define using libm_alias_float.
19197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
19198 Include <libm-alias-float.h>.
19199 (ceilf): Define using libm_alias_float.
19200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
19201 Include <libm-alias-float.h>.
19202 (copysignf): Define using libm_alias_float.
19203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
19204 Include <libm-alias-float.h>.
19205 (floorf): Define using libm_alias_float.
19206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
19207 Include <libm-alias-float.h>.
19208 (llrintf): Define using libm_alias_float.
19209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
19210 Include <libm-alias-float.h>.
19211 (llroundf): Define using libm_alias_float.
19212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
19213 Include <libm-alias-float.h>.
19214 (logbf): Define using libm_alias_float.
19215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
19216 Include <libm-alias-float.h>.
19217 (lrintf): Define using libm_alias_float.
19218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
19219 Include <libm-alias-float.h>.
19220 (lroundf): Define using libm_alias_float.
19221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
19222 Include <libm-alias-float.h>.
19223 (modff): Define using libm_alias_float.
19224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
19225 Include <libm-alias-float.h>.
19226 (roundf): Define using libm_alias_float.
19227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
19228 Include <libm-alias-float.h>.
19229 (truncf): Define using libm_alias_float.
19230 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
19231 <libm-alias-float.h>.
19232 (llrintf): Define using libm_alias_float.
19233 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
19234 <libm-alias-float.h>.
19235 (llroundf): Define using libm_alias_float.
19236 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
19237 <libm-alias-float.h>.
19238 (ceilf): Define using libm_alias_float.
19239 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
19240 <libm-alias-float.h>.
19241 (floorf): Define using libm_alias_float.
19242 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
19243 <libm-alias-float.h>.
19244 (llroundf): Define using libm_alias_float.
19245 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
19246 <libm-alias-float.h>.
19247 (lroundf): Define using libm_alias_float.
19248 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
19249 <libm-alias-float.h>.
19250 (roundf): Define using libm_alias_float.
19251 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
19252 <libm-alias-float.h>.
19253 (truncf): Define using libm_alias_float.
19254 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
19255 <libm-alias-float.h>.
19256 (copysignf): Define using libm_alias_float.
19257 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
19258 <libm-alias-float.h>.
19259 (llrintf): Define using libm_alias_float.
19260 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
19261 <libm-alias-float.h>.
19262 (llroundf): Define using libm_alias_float.
19263 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
19264 <libm-alias-float.h>.
19265 (lrintf): Define using libm_alias_float.
19266 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
19267 <libm-alias-float.h>.
19268 (lroundf): Define using libm_alias_float.
19269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
19270 <libm-alias-float.h>.
19271 (ceilf): Define using libm_alias_float.
19272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
19273 <libm-alias-float.h>.
19274 (copysignf): Define using libm_alias_float.
19275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
19276 <libm-alias-float.h>.
19277 (cosf): Define using libm_alias_float.
19278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
19279 <libm-alias-float.h>.
19280 (floorf): Define using libm_alias_float.
19281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
19282 <libm-alias-float.h>.
19283 (llrintf): Define using libm_alias_float.
19284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
19285 <libm-alias-float.h>.
19286 (llroundf): Define using libm_alias_float.
19287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
19288 <libm-alias-float.h>.
19289 (logbf): Define using libm_alias_float.
19290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
19291 <libm-alias-float.h>.
19292 (modff): Define using libm_alias_float.
19293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
19294 <libm-alias-float.h>.
19295 (roundf): Define using libm_alias_float.
19296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
19297 <libm-alias-float.h>.
19298 (sinf): Define using libm_alias_float.
19299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
19300 <libm-alias-float.h>.
19301 (truncf): Define using libm_alias_float.
19302 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
19303 <libm-alias-float.h>.
19304 (ceilf): Define using libm_alias_float.
19305 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
19306 <libm-alias-float.h>.
19307 (copysignf): Define using libm_alias_float.
19308 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
19309 <libm-alias-float.h>.
19310 (floorf): Define using libm_alias_float.
19311 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
19312 <libm-alias-float.h>.
19313 (llrintf): Define using libm_alias_float.
19314 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
19315 <libm-alias-float.h>.
19316 (llroundf): Define using libm_alias_float.
19317 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
19318 <libm-alias-float.h>.
19319 (nearbyintf): Define using libm_alias_float.
19320 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
19321 <libm-alias-float.h>.
19322 (rintf): Define using libm_alias_float.
19323 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
19324 <libm-alias-float.h>.
19325 (roundf): Define using libm_alias_float.
19326 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
19327 <libm-alias-float.h>.
19328 (truncf): Define using libm_alias_float.
19329 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
19330 <libm-alias-float.h>.
19331 (ceilf): Define using libm_alias_float.
19332 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
19333 <libm-alias-float.h>.
19334 (floorf): Define using libm_alias_float.
19335 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
19336 <libm-alias-float.h>.
19337 (llroundf): Define using libm_alias_float.
19338 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
19339 <libm-alias-float.h>.
19340 (roundf): Define using libm_alias_float.
19341 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
19342 <libm-alias-float.h>.
19343 (truncf): Define using libm_alias_float.
19344 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
19345 <libm-alias-float.h>.
19346 (copysignf): Define using libm_alias_float.
19347 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
19348 <libm-alias-float.h>.
19349 (llrintf): Define using libm_alias_float.
19350 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
19351 <libm-alias-float.h>.
19352 (llroundf): Define using libm_alias_float.
19353 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
19354 <libm-alias-float.h>.
19355 (cosf): Define using libm_alias_float.
19356 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
19357 <libm-alias-float.h>.
19358 (llrintf): Define using libm_alias_float.
19359 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
19360 <libm-alias-float.h>.
19361 (llroundf): Define using libm_alias_float.
19362 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
19363 <libm-alias-float.h>.
19364 (sinf): Define using libm_alias_float.
19366 2017-12-04 Florian Weimer <fweimer@redhat.com>
19368 * support/check.h (TEST_COMPARE): Define.
19369 (support_test_compare_failure): Declare.
19370 * support/Makefile (libsupport-routines): Add
19371 support_test_compare_failure.
19372 (tests): Add tst-test_compare.
19373 * support /support_test_compare_failure.c: New file.
19374 * support/tst-test_compare.c: Likewise.
19376 2017-12-04 Mike FABIAN <mfabian@redhat.com>
19379 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
19380 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
19381 available, this rewrite of the collation rules does reproduce
19382 the test file in the same order.
19384 2017-12-04 Mike FABIAN <mfabian@redhat.com>
19387 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
19388 digraphs in the month and day names. Using single code points for
19389 digraphs is deprecated. While there are dedicated Unicode
19390 codepoints, for the digraphs, these are included for backwards
19391 compatibility and modern texts use a sequence of Basic Latin
19392 characters. See: https://www.unicode.org/faq/ligature_digraph.html
19393 This makes the month and day names agree exactly with CLDR now,
19394 CLDR does not use the single code points for the digraphs either.
19396 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
19398 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
19400 2017-12-04 Joseph Myers <joseph@codesourcery.com>
19402 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
19405 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
19407 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
19408 Define only for libc.so.
19410 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
19412 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19413 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
19414 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
19415 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
19416 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19418 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19421 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
19423 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
19426 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
19427 PREINIT_FUNCTION_WEAK is nonzero.
19428 (gmon_initializer): New function. Put procedure label for it in
19429 .init_array section.
19430 (_init): Don't call PREINIT_FUNCTION.
19431 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
19432 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
19433 value when map argument is null.
19435 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
19436 depi instruction from PIC pc-relative sequence.
19437 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
19438 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
19439 (elf_machine_load_address): Likewise.
19440 (elf_machine_runtime_setup): Likewise.
19442 2017-12-02 Joseph Myers <joseph@codesourcery.com>
19444 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
19445 <libm-alias-double.h>.
19446 (logb): Define using libm_alias_double.
19447 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
19448 <libm-alias-double.h>.
19449 (copysign): Define using libm_alias_double.
19450 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
19451 <libm-alias-double.h>.
19452 (llrint): Define using libm_alias_double.
19453 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
19454 <libm-alias-double.h>.
19455 (llround): Define using libm_alias_double.
19456 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
19457 <libm-alias-double.h>.
19458 (lrint): Define using libm_alias_double.
19459 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
19460 <libm-alias-double.h>.
19461 (lround): Define using libm_alias_double.
19462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
19463 Include <libm-alias-double.h>.
19464 (copysign): Define using libm_alias_double.
19465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
19466 Include <libm-alias-double.h>.
19467 (llrint): Define using libm_alias_double.
19468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
19469 Include <libm-alias-double.h>.
19470 (llround): Define using libm_alias_double.
19471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
19472 <libm-alias-double.h>.
19473 (logb): Define using libm_alias_double.
19474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
19475 Include <libm-alias-double.h>.
19476 (lrint): Define using libm_alias_double.
19477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
19478 Include <libm-alias-double.h>.
19479 (lround): Define using libm_alias_double.
19480 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
19481 <libm-alias-double.h>.
19482 (llrint): Define using libm_alias_double.
19483 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
19484 <libm-alias-double.h>.
19485 (llround): Define using libm_alias_double.
19486 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
19487 <libm-alias-double.h>.
19488 (llround): Define using libm_alias_double.
19489 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
19490 <libm-alias-double.h>.
19491 (lround): Define using libm_alias_double.
19492 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
19493 <libm-alias-double.h>.
19494 (copysign): Define using libm_alias_double.
19495 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
19496 <libm-alias-double.h>.
19497 (llrint): Define using libm_alias_double.
19498 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
19499 <libm-alias-double.h>.
19500 (llround): Define using libm_alias_double.
19501 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
19502 <libm-alias-double.h>.
19503 (lrint): Define using libm_alias_double.
19504 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
19505 <libm-alias-double.h>.
19506 (lround): Define using libm_alias_double.
19507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
19508 <libm-alias-double.h>.
19509 (copysign): Define using libm_alias_double.
19510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
19511 <libm-alias-double.h>.
19512 (llrint): Define using libm_alias_double.
19514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
19515 <libm-alias-double.h>.
19516 (llround): Define using libm_alias_double.
19517 (lround): Likewise.
19518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
19519 <libm-alias-double.h>.
19520 (logb): Define using libm_alias_double.
19521 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
19522 <libm-alias-double.h>.
19523 (copysign): Define using libm_alias_double.
19524 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
19525 <libm-alias-double.h>.
19526 (llrint): Define using libm_alias_double.
19528 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
19529 <libm-alias-double.h>.
19530 (llround): Define using libm_alias_double.
19531 (lround): Likewise.
19532 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
19533 <libm-alias-double.h>.
19534 (llround): Define using libm_alias_double.
19535 (lround): Likewise.
19536 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
19537 <libm-alias-double.h>.
19538 (copysign): Define using libm_alias_double.
19539 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
19540 <libm-alias-double.h>.
19541 (llrint): Define using libm_alias_double.
19543 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
19544 <libm-alias-double.h>.
19545 (llround): Define using libm_alias_double.
19546 (lround): Likewise.
19547 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
19548 <libm-alias-double.h>.
19549 (llrint): Define using libm_alias_double.
19551 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
19552 <libm-alias-double.h>.
19553 (llround): Define using libm_alias_double.
19554 (lround): Likewise.
19556 2017-12-01 Joseph Myers <joseph@codesourcery.com>
19558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
19559 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
19560 compat symbol based on llround.
19562 * sysdeps/powerpc/power7/fpu/s_logb.c
19563 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
19564 symbol based on __logb, not on logb.
19565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
19566 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
19567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
19568 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
19570 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
19571 (rint): Define using libm_alias_double.
19572 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
19573 <libm-alias-double.h>.
19574 (modf): Define using libm_alias_double.
19575 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
19576 <libm-alias-double.h>.
19577 (ceil): Define using libm_alias_double.
19578 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
19579 <libm-alias-double.h>.
19580 (floor): Define using libm_alias_double.
19581 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
19582 <libm-alias-double.h>.
19583 (nearbyint): Define using libm_alias_double.
19584 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
19585 <libm-alias-double.h>.
19586 (rint): Define using libm_alias_double.
19587 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
19588 <libm-alias-double.h>.
19589 (round): Define using libm_alias_double.
19590 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
19591 <libm-alias-double.h>.
19592 (trunc): Define using libm_alias_double.
19593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
19594 <libm-alias-double.h>.
19595 (ceil): Define using libm_alias_double.
19596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
19597 Include <libm-alias-double.h>.
19598 (floor): Define using libm_alias_double.
19599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
19600 <libm-alias-double.h>.
19601 (modf): Define using libm_alias_double.
19602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
19603 Include <libm-alias-double.h>.
19604 (round): Define using libm_alias_double.
19605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
19606 Include <libm-alias-double.h>.
19607 (trunc): Define using libm_alias_double.
19608 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
19609 <libm-alias-double.h>.
19610 (ceil): Define using libm_alias_double.
19611 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
19612 <libm-alias-double.h>.
19613 (floor): Define using libm_alias_double.
19614 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
19615 <libm-alias-double.h>.
19616 (round): Define using libm_alias_double.
19617 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
19618 <libm-alias-double.h>.
19619 (trunc): Define using libm_alias_double.
19620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
19621 <libm-alias-double.h>.
19622 (ceil): Define using libm_alias_double.
19623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
19624 <libm-alias-double.h>.
19625 (floor): Define using libm_alias_double.
19626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
19627 <libm-alias-double.h>.
19628 (modf): Define using libm_alias_double.
19629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
19630 <libm-alias-double.h>.
19631 (round): Define using libm_alias_double.
19632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
19633 <libm-alias-double.h>.
19634 (trunc): Define using libm_alias_double.
19635 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
19636 <libm-alias-double.h>.
19637 (ceil): Define using libm_alias_double.
19638 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
19639 <libm-alias-double.h>.
19640 (floor): Define using libm_alias_double.
19641 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
19642 <libm-alias-double.h>.
19643 (nearbyint): Define using libm_alias_double.
19644 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
19645 <libm-alias-double.h>.
19646 (rint): Define using libm_alias_double.
19647 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
19648 <libm-alias-double.h>.
19649 (round): Define using libm_alias_double.
19650 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
19651 <libm-alias-double.h>.
19652 (trunc): Define using libm_alias_double.
19653 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
19654 <libm-alias-double.h>.
19655 (ceil): Define using libm_alias_double.
19656 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
19657 <libm-alias-double.h>.
19658 (floor): Define using libm_alias_double.
19659 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
19660 <libm-alias-double.h>.
19661 (round): Define using libm_alias_double.
19662 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
19663 <libm-alias-double.h>.
19664 (trunc): Define using libm_alias_double.
19666 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
19667 (fabs): Define using libm_alias_double.
19668 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
19669 (fma): Define using libm_alias_double.
19670 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
19671 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
19672 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
19673 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
19675 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19677 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
19679 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
19680 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
19681 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
19683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
19684 due redirect macro.
19686 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
19688 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
19690 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19692 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
19693 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
19694 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
19695 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
19697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19698 (libm-sysdep_routines): Add s_nearbyintf-generic and
19699 s_nearbyint-generic.
19700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
19702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
19703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
19705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
19707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
19709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
19712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19713 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
19714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
19716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
19717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
19719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
19720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
19721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
19723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19724 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
19725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
19727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
19728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
19730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
19731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
19732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
19734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19735 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
19736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
19738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
19739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
19741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
19742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
19743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
19745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19746 (sysdep_calls): New rule.
19747 (sysdep_routines): Use sysdep_calls as base.
19748 (libm-sysdep_routines): Add generic rule for symbols shared with
19749 libc. Add s_copysign-generic and s_copysign-generic objects.
19750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
19752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
19753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
19755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
19756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
19757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
19759 2017-12-01 Mike FABIAN <mfabian@redhat.com>
19762 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
19763 the list of locales to be built for testing.
19764 * localedata/is_IS.UTF-8.in: New file.
19765 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
19768 2017-12-01 Joseph Myers <joseph@codesourcery.com>
19770 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
19771 <libm-alias-float.h>.
19772 (fabsf): Define using libm_alias_float.
19774 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
19776 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
19778 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19780 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
19781 <libm-alias-float.h>.
19782 (fabsf): Define using libm_alias_float.
19783 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
19784 <libm-alias-float.h>.
19785 (lrintf): Define using libm_alias_float.
19786 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
19787 <libm-alias-float.h>.
19788 (rintf): Define using libm_alias_float.
19790 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
19791 <libm-alias-double.h>.
19792 (fabs): Define using libm_alias_double.
19793 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
19794 <libm-alias-double.h>.
19795 (lrint): Define using libm_alias_double.
19796 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
19797 <libm-alias-double.h>.
19798 (rint): Define using libm_alias_double.
19800 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
19801 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
19802 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
19803 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
19804 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
19805 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
19806 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
19807 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
19808 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
19809 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
19810 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
19811 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
19812 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
19813 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
19814 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
19815 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
19816 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
19817 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
19819 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
19820 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
19821 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
19823 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
19824 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
19825 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
19827 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
19828 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
19829 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
19830 s_expm1_template.c.
19831 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
19832 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
19833 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
19835 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
19836 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
19837 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
19838 s_floor_template.c.
19839 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
19840 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
19841 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
19842 s_frexp_template.c.
19843 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
19844 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
19845 s_lrint_template.c.
19846 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
19847 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
19848 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
19850 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
19851 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
19852 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
19853 s_nearbyint_template.c.
19854 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
19855 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
19856 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
19857 s_remquo_template.c.
19858 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
19859 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
19860 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
19862 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
19863 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
19864 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
19866 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
19867 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
19868 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
19869 s_sincos_template.c.
19870 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
19871 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
19872 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
19874 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
19875 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
19876 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
19878 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
19879 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
19880 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
19881 s_trunc_template.c.
19882 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
19883 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
19884 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
19885 s_atan.c instead of including s_atan.c.
19886 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
19887 s_atanf.c instead of including s_atanf.c.
19888 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
19889 s_atanl.c instead of including s_atanl.c.
19890 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
19891 instead of s_atan.c.
19892 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
19893 instead of s_atanf.c.
19894 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
19895 instead of s_atanl.c.
19897 * scripts/update-copyrights: Do not handle intl/plural.c
19900 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
19903 * configure.ac (BISON): Require to be present.
19904 * configure: Regenerated.
19905 * intl/Makefile (generated): Add plural.c.
19906 [$(BISON) != no]: Make code unconditional.
19907 (plural.c): Change rule to $(objpfx)plural.c.
19908 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
19909 * intl/plural.c: Remove.
19910 * manual/install.texi (Tools for Compilation): Document bison as
19912 * INSTALL: Regenerated.
19914 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19916 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
19917 <libm-alias-double.h>.
19918 (llrint): Define using libm_alias_double.
19919 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
19920 <libm-alias-float.h>.
19921 (llrintf): Define using libm_alias_float.
19922 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
19923 <libm-alias-ldouble.h>.
19924 (llrintl): Define using libm_alias_ldouble.
19926 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
19927 declare_mgen_alias instead of weak_alias.
19928 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
19929 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
19930 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
19932 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19934 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19936 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
19937 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
19938 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
19940 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19941 Add submul_1-generic.
19942 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
19943 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
19944 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
19946 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19947 Add addmul_1-generic.
19948 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
19949 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
19950 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
19952 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19954 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
19955 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
19956 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
19958 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19960 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
19961 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
19962 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
19964 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19966 According to CLDR, collation rules for Serbian and Bosnian
19967 should be the same as for Croatian.
19970 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
19971 and to the list of locales to be built for testing.
19972 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
19973 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
19974 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
19975 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
19977 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19979 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
19980 to make test case pass.
19981 * localedata/hr_HR.UTF-8.in: Add more test strings.
19983 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19985 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
19987 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
19989 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
19990 the list of locales to built for testing.
19991 * localedata/hr_HR.UTF-8.in: New file.
19993 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
19996 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
19998 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
19999 CLDR (except use ligatures for the digraphs, CLDR does not use
20000 the ligatures), add first_workday, some fixes in the date and time
20002 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
20004 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
20005 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
20006 Add int_p_cs_precedes and int_n_cs_precedes.
20007 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
20008 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
20010 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
20011 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
20013 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
20014 and lang_lib. Change postal_fmt.
20016 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20018 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
20020 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
20021 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
20022 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
20023 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
20024 * sysdeps/generic/setjmpP.h: New file.
20025 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
20026 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
20027 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
20028 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
20029 Add jmp_buf-ssp.sym.
20030 (tests): Add tst-saved_mask-1.
20032 2017-11-30 Arjun Shankar <arjun@redhat.com>
20036 * malloc/malloc.c (__libc_malloc): Use checked_request2size
20037 instead of request2size.
20039 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
20042 (__lllrint): Remove alias.
20043 (lllrint): Likewise.
20044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
20045 (__lllrintf): Likewise.
20046 (lllrintf): Likewise.
20048 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
20049 <libm-alias-float.h>.
20050 (copysignf): Define using libm_alias_float.
20051 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
20052 <libm-alias-float.h>.
20053 (fabsf): Define using libm_alias_float.
20054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
20055 Include <libm-alias-float.h>.
20056 (copysignf): Define using libm_alias_float.
20057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
20058 <libm-alias-float.h>.
20059 (fabsf): Define using libm_alias_float.
20060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
20061 <libm-alias-float.h>.
20062 (fdimf): Define using libm_alias_float.
20063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
20064 <libm-alias-float.h>.
20065 (fmaf): Define using libm_alias_float.
20066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
20067 <libm-alias-float.h>.
20068 (llrintf): Define using libm_alias_float.
20069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20070 Include <libm-alias-float.h>.
20071 (nearbyintf): Define using libm_alias_float.
20072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
20073 <libm-alias-float.h>.
20074 (rintf): Define using libm_alias_float.
20075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
20076 <libm-alias-float.h>.
20077 (llrintf): Define using libm_alias_float.
20078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
20079 <libm-alias-float.h>.
20080 (lrintf): Define using libm_alias_float.
20081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
20082 <libm-alias-float.h>.
20083 (nearbyintf): Define using libm_alias_float.
20084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
20085 <libm-alias-float.h>.
20086 (rintf): Define using libm_alias_float.
20087 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
20088 <libm-alias-float.h>.
20089 (ceilf): Define using libm_alias_float.
20090 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
20091 <libm-alias-float.h>.
20092 (floorf): Define using libm_alias_float.
20093 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
20094 <libm-alias-float.h>.
20095 (fmaf): Define using libm_alias_float.
20096 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
20097 <libm-alias-float.h>.
20098 (lrintf): Define using libm_alias_float.
20099 (llrintf): Likewise.
20100 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
20101 <libm-alias-float.h>.
20102 (nearbyintf): Define using libm_alias_float.
20103 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
20104 <libm-alias-float.h>.
20105 (rintf): Define using libm_alias_float.
20106 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
20107 <libm-alias-float.h>.
20108 (truncf): Define using libm_alias_float.
20109 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
20110 <libm-alias-float.h>.
20111 (copysignf): Define using libm_alias_float.
20112 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
20113 <libm-alias-float.h>.
20114 (fabsf): Define using libm_alias_float.
20115 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
20116 <libm-alias-float.h>.
20117 (lrintf): Define using libm_alias_float.
20118 (llrintf): Likewise.
20119 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
20120 <libm-alias-float.h>.
20121 (nearbyintf): Define using libm_alias_float.
20122 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
20123 <libm-alias-float.h>.
20124 (rintf): Define using libm_alias_float.
20126 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20128 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
20129 <libm-alias-double.h>.
20130 (copysign): Define using libm_alias_double.
20131 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
20132 <libm-alias-double.h>.
20133 (fabs): Define using libm_alias_double.
20134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
20135 Include <libm-alias-double.h>.
20136 (copysign): Define using libm_alias_double.
20137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
20138 <libm-alias-double.h>.
20139 (fabs): Define using libm_alias_double.
20140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
20141 <libm-alias-double.h>.
20142 (fdim): Define using libm_alias_double.
20143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
20144 <libm-alias-double.h>.
20145 (fma): Define using libm_alias_double.
20146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
20147 <libm-alias-double.h>.
20148 (llrint): Define using libm_alias_double.
20149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
20150 Include <libm-alias-double.h>.
20151 (nearbyint): Define using libm_alias_double.
20152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
20153 <libm-alias-double.h>.
20154 (rint): Define using libm_alias_double.
20155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
20156 <libm-alias-double.h>.
20157 (fabs): Define using libm_alias_double.
20158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
20159 <libm-alias-double.h>.
20160 (llrint): Define using libm_alias_double.
20161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
20162 <libm-alias-double.h>.
20163 (nearbyint): Define using libm_alias_double.
20164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
20165 <libm-alias-double.h>.
20166 (rint): Define using libm_alias_double.
20167 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
20168 <libm-alias-double.h>.
20169 (ceil): Define using libm_alias_double.
20170 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
20171 <libm-alias-double.h>.
20172 (floor): Define using libm_alias_double.
20173 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
20174 <libm-alias-double.h>.
20175 (fma): Define using libm_alias_double.
20176 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
20177 <libm-alias-double.h>.
20178 (lrint): Define using libm_alias_double.
20179 (llrint): Likewise.
20180 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
20181 <libm-alias-double.h>.
20182 (nearbyint): Define using libm_alias_double.
20183 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
20184 <libm-alias-double.h>.
20185 (rint): Define using libm_alias_double.
20186 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
20187 <libm-alias-double.h>.
20188 (trunc): Define using libm_alias_double.
20189 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
20190 <libm-alias-double.h>.
20191 (copysign): Define using libm_alias_double.
20192 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
20193 <libm-alias-double.h>.
20194 (fabs): Define using libm_alias_double.
20195 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
20196 <libm-alias-double.h>.
20197 (lrint): Define using libm_alias_double.
20198 (llrint): Likewise.
20199 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
20200 <libm-alias-double.h>.
20201 (nearbyint): Define using libm_alias_double.
20202 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
20203 <libm-alias-double.h>.
20204 (rint): Define using libm_alias_double.
20207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
20209 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
20211 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20212 SPARC --disable-multi-arch glibc variants.
20214 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
20215 <libm-alias-float.h>.
20216 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20218 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
20219 <libm-alias-float.h>.
20220 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20222 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
20223 <libm-alias-float.h>.
20224 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20226 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
20227 <libm-alias-float.h>.
20228 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20230 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
20231 <libm-alias-float.h>.
20232 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20234 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
20235 <libm-alias-float.h>.
20236 (ceilf): Define using libm_alias_float.
20237 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
20238 <libm-alias-float.h>.
20239 (floorf): Define using libm_alias_float.
20240 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
20241 <libm-alias-float.h>.
20242 (fmaf): Define using libm_alias_float.
20243 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
20244 <libm-alias-float.h>.
20245 (nearbyintf): Define using libm_alias_float.
20246 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
20247 <libm-alias-float.h>.
20248 (rintf): Define using libm_alias_float.
20249 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
20250 <libm-alias-float.h>.
20251 (truncf): Define using libm_alias_float.
20252 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
20253 (copysignf): Define using libm_alias_float.
20254 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
20255 (cosf): Define using libm_alias_float.
20256 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
20257 (fabsf): Define using libm_alias_float.
20258 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20259 (fmaxf): Define using libm_alias_float.
20260 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
20261 (fminf): Define using libm_alias_float.
20262 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
20263 (llrintf): Define using libm_alias_float.
20264 [!__ILP32__] (lrintf): Likewise.
20265 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
20266 (sincosf): Define using libm_alias_float.
20267 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
20268 (sinf): Define using libm_alias_float.
20269 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
20270 (lrintf): Define using libm_alias_float.
20272 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
20273 <libm-alias-double.h>.
20274 (atan): Define using libm_alias_double.
20275 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
20276 <libm-alias-double.h>.
20277 (ceil): Define using libm_alias_double.
20278 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
20279 <libm-alias-double.h>.
20280 (floor): Define using libm_alias_double.
20281 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
20282 <libm-alias-double.h>.
20283 (fma): Define using libm_alias_double.
20284 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
20285 <libm-alias-double.h>.
20286 (nearbyint): Define using libm_alias_double.
20287 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
20288 <libm-alias-double.h>.
20289 (rint): Define using libm_alias_double.
20290 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
20291 <libm-alias-double.h>.
20292 (sin): Define using libm_alias_double.
20294 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
20295 <libm-alias-double.h>.
20296 (tan): Define using libm_alias_double.
20297 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
20298 <libm-alias-double.h>.
20299 (trunc): Define using libm_alias_double.
20300 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
20301 (copysign): Define using libm_alias_double.
20302 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
20303 (fabs): Define using libm_alias_double.
20304 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
20305 (fmax): Define using libm_alias_double.
20306 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
20307 (fmin): Define using libm_alias_double.
20308 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
20309 (llrint): Define using libm_alias_double.
20310 [!__ILP32__] (lrint): Likewise.
20311 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
20312 (lrint): Define using libm_alias_double.
20314 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20316 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20317 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
20319 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
20320 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
20321 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
20322 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
20323 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
20324 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
20326 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20327 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
20329 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
20330 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
20331 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
20332 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
20333 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
20334 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
20336 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20337 (libm-sysdep_routines): Add s_nearbyint-generic and
20338 s_nearbyintf-generic objects.
20339 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
20340 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
20341 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
20342 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
20343 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
20344 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
20346 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20347 Add s_finitef-generic and s_finite-generic objects.
20348 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
20349 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
20350 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
20351 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
20352 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
20353 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
20355 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20356 Add s_isinff-generic and s_isinf-generic objects.
20357 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
20358 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
20359 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
20360 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
20361 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
20362 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
20364 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20365 Add s_isnanf-generic and s_isnan-generic objects.
20366 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
20367 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
20368 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
20369 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
20370 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
20371 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
20373 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
20375 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
20377 (sysdep_routines): Use sysdep_calls as base.
20378 (libm-sysdep_routines): Add generic rule for symbols shared with
20379 libc. Add s_signbit-generic and s_signbitf-generic objects.
20380 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
20381 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
20382 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
20383 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
20384 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
20385 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
20387 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20389 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
20390 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
20391 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
20392 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
20393 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
20394 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
20395 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
20396 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
20397 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
20398 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
20399 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
20400 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
20401 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
20402 libm_alias_float_r.
20403 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
20404 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
20406 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
20407 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
20408 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
20409 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
20410 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
20411 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
20412 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
20413 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
20414 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
20415 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
20417 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
20419 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
20420 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
20421 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
20422 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
20423 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
20424 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
20425 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
20426 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
20427 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
20428 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
20429 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
20430 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
20431 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
20432 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
20433 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
20434 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
20435 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
20436 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
20437 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
20439 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
20440 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
20441 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
20442 * sysdeps/ia64/fpu/w_lgammaf_main.c
20443 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
20444 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
20446 2017-11-28 Mike FABIAN <mfabian@redhat.com>
20447 Alexandre Oliva <aoliva@redhat.com>
20450 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
20451 * localedata/fr_CA.UTF-8.in: New file with test data for backward
20453 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
20455 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
20456 * localedata/locales/de_DE (LC_COLLATE): Likewise.
20457 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
20458 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
20459 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
20460 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
20461 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
20462 instead of “ifdef DIACRIT_BACKWARD”.
20464 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20466 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
20467 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
20468 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
20469 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
20470 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
20471 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
20472 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
20473 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
20474 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
20475 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
20476 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
20477 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
20478 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
20479 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
20480 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
20481 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20482 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
20483 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
20484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20485 ($(have-as-vis3) == yes): Remove conditional.
20486 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
20488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
20490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
20492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
20494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
20496 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
20497 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
20498 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
20499 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
20500 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
20501 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
20502 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
20503 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
20505 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20507 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
20508 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
20509 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
20510 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
20511 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
20512 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
20513 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
20514 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
20515 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
20516 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
20517 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
20518 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
20519 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
20520 libm_alias_double_r.
20521 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
20523 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
20524 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
20525 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
20526 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
20527 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
20528 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
20529 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
20530 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
20531 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
20532 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
20533 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
20535 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
20537 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
20538 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
20539 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
20540 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
20541 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
20542 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
20543 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
20544 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
20545 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
20546 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
20547 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
20548 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
20549 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
20550 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
20551 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
20552 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
20553 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
20554 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
20556 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
20557 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
20558 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
20559 * sysdeps/ia64/fpu/w_lgamma_main.c
20560 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
20561 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
20563 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
20565 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
20566 address of $global$ into %dp register earlier. Use pc-relative
20567 instruction sequence for PIC case.
20569 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20571 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
20572 (asinhf): Define using libm_alias_float.
20573 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
20574 (atanf): Define using libm_alias_float.
20575 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
20576 (cbrtf): Define using libm_alias_float.
20577 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
20578 (ceilf): Define using libm_alias_float.
20579 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
20580 (copysignf): Define using libm_alias_float.
20581 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
20582 (expm1f): Define using libm_alias_float.
20583 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
20584 (fabsf): Define using libm_alias_float.
20585 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
20586 (floorf): Define using libm_alias_float.
20587 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20588 (fmaxf): Define using libm_alias_float.
20589 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
20590 (fminf): Define using libm_alias_float.
20591 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
20592 (frexpf): Define using libm_alias_float.
20593 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
20594 (llrintf): Define using libm_alias_float.
20595 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
20596 (logbf): Define using libm_alias_float.
20597 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
20598 (lrintf): Define using libm_alias_float.
20599 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
20600 (nearbyintf): Define using libm_alias_float.
20601 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
20602 (remquof): Define using libm_alias_float.
20603 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
20604 (rintf): Define using libm_alias_float.
20605 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
20606 (truncf): Define using libm_alias_float.
20607 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
20608 <libm-alias-float.h>.
20609 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20611 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
20612 <libm-alias-float.h>.
20613 (expf): Define using libm_alias_float, or libm_alias_float_other
20615 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
20616 <libm-alias-float.h>.
20617 (log2f): Define using libm_alias_float, or libm_alias_float_other
20619 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
20620 <libm-alias-float.h>.
20621 (logf): Define using libm_alias_float, or libm_alias_float_other
20623 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
20624 <libm-alias-float.h>.
20625 (powf): Define using libm_alias_float, or libm_alias_float_other
20627 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
20628 <libm-alias-float.h>.
20629 (cosf): Define using libm_alias_float.
20630 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
20631 <libm-alias-float.h>.
20632 (sincosf): Define using libm_alias_float.
20633 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
20634 <libm-alias-float.h>.
20635 (sinf): Define using libm_alias_float.
20636 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20637 (fmaxf): Define using libm_alias_float.
20638 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
20639 (fminf): Define using libm_alias_float.
20640 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
20641 <libm-alias-float.h>.
20642 (fmaf): Define using libm_alias_float.
20644 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
20645 (asinh): Define using libm_alias_double.
20646 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
20647 (atan): Define using libm_alias_double.
20648 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
20649 (cbrt): Define using libm_alias_double.
20650 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
20651 (ceil): Define using libm_alias_double.
20652 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
20653 (copysign): Define using libm_alias_double.
20654 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
20655 (expm1): Define using libm_alias_double.
20656 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
20657 (fabs): Define using libm_alias_double.
20658 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
20659 (fdim): Define using libm_alias_double.
20660 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
20661 (floor): Define using libm_alias_double.
20662 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
20663 (fmax): Define using libm_alias_double.
20664 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
20665 (fmin): Define using libm_alias_double.
20666 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
20667 (frexp): Define using libm_alias_double.
20668 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
20669 (llrint): Define using libm_alias_double.
20670 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
20671 (logb): Define using libm_alias_double.
20672 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
20673 (lrint): Define using libm_alias_double.
20674 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
20675 (nearbyint): Define using libm_alias_double.
20676 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
20677 (remquo): Define using libm_alias_double.
20678 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
20679 (rint): Define using libm_alias_double.
20680 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
20681 (trunc): Define using libm_alias_double.
20682 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
20683 (fmax): Define using libm_alias_double.
20684 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
20685 (fmin): Define using libm_alias_double.
20686 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
20687 (fma): Define using libm_alias_double.
20689 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
20692 * elf/dl-hwcaps.c (ROUND): Removed.
20693 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
20694 and ELF_NOTE_NEXT_OFFSET.
20695 * elf/dl-load.c (ROUND): Removed.
20696 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
20697 * elf/readelflib.c (ROUND): Removed.
20698 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
20699 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
20700 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
20701 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
20703 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20705 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
20706 [!__fmaf] (fmaf): Define using libm_alias_float.
20708 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
20709 [!__fma] (fma): Define using libm_alias_double.
20710 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
20712 2017-11-28 Mike FABIAN <mfabian@redhat.com>
20715 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
20716 and implement the collation rules for cs from CLDR on top of that.
20717 * Makefile: Add cs_CZ.UTF-8 to test-input.
20718 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
20720 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
20722 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
20724 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
20725 Icarus Sparry <icarus.w.sparry@intel.com>
20727 * benchtests/Makefile:Add BENCHSET to allow subsets of
20728 benchmarks to be run.
20729 * benchtests/README: Add documentation for: Running subsets of
20732 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
20734 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
20735 range of tests names.
20737 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
20738 result from property and remove "max", min" and "mean" from
20739 required properties based on benchtests/bench-skeleton.c.
20741 2017-11-28 Florian Weimer <fweimer@redhat.com>
20744 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
20745 due to Internet requirement.
20746 * posix/Makefile (tests): Remove tst-getaddrinfo4,
20748 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
20750 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20752 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20753 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
20754 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
20755 (sysdep_routines): Add memset-ultra1.
20756 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
20758 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
20759 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
20760 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
20761 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
20762 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
20763 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
20764 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
20765 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20767 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
20769 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
20770 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
20771 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
20772 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
20773 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
20774 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
20775 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
20777 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20778 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
20779 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
20780 (sysdep_routines): Add memcpy-ultra1.
20781 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
20782 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
20784 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20786 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
20787 (cfloat_versions): Take function argument without trailing 'f'.
20788 Call libm_alias_float_other.
20789 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
20790 * sysdeps/alpha/fpu/cargf.c: Likewise.
20791 * sysdeps/alpha/fpu/cimagf.c: Likewise.
20792 * sysdeps/alpha/fpu/conjf.c: Likewise.
20793 * sysdeps/alpha/fpu/crealf.c: Likewise.
20794 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
20795 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
20796 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
20797 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
20798 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
20799 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
20800 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
20801 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
20802 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
20803 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
20804 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
20805 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
20806 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
20807 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
20808 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
20809 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
20810 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
20811 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
20812 (clog10f): Use libm_alias_float_other.
20813 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
20814 (ceilf): Define using libm_alias_float.
20815 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
20816 (copysignf): Define using libm_alias_float.
20817 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
20818 (fabsf): Define using libm_alias_float.
20819 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
20820 (floorf): Define using libm_alias_float.
20821 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
20822 (fmaxf): Define using libm_alias_float.
20823 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
20824 (fminf): Define using libm_alias_float.
20825 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
20826 (lrintf): Define using libm_alias_float.
20827 (llrintf): Likewise.
20828 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
20829 (lroundf): Define using libm_alias_float.
20830 (llroundf): Likewise.
20831 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
20832 (rintf): Define using libm_alias_float.
20833 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
20834 (truncf): Define using libm_alias_float.
20836 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
20837 (ceilf): Define using libm_alias_float.
20838 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
20839 (floorf): Define using libm_alias_float.
20840 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
20841 (fmaf): Define using libm_alias_float.
20842 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
20843 (fmaxf): Define using libm_alias_float.
20844 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
20845 (fminf): Define using libm_alias_float.
20846 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
20847 (llrintf): Define using libm_alias_float.
20848 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
20849 (llroundf): Define using libm_alias_float.
20850 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
20851 (lrintf): Define using libm_alias_float.
20852 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
20853 (lroundf): Define using libm_alias_float.
20854 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
20855 <libm-alias-float.h>.
20856 (nearbyintf): Define using libm_alias_float.
20857 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
20858 (rintf): Define using libm_alias_float.
20859 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
20860 (roundf): Define using libm_alias_float.
20861 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
20862 (truncf): Define using libm_alias_float.
20864 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
20865 (ceil): Define using libm_alias_double.
20866 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
20867 (copysign): Define using libm_alias_double.
20868 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
20869 (fabs): Define using libm_alias_double.
20870 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
20871 (floor): Define using libm_alias_double.
20872 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
20873 (fmax): Define using libm_alias_double.
20874 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
20875 (fmin): Define using libm_alias_double.
20876 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
20877 (lrint): Define using libm_alias_double.
20878 (llrint): Likewise.
20879 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
20880 (lround): Define using libm_alias_double.
20881 (llround): Likewise.
20882 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
20883 (rint): Define using libm_alias_double.
20884 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
20885 (trunc): Define using libm_alias_double.
20887 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
20888 (libm_alias_double_r): Add semicolon after weak_alias call.
20890 2017-11-27 Joseph Myers <joseph@codesourcery.com>
20892 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
20893 (ceil): Define using libm_alias_double.
20894 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
20895 (floor): Define using libm_alias_double.
20896 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
20897 (fma): Define using libm_alias_double.
20898 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
20899 (fmax): Define using libm_alias_double.
20900 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
20901 (fmin): Define using libm_alias_double.
20902 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
20903 (llrint): Define using libm_alias_double.
20904 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
20905 (llround): Define using libm_alias_double.
20906 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
20907 (lrint): Define using libm_alias_double.
20908 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
20909 (lround): Define using libm_alias_double.
20910 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
20911 (nearbyint): Define using libm_alias_double.
20912 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
20913 (rint): Define using libm_alias_double.
20914 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
20915 (round): Define using libm_alias_double.
20916 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
20917 (trunc): Define using libm_alias_double.
20919 2017-11-27 Florian Weimer <fweimer@redhat.com>
20921 * sysdeps/unix/sysv/linux/mlock2.c: New file.
20922 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
20923 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
20924 (tests): Add tst-mlock2.
20925 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
20926 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
20927 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
20928 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
20929 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
20930 for mlock. Document mlock2.
20932 2017-11-27 Joseph Myers <joseph@codesourcery.com>
20934 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
20935 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
20937 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
20939 * sysdeps/x86/Makeconfig: New file.
20940 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
20941 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20942 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
20943 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20944 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20945 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20946 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
20948 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20949 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20950 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20951 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20952 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20953 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20954 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20955 * manual/math.texi (Mathematics): Document support for _Float64x.
20956 * math/Versions (GLIBC_2.27): Add _Float64x functions.
20957 * stdlib/Versions (GLIBC_2.27): Likewise.
20958 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20959 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20960 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20961 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20962 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20963 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20964 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20965 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20966 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20967 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20968 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20969 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20974 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20975 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20976 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20977 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20978 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20979 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20980 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20981 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20982 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20983 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20984 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20985 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20986 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20987 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20989 2017-11-27 Andreas Schwab <schwab@suse.de>
20991 * elf/Makefile (dl-routines): Add dl-sort-maps.
20992 * elf/dl-sort-maps.c: New file.
20993 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
20994 (_dl_sort_maps): Declare.
20995 * elf/dl-fini.c (_dl_sort_fini): Remove.
20996 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
20997 * elf/dl-close.c (_dl_close_worker): Likewise.
20998 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
21000 * elf/dl-open.c (dl_open_worker): Likewise.
21002 2017-11-24 Joseph Myers <joseph@codesourcery.com>
21004 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
21005 using libm_alias_float128.
21006 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
21008 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
21010 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
21011 (setpayloadsigf128): Likewise.
21012 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
21014 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
21017 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
21018 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
21019 -mfloat128 to CFLAGS.
21021 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
21023 (CFLAGS-libm-test-support-float64x.c): New variable.
21024 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
21025 $(f128-loader-link) to gnulib-tests.
21027 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
21028 (libm_alias_float128_other_r): If
21029 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
21031 (libm_alias_float128_r): Add semicolon after weak_alias call.
21032 * sysdeps/generic/libm-alias-ldouble.h
21033 (libm_alias_ldouble_other_r_f128): New macro.
21034 (libm_alias_ldouble_other_r_f64x): Likewise.
21035 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
21036 and libm_alias_ldouble_other_r_f64x.
21037 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
21038 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
21039 (libm_alias_ldouble_other_r_f128): New macro.
21040 (libm_alias_ldouble_other_r_f64x): Likewise.
21041 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
21042 and libm_alias_ldouble_other_r_f64x.
21044 * stdlib/strfroml.c: Always include <stdlib.h>.
21045 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
21046 undefine as macro and define as weak alias.
21047 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
21048 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
21050 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
21051 Define and later undefine as macro and define as weak alias.
21053 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
21054 Define and later undefine as macro. Define as weak alias if
21056 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
21057 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21058 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
21059 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
21060 Define and later undefine as macro. Define as weak alias if
21062 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
21063 Define and later undefine as macro. Define as weak alias if
21065 * sysdeps/ieee754/float128/strtof128_l.c
21066 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
21067 Define and later undefine as macro. Define as weak alias if
21069 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
21070 Define and later undefine as macro. Define as weak alias if
21072 * sysdeps/ieee754/ldbl-128/strtold_l.c
21073 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21074 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21075 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21076 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21077 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
21078 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21079 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21080 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21081 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21082 * sysdeps/ieee754/ldbl-96/strtold_l.c
21083 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21084 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21085 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21086 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21088 * math/test-float64x.h: New file.
21089 * math/Makefile (type-float64x-yes): New variable.
21090 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
21092 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
21093 function-like macro.
21094 (min_of_type_): Likewise.
21095 (min_of_type_l): Likewise.
21096 (min_of_type_f128): Likewise.
21097 (min_of_type): Pass () as last argument of __MATH_TG.
21099 * stdlib/tst-strtod-round-skeleton.c
21100 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
21103 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
21104 for combinations of long double with _Float64 and _Float64x.
21106 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
21107 (__DECL_SIMD_cosf32): Likewise.
21108 (__DECL_SIMD_cosf64): Likewise.
21109 (__DECL_SIMD_cosf32x): Likewise.
21110 (__DECL_SIMD_cosf64x): Likewise.
21111 (__DECL_SIMD_cosf128x): Likewise.
21112 (__DECL_SIMD_sinf16): Likewise.
21113 (__DECL_SIMD_sinf32): Likewise.
21114 (__DECL_SIMD_sinf64): Likewise.
21115 (__DECL_SIMD_sinf32x): Likewise.
21116 (__DECL_SIMD_sinf64x): Likewise.
21117 (__DECL_SIMD_sinf128x): Likewise.
21118 (__DECL_SIMD_sincosf16): Likewise.
21119 (__DECL_SIMD_sincosf32): Likewise.
21120 (__DECL_SIMD_sincosf64): Likewise.
21121 (__DECL_SIMD_sincosf32x): Likewise.
21122 (__DECL_SIMD_sincosf64x): Likewise.
21123 (__DECL_SIMD_sincosf128x): Likewise.
21124 (__DECL_SIMD_logf16): Likewise.
21125 (__DECL_SIMD_logf32): Likewise.
21126 (__DECL_SIMD_logf64): Likewise.
21127 (__DECL_SIMD_logf32x): Likewise.
21128 (__DECL_SIMD_logf64x): Likewise.
21129 (__DECL_SIMD_logf128x): Likewise.
21130 (__DECL_SIMD_expf16): Likewise.
21131 (__DECL_SIMD_expf32): Likewise.
21132 (__DECL_SIMD_expf64): Likewise.
21133 (__DECL_SIMD_expf32x): Likewise.
21134 (__DECL_SIMD_expf64x): Likewise.
21135 (__DECL_SIMD_expf128x): Likewise.
21136 (__DECL_SIMD_powf16): Likewise.
21137 (__DECL_SIMD_powf32): Likewise.
21138 (__DECL_SIMD_powf64): Likewise.
21139 (__DECL_SIMD_powf32x): Likewise.
21140 (__DECL_SIMD_powf64x): Likewise.
21141 (__DECL_SIMD_powf128x): Likewise.
21143 * stdlib/Versions (libc): Move entries for wcstof128 and
21144 wcstof128_l to ....
21145 * wcsmbs/Versions (libc): ... here.
21146 Include <float128-abi.h>.
21148 2017-11-24 Florian Weimer <fweimer@redhat.com>
21150 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21151 bits/mman-shared.h.
21152 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
21153 <bits/mman-shared.h>.
21154 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
21156 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
21157 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
21158 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
21159 <bits/mman-shared.h>.
21161 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21164 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
21165 posix_memalign/free.
21166 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
21168 2017-11-22 Mike FABIAN <mfabian@redhat.com>
21171 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
21172 and implement the collation rules for pl from CLDR on top of that.
21173 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
21174 of locales to be built for testing.
21175 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
21177 2017-11-23 Joseph Myers <joseph@codesourcery.com>
21179 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
21180 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
21181 libm_alias_ldouble_other.
21182 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
21183 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
21184 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
21185 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
21186 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
21187 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
21188 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
21189 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
21190 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
21191 libm_alias_ldouble_r.
21192 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
21193 libm_alias_ldouble_other.
21194 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
21195 (log10l): Likewise.
21196 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
21197 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
21198 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
21199 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
21200 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
21201 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
21202 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
21203 (atan2l): Likewise.
21204 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
21205 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
21206 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
21207 libm_alias_ldouble.
21208 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
21210 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
21211 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
21212 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
21214 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
21215 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
21216 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
21217 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
21218 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
21219 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
21220 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
21221 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
21222 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
21223 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
21224 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
21225 libm_alias_ldouble.
21226 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
21227 libm_alias_ldouble_other.
21228 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
21229 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
21230 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
21231 libm_alias_ldouble.
21232 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
21233 libm_alias_ldouble_other.
21234 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
21235 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
21236 * sysdeps/ia64/fpu/w_lgammal_main.c
21237 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
21238 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
21240 2017-11-23 Florian Weimer <fweimer@redhat.com>
21242 * malloc/malloc.c (tcache_thread_shutdown): Rename from
21243 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
21244 alike. Remove freeres marker.
21245 * malloc/arena.c (arena_thread_freeres): Call
21246 tcache_thread_shutdown.
21248 2017-11-23 Florian Weimer <fweimer@redhat.com>
21251 Export nscd hash function as __nss_hash.
21252 * include/nss.h (__nss_hash): Declare.
21253 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
21255 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
21256 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
21258 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
21259 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
21260 * nss/Makefiles (routines): Add nss_hash.
21261 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
21262 * nss/nss_hash.c: Rename from nis/nis_hash.c.
21263 (__nss_hash): Rename from __nis_hash. Define hidden alias.
21264 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
21266 2017-11-23 Florian Weimer <fweimer@redhat.com>
21269 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
21270 Return error code, not -1.
21271 * signal/tst-sigwait-eintr.c: New file.
21272 * signal/Makefile (tests): Add tst-sigwait-eintr.
21274 2017-11-23 Florian Weimer <fweimer@redhat.com>
21276 Linux: Add memfd_create system call wrapper
21277 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
21279 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
21280 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
21281 [__USE_GNU] (memfd_create): Declare.
21282 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
21283 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
21284 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
21285 * sysdeps/unix/sysv/linux/**.abilist: Update.
21286 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
21288 2017-11-22 Joseph Myers <joseph@codesourcery.com>
21290 * localedata/gen-locale.sh: Fix typo in variable name.
21292 * resolv/res_debug.c (p_secstodate): Condition definition on
21293 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
21294 directly as __p_secstodate, and as a compat symbol. Do not use
21295 libresolv_hidden_def.
21296 * resolv/resolv.h (p_secstodate): Remove macro and function
21298 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
21299 using p_secstodate.
21300 * include/resolv.h (__p_secstodate): Do not use
21301 libresolv_hidden_proto.
21302 * resolv/Makefile (tests): Move tst-p_secstodate to ....
21303 (tests-internal): ... here.
21304 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
21305 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
21306 and declare and use __p_secstodate and use compat_symbol_reference
21308 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
21309 implementation returning 77.
21312 * resolv/res_debug.c: Include <libc-diag.h>.
21313 (p_secstodate): Assert time_t at least as wide as u_long. On
21314 overflow, use integer seconds since the epoch as output, or use
21315 "<overflow>" as output and set errno to EOVERFLOW if integer
21316 seconds since the epoch would be 14 or more characters.
21317 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
21319 * resolv/tst-p_secstodate.c: New file.
21320 * resolv/Makefile (tests): Add tst-p_secstodate.
21321 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
21323 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
21324 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
21325 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
21327 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
21329 * posix/regcomp.c (init_word_char): Add comments.
21331 2017-11-22 Joseph Myers <joseph@codesourcery.com>
21334 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
21335 strlen to compute length of ut_user and set trailing NUL byte of
21338 2017-11-21 Mike FABIAN <mfabian@redhat.com>
21341 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
21342 using “copy "iso14651_t1"” and then implementing the
21343 collation rules for lv from CLDR on top of that.
21344 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
21345 of locales to be built for testing.
21346 * lv_LV.UTF-8.in: New file with test data to test the Latvian
21349 2017-11-21 Joseph Myers <joseph@codesourcery.com>
21351 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
21352 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
21353 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
21354 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
21355 [__USE_MISC] (MADV_HWPOISON): New macro.
21356 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
21358 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21360 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
21361 -Wmissing-braces on GCC 4.9.
21363 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
21365 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
21366 * sysdeps/s390/s390-32/start.S (_start): Likewise
21367 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
21368 (thread_start): Likewise.
21369 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
21370 (thread_start): Likewise.
21371 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
21372 (__makecontext_ret): Likewise.
21373 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
21374 (__makecontext_ret): Likewise.
21376 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
21378 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
21379 __wcschrnul): Remove attribute_hidden.
21381 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
21383 regex: don't assume uint64_t or uint32_t
21384 This avoids -Werror=overflow errors for 32-bit systems in
21385 the 64-bit case. Problem reported by Joseph Myers in:
21386 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
21387 Also, when this code is used in Gnulib it ports to platforms
21388 that lack uint64_t and uint32_t. The C standard doesn't guarantee
21389 them, and on some 32-bit compilers there is no uint64_t.
21390 Problem reported by Gianluigi Tiesi in:
21391 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
21392 * posix/regcomp.c (init_word_char): Don't assume that the types
21393 uint64_t and uint32_t exist. Adapted from Gnulib patch
21394 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
21395 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
21397 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
21399 * sysdeps/aarch64/memset-reg.h: New file.
21400 * sysdeps/aarch64/memset.S: Use it.
21401 (__memset): Rename to MEMSET macro.
21402 [ZVA_MACRO]: Use zva_macro.
21403 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
21404 Add memset_generic and memset_falkor.
21405 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
21406 (__libc_ifunc_impl_list): Add memset ifuncs.
21407 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
21408 local variable zva_size.
21409 * sysdeps/aarch64/multiarch/memset.c: New file.
21410 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
21411 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
21412 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
21413 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
21414 (DCZID_DZP_MASK): New macro.
21415 (DCZID_BS_MASK): Likewise.
21416 (init_cpu_features): Read and set zva_size.
21417 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
21418 (struct cpu_features): New member zva_size.
21420 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
21421 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
21422 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
21424 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
21425 backwards. Fix timing computation.
21426 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
21427 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
21428 on memset by N at a time. Fix timing computation.
21430 2017-11-20 Florian Weimer <fweimer@redhat.com>
21432 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
21433 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
21435 2017-11-19 Florian Weimer <fweimer@redhat.com>
21437 manual: Document mprotect
21438 * manual/memory.texi (Memory Protection): New section.
21439 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
21440 documentation of PROT_* flags and reference the Memory Protection
21443 2017-11-19 Florian Weimer <fweimer@redhat.com>
21445 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
21446 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
21447 (Scatter-Gather): ... to here. Remove misleading comment.
21449 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
21451 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
21454 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
21455 when /proc/<pid>/setgroups does not exist.
21457 2017-11-18 Florian Weimer <fweimer@redhat.com>
21459 * sysdeps/unix/sysv/linux/tst-ttyname.c
21460 (become_root_in_mount_ns): Remove.
21461 (do_in_chroot_1): Call support_enter_mount_namespace.
21462 (do_in_chroot_2): Likewise.
21463 (do_test): Call support_become_root early.
21465 2017-11-18 Florian Weimer <fweimer@redhat.com>
21467 * support/namespace.h (support_enter_mount_namespace): Declare.
21468 * support/support_enter_mount_namespace.c: New file.
21469 * support/Makefile (libsupport-routines): Add
21470 support_enter_mount_namespace.
21472 2017-11-18 Florian Weimer <fweimer@redhat.com>
21474 * support/temp_file.c (support_create_temp_directory): Use
21475 test_dir and do not rely on the presence of the XXXXXX suffix.
21476 * support/temp_file.h (support_create_temp_directory): Update
21478 * support/tst-xreadlink.c (do_test): Adjust.
21479 * support/support_chroot.c (support_chroot_create): Likewise.
21481 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21483 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
21485 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
21488 2017-11-17 Joseph Myers <joseph@codesourcery.com>
21490 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
21491 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
21492 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
21493 (ceill): Define using libm_alias_ldouble.
21494 * sysdeps/x86_64/fpu/s_copysignl.S: Include
21495 <libm-alias-ldouble.h>.
21496 (copysignl): Define using libm_alias_ldouble.
21497 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
21498 (fabsl): Define using libm_alias_ldouble.
21499 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
21500 (floorl): Define using libm_alias_ldouble.
21501 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21502 (fmaxl): Define using libm_alias_ldouble.
21503 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21504 (fminl): Define using libm_alias_ldouble.
21505 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
21506 (llrintl): Define using libm_alias_ldouble.
21507 (lrintl): Likewise.
21508 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
21509 <libm-alias-ldouble.h>.
21510 (nearbyintl): Define using libm_alias_ldouble.
21511 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
21512 (truncl): Define using libm_alias_ldouble.
21513 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
21514 <libm-alias-ldouble.h>.
21515 (lrintl): Define using libm_alias_ldouble.
21517 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
21518 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
21519 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
21520 (asinhl): Define using libm_alias_ldouble.
21521 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
21522 (atanl): Define using libm_alias_ldouble.
21523 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
21524 (cbrtl): Define using libm_alias_ldouble.
21525 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
21526 (ceill): Define using libm_alias_ldouble.
21527 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
21528 (copysignl): Define using libm_alias_ldouble.
21529 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
21530 (fabsl): Define using libm_alias_ldouble.
21531 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
21532 (floorl): Define using libm_alias_ldouble.
21533 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21534 (fmaxl): Define using libm_alias_ldouble.
21535 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21536 (fminl): Define using libm_alias_ldouble.
21537 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
21538 (frexpl): Define using libm_alias_ldouble.
21539 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
21540 (llrintl): Define using libm_alias_ldouble.
21541 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
21542 (logbl): Define using libm_alias_ldouble.
21543 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
21544 (lrintl): Define using libm_alias_ldouble.
21545 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
21546 (nearbyintl): Define using libm_alias_ldouble.
21547 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
21548 (nextafterl): Define using libm_alias_ldouble.
21549 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
21550 (remquol): Define using libm_alias_ldouble.
21551 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
21552 (rintl): Define using libm_alias_ldouble.
21553 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
21554 (truncl): Define using libm_alias_ldouble.
21555 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21556 (fmaxl): Define using libm_alias_ldouble.
21557 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21558 (fminl): Define using libm_alias_ldouble.
21560 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
21561 to C syntax instead of availability and properties of types.
21562 * bits/floatn.h [!__ASSEMBLER]: Likewise.
21563 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
21564 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
21565 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
21566 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
21567 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
21569 2017-11-17 Florian Weimer <fweimer@redhat.com>
21571 support_become_root: Enable file creation in namespaces.
21572 * support/support_become_root.c (setup_mapping): New function.
21573 (support_become_root): Call it.
21575 2017-11-17 Joseph Myers <joseph@codesourcery.com>
21577 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
21580 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21582 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
21583 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
21585 2017-11-16 Joseph Myers <joseph@codesourcery.com>
21587 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
21589 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
21592 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
21594 * INSTALL: Fix botched up regeneration.
21596 * NEWS: Update sourceare link to https.
21597 * configure.ac: Likewise.
21598 * crypt/md5test-giant.c: Likewise.
21599 * dlfcn/bug-atexit1.c: Likewise.
21600 * dlfcn/bug-atexit2.c: Likewise.
21601 * localedata/README: Likewise.
21602 * malloc/tst-mallocfork.c: Likewise.
21603 * manual/install.texi: Likewise.
21604 * nptl/tst-pthread-getattr.c: Likewise.
21605 * stdio-common/tst-fgets.c: Likewise.
21606 * stdio-common/tst-fwrite.c: Likewise.
21607 * sunrpc/Makefile: Likewise.
21608 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
21609 * wcsmbs/tst-mbrtowc2.c: Likewise.
21610 * configure: Regenerate.
21611 * INSTALL: Regenerate.
21613 2017-11-15 Martin Sebor <msebor@redhat.com>
21615 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
21616 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
21617 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
21619 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
21622 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
21623 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
21626 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
21627 Defer is_pty check until end of the function.
21628 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21631 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
21632 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
21633 (ttyname): Likewise.
21634 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
21635 (__ttyname_r): Likewise.
21637 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
21640 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
21642 * manual/terminal.texi (Is It a Terminal):
21643 Mention ENODEV for ttyname and ttyname_r.
21645 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21647 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
21648 constant and macro.
21650 * sysdeps/unix/sysv/linux/bits/mman-linux.h
21651 [__USE_MISC] (MADV_WIPEONFORK): New macro.
21652 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
21653 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
21654 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
21655 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
21657 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21659 * signal/sigrelse.c (sigrelse): Optimize implementation.
21661 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
21662 (__sigpause): Rely on __sigsuspend to implement single thread
21663 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
21665 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21667 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
21668 kernel version to 4.14.
21670 2017-11-15 Steve Ellcey <sellcey@cavium.com>
21673 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
21674 Check if ifname is too long.
21676 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
21678 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
21680 2017-11-15 Mike FABIAN <mfabian@redhat.com>
21682 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
21683 was accidentally lost.
21685 2017-11-15 Mike FABIAN <mfabian@redhat.com>
21687 * localedata/locales/az_IR: Add standard copyright header.
21689 2017-11-15 Florian Weimer <fweimer@redhat.com>
21692 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
21693 not just the top one. Output a new "subheaps" statistic.
21695 2017-11-15 Florian Weimer <fweimer@redhat.com>
21698 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
21699 under the per-arena lock.
21700 * malloc/Makefile (tests): Add tst-malloc_info.
21701 (tst-malloc_info): Link with libpthread.
21702 * malloc/tst-malloc_info.c: New file.
21704 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21707 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
21708 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
21709 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
21710 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
21711 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
21712 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
21713 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
21714 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
21715 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
21716 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
21717 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
21718 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
21719 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
21720 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
21721 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
21722 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
21723 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
21724 (__floating_type): Likewise.
21725 (__real_integer_type): Likewise.
21726 (__complex_integer_type): Likewise.
21727 (__expr_is_real): Likewise.
21728 (__tgmath_real_type_sub): Likewise.
21729 (__tgmath_real_type): Likewise.
21730 (__tgmath_complex_type_sub): Likewise.
21731 (__tgmath_complex_type): Likewise.
21732 (__TGMATH_F128): Likewise.
21733 (__TGMATH_CF128): Likewise.
21734 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
21736 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
21737 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
21739 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
21741 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
21742 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
21743 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
21744 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
21746 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
21747 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
21749 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
21750 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
21751 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
21753 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
21754 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
21755 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
21759 2017-11-14 Joseph Myers <joseph@codesourcery.com>
21761 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
21762 for stpncpy calls for GCC 8.
21763 (test_strncat): Disable -Wstringop-truncation warning for strncat
21764 calls for GCC 8. Disable -Wstringop-overflow= warning for one
21765 strncat call for GCC 7.
21766 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
21768 (test_memcmp): Use memcpy instead of strncpy for calls not copying
21771 * string/bug-strncat1.c: Include <libc-diag.h>.
21772 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
21774 2017-11-13 Claude Paroz <claude@2xlibre.net>
21777 * localedata/locales/aa_DJ: Improved readibility by replacing
21778 <Uxxxx> sequences in the ASCII printable range by their ASCII
21779 character equivalents.
21780 * localedata/locales/aa_ER: Likewise.
21781 * localedata/locales/aa_ER@saaho: Likewise.
21782 * localedata/locales/aa_ET: Likewise.
21783 * localedata/locales/af_ZA: Likewise.
21784 * localedata/locales/agr_PE: Likewise.
21785 * localedata/locales/ak_GH: Likewise.
21786 * localedata/locales/am_ET: Likewise.
21787 * localedata/locales/anp_IN: Likewise.
21788 * localedata/locales/ar_AE: Likewise.
21789 * localedata/locales/ar_BH: Likewise.
21790 * localedata/locales/ar_DZ: Likewise.
21791 * localedata/locales/ar_EG: Likewise.
21792 * localedata/locales/ar_IN: Likewise.
21793 * localedata/locales/ar_IQ: Likewise.
21794 * localedata/locales/ar_JO: Likewise.
21795 * localedata/locales/ar_KW: Likewise.
21796 * localedata/locales/ar_LB: Likewise.
21797 * localedata/locales/ar_LY: Likewise.
21798 * localedata/locales/ar_MA: Likewise.
21799 * localedata/locales/ar_OM: Likewise.
21800 * localedata/locales/ar_QA: Likewise.
21801 * localedata/locales/ar_SA: Likewise.
21802 * localedata/locales/ar_SD: Likewise.
21803 * localedata/locales/ar_SS: Likewise.
21804 * localedata/locales/ar_SY: Likewise.
21805 * localedata/locales/ar_TN: Likewise.
21806 * localedata/locales/ar_YE: Likewise.
21807 * localedata/locales/as_IN: Likewise.
21808 * localedata/locales/ast_ES: Likewise.
21809 * localedata/locales/ayc_PE: Likewise.
21810 * localedata/locales/az_AZ: Likewise.
21811 * localedata/locales/az_IR: Likewise.
21812 * localedata/locales/be_BY: Likewise.
21813 * localedata/locales/be_BY@latin: Likewise.
21814 * localedata/locales/bem_ZM: Likewise.
21815 * localedata/locales/ber_DZ: Likewise.
21816 * localedata/locales/ber_MA: Likewise.
21817 * localedata/locales/bg_BG: Likewise.
21818 * localedata/locales/bhb_IN: Likewise.
21819 * localedata/locales/bho_IN: Likewise.
21820 * localedata/locales/bi_VU: Likewise.
21821 * localedata/locales/bn_BD: Likewise.
21822 * localedata/locales/bn_IN: Likewise.
21823 * localedata/locales/bo_CN: Likewise.
21824 * localedata/locales/bo_IN: Likewise.
21825 * localedata/locales/br_FR: Likewise.
21826 * localedata/locales/brx_IN: Likewise.
21827 * localedata/locales/bs_BA: Likewise.
21828 * localedata/locales/byn_ER: Likewise.
21829 * localedata/locales/ca_AD: Likewise.
21830 * localedata/locales/ca_ES: Likewise.
21831 * localedata/locales/ca_FR: Likewise.
21832 * localedata/locales/ca_IT: Likewise.
21833 * localedata/locales/ce_RU: Likewise.
21834 * localedata/locales/chr_US: Likewise.
21835 * localedata/locales/cmn_TW: Likewise.
21836 * localedata/locales/crh_UA: Likewise.
21837 * localedata/locales/cs_CZ: Likewise.
21838 * localedata/locales/csb_PL: Likewise.
21839 * localedata/locales/cv_RU: Likewise.
21840 * localedata/locales/cy_GB: Likewise.
21841 * localedata/locales/da_DK: Likewise.
21842 * localedata/locales/de_AT: Likewise.
21843 * localedata/locales/de_BE: Likewise.
21844 * localedata/locales/de_CH: Likewise.
21845 * localedata/locales/de_DE: Likewise.
21846 * localedata/locales/de_IT: Likewise.
21847 * localedata/locales/de_LI: Likewise.
21848 * localedata/locales/de_LU: Likewise.
21849 * localedata/locales/doi_IN: Likewise.
21850 * localedata/locales/dv_MV: Likewise.
21851 * localedata/locales/dz_BT: Likewise.
21852 * localedata/locales/el_CY: Likewise.
21853 * localedata/locales/el_GR: Likewise.
21854 * localedata/locales/en_AG: Likewise.
21855 * localedata/locales/en_AU: Likewise.
21856 * localedata/locales/en_BW: Likewise.
21857 * localedata/locales/en_CA: Likewise.
21858 * localedata/locales/en_DK: Likewise.
21859 * localedata/locales/en_GB: Likewise.
21860 * localedata/locales/en_HK: Likewise.
21861 * localedata/locales/en_IE: Likewise.
21862 * localedata/locales/en_IL: Likewise.
21863 * localedata/locales/en_IN: Likewise.
21864 * localedata/locales/en_NG: Likewise.
21865 * localedata/locales/en_NZ: Likewise.
21866 * localedata/locales/en_PH: Likewise.
21867 * localedata/locales/en_SG: Likewise.
21868 * localedata/locales/en_US: Likewise.
21869 * localedata/locales/en_ZA: Likewise.
21870 * localedata/locales/en_ZM: Likewise.
21871 * localedata/locales/en_ZW: Likewise.
21872 * localedata/locales/eo: Likewise.
21873 * localedata/locales/es_AR: Likewise.
21874 * localedata/locales/es_BO: Likewise.
21875 * localedata/locales/es_CL: Likewise.
21876 * localedata/locales/es_CO: Likewise.
21877 * localedata/locales/es_CR: Likewise.
21878 * localedata/locales/es_CU: Likewise.
21879 * localedata/locales/es_DO: Likewise.
21880 * localedata/locales/es_EC: Likewise.
21881 * localedata/locales/es_ES: Likewise.
21882 * localedata/locales/es_GT: Likewise.
21883 * localedata/locales/es_HN: Likewise.
21884 * localedata/locales/es_MX: Likewise.
21885 * localedata/locales/es_NI: Likewise.
21886 * localedata/locales/es_PA: Likewise.
21887 * localedata/locales/es_PE: Likewise.
21888 * localedata/locales/es_PR: Likewise.
21889 * localedata/locales/es_PY: Likewise.
21890 * localedata/locales/es_SV: Likewise.
21891 * localedata/locales/es_US: Likewise.
21892 * localedata/locales/es_UY: Likewise.
21893 * localedata/locales/es_VE: Likewise.
21894 * localedata/locales/et_EE: Likewise.
21895 * localedata/locales/eu_ES: Likewise.
21896 * localedata/locales/eu_ES@euro: Likewise.
21897 * localedata/locales/fa_IR: Likewise.
21898 * localedata/locales/ff_SN: Likewise.
21899 * localedata/locales/fi_FI: Likewise.
21900 * localedata/locales/fil_PH: Likewise.
21901 * localedata/locales/fo_FO: Likewise.
21902 * localedata/locales/fr_BE: Likewise.
21903 * localedata/locales/fr_CA: Likewise.
21904 * localedata/locales/fr_CH: Likewise.
21905 * localedata/locales/fr_FR: Likewise.
21906 * localedata/locales/fr_LU: Likewise.
21907 * localedata/locales/fur_IT: Likewise.
21908 * localedata/locales/fy_DE: Likewise.
21909 * localedata/locales/fy_NL: Likewise.
21910 * localedata/locales/ga_IE: Likewise.
21911 * localedata/locales/gd_GB: Likewise.
21912 * localedata/locales/gez_ER: Likewise.
21913 * localedata/locales/gez_ET: Likewise.
21914 * localedata/locales/gl_ES: Likewise.
21915 * localedata/locales/gu_IN: Likewise.
21916 * localedata/locales/gv_GB: Likewise.
21917 * localedata/locales/ha_NG: Likewise.
21918 * localedata/locales/hak_TW: Likewise.
21919 * localedata/locales/he_IL: Likewise.
21920 * localedata/locales/hi_IN: Likewise.
21921 * localedata/locales/hif_FJ: Likewise.
21922 * localedata/locales/hne_IN: Likewise.
21923 * localedata/locales/hr_HR: Likewise.
21924 * localedata/locales/hsb_DE: Likewise.
21925 * localedata/locales/ht_HT: Likewise.
21926 * localedata/locales/hu_HU: Likewise.
21927 * localedata/locales/hy_AM: Likewise.
21928 * localedata/locales/i18n: Likewise.
21929 * localedata/locales/ia_FR: Likewise.
21930 * localedata/locales/id_ID: Likewise.
21931 * localedata/locales/ig_NG: Likewise.
21932 * localedata/locales/ik_CA: Likewise.
21933 * localedata/locales/is_IS: Likewise.
21934 * localedata/locales/it_CH: Likewise.
21935 * localedata/locales/it_IT: Likewise.
21936 * localedata/locales/iu_CA: Likewise.
21937 * localedata/locales/ja_JP: Likewise.
21938 * localedata/locales/ka_GE: Likewise.
21939 * localedata/locales/kk_KZ: Likewise.
21940 * localedata/locales/kl_GL: Likewise.
21941 * localedata/locales/kn_IN: Likewise.
21942 * localedata/locales/ko_KR: Likewise.
21943 * localedata/locales/kok_IN: Likewise.
21944 * localedata/locales/ks_IN: Likewise.
21945 * localedata/locales/ks_IN@devanagari: Likewise.
21946 * localedata/locales/ku_TR: Likewise.
21947 * localedata/locales/kw_GB: Likewise.
21948 * localedata/locales/ky_KG: Likewise.
21949 * localedata/locales/lb_LU: Likewise.
21950 * localedata/locales/lg_UG: Likewise.
21951 * localedata/locales/li_BE: Likewise.
21952 * localedata/locales/li_NL: Likewise.
21953 * localedata/locales/lij_IT: Likewise.
21954 * localedata/locales/ln_CD: Likewise.
21955 * localedata/locales/lo_LA: Likewise.
21956 * localedata/locales/lt_LT: Likewise.
21957 * localedata/locales/lv_LV: Likewise.
21958 * localedata/locales/lzh_TW: Likewise.
21959 * localedata/locales/mag_IN: Likewise.
21960 * localedata/locales/mai_IN: Likewise.
21961 * localedata/locales/mg_MG: Likewise.
21962 * localedata/locales/mhr_RU: Likewise.
21963 * localedata/locales/mi_NZ: Likewise.
21964 * localedata/locales/mk_MK: Likewise.
21965 * localedata/locales/ml_IN: Likewise.
21966 * localedata/locales/mn_MN: Likewise.
21967 * localedata/locales/mni_IN: Likewise.
21968 * localedata/locales/mr_IN: Likewise.
21969 * localedata/locales/ms_MY: Likewise.
21970 * localedata/locales/mt_MT: Likewise.
21971 * localedata/locales/my_MM: Likewise.
21972 * localedata/locales/nan_TW: Likewise.
21973 * localedata/locales/nan_TW@latin: Likewise.
21974 * localedata/locales/nb_NO: Likewise.
21975 * localedata/locales/nds_DE: Likewise.
21976 * localedata/locales/nds_NL: Likewise.
21977 * localedata/locales/ne_NP: Likewise.
21978 * localedata/locales/nhn_MX: Likewise.
21979 * localedata/locales/niu_NU: Likewise.
21980 * localedata/locales/niu_NZ: Likewise.
21981 * localedata/locales/nl_AW: Likewise.
21982 * localedata/locales/nl_BE: Likewise.
21983 * localedata/locales/nl_NL: Likewise.
21984 * localedata/locales/nn_NO: Likewise.
21985 * localedata/locales/nr_ZA: Likewise.
21986 * localedata/locales/nso_ZA: Likewise.
21987 * localedata/locales/oc_FR: Likewise.
21988 * localedata/locales/om_ET: Likewise.
21989 * localedata/locales/om_KE: Likewise.
21990 * localedata/locales/or_IN: Likewise.
21991 * localedata/locales/os_RU: Likewise.
21992 * localedata/locales/pa_IN: Likewise.
21993 * localedata/locales/pa_PK: Likewise.
21994 * localedata/locales/pap_AW: Likewise.
21995 * localedata/locales/pap_CW: Likewise.
21996 * localedata/locales/pl_PL: Likewise.
21997 * localedata/locales/ps_AF: Likewise.
21998 * localedata/locales/pt_BR: Likewise.
21999 * localedata/locales/pt_PT: Likewise.
22000 * localedata/locales/quz_PE: Likewise.
22001 * localedata/locales/raj_IN: Likewise.
22002 * localedata/locales/ro_RO: Likewise.
22003 * localedata/locales/ru_RU: Likewise.
22004 * localedata/locales/ru_UA: Likewise.
22005 * localedata/locales/rw_RW: Likewise.
22006 * localedata/locales/sa_IN: Likewise.
22007 * localedata/locales/sat_IN: Likewise.
22008 * localedata/locales/sc_IT: Likewise.
22009 * localedata/locales/sd_IN: Likewise.
22010 * localedata/locales/sd_IN@devanagari: Likewise.
22011 * localedata/locales/se_NO: Likewise.
22012 * localedata/locales/sgs_LT: Likewise.
22013 * localedata/locales/shs_CA: Likewise.
22014 * localedata/locales/si_LK: Likewise.
22015 * localedata/locales/sid_ET: Likewise.
22016 * localedata/locales/sk_SK: Likewise.
22017 * localedata/locales/sl_SI: Likewise.
22018 * localedata/locales/sm_WS: Likewise.
22019 * localedata/locales/so_DJ: Likewise.
22020 * localedata/locales/so_ET: Likewise.
22021 * localedata/locales/so_KE: Likewise.
22022 * localedata/locales/so_SO: Likewise.
22023 * localedata/locales/sq_AL: Likewise.
22024 * localedata/locales/sq_MK: Likewise.
22025 * localedata/locales/sr_ME: Likewise.
22026 * localedata/locales/sr_RS: Likewise.
22027 * localedata/locales/sr_RS@latin: Likewise.
22028 * localedata/locales/ss_ZA: Likewise.
22029 * localedata/locales/st_ZA: Likewise.
22030 * localedata/locales/sv_FI: Likewise.
22031 * localedata/locales/sv_SE: Likewise.
22032 * localedata/locales/sw_KE: Likewise.
22033 * localedata/locales/sw_TZ: Likewise.
22034 * localedata/locales/szl_PL: Likewise.
22035 * localedata/locales/ta_IN: Likewise.
22036 * localedata/locales/ta_LK: Likewise.
22037 * localedata/locales/tcy_IN: Likewise.
22038 * localedata/locales/te_IN: Likewise.
22039 * localedata/locales/tg_TJ: Likewise.
22040 * localedata/locales/th_TH: Likewise.
22041 * localedata/locales/the_NP: Likewise.
22042 * localedata/locales/ti_ER: Likewise.
22043 * localedata/locales/ti_ET: Likewise.
22044 * localedata/locales/tig_ER: Likewise.
22045 * localedata/locales/tk_TM: Likewise.
22046 * localedata/locales/tl_PH: Likewise.
22047 * localedata/locales/tn_ZA: Likewise.
22048 * localedata/locales/to_TO: Likewise.
22049 * localedata/locales/tpi_PG: Likewise.
22050 * localedata/locales/tr_CY: Likewise.
22051 * localedata/locales/tr_TR: Likewise.
22052 * localedata/locales/ts_ZA: Likewise.
22053 * localedata/locales/tt_RU: Likewise.
22054 * localedata/locales/tt_RU@iqtelif: Likewise.
22055 * localedata/locales/ug_CN: Likewise.
22056 * localedata/locales/uk_UA: Likewise.
22057 * localedata/locales/unm_US: Likewise.
22058 * localedata/locales/ur_IN: Likewise.
22059 * localedata/locales/ur_PK: Likewise.
22060 * localedata/locales/uz_UZ: Likewise.
22061 * localedata/locales/uz_UZ@cyrillic: Likewise.
22062 * localedata/locales/ve_ZA: Likewise.
22063 * localedata/locales/vi_VN: Likewise.
22064 * localedata/locales/wa_BE: Likewise.
22065 * localedata/locales/wae_CH: Likewise.
22066 * localedata/locales/wal_ET: Likewise.
22067 * localedata/locales/wo_SN: Likewise.
22068 * localedata/locales/xh_ZA: Likewise.
22069 * localedata/locales/yi_US: Likewise.
22070 * localedata/locales/yo_NG: Likewise.
22071 * localedata/locales/yue_HK: Likewise.
22072 * localedata/locales/yuw_PG: Likewise.
22073 * localedata/locales/zh_CN: Likewise.
22074 * localedata/locales/zh_HK: Likewise.
22075 * localedata/locales/zh_SG: Likewise.
22076 * localedata/locales/zh_TW: Likewise.
22077 * localedata/locales/zu_ZA: Likewise.
22079 2017-11-13 Florian Weimer <fweimer@redhat.com>
22081 * support/next_to_fault.h, support/next_to_fault.c: New files.
22082 * support/Makefile (libsupport-routines): Add next_to_fault.
22083 * resolv/tst-inet_pton.c (struct next_to_fault)
22084 (next_to_fault_allocate, next_to_fault_free): Remove.
22085 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
22087 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
22089 * elf/dl-support.c: Include <dl-procruntime.c>.
22090 * include/link.h: Include <link_map.h>.
22091 * sysdeps/generic/dl-procruntime.c: New file.
22092 * sysdeps/generic/link_map.h: Likewise.
22093 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
22094 the writable ld.so namespace.
22096 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
22098 timezone: pacify GCC -Wstringop-truncation
22099 Problem reported by Martin Sebor in:
22100 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
22101 * timezone/zic.c (writezone): Use memcpy, not strncpy.
22103 2017-11-12 Florian Weimer <fweimer@redhat.com>
22105 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
22107 (tests): Add tst-xreadlink.
22108 * support/support.h (xstrndup): Declare.
22109 * support/xunistd.h (xunlink, xreadlink): Declare.
22110 * support/temp_file.h (support_create_temp_directory): Declare.
22111 * support/temp_file.c (support_create_temp_directory): New function.
22112 * support/support_chroot.c (support_chroot_create): Use it.
22113 * support/xreadlink.c: New file.
22114 * support/xstrndup.c: Likewise.
22115 * support/xunlink.c: Likewise.
22116 * support/tst-xreadlink.c: Likewise.
22118 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
22120 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
22122 2017-11-11 Florian Weimer <fweimer@redhat.com>
22126 * resolv/res_comp.c (printable_string, binary_hnok)
22127 (binary_leading_dash): New functions.
22128 (res_hnok): Reimplement using these functions and ns_name_pton.
22129 (res_ownok): Likewise.
22130 (res_mailok): Reimplement using printable_string, ns_name_pton and
22132 (res_dnok): Reimplement using printable_string and ns_name_pton.
22133 * resolv/tst-res_hnok.c (tests): Add additional tests.
22134 (LETTERDIGITS, PRINTABLE): Define.
22135 (do_test): Adjust one_char results.
22137 2017-11-11 Florian Weimer <fweimer@redhat.com>
22140 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
22141 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
22143 2017-11-11 Florian Weimer <fweimer@redhat.com>
22145 * resolv/tst-ns_name_pton.c: New file.
22146 * resolv/Makefile (tests): Add tst-ns_name_pton.
22147 (tst-ns_name_pton): Link against libresolv.
22149 2017-11-11 Florian Weimer <fweimer@redhat.com>
22151 * resolv/tst-res_hnok.c: New file.
22152 * resolv/Makefile (tests): Add tst-res_hnok.
22153 (tst-res_hnok): Link against libresolv.
22155 2017-11-11 Florian Weimer <fweimer@redhat.com>
22157 * resolv/tst-resolv-network.c: Use test framework instead explicit
22160 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
22162 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
22163 <jmp_buf-macros.h>.
22164 [!_ISOMAC] (STR_HELPER): New.
22165 [!_ISOMAC] (STR): Likewise.
22166 [!_ISOMAC] (TEST_SIZE): Likewise.
22167 [!_ISOMAC] (TEST_ALIGN): Likewise.
22168 [!_ISOMAC] (TEST_OFFSET): Likewise.
22169 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
22170 field offsets of jmp_buf as well as sigjmp_buf.
22171 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
22172 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
22173 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
22174 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
22175 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
22176 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
22177 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
22178 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
22179 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
22180 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
22182 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
22184 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
22185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
22187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
22189 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
22190 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
22191 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
22192 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
22193 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
22194 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
22196 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
22198 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
22199 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
22200 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
22202 2017-11-07 Joseph Myers <joseph@codesourcery.com>
22205 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22206 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
22207 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22208 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
22209 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22210 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
22211 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22212 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
22213 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22214 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
22215 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22216 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
22217 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22218 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
22219 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22220 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
22221 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22222 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
22223 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22224 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
22225 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22226 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
22227 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22228 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
22229 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22230 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
22231 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22232 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
22233 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22234 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
22235 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22236 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
22237 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22238 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
22239 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22240 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
22241 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22242 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
22243 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22244 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
22245 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22246 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
22247 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22248 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
22249 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22250 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
22251 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22252 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
22253 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22254 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
22255 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22256 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
22257 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22258 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
22259 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22260 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
22261 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22262 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
22263 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22264 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
22265 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22266 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
22267 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22268 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
22269 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22270 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
22271 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22272 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
22273 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22274 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
22275 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22276 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
22277 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22278 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
22279 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22280 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
22281 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22282 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
22283 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22284 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
22285 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22286 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
22287 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22288 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
22289 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22290 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
22291 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22292 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
22294 * stdlib/tst-strtod.h (F16): New macro.
22300 (IF_FLOAT16): Likewise.
22301 (IF_FLOAT32): Likewise.
22302 (IF_FLOAT64): Likewise.
22303 (IF_FLOAT32X): Likewise.
22304 (IF_FLOAT64X): Likewise.
22305 (IF_FLOAT128X): Likewise.
22306 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
22307 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
22308 (STRTOD_TEST_FOREACH): Likewise.
22309 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
22310 (CHOOSE_f64): Likewise.
22311 (CHOOSE_f32x): Likewise.
22312 (CHOOSE_f64x): Likewise.
22314 2017-11-07 Andreas Schwab <schwab@suse.de>
22316 * nptl/Makefile (tests-internal): Remove tst-typesizes.
22318 2017-11-07 Mike FABIAN <mfabian@redhat.com>
22321 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
22323 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
22326 2017-11-07 Claude Paroz <claude@2xlibre.net>
22329 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
22331 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
22333 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
22336 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22339 * nptl/allocatestack.c (allocate_stack): Check if
22340 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
22341 __PTHREAD_MUTEX_HAVE_PREV is defined.
22342 * nptl/descr.h (pthread): Likewise.
22343 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22345 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
22346 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
22347 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
22348 * sysdeps/nptl/bits/thread-shared-types.h
22349 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
22351 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
22352 of __WORDSIZE for internal layout.
22353 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
22354 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
22355 instead of __WORDSIZE whether to use an union for __spins and __list
22357 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
22359 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
22360 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
22362 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
22363 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22365 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
22366 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22368 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
22369 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22371 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
22372 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22374 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
22375 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22377 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
22378 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22380 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
22381 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22383 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
22384 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22386 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
22387 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22389 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
22390 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22392 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
22393 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22395 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
22396 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22398 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
22399 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22401 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
22402 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22405 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
22407 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
22408 checks for expected input type size.
22409 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
22410 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
22412 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
22413 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
22414 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
22415 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
22416 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
22417 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
22418 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
22419 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
22420 superflous runtime assert check.
22421 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
22423 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
22425 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
22427 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
22429 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
22431 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
22433 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
22434 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
22435 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
22437 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
22439 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
22441 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
22443 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
22445 * nptl/pthread_attr_setinheritsched.c
22446 (__pthread_attr_setinheritsched): Likewise.
22447 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
22449 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
22451 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
22452 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
22453 __old_pthread_attr_setstack): Likewise.
22454 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
22456 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
22458 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
22460 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
22461 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
22463 * nptl/tst-typesizes.c: Remove file.
22465 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
22466 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
22467 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
22468 checks for internal pthread_mutex_t offsets.
22469 * sysdeps/aarch64/nptl/pthread-offsets.h
22470 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
22471 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
22472 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
22473 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
22474 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
22475 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
22476 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
22477 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
22478 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
22479 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
22480 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
22481 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
22482 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
22483 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
22484 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
22485 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
22486 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
22487 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
22489 2017-11-07 Florian Weimer <fweimer@redhat.com>
22491 * bits/mman-linux.h: Move ...
22492 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
22494 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
22497 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22499 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
22500 Redefine STRNLEN as __strnlen_power8.
22502 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22504 * signal/sighold.c (sighold): Optimize implementation.
22506 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
22507 __NR_rt_sigqueueinfo.
22509 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
22511 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
22512 assume __NR_rt_sigtimedwait.
22513 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
22514 and add LIBC_CANCEL_HANDLED for cancellation marking.
22515 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22517 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
22518 (sysdeps_routines): Add memchr_noneon.
22519 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
22520 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
22521 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
22522 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
22523 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
22524 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
22525 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
22527 * sysdeps/arm/arm-ifunc.h: New file.
22528 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
22529 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
22530 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
22531 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
22532 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
22533 (__memcpy_neon): Avoid create hidden alias.
22534 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
22535 (__memcpy_vfp): Likewise.
22536 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
22537 (sysdep_routines): Add memcpy_arm.
22538 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
22540 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
22543 * Makerules (make-link-multidir): New.
22544 * config.make.in (multidir): New.
22545 * configure.ac (libc_cv_multidir): New. AC_SUBST.
22546 * configure: Regenerated.
22547 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
22548 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
22549 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
22552 2017-11-06 Joseph Myers <joseph@codesourcery.com>
22555 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
22556 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
22558 2017-11-04 Mike FABIAN <mfabian@redhat.com>
22560 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
22563 2017-11-04 Florian Weimer <fweimer@redhat.com>
22565 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
22567 2017-11-03 Joseph Myers <joseph@codesourcery.com>
22569 * math/math.h [__HAVE_DISTINCT_FLOAT16
22570 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
22571 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
22572 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
22573 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
22574 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
22575 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
22576 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22577 (__MATH_TG_F32): New macro.
22578 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22579 (__MATH_TG_F64X): Likewise.
22580 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22581 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
22583 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
22585 * po/de.po: Update translations.
22586 * po/ru.po: Likewise.
22588 2017-11-03 Florian Weimer <fweimer@redhat.com>
22590 * manual/filesys.texi (Hard Links): Document linkat.
22592 2017-11-03 Joseph Myers <joseph@codesourcery.com>
22594 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
22595 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
22596 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
22597 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
22598 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
22599 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
22600 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
22601 the same as _Float128.
22602 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
22603 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
22604 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
22607 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
22609 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
22611 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
22613 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22614 (strtof32x): Likewise.
22615 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22616 (strtof64x): Likewise.
22617 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22618 (strtof128x): Likewise.
22619 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22620 (strfromf16): Likewise.
22621 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22622 (strfromf32): Likewise.
22623 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22624 (strfromf64): Likewise.
22625 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22626 (strfromf32x): Likewise.
22627 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22628 (strfromf64x): Likewise.
22629 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22630 (strfromf128x): Likewise.
22631 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
22632 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
22633 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
22634 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
22635 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
22636 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
22638 2017-11-03 Richard Henderson <rth@twiddle.net>
22640 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
22642 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22644 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
22646 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22648 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
22649 DT_TLSDESC_GOT initialization.
22650 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
22651 (_dl_tlsdesc_resolve_hold): Likewise.
22652 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
22653 (_dl_tlsdesc_resolve_hold): Likewise.
22654 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
22655 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
22657 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22659 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
22661 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22664 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
22665 non-lazily for R_ARM_TLS_DESC.
22667 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22670 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
22671 R_ARM_TLS_DESC case.
22672 (elf_machine_lazy_rel): Remove the prelink check.
22674 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22676 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
22677 DT_TLSDESC_GOT initialization.
22678 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
22679 (_dl_tlsdesc_resolve_rela): Likewise.
22680 (_dl_tlsdesc_resolve_hold): Likewise.
22681 (_dl_tlsdesc_undefweak): Remove ldar.
22682 (_dl_tlsdesc_dynamic): Likewise.
22683 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
22684 (_dl_tlsdesc_resolve_rela): Likewise.
22685 (_dl_tlsdesc_resolve_hold): Likewise.
22686 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
22687 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
22688 (_dl_tlsdesc_resolve_rela): Likewise.
22689 (_dl_tlsdesc_resolve_hold): Likewise.
22691 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22693 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
22694 binding and initialization non-lazily for R_AARCH64_TLSDESC.
22696 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22698 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
22699 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22701 2017-11-02 Joseph Myers <joseph@codesourcery.com>
22703 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
22705 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
22706 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
22707 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
22708 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
22709 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
22710 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
22711 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
22712 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
22713 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
22714 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
22715 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
22717 2017-11-02 Mike FABIAN <mfabian@redhat.com>
22720 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
22721 * localedata/locales/tpi_PG: Add standard header.
22723 2017-11-02 Florian Weimer <fweimer@redhat.com>
22725 test-errno-linux: quotactl can fail with EPERM in containers.
22726 * sysdeps/unix/sysv/linux/test-errno-linux.c
22727 (LIST, LIST_FORWARD): New macros.
22728 (check_error_in_list): New function.
22729 (test_wrp_rv): Accept list of permitted error codes.
22730 (test_wrp_rv2): Remove.
22731 (test_wrp): Call test_wrp_rv with list of error codes.
22732 (test_wrp2): Accept list of error codes.
22733 (do_test): Adjust. Allow EPERM for quotactl.
22735 2017-11-02 Florian Weimer <fweimer@redhat.com>
22737 * stdio-common/bug16.c (do_test): Use array_length.
22738 * stdio-common/errlist.c (_sys_nerr): Likewise.
22739 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
22740 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
22741 * stdio-common/psiginfo.c (psiginfo): Use array_length.
22742 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
22743 (do_test): Use array_length.
22744 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
22745 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
22746 * stdio-common/tst-printf-round.c (do_test): Likewise.
22747 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
22748 (CHECK): Use array_length.
22749 * stdio-common/tstdiomisc.c (t3, F): Likewise.
22750 * stdio-common/tstscanf.c (main): Likewise.
22751 * stdio-common/vfprintf.c (process_string_arg): Likewise.
22753 2017-11-02 Florian Weimer <fweimer@redhat.com>
22755 Add array_length and array_end macros.
22756 * include/array_length.h: New file.
22758 2017-11-02 Florian Weimer <fweimer@redhat.com>
22761 * posix/tst-glob-tilde.c (do_noescape): New variable.
22762 (one_test): Process it.
22763 (do_test): Set do_noescape. Add unescaping test case.
22765 2017-11-01 Joseph Myers <joseph@codesourcery.com>
22768 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
22769 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
22770 with appropriate macros defined and undefined.
22771 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
22772 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22773 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
22774 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22775 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
22776 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22777 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
22778 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22779 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
22780 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22783 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
22784 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
22785 that for long double. Do not condition define and undefine of
22786 _Mdouble_complex_ on [__CFLOAT128].
22788 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
22790 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
22791 of <sysdeps/generic/sysdep.h>.
22792 (ALIGNARG): Removed.
22793 (ASM_SIZE_DIRECTIVE): Likewise.
22796 (ENTRY_CHK): Likewise.
22797 (END_CHK): Likewise.
22798 (syscall_error): Likewise.
22799 (mcount): Likewise.
22800 (PSEUDO_END): Likewise.
22802 (atom_text_section): Likewise.
22803 * sysdeps/x86/sysdep.h: New file.
22804 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
22805 of <sysdeps/generic/sysdep.h>.
22806 (ALIGNARG): Removed.
22807 (ASM_SIZE_DIRECTIVE): Likewise.
22810 (ENTRY_CHK): Likewise.
22811 (END_CHK): Likewise.
22812 (syscall_error): Likewise.
22813 (mcount): Likewise.
22814 (PSEUDO_END): Likewise.
22816 (atom_text_section): Likewise.
22818 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
22820 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
22821 category of LC_CTYPE set to "i18n:2012".
22822 * localedata/locales/i18n_ctype: Regenerate.
22824 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
22826 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
22827 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
22828 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
22829 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
22831 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
22832 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
22833 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
22834 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
22836 2017-10-31 Joseph Myers <joseph@codesourcery.com>
22839 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
22841 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
22843 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
22845 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22846 (CMPLXF32X): Likewise.
22847 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22848 (CMPLXF64X): Likewise.
22849 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22850 (CMPLXF128X): Likewise.
22853 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
22854 (__MATH_EVAL_FMT2): Define to add 0.0f.
22856 2017-10-31 Alan Modra <amodra@gmail.com>
22858 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
22860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
22861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
22862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
22863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
22864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
22865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
22866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
22867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
22868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
22869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
22870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
22871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
22872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
22873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
22874 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
22875 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
22876 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
22877 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
22878 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
22879 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
22880 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
22881 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
22882 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
22883 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
22884 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
22885 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
22886 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
22887 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
22888 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
22889 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
22890 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
22891 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
22892 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
22893 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
22894 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
22895 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
22896 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
22897 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
22898 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
22899 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
22900 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
22901 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
22902 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
22903 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
22904 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
22905 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
22906 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
22907 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
22908 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
22909 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
22910 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
22911 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
22912 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
22913 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
22914 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
22915 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
22916 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
22917 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
22918 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
22919 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
22920 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
22921 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
22922 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
22923 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
22924 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
22925 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
22926 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
22927 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
22928 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
22930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
22931 include sysdep.h and math_ldbl_opt.h.
22933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
22934 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
22935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
22936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
22937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
22938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
22939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
22940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
22941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
22942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
22943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
22944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
22945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
22946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
22947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
22948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
22949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
22950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
22951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
22952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
22953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
22954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
22955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
22956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
22957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
22958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
22960 2017-10-31 Alan Modra <amodra@gmail.com>
22962 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
22963 string/strncase_l.c, not string/strncase.c.
22964 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
22965 (libc_hidden_def): Redefine.
22967 2017-10-31 Alan Modra <amodra@gmail.com>
22969 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
22970 (__STRCMP, STRCMP, __strcasecmp_l): Define.
22971 (__strcasecmp): Don't define.
22973 2017-10-31 Alan Modra <amodra@gmail.com>
22975 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
22977 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
22978 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
22979 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
22981 2017-10-31 Alan Modra <amodra@gmail.com>
22983 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
22986 2017-10-31 Alan Modra <amodra@gmail.com>
22988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
22989 Redefine only when SHARED.
22991 2017-10-30 Joseph Myers <joseph@codesourcery.com>
22993 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
22994 Include <bits/math-finite.h> with appropriate macros defined and
22996 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
22997 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
22998 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
22999 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
23000 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
23002 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
23003 [!_Mlong_double_] (_Mlong_double_): Likewise.
23004 [!_Mfloat16_] (_Mfloat16_): Likewise.
23005 [!_Mfloat32_] (_Mfloat32_): Likewise.
23006 [!_Mfloat64_] (_Mfloat64_): Likewise.
23007 [!_Mfloat128_] (_Mfloat128_): Likewise.
23008 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
23009 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
23010 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
23011 (_Mdouble_): Define without indirection through those macros.
23012 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
23013 [!_Mfloat128_] (_Mfloat128_): Likewise.
23014 [_Mlong_double_] (_Mlong_double_): Likewise.
23015 (_Mdouble_): Define without indirection through those macros.
23016 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
23017 not add -D_Mlong_double_=double.
23018 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
23019 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
23021 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23023 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
23025 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23027 * sysdeps/x86/libc-start.c: Reformat.
23029 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23032 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
23033 (1): Renamed to ...
23036 (L(Src2)): Likewise.
23037 (L(1)): Renamed to ...
23040 2017-10-30 Joseph Myers <joseph@codesourcery.com>
23042 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
23043 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
23044 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
23045 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
23046 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
23047 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
23048 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
23049 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
23050 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
23051 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
23052 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
23053 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
23054 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
23055 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
23056 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
23057 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
23058 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
23059 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
23060 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
23061 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
23062 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
23063 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
23064 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
23065 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
23066 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
23067 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
23068 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
23069 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
23070 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
23071 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
23072 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
23073 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
23074 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
23075 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
23076 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
23077 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
23078 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
23079 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
23080 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
23081 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
23082 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
23083 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
23084 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
23085 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
23086 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
23087 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
23088 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
23089 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
23090 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
23091 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
23092 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
23093 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
23094 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
23095 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
23096 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
23097 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
23098 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
23099 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
23100 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
23101 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
23102 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
23103 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
23104 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
23105 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
23106 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
23107 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
23109 2017-10-30 Florian Weimer <fweimer@redhat.com>
23111 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
23113 * io/tst-mkdirat.c (do_test): Likewise.
23114 * io/tst-mkfifoat.c (do_test): Likewise.
23115 * io/tst-mknodat.c (do_test): Likewise.
23116 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
23117 * locale/programs/locale.c (select_dirs): Likewise.
23118 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
23119 * posix/bug-glob2.c (my_readdir): Likewise.
23120 * posix/tst-dir.c (main): Likewise.
23121 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
23122 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
23124 2017-10-30 Florian Weimer <fweimer@redhat.com>
23126 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
23129 2017-10-30 Florian Weimer <fweimer@redhat.com>
23131 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
23132 Convert to support/test-driver.c.
23133 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
23134 New macro parameters.
23135 (PRINTF): Remove macro. Use test_verbose conditionals instead.
23136 * posix/tst-gnuglob.c: New file.
23137 * posix/tst-gnuglob64.c: Likewise.
23138 * posix/Makefile (tests): Add tst-gnuglob64.
23140 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
23143 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
23144 and use a better translation for March in “mon”.
23145 * localedata/locales/csb_PL: Use more ASCII to improve the
23146 readability of the source.
23148 2017-10-30 Mike FABIAN <mfabian@redhat.com>
23151 * localedata/locales/km_KH: Use ASCII as much
23152 as possible for better readability of the source and
23153 remove useless comments.
23154 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
23155 was commented out and apparently wrong anyway because it was
23156 using Lao characters. If Buddhist era should be used
23157 for km_KH, a native speaker should write the correct formaat
23159 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
23160 (According to CLDR, the first weekday for Cambodia is Sunday).
23161 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
23162 (These were using Lao characters which must be wrong. If we get
23163 the correct data from a native speaker, we could add it back, until
23164 then it is better not to have name_mr and name_mrs at all than
23167 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
23169 * locale/loadlocale.c: Correct size of
23170 _nl_value_type_LC_<category> arrays.
23172 2017-10-27 Joseph Myers <joseph@codesourcery.com>
23174 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
23175 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
23176 with appropriate macros defined and undefined.
23177 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
23178 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
23179 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
23180 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
23181 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
23183 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
23185 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23188 2017-10-27 Mike FABIAN <mfabian@redhat.com>
23190 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
23191 with lowercase letters to make it agree with CLDR.
23193 2017-10-27 Mike FABIAN <mfabian@redhat.com>
23196 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
23197 first letters of yesstr and nostr in yesexpr and noexpr,
23198 not for the full words.
23199 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
23200 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
23201 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
23202 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
23203 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
23204 first letters of yesstr and nostr in yesexpr and noexpr,
23205 until now only English was matched in yesexpr and noexpr.
23206 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
23207 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
23208 fil but not for tl. As tl and fil are very similar, using fil
23209 is probably better than using English.
23211 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
23214 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
23215 in yesstr and nostr.
23217 2017-10-26 Joseph Myers <joseph@codesourcery.com>
23219 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23220 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
23221 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
23223 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
23225 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
23227 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
23229 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23230 (SNANF128X): Likewise.
23232 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23233 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
23234 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23235 (HUGE_VAL_F32): Likewise.
23236 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23237 (HUGE_VAL_F64): Likewise.
23238 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23239 (HUGE_VAL_F32X): Likewise.
23240 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23241 (HUGE_VAL_F64X): Likewise.
23242 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23243 (HUGE_VAL_F128X): Likewise.
23245 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
23247 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
23248 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
23249 for the br_FR locale.
23251 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
23254 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
23256 2017-10-25 Carlos O'Donell <carlos@redhat.com>
23258 * locale/programs/record-status.h: Define globals, and function
23259 prototypes. Move function bodies...
23260 * locale/programs/record-status.c: ... to here. New file.
23261 * iconv/Makefile (iconv_prog-modules): Add record-status.
23262 * locale/Makefile (lib-modules): Likewise.
23263 * iconv/iconv_prog.c: Remove verbose.
23264 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
23265 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
23266 record a warning about ASCII compatibility.
23267 * locale/programs/ld-monetary.c (monetary_finish): If
23268 warn_int_curr_symbol is true then record a warning about the symbol
23269 not being in our ISO 4217 list.
23270 * locale/programs/locale.c: Include record-status.h. Remove verbose.
23271 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
23272 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
23273 (OPT_NO_WARN): Define.
23274 (OPT_WARN): Define.
23275 (options): Add entry for --no-warnings, and --warnings.
23276 (set_warnings): New function to enable/disable warnings.
23277 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
23278 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
23279 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
23280 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
23281 Pass flags to generate_locale.
23282 (generate_locale): Accept new flag argument and pass it to localedef
23284 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
23285 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
23287 * localedata/Makefile (test-input-data): Use full file name.
23288 * localedata/da_DK.in: Rename to...
23289 * localedata/da_DK.ISO-8859-1.in: ...this.
23290 * localedata/de_DE.in: Rename to...
23291 * localedata/de_DE.ISO-8859-1.in: ...this.
23292 * localedata/en_US.in: Rename to...
23293 * localedata/en_US.ISO-8859-1.in: ...this.
23294 * localedata/fr_FR.in: Rename to...
23295 * localedata/fr_FR.UTF-8.in: ... this.
23296 * localedata/hr_HR.in: Rename to...
23297 * localedata/hr_HR.ISO-8859-2.in: ...this.
23298 * localedata/hu_HU.in: Rename to...
23299 * localedata/hu_HU.UTF-8.in: ...this.
23300 * localedata/si_LK.in: Rename to...
23301 * localedata/si_LK.UTF-8.in: ...this.
23302 * localedata/sv_SE.in: Rename to...
23303 * localedata/sv_SE.ISO-8859-1.in: ...this.
23304 * localedata/tr_TR.in: Rename to...
23305 * localedata/tr_TR.UTF-8.in: ...this.
23306 * localedata/uk_UA.in: Rename to...
23307 * localedata/uk_UA.UTF-8.in: ...this.
23308 * localedata/sort-test.sh: Test file is locale name with the
23311 * localedata/unicode-gen/Makefile (check_i18n): Rename to
23312 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
23314 * localedata/locales/i18n_ctype: Regenerate.
23315 * localedata/locales/tr_TR: Likewise.
23316 * localedata/locales/translit_circle: Likewise.
23317 * localedata/locales/translit_cjk_compat: Likewise.
23318 * localedata/locales/translit_combining: Likewise.
23319 * localedata/locales/translit_compat: Likewise.
23320 * localedata/locales/translit_font: Likewise.
23321 * localedata/locales/translit_fraction: Likewise.
23323 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23325 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
23326 lxvd2x/stxvd2x with lvx/stvx.
23327 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
23329 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
23331 * include/alloc_buffer.h: Replace "if if " with "if " in
23333 * sysdeps/mips/memcpy.S: Likkewise.
23334 * sysdeps/mips/memset.S: Likewise.
23335 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
23337 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
23339 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
23342 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23345 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
23346 yesexpr and noexpr.
23347 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
23348 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
23349 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
23350 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
23351 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
23352 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
23353 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
23355 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23357 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
23358 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
23359 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
23360 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
23361 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
23362 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
23363 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
23364 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
23365 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
23366 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
23367 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
23368 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
23370 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23372 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
23373 as possible for better readability of the source.
23374 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
23375 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
23376 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
23377 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
23378 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
23379 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
23380 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
23381 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
23382 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
23383 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
23384 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
23385 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
23386 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
23387 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
23388 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
23389 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
23390 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
23391 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
23392 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
23393 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
23394 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
23395 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
23396 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
23397 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
23398 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
23399 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
23400 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
23401 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
23402 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
23403 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
23404 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
23405 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
23406 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
23407 * localedata/locales/en_US (LC_MESSAGES): Likewise.
23408 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
23409 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
23410 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
23411 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
23412 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
23413 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
23414 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
23415 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
23416 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
23417 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
23418 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
23419 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
23420 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
23421 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
23422 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
23423 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
23424 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
23425 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
23426 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
23427 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
23428 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
23429 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
23430 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
23431 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
23432 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
23433 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
23434 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
23435 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
23436 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
23437 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
23438 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
23439 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
23440 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
23441 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
23442 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
23443 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
23444 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
23445 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
23446 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
23447 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
23448 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
23449 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
23450 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
23451 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
23452 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
23453 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
23454 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
23455 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
23456 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
23457 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
23458 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
23459 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
23460 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
23461 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
23462 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
23463 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
23464 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
23465 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
23466 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
23467 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
23468 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
23469 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
23470 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
23471 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
23472 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
23473 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
23474 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
23475 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
23476 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
23477 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
23478 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
23479 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
23480 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
23481 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
23482 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
23483 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
23484 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
23485 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
23486 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
23487 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
23488 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
23489 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
23490 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
23491 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
23492 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
23493 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
23494 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
23495 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
23496 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
23497 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
23498 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
23499 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
23500 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
23501 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
23502 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
23503 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
23504 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
23505 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
23506 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
23507 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
23508 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
23509 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
23510 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
23511 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
23512 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
23513 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
23514 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
23515 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
23516 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
23517 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
23518 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
23519 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
23520 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
23521 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
23522 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
23523 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
23524 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
23525 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
23526 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
23527 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
23528 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
23529 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
23530 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
23531 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
23532 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
23533 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
23534 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
23535 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
23536 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
23537 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
23538 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
23539 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
23540 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
23541 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
23542 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
23543 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
23544 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
23545 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
23546 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
23547 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
23549 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23551 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
23552 (Use first letters of yesstr and nostr correctly instead of using
23555 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23557 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
23558 (Use first letters of yesstr and nostr correctly).
23560 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23562 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
23563 also check for the first characters of yesstr and nostr.
23564 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
23565 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
23567 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23569 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
23570 also check for Chinese characters.
23572 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23574 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
23575 match also for the contents of yesstr and nostr. As the first letter
23576 of yesstr and nostr is equal, checking only for the first letter
23579 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23581 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
23582 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
23584 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23586 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
23587 of main contributor.
23589 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23591 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
23592 instead of using English.
23594 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23596 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
23597 by including the first letters of nostr and yesexpr in the regexp.
23598 Also make it more readable by using ASCII where possible.
23600 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23602 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
23603 the first letter of nostr in the regexp. It agrees with CLDR now.
23604 Also make it more readable by using ASCII where possible.
23606 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23608 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
23609 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
23610 these strings contain a U+17D6 (which somewhat looks like a colon)
23611 instead of a real colon to separate the full words for “yes”
23612 and “no” from the single letter responses.
23614 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23616 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
23617 it agree with CLDR (include the first letter of yesstr).
23618 Also make it more readable by using ASCII where possible.
23620 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23622 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
23623 and improve yesexpr and noexpr. The yesstr and nostr apparently
23624 came from CLDR. And CLDR has a bug there: these strings contain
23625 a U+0903 (which looks like a colon) instead of a real colon
23626 to separate the full words for “yes” and “no” from the single
23629 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23631 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
23632 letters of the full yesstr and nostr in yesexpr and noexpr.
23634 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23636 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
23637 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
23638 * localedata/locales/an_ES: Make source more readable by using ASCII
23641 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23644 * localedata/locales/yuw_PG: New file.
23645 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
23646 * locale/iso-639.def: Add Yau (Uruwa).
23648 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23650 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
23652 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23654 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
23655 (__libc_realloc): Likewise.
23656 (_mid_memalign): Likewise.
23657 (__libc_calloc): Likewise.
23659 2017-10-23 Mike FABIAN <mfabian@redhat.com>
23661 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
23662 by adding the generic +1 and -0 as in all other locales.
23663 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
23664 day names and make it more readable by using ASCII where possible.
23666 2017-10-24 Joseph Myers <joseph@codesourcery.com>
23668 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
23669 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
23671 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23673 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
23674 WNOHANG in waitpid call.
23676 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
23678 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
23679 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
23681 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
23682 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
23683 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
23684 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
23685 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
23686 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
23687 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
23688 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
23691 2017-10-23 Michael Collison <michael.collison@arm.com>
23693 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
23694 with __builtin_sqrt.
23695 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
23696 with __builtin_sqrtf.
23697 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
23698 with __builtin_ceil.
23699 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
23700 with __builtin_ceilf.
23701 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
23702 with __builtin_floor.
23703 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
23704 with __builtin_floorf.
23705 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
23706 with __builtin_fma.
23707 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
23708 with __builtin_fmaf.
23709 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
23710 with __builtin_fmax.
23711 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
23712 with __builtin_fmaxf.
23713 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
23714 with __builtin_fmin.
23715 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
23716 with __builtin_fminf.
23717 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
23718 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
23719 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
23720 with builtin_rint and conversion to int.
23721 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
23722 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
23723 with builtin_llround.
23724 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
23725 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
23726 with builtin_rint and conversion to long int.
23727 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
23728 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
23729 with builtin_lround.
23730 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
23731 with builtin_lroundf.
23732 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
23733 statements with __builtin_nearbyint.
23734 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
23735 statements with __builtin_nearbyintf.
23736 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
23737 with __builtin_rint.
23738 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
23739 with __builtin_rintf.
23740 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
23741 with __builtin_round.
23742 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
23743 with __builtin_roundf.
23744 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
23745 with __builtin_trunc.
23746 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
23747 with __builtin_truncf.
23748 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
23749 and s_l[l]round[f].c too.
23751 2017-10-23 Alan Modra <amodra@gmail.com>
23753 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
23754 Adjust stack after restoring regs. Add missing LR cfi_restore.
23756 2017-10-23 Alan Modra <amodra@gmail.com>
23758 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
23759 Move LR save and frame setup/teardown and LR restore to
23760 immediately around memset call. Provide cfi.
23762 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23764 * sysdeps/i386/fpu/e_powf.S: Removed.
23765 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
23766 * sysdeps/i386/fpu/w_powf.c: Likewise.
23767 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
23768 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23769 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23771 (CFLAGS-e_powf-sse2.c): New.
23772 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
23773 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
23775 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23777 * sysdeps/i386/fpu/e_log2f.S: Removed.
23778 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
23779 * sysdeps/i386/fpu/w_log2f.c: Likewise.
23780 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
23781 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23782 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23784 (CFLAGS-e_log2f-sse2.c): New.
23785 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
23786 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
23788 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23790 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23792 (CFLAGS-e_powf-fma.c): New.
23793 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
23794 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
23796 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23798 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23800 (CFLAGS-e_log2f-fma.c): New.
23801 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
23802 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
23804 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23806 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23808 (CFLAGS-e_logf-fma.c): New.
23809 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
23810 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
23812 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23814 * sysdeps/i386/fpu/e_logf.S: Removed.
23815 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
23816 * sysdeps/i386/fpu/w_logf.c: Likewise.
23817 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
23818 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
23819 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23820 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23822 (CFLAGS-e_logf-sse2.c): New.
23823 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
23824 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
23826 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23828 * sysdeps/i386/fpu/e_exp2f.S: Removed.
23829 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
23830 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
23831 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23832 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23834 (CFLAGS-e_exp2f-sse2.c): New.
23835 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
23836 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
23838 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23840 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23842 (CFLAGS-e_exp2f-fma.c): New.
23843 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
23844 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
23846 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23848 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
23849 * sysdeps/i386/fpu/e_expf.S: Likewise.
23850 * sysdeps/i386/fpu/math_errf.c: Likewise.
23851 * sysdeps/i386/fpu/w_expf.c: Likewise.
23852 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
23853 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
23854 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
23855 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
23856 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23857 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23858 Remove e_expf-ia32.
23859 (CFLAGS-e_expf-sse2.c): New.
23860 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
23861 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
23863 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23865 * sysdeps/x86_64/fpu/e_expf.S: Removed.
23866 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
23867 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
23868 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
23870 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
23872 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
23873 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
23875 (__redirect_expf): This.
23876 (SYMBOL_NAME): Changed to expf.
23877 (__ieee754_expf): Renamed to ...
23879 (__GI___expf): This.
23880 (__ieee754_expf): Add strong_alias.
23881 (__expf_finite): Likewise.
23883 Include <sysdeps/ieee754/flt-32/e_expf.c>.
23885 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
23888 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
23891 2017-10-21 Florian Weimer <fweimer@redhat.com>
23893 * posix/Makefile (tests): Add tst-glob-tilde.
23894 (tests-special): Add tst-glob-tilde-mem.out
23895 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
23896 (tst-glob-tilde-mem.out): Add mtrace check.
23897 * posix/tst-glob-tilde.c: New file.
23899 2017-10-20 Joseph Myers <joseph@codesourcery.com>
23901 * bits/floatn-common.h: New file.
23902 * math/Makefile (headers): Add bits/floatn-common.h.
23903 * bits/floatn.h: Include <bits/floatn-common.h>.
23904 * sysdeps/ia64/bits/floatn.h: Likewise.
23905 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
23906 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
23907 * sysdeps/powerpc/bits/floatn.h: Likewise.
23908 * sysdeps/x86/bits/floatn.h: Likewise.
23910 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23912 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
23913 indicates whether compiler emits an warning for alias for
23914 functions with incompatible types.
23917 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
23918 the auxiliary process is terminated by a signal before calling _exit
23921 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23924 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
23926 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
23927 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
23928 and bit_arch_XSAVEC_Usable if needed.
23929 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
23930 and bit_arch_Use_dl_runtime_resolve_opt.
23931 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
23933 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
23934 (bit_arch_Prefer_No_AVX512): Updated.
23935 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
23936 (bit_arch_XSAVEC_Usable): New.
23937 (STATE_SAVE_OFFSET): Likewise.
23938 (STATE_SAVE_MASK): Likewise.
23939 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
23940 (cpu_features): Add xsave_state_size and xsave_state_full_size.
23941 (index_arch_Use_dl_runtime_resolve_opt): Removed.
23942 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
23943 (index_arch_XSAVEC_Usable): New.
23944 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
23945 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
23946 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
23948 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
23949 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
23950 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
23951 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
23952 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
23953 _dl_runtime_resolve_xsavec.
23954 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
23956 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
23957 instead of VEC_SIZE.
23958 (REGISTER_SAVE_BND0): Removed.
23959 (REGISTER_SAVE_BND1): Likewise.
23960 (REGISTER_SAVE_BND3): Likewise.
23961 (REGISTER_SAVE_RAX): Always defined to 0.
23963 (_dl_runtime_resolve_avx): Likewise.
23964 (_dl_runtime_resolve_avx_slow): Likewise.
23965 (_dl_runtime_resolve_avx_opt): Likewise.
23966 (_dl_runtime_resolve_avx512): Likewise.
23967 (_dl_runtime_resolve_avx512_opt): Likewise.
23968 (_dl_runtime_resolve_sse): Likewise.
23969 (_dl_runtime_resolve_sse_vex): Likewise.
23971 (_dl_runtime_resolve_fxsave): Likewise.
23972 (USE_XSAVE): Likewise.
23973 (_dl_runtime_resolve_xsave): Likewise.
23974 (USE_XSAVEC): Likewise.
23975 (_dl_runtime_resolve_xsavec): Likewise.
23976 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
23978 (_dl_runtime_resolve_avx512_opt): Likewise.
23979 (_dl_runtime_resolve_avx): Likewise.
23980 (_dl_runtime_resolve_avx_opt): Likewise.
23981 (_dl_runtime_resolve_sse): Likewise.
23982 (_dl_runtime_resolve_sse_vex): Likewise.
23983 (_dl_runtime_resolve_fxsave): New.
23984 (_dl_runtime_resolve_xsave): Likewise.
23985 (_dl_runtime_resolve_xsavec): Likewise.
23987 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
23991 * posix/glob.c (__glob): Fix one-byte overflow.
23993 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
23995 * malloc/malloc.c (sysdep-cancel.h): Add include.
23997 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
23999 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
24001 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
24003 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
24004 (tests): Remove $(objpfx)ga_test depdendency.
24005 * resolv/ga_test.c: Remove file.
24007 2017-10-20 Mike FABIAN <mfabian@redhat.com>
24010 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
24011 * localedata/locales/kab_DZ: New file.
24013 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24015 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
24016 _dl_relocate_static_pie instead of _dl_start to compute load
24017 address in static PIE.
24019 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24021 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
24023 2017-10-20 Mike FABIAN <mfabian@redhat.com>
24026 * localedata/SUPPORTED: Add shn_MM/UTF-8.
24027 * localedata/locales/shn_MM: New file.
24029 2017-10-20 Florian Weimer <fweimer@redhat.com>
24032 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
24033 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
24034 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
24035 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
24036 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
24037 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
24039 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
24041 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24043 2017-10-19 Joseph Myers <joseph@codesourcery.com>
24045 * sysdeps/mips/ieee754/bits/floatn.h: New file.
24048 * sysdeps/mips/bits/long-double.h: Move to ....
24049 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
24051 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
24053 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
24055 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
24056 H.J. Lu <hongjiu.lu@intel.com>
24059 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
24060 GLRO(dl_platform) to NULL.
24061 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
24062 (modules-names): Add tst-platformmod-1 and
24063 x86_64/tst-platformmod-2.
24064 (CFLAGS-tst-platform-1.c): New.
24065 (CFLAGS-tst-platformmod-1.c): Likewise.
24066 (CFLAGS-tst-platformmod-2.c): Likewise.
24067 (LDFLAGS-tst-platformmod-2.so): Likewise.
24068 ($(objpfx)tst-platform-1): Likewise.
24069 ($(objpfx)tst-platform-1.out): Likewise.
24070 (tst-platform-1-ENV): Likewise.
24071 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
24072 * sysdeps/x86_64/tst-platform-1.c: New file.
24073 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
24074 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
24076 2017-10-19 Mike FABIAN <mfabian@redhat.com>
24079 * locale/iso-639.def: Add Karbi.
24080 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
24081 * localedata/locales/mjw_IN: New file.
24083 2017-10-18 Joseph Myers <joseph@codesourcery.com>
24085 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
24086 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
24087 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
24088 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
24089 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
24090 (libm_alias_ldouble_other_r): Also create _Float128 alias.
24091 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
24093 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
24094 (libm_alias_ldouble_other_r): Also create _Float128 alias.
24095 * manual/math.texi (Mathematics): Document additional architecture
24096 support for _Float128.
24097 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24098 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24099 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24100 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24101 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24102 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24103 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24104 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24105 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24106 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24107 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24108 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24109 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24110 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24111 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24113 2017-10-18 Renlin Li <renlin.li@arm.com>
24115 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
24116 _DYNAMIC symbol to calculate load address.
24118 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
24120 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
24121 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
24123 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
24124 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
24126 2017-10-18 Mike FABIAN <mfabian@redhat.com>
24129 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
24130 and improve readability by using more ASCII.
24131 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
24132 and improve readability by using more ASCII.
24134 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
24136 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
24137 not all targets support atomics on bool.
24139 2017-10-17 Joseph Myers <joseph@codesourcery.com>
24141 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
24142 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
24144 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24145 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
24146 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24147 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
24148 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24149 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
24151 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24153 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
24156 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24159 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
24160 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
24161 (do_check_remalloced_chunk): Fix build bug.
24162 (do_check_malloc_state): Add assert that checks arena->top.
24163 (malloc_consolidate): Remove initialization.
24164 (int_mallinfo): Remove call to malloc_consolidate.
24165 (__libc_mallopt): Clarify why malloc_consolidate is needed.
24167 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24169 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
24170 (have_fastchunks): Remove.
24171 (clear_fastchunks): Remove.
24172 (set_fastchunks): Remove.
24173 (malloc_state): Add have_fastchunks.
24174 (malloc_init_state): Use have_fastchunks.
24175 (do_check_malloc_state): Remove incorrect invariant checks.
24176 (_int_malloc): Use have_fastchunks.
24177 (_int_free): Likewise.
24178 (malloc_consolidate): Likewise.
24180 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24182 * malloc/malloc.c (tcache_put): Inline.
24183 (tcache_get): Inline.
24185 2017-10-17 Jordi Mallach <jordi@gnu.org>
24187 Aurelien Jarno <aurelien@aurel32.net>
24189 * localedata/locales/ca_ES@valencia: New file.
24190 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
24192 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
24195 * math/math.h: Let signbit use the builtin in C++ mode with gcc
24198 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24200 * scripts/build-many-glibcs.py (Context.add_all_configs):
24201 Add arm-linux-gnueabihf multiarch extra_glibcs.
24203 * sysdeps/generic/ifunc-init.h: New file.
24204 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
24206 2017-10-17 Mike FABIAN <mfabian@redhat.com>
24209 * localedata/locales/el_GR: Set n_cs_precedes to 0.
24210 * localedata/locales/el_CY: copy "el_GR" because it is identical.
24211 * stdlib/tst-strfmon_l.c: adapt test case.
24213 2017-10-16 Joseph Myers <joseph@codesourcery.com>
24215 * sysdeps/generic/float128-abi.h: New file.
24216 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
24217 non-__prefixed symbols to ....
24218 * math/Versions: ... here. Include <float128-abi.h>.
24219 * stdlib/Versions ... and here. Include <float128-abi.h>
24221 2017-10-16 Florian Weimer <fweimer@redhat.com>
24223 * version.h (VERSION): Switch to ".9000" as the development
24226 2017-10-16 Florian Weimer <fweimer@redhat.com>
24229 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
24230 compat_symbol_reference to access non-default version.
24232 2017-10-16 Florian Weimer <fweimer@redhat.com>
24234 * malloc/Makefile (others-extras): Set to mcheck-init.o.
24236 2017-10-16 Carlos O'Donell <carlos@redhat.com>
24238 * include/shlib-compat.h (compat_symbol_reference): Update
24241 2017-10-16 Joseph Myers <joseph@codesourcery.com>
24243 * math/Makefile (test-types): Add
24244 $(type-float128-$(float128-alias-fcts)).
24245 * math/test-float128.h (TYPE_STR): Define conditional on
24246 [FLT128_MANT_DIG == LDBL_MANT_DIG].
24247 (ULP_IDX): Likewise.
24248 (ULP_I_IDX): Likewise.
24250 * stdlib/strtold.c: Include <bits/floatn.h>
24251 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
24252 and later undefine as macro. Define as weak alias if
24254 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
24255 and later undefine as macro. Define as weak alias if
24257 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
24258 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
24259 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24260 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
24261 Define and later undefine as macro. Define as weak alias if
24263 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
24265 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
24266 Define and later undefine as macro. Define as weak alias if
24268 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
24269 Define and later undefine as macro. Define as weak alias if
24272 2017-10-15 Carlos O'Donell <carlos@redhat.com>
24274 * localedata/collate-test.c (allocate_arrays): Don't use \n in
24275 record_verbose messages.
24277 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
24280 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
24281 to silence -O3 -Wall warning with GCC 7.
24283 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
24285 * Makeconfig (+link-static-before-libc): Use the first of
24286 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
24287 * gmon/Makefile (tests): Add tst-gmon-static.
24288 (tests-static): Likewise.
24289 (CFLAGS-tst-gmon-static.c): New.
24290 (CRT-tst-gmon-static): Likewise.
24291 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
24292 (tst-gmon-static-ENV): Likewise.
24293 (tests-special): Likewise.
24294 ($(objpfx)tst-gmon-static.out): Likewise.
24295 (clean-tst-gmon-static-data): Likewise.
24296 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
24297 * gmon/tst-gmon-static-gprof.sh: New file.
24298 * gmon/tst-gmon-static.c: Likewise.
24300 2017-10-13 Carlos O'Donell <carlos@redhat.com>
24303 * locale/programs/linereader.c (get_string): Don't warn on
24304 non-symbolic character.
24307 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
24311 * locale/programs/record-status.h: New file
24312 * locale/programs/locale.c: Add comment.
24313 * locale/programs/charmap-dir.c: Don't include error.h.
24314 (charmap_opendir): Use record_error.
24315 * locale/programs/charmap.c: Don't include error.h.
24316 (charmap_read): Use record_error, and record_warning.
24317 (parse_charmap): Likewise.
24318 * locale/programs/ld-address.c: Don't include error.h.
24319 (address_finish): Use record_error, and record_warning.
24320 * locale/programs/ld-collate.c: Don't include error.h.
24321 (collate_finish): Use record_error, and record_error_at_line.
24322 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
24323 (ctype_class_new): Likewise.
24324 (ctype_map_new): Likewise.
24325 (set_one_default): Likewise.
24326 (set_class_defaults): Likewise.
24327 (translit_flatten): Likewise.
24328 (allocate_arrays): Use record_error, and record_verbose.
24329 * locale/programs/ld-identification.c: Don't include error.h.
24330 (indentation_finish): Use record_error and record_warning.
24331 * locale/programs/ld-measurement.c: Don't include error.h.
24332 (measurement_finish): Use record_error.
24333 * locale/programs/ld-messages.c
24334 (message_finish): Likewise.
24335 * locale/programs/ld-monetary.c
24336 (monetary_finish): Likewise.
24337 * locale/programs/ld-name.c (name_finish): Use record_error
24338 and record_warning.
24339 * locale/programs/ld-numeric.c
24340 (numeric_finish): Use record_error.
24341 * locale/programs/ld-paper.c: Don't include error.h.
24342 (paper_finish): Use record_error.
24343 * locale/programs/ld-telephone.c: Don't include error.h.
24344 (telephone_finish): Use record_error.
24345 * locale/programs/ld-time.c (time_finish): Likewise.
24346 * locale/programs/linereader.h (lr_error): Make inline func.
24347 * locale/programs/localedef.c: Define recorded_warning_count,
24348 and recorded_error_count.
24349 (main): Use record_error. Use recorded_error_count and
24350 recorded_warning_count to issue correct error returns.
24351 (add_to_readlist): Use record_error.
24352 (find_locale): Likewise.
24353 (load_locale): Likewise.
24354 * locale/programs/localedef.h: Remove be_quiet
24355 and WITH_CUR_LOCALE.
24356 * locale/programs/locarchive.c (compare_from_file): Use
24358 * locale/programs/locfile.c (write_locale_data): Use
24360 * locale/programs/repertoire.c: Dont include error.h.
24361 (repertoire_complain): Use record_error.
24362 * localedata/tst-fmon.sh: Expect failures from localedef.
24363 * localedata/tst-locale.sh: Likewise.
24364 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
24366 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
24367 (REPORTS): Likewise.
24369 (i18n): Rename to...
24370 (i18n_ctype): ...this.
24371 (i18n-report): Rename to...
24372 (i18n_ctype-report): ...this.
24373 * localedata/locales/i18n_ctype: Regenerate.
24374 * localedata/locales/i18n: copy i18n_ctype.
24376 2017-10-13 Joseph Myers <joseph@codesourcery.com>
24378 * stdlib/strfroml.c: Include <bits/floatn.h>.
24379 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
24380 Define before include of <stdlib.h> and undefine afterwards, then
24381 define as weak alias.
24383 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
24384 Undefine and restore default definition. Use
24385 libm_alias_ldouble_other.
24387 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
24390 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
24393 2017-10-13 James Clarke <jrtc27@jrtc27.com>
24395 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24396 Assign sym_map to be map for local symbols, as TLS relocations
24397 use sym_map to determine whether the symbol is defined and to
24398 extract the TLS information.
24399 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24400 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24402 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24405 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
24406 (math_force_eval): Add powerpc version.
24409 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
24411 (do_test): Likewise.
24412 * stdio-common/tst-printf.sh: Likewise.
24413 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
24414 ifdef clause in order to set the carry bit right. Replace r0 by
24415 0 without changing the behavior.
24417 2017-10-13 Joseph Myers <joseph@codesourcery.com>
24419 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
24420 <libm-alias-ldouble.h>.
24421 (fabsl): Define using libm_alias_ldouble.
24422 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
24423 <libm-alias-ldouble.h>.
24424 (fabsl): Define using libm_alias_ldouble.
24426 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
24427 Remove conditional code.
24429 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
24430 Rename to __clog10_internal_l.
24431 (__clog10_internal_l): Define aliases using
24432 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
24435 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24437 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
24438 * benchtests/sincosf-inputs: New file.
24439 * benchtests/cosf-inputs: New file.
24440 * benchtests/sinf-inputs: New file.
24442 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
24444 * posix/tst-spawn.c (do_test): Wait for both children.
24446 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
24449 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
24450 tests-pie): Add tst-gmon-pie.
24451 (CFLAGS-tst-gmon-pie.c): New.
24452 (CRT-tst-gmon-pie): Likewise.
24453 (tst-gmon-pie-ENV): Likewise.
24454 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
24455 ($(objpfx)tst-gmon-pie.out): Likewise.
24456 (clean-tst-gmon-pie-data): Likewise.
24457 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
24458 * gmon/gmon.c [PIC]: Include <link.h>.
24459 [PIC] (callback): New function.
24460 (write_hist): Add an argument for load address. Subtract load
24462 (write_call_graph): Likewise.
24463 (write_gmon): Call __dl_iterate_phdr to get load address, pass
24464 it to write_hist and write_call_graph.
24465 * gmon/tst-gmon-pie.c: New file.
24467 2017-10-11 Joseph Myers <joseph@codesourcery.com>
24469 * math/Makefile (test-types-basic): New variable.
24470 (test-types): Likewise.
24471 (libm-test-support): Use $(test-types) instead of $(types).
24472 (libm-tests-base-normal): Likewise.
24473 (libm-tests-base-finite): Likewise.
24474 (libm-tests-base-inline): Likewise.
24475 (generated): Likewise.
24476 ($(objpfx)libm-test-support-$(t).c): Likewise.
24477 (libm-tests-for-type iterator): Likewise.
24478 (libm-test-support iterator): Likewise.
24479 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
24480 (ulp_idx): Use ULP_IDX.
24481 * math/test-ldouble.h: Include <float.h>.
24482 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
24483 (ULP_IDX): New macro.
24484 (ULP_I_IDX): Likewise.
24485 * math/test-double.h (ULP_IDX): Likewise.
24486 (ULP_I_IDX): Likewise.
24487 * math/test-float.h (ULP_IDX): Likewise.
24488 (ULP_I_IDX): Likewise.
24489 * math/test-float128.h (ULP_IDX): Likewise.
24490 (ULP_I_IDX): Likewise.
24492 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24494 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
24495 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24496 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24497 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
24498 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24499 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
24500 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
24501 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24502 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24503 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24504 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
24505 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24506 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24507 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24508 (SINGLE_THREAD_BY_GLOBAL): Define.
24509 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24511 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24513 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24515 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24517 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
24518 (SINGLE_THREAD_BY_GLOBAL): Likewise.
24519 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24522 2017-10-11 Andreas Schwab <schwab@suse.de>
24524 * nis/Makefile (aux): Remove.
24525 * nscd/Makefile (aux): Add nscd_hash.
24526 (nscd-modules): Likewise.
24527 ($(objpfx)nscd): Don't depend on libnsl.
24528 * nscd/nscd_hash.c: New file.
24529 * nscd/nscd_hash.h: Likewise.
24530 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
24531 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
24532 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
24533 instead of <nis/rpcsvc/nis.h>.
24534 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
24536 2017-10-11 Florian Weimer <fweimer@redhat.com>
24539 Avoid large NSS buffers with many addresses, aliases.
24540 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
24541 using dynarrays and struct alloc_buffer.
24542 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
24543 (tst-nss-files-hosts-multi): Link with -ldl.
24544 * nss/tst-nss-files-hosts-multi.c: New file.
24546 2017-10-11 Florian Weimer <fweimer@redhat.com>
24549 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
24550 scratch_buffer. Eliminate gotos.
24552 2017-10-11 Joseph Myers <joseph@codesourcery.com>
24554 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
24555 libm_alias_ldouble_other.
24556 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
24557 undefine and redefine.
24558 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
24559 (exp10l): Do not define here.
24560 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
24561 (weak_alias): Undefine and redefine.
24562 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
24563 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
24564 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
24565 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
24567 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
24568 [!__fma] (fma): Define using libm_alias_double.
24569 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
24570 [!__fmaf] (fmaf): Define using libm_alias_float.
24571 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
24572 (fmal): Define using libm_alias_ldouble.
24574 2017-10-10 Joseph Myers <joseph@codesourcery.com>
24576 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
24578 (libm_alias_double_other): Likewise.
24579 (libm_alias_double_r): Use libm_alias_double_other_r.
24580 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
24582 (libm_alias_float_other): Likewise.
24583 (libm_alias_float_r): Use libm_alias_float_other_r.
24584 * sysdeps/generic/libm-alias-float128.h
24585 (libm_alias_float128_other_r): New macro.
24586 (libm_alias_float128_other): Likewise.
24587 (libm_alias_float128_r): Use libm_alias_float128_other_r.
24588 * sysdeps/generic/libm-alias-ldouble.h
24589 (libm_alias_ldouble_other_r): New macro.
24590 (libm_alias_ldouble_other): Likewise.
24591 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
24592 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
24593 (libm_alias_double_other_r): New macro.
24594 (libm_alias_double_other): Likewise.
24595 (libm_alias_double_r): Use libm_alias_double_other_r.
24596 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
24597 (libm_alias_ldouble_other_r): New macro.
24598 (libm_alias_ldouble_other): Likewise.
24599 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
24600 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
24601 [!USE_AS_COMPAT]: Use libm_alias_double_other.
24602 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
24603 [!USE_AS_COMPAT]: Use libm_alias_float_other.
24604 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
24605 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
24606 * math/w_exp2f.c: Use libm_alias_float_other.
24607 * math/w_expf.c: Likewise.
24608 * math/w_log2f.c: Likewise.
24609 * math/w_logf.c: Likewise.
24610 * math/w_powf.c: Likewise.
24611 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
24612 [!__exp2f]: Use libm_alias_float_other.
24613 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
24614 [!__expf]: Use libm_alias_float_other.
24615 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
24616 [!__log2f]: Use libm_alias_float_other.
24617 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
24618 [!__logf]: Use libm_alias_float_other.
24619 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
24620 [!__powf]: Use libm_alias_float_other.
24622 2017-10-10 Florian Weimer <fweimer@redhat.com>
24624 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
24626 (_nss_files_gethostbyname3_r): Call it.
24628 2017-10-09 Joseph Myers <joseph@codesourcery.com>
24630 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
24631 error. Remove default definition of declare_mgen_alias.
24632 [!declare_mgen_alias_r]: Likewise.
24633 * sysdeps/generic/math-type-macros-double.h
24634 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
24635 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
24636 (declare_mgen_alias_r): Likewise.
24637 * sysdeps/generic/math-type-macros-float128.h
24638 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
24639 * sysdeps/generic/math-type-macros-ldouble.h
24640 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
24641 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
24643 (declare_mgen_alias_r_s): Likewise.
24644 (declare_mgen_alias_r): Likewise.
24645 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
24646 (lgamma_r): Define using libm_alias_double_r.
24647 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
24648 (lgammaf_r): Define using libm_alias_float_r.
24649 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
24650 (lgammal_r): Define using libm_alias_ldouble_r.
24651 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
24652 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
24654 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24656 * lib/glob.c (__glob_pattern_type): Remove now-spurious
24657 extern declaration.
24659 2017-10-09 Joseph Myers <joseph@codesourcery.com>
24661 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
24663 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
24666 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
24667 [__cplusplus >= 201103] (__USE_ISOC99): Define.
24668 * math/Makefile (test-math-cxx11): New test.
24669 * math/test-math-cxx11.cc: New file.
24671 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
24673 * login/openpty.c (openpty): Close slave pty file descriptor on error.
24675 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
24676 call to allocate the slave pty file descriptor.
24678 2017-10-06 Joseph Myers <joseph@codesourcery.com>
24680 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
24681 [!__fma] (fma): Define using libm_alias_double.
24682 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
24683 [!__fma] (fma): Define using libm_alias_double.
24685 * sysdeps/ieee754/float128/float128_private.h: Include
24686 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
24687 (libm_alias_ldouble_r): Undefine and redefine.
24688 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
24689 <libm-alias-ldouble.h>.
24690 (asinhl): Define using libm_alias_ldouble.
24691 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
24692 <libm-alias-ldouble.h>.
24693 (atanl): Define using libm_alias_ldouble.
24694 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
24695 <libm-alias-ldouble.h>.
24696 (cbrtl): Define using libm_alias_ldouble.
24697 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
24698 <libm-alias-ldouble.h>.
24699 (ceill): Define using libm_alias_ldouble.
24700 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
24701 <libm-alias-ldouble.h>.
24702 (copysignl): Define using libm_alias_ldouble.
24703 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
24704 <libm-alias-ldouble.h>.
24705 (cosl): Define using libm_alias_ldouble.
24706 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
24707 <libm-alias-ldouble.h>.
24708 (erfl): Define using libm_alias_ldouble.
24710 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
24711 <libm-alias-ldouble.h>.
24712 (expm1l): Define using libm_alias_ldouble.
24713 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
24714 <libm-alias-ldouble.h>.
24715 (fabsl): Define using libm_alias_ldouble.
24716 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
24717 <libm-alias-ldouble.h>.
24718 (floorl): Define using libm_alias_ldouble.
24719 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
24720 <libm-alias-ldouble.h>.
24721 (fmal): Define using libm_alias_ldouble.
24722 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
24723 <libm-alias-ldouble.h>.
24724 (frexpl): Define using libm_alias_ldouble.
24725 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
24726 libm_alias_ldouble.
24727 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
24728 <libm-alias-ldouble.h>.
24729 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
24730 libm_alias_ldouble.
24731 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
24732 <libm-alias-ldouble.h>.
24733 (getpayloadl): Define using libm_alias_ldouble.
24734 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
24735 <libm-alias-ldouble.h>.
24736 (llrintl): Define using libm_alias_ldouble.
24737 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
24738 <libm-alias-ldouble.h>.
24739 (llroundl): Define using libm_alias_ldouble.
24740 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
24741 <libm-alias-ldouble.h>.
24742 (logbl): Define using libm_alias_ldouble.
24743 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
24744 <libm-alias-ldouble.h>.
24745 (lrintl): Define using libm_alias_ldouble.
24746 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
24747 <libm-alias-ldouble.h>.
24748 (lroundl): Define using libm_alias_ldouble.
24749 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
24750 <libm-alias-ldouble.h>.
24751 (modfl): Define using libm_alias_ldouble.
24752 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
24753 <libm-alias-ldouble.h>.
24754 (nearbyintl): Define using libm_alias_ldouble.
24755 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
24756 <libm-alias-ldouble.h>.
24757 (nextafterl): Define using libm_alias_ldouble.
24758 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
24759 <libm-alias-ldouble.h>.
24760 (nextupl): Define using libm_alias_ldouble.
24761 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
24762 <libm-alias-ldouble.h>.
24763 (remquol): Define using libm_alias_ldouble.
24764 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
24765 <libm-alias-ldouble.h>.
24766 (rintl): Define using libm_alias_ldouble.
24767 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
24768 <libm-alias-ldouble.h>.
24769 (roundevenl): Define using libm_alias_ldouble.
24770 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
24771 <libm-alias-ldouble.h>.
24772 (roundl): Define using libm_alias_ldouble.
24773 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
24774 using libm_alias_ldouble.
24775 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
24776 <libm-alias-ldouble.h>.
24777 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
24778 Define using libm_alias_ldouble.
24779 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
24780 <libm-alias-ldouble.h>.
24781 (sincosl): Define using libm_alias_ldouble.
24782 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
24783 <libm-alias-ldouble.h>.
24784 (sinl): Define using libm_alias_ldouble.
24785 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
24786 <libm-alias-ldouble.h>.
24787 (tanhl): Define using libm_alias_ldouble.
24788 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
24789 <libm-alias-ldouble.h>.
24790 (tanl): Define using libm_alias_ldouble.
24791 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
24792 <libm-alias-ldouble.h>.
24793 (totalorderl): Define using libm_alias_ldouble.
24794 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
24795 <libm-alias-ldouble.h>.
24796 (totalordermagl): Define using libm_alias_ldouble.
24797 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
24798 <libm-alias-ldouble.h>.
24799 (truncl): Define using libm_alias_ldouble.
24800 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
24801 libm_alias_ldouble.
24802 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
24803 libm_alias_ldouble.
24804 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
24805 <libm-alias-ldouble.h>.
24806 (weak_alias): Do not undefine and redefine.
24807 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24808 (copysignl): Define with long_double_symbol only if [IS_IN
24810 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
24811 <libm-alias-ldouble.h>.
24812 (weak_alias): Do not undefine and redefine.
24813 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24814 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
24815 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
24816 <libm-alias-ldouble.h>.
24817 (weak_alias): Do not undefine and redefine.
24818 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24819 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
24820 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
24821 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
24822 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
24823 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
24824 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
24825 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
24826 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
24827 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
24828 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
24829 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
24830 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
24831 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
24832 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
24833 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
24834 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
24835 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
24836 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
24837 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
24838 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
24839 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
24840 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
24841 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
24842 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
24843 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
24845 2017-10-06 Carlos O'Donell <carlos@redhat.com>
24848 * malloc/malloc.c (tcache_shutting_down): Use bool type.
24849 (tcache_thread_freeres): Set tcache_shutting_down before
24850 freeing the tcache.
24851 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
24852 * malloc/tst-malloc-tcache-leak.c: New file.
24854 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24856 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
24857 back to powerpc32 file.
24858 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
24859 (memrchr): Add __memrchr_power8 to ifunc list.
24860 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
24861 extra bytes for unaligned inputs.
24863 2017-10-06 Joseph Myers <joseph@codesourcery.com>
24865 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
24866 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
24867 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
24868 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
24869 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
24871 2017-10-05 Joseph Myers <joseph@codesourcery.com>
24873 * sysdeps/arm/libm-test-ulps: Update.
24875 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
24876 <libm-alias-ldouble.h>.
24877 (asinhl): Define using libm_alias_ldouble.
24878 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
24879 <libm-alias-ldouble.h>.
24880 (cbrtl): Define using libm_alias_ldouble.
24881 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
24882 <libm-alias-ldouble.h>.
24883 (copysignl): Define using libm_alias_ldouble.
24884 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
24885 <libm-alias-ldouble.h>.
24886 (cosl): Define using libm_alias_ldouble.
24887 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
24888 <libm-alias-ldouble.h>.
24889 (erfl): Define using libm_alias_ldouble.
24891 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
24892 <libm-alias-ldouble.h>.
24893 (fmal): Define using libm_alias_ldouble.
24894 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
24895 <libm-alias-ldouble.h>.
24896 (frexpl): Define using libm_alias_ldouble.
24897 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
24898 libm_alias_ldouble.
24899 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
24900 <libm-alias-ldouble.h>.
24901 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
24902 libm_alias_ldouble.
24903 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
24904 <libm-alias-ldouble.h>.
24905 (getpayloadl): Define using libm_alias_ldouble.
24906 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
24907 <libm-alias-ldouble.h>.
24908 (llrintl): Define using libm_alias_ldouble.
24909 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
24910 <libm-alias-ldouble.h>.
24911 (llroundl): Define using libm_alias_ldouble.
24912 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
24913 <libm-alias-ldouble.h>.
24914 (lrintl): Define using libm_alias_ldouble.
24915 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
24916 <libm-alias-ldouble.h>.
24917 (lroundl): Define using libm_alias_ldouble.
24918 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
24919 <libm-alias-ldouble.h>.
24920 (modfl): Define using libm_alias_ldouble.
24921 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
24922 <libm-alias-ldouble.h>.
24923 (nextupl): Define using libm_alias_ldouble.
24924 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
24925 <libm-alias-ldouble.h>.
24926 (remquol): Define using libm_alias_ldouble.
24927 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
24928 <libm-alias-ldouble.h>.
24929 (roundevenl): Define using libm_alias_ldouble.
24930 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
24931 <libm-alias-ldouble.h>.
24932 (roundl): Define using libm_alias_ldouble.
24933 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
24934 using libm_alias_ldouble.
24935 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
24936 <libm-alias-ldouble.h>.
24937 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
24938 <libm-alias-ldouble.h>.
24939 (setpayloadsigl): Define using libm_alias_ldouble.
24940 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
24941 <libm-alias-ldouble.h>.
24942 (sincosl): Define using libm_alias_ldouble.
24943 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
24944 <libm-alias-ldouble.h>.
24945 (sinl): Define using libm_alias_ldouble.
24946 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
24947 <libm-alias-ldouble.h>.
24948 (tanhl): Define using libm_alias_ldouble.
24949 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
24950 <libm-alias-ldouble.h>.
24951 (tanl): Define using libm_alias_ldouble.
24952 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
24953 <libm-alias-ldouble.h>.
24954 (totalorderl): Define using libm_alias_ldouble.
24955 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
24956 <libm-alias-ldouble.h>.
24957 (totalordermagl): Define using libm_alias_ldouble.
24958 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
24959 libm_alias_ldouble.
24960 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
24961 libm_alias_ldouble.
24963 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
24965 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
24967 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24968 (__libc_ifunc_impl_list): Likewise.
24969 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
24970 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
24972 * benchtests/bench-memmove-walk.c: New file.
24973 * benchtests/Makefile (string-benchset): Add it.
24975 * benchtests/bench-memset-walk.c: New file.
24976 * benchtests/Makefile (string-benchset): Add it.
24978 * benchtests/bench-memcpy-walk.c: New file.
24979 * benchtests/Makefile (string-benchset): Add it.
24981 2017-10-05 Florian Weimer <fweimer@redhat.com>
24983 nscd: Eliminate compilation time dependency in the build output.
24984 * nscd/nscd_stat.c (STATDATA_VERSION)
24985 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
24986 (STATDATA_VERSION_FULL): New macro definitions.
24987 (compilation): Remove.
24988 (struct statdata): Adjust version member.
24989 (send_stats): Set version from STATDATA_VERSION_FULL.
24990 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
24992 2017-10-05 Joseph Myers <joseph@codesourcery.com>
24994 * configure.ac (--enable-add-ons): Remove option.
24995 (machine): Do not mention add-ons in comment.
24996 (LIBC_PRECONFIGURE): Likewise.
24997 (add_ons): Remove variable and sanity checks and logic to locate
24999 (add_ons_automatic): Remove variable.
25000 (configured_add_ons): Likewise.
25001 (add_ons_sfx): Likewise.
25002 (add_ons_pfx): Likewise.
25003 (add_on_subdirs): Likewise.
25004 (sysnames_add_ons): Likewise. Remove loop over add-ons and
25005 consideration of add-ons in Implies handling.
25006 (sysdeps_add_ons): Likewise.
25007 * configure: Regenerated.
25008 * libidn/configure.ac: Remove.
25009 * libidn/configure: Likewise.
25010 * sysdeps/unix/inet/configure.ac: New file.
25011 * sysdeps/unix/inet/configure: New generated file.
25012 * sysdeps/unix/inet/Subdirs: Add libidn.
25013 * Makeconfig (sysdeps-srcdirs): Remove variable.
25014 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
25015 ($(common-objpfx)config.status): Do not depend on add-on files.
25016 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
25018 (all-subdirs): Do not include $(add-on-subdirs).
25019 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
25020 * config.make.in (add-ons): Remove variable.
25021 (add-on-subdirs): Likewise.
25022 (sysdeps-add-ons): Likewise.
25023 * manual/Makefile (add-chapters): Remove.
25024 ($(objpfx)texis): Do not depend on $(add-chapters).
25025 (nonexamples): Do not handle $(add-chapters).
25026 (examples): Do not handle $(add-ons).
25027 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
25029 * manual/install.texi (Installation): Do not mention add-ons.
25030 (--enable-add-ons): Do not document configure option.
25031 * INSTALL: Regenerated.
25032 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
25033 * manual/maint.texi (Hierarchy Conventions): Do not mention
25035 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
25037 * scripts/gen-sorted.awk: Do not handle Subdirs files from
25039 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
25040 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
25042 2017-10-05 Andreas Schwab <schwab@suse.de>
25045 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
25046 (_IO_flush_all_lockp): Always lock list_all_lock.
25047 (_IO_flush_all_linebuffered): Likewise.
25048 (_IO_unbuffer_all): Likewise.
25050 2017-10-05 Florian Weimer <fweimer@redhat.com>
25053 Do not flush stdio streams on abort.
25054 * stdlib/abort.c (fflush): Remove macro definition.
25055 (abort): Remove stages related to stdio flushing.
25057 2017-10-05 Florian Weimer <fweimer@redhat.com>
25059 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
25061 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
25063 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
25065 2017-10-05 Florian Weimer <fweimer@redhat.com>
25067 * support/support_format_hostent.c (support_format_hostent): Add
25068 more error information for NETDB_INTERNAL.
25070 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25072 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
25073 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
25074 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
25075 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
25076 AC_DEFINE if multi-arch is enabled.
25077 * sysdeps/i386/configure: Regenerated.
25079 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25081 * Makeconfig (+link-static-before-libc): Use
25082 $(DEFAULT-LDFLAGS-$(@F)).
25083 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
25084 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
25085 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
25087 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25089 * elf/Makefile (tests): Add tst-main1.
25090 (modules-names): Add tst-main1mod.
25091 ($(objpfx)tst-main1): New.
25092 (CRT-tst-main1): Likewise.
25093 (LDFLAGS-tst-main1): Likewise.
25094 (LDLIBS-tst-main1): Likewise.
25095 (tst-main1mod.so-no-z-defs): Likewise.
25096 * elf/tst-main1.c: New file.
25097 * elf/tst-main1mod.c: Likewise.
25099 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25101 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
25103 2017-10-04 Joseph Myers <joseph@codesourcery.com>
25105 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
25106 (fma): Define using libm_alias_double.
25107 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
25108 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
25110 (fmal): Do not define as compat symbol here.
25111 * sysdeps/alpha/fpu/s_fma.c: New file.
25113 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25115 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
25117 2017-10-04 Joseph Myers <joseph@codesourcery.com>
25120 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
25122 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
25124 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
25125 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25126 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
25127 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
25128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25129 Include <math_ldbl_opt.h>
25130 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
25132 (compat_symbol): Undefine and redefine.
25133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
25135 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25136 (compat_symbol): Undefine and redefine.
25137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
25138 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
25139 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
25140 GLIBC_2_1 for libm.
25141 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
25142 GLIBC_2.0 copysignl symbol.
25143 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
25144 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
25146 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
25148 2017-10-04 Florian Weimer <fweimer@redhat.com>
25150 * scripts/check-local-headers.sh: Ignore nspr4 header file
25151 directory in addition to nspr.
25153 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
25156 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
25157 * configure: Regenerate.
25158 * crypt/Makefile (nss-cpp-flags): New variable.
25159 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
25160 (CPPFLAGS-md5-crypt.c): Use it.
25161 * scripts/check-local-headers.sh: Ignore nspr header file
25164 2017-10-04 Andreas Schwab <schwab@suse.de>
25166 * nis/Makefile (services): Remove compat.
25167 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
25168 ($(objpfx)libnss_compat.so): Remove rule.
25169 * nis/Versions (libnss_compat): Remove.
25170 * nss/Makefile (services): Add compat.
25171 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
25172 * nss/Versions (libnss_compat): Define.
25173 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
25174 Don't include <rpc/types.h>. Replace bool_t by bool.
25175 * nss/nss_compat/compat-initgroups.c: Likewise.
25176 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
25177 instead of <rpcsrv/ypclnt.h>.
25178 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
25179 yp_get_default_domain.
25180 * nss/nss_compat/compat-pwd.c: Likewise.
25181 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
25182 yp_get_default_domain.
25183 * nss/nss_compat/nisdomain.c: New file.
25184 * nss/nss_compat/nisdomain.h: Likewise.
25186 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25189 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
25190 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25192 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25195 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
25196 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
25198 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25200 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
25201 "movl main@GOTOFF(%ebx), %eax".
25203 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25205 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
25206 allow undefined _DYNAMIC in PIE libc.a.
25207 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
25210 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25212 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
25215 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25217 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
25220 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25222 * math/test-math-iscanonical.cc (error): Replace bool with int.
25224 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25226 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
25227 (modf): Define using libm_alias_double, only if [!__modf].
25228 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
25229 <libm-alias-double.h>.
25230 (modf): Define using libm_alias_double, only if [!__modf].
25231 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
25232 compat symbol here.
25233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
25234 (weak_alias): Do not undefine and redefine.
25235 (strong_alias): Likewise.
25236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
25237 (weak_alias): Likewise.
25238 (strong_alias): Likewise.
25240 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
25241 (logb): Define using libm_alias_double, only if [!__logb].
25242 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
25243 <libm-alias-double.h>.
25244 (logb): Define using libm_alias_double, only if [!__logb].
25245 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
25246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
25247 (weak_alias): Do not undefine and redefine.
25248 (strong_alias): Likewise.
25249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
25250 (weak_alias): Likewise.
25251 (strong_alias): Likewise.
25253 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25255 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
25256 Check SHARED instead PIC.
25258 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25260 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
25261 [!__fmaf] (fmaf): Define using libm_alias_float.
25263 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
25264 (frexp): Define using libm_alias_double.
25265 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
25266 <libm-alias-double.h>.
25267 (frexp): Define using libm_alias_double.
25268 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
25269 compat symbol here.
25271 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25274 * math/math.h: Trivial fix for unbalanced parentheses in comment.
25275 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
25276 (CFLAGS-test-math-iscanonical.cc): New variable.
25277 * math/test-math-iscanonical.cc: New file.
25278 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
25279 Provide a C++ implementation based on function overloading,
25280 rather than using __MATH_TG, which uses C-only builtins.
25281 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
25283 * sysdeps/powerpc/powerpc64le/Makefile
25284 (CFLAGS-test-math-iscanonical.cc): New variable.
25286 2017-10-03 Joseph Myers <joseph@codesourcery.com>
25288 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
25289 (ceil): Define using libm_alias_double.
25290 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
25291 (floor): Define using libm_alias_double.
25292 * sysdeps/ieee754/dbl-64/s_llround.c: Include
25293 <libm-alias-double.h>.
25294 (llround): Define using libm_alias_double.
25295 * sysdeps/ieee754/dbl-64/s_lround.c: Include
25296 <libm-alias-double.h>.
25297 (lround): Define using libm_alias_double.
25298 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
25299 <libm-alias-double.h>.
25300 (nearbyint): Define using libm_alias_double.
25301 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
25302 <libm-alias-double.h>.
25303 (remquo): Define using libm_alias_double.
25304 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
25305 (rint): Define using libm_alias_double.
25306 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
25307 (round): Define using libm_alias_double.
25308 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
25309 (trunc): Define using libm_alias_double.
25310 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
25311 <libm-alias-double.h>.
25312 (ceil): Define using libm_alias_double.
25313 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
25314 <libm-alias-double.h>.
25315 (floor): Define using libm_alias_double.
25316 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
25317 <libm-alias-double.h>.
25318 (llround): Define using libm_alias_double.
25319 [_LP64] (lround): Likewise.
25320 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
25321 <libm-alias-double.h>.
25322 [!_LP64] (lround): Define using libm_alias_double.
25323 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
25324 <libm-alias-double.h>.
25325 (nearbyint): Define using libm_alias_double.
25326 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
25327 <libm-alias-double.h>.
25328 (remquo): Define using libm_alias_double.
25329 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
25330 <libm-alias-double.h>.
25331 (rint): Define using libm_alias_double.
25332 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
25333 <libm-alias-double.h>.
25334 (round): Define using libm_alias_double.
25335 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
25336 <libm-alias-double.h>.
25337 (trunc): Define using libm_alias_double.
25338 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
25339 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
25340 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
25341 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
25342 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
25343 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
25344 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
25345 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
25346 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
25348 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25350 * math/w_remainder.c: New file.
25351 * math/w_remainderf.c: New file.
25352 * math/w_remainderl.c: New file.
25354 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25356 * elf/rtld.c (BOOTSTRAP_MAP): New.
25357 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
25358 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25360 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25362 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25365 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
25367 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
25368 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
25369 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
25370 rtld_hidden_data_ver): Define to empty.
25371 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
25372 __assert_perror_fail): Likewise.
25373 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25374 (__rewinddir): Likewise.
25375 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25376 (__profile_frequency): Likewise.
25377 * include/setjmp.h (__sigsetjmp): Likewise.
25378 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
25379 __libc_sigaction): Likewise.
25380 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
25381 not set hidden attribute.
25382 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
25383 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
25384 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
25385 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
25386 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
25387 __fxstatat64): Likewise.
25388 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25389 (__uname): Likewise.
25390 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25391 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
25392 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
25393 (NO_RTLD_HIDDEN): Set.
25394 * sysdeps/mach/hurd/configure: Refresh.
25395 * config.h.in: Refresh.
25397 2017-10-02 Joseph Myers <joseph@codesourcery.com>
25399 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
25400 (atan): Define using libm_alias_double.
25401 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
25402 (tan): Define using libm_alias_double.
25403 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
25404 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
25406 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
25407 define as weak alias of __atan. Do not define any aliases if
25409 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
25410 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
25411 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
25412 as weak alias of __tan. Do not define any aliases if [__tan].
25413 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
25414 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
25415 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
25417 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
25418 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
25419 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
25420 and define as weak alias of __atan.
25421 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
25423 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
25424 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
25425 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
25426 define as weak alias of __tan.
25428 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25430 * math/w_lgamma.c: New file.
25431 * math/w_lgammaf.c: New file.
25432 * math/w_lgammal.c: New file.
25434 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25436 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
25437 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
25438 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
25439 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
25440 * sysdeps/ieee754/flt-32/w_logf.c: New file.
25441 * sysdeps/ieee754/flt-32/w_powf.c: New file.
25442 * sysdeps/i386/fpu/w_log2f.c: New file.
25443 * sysdeps/i386/fpu/w_logf.c: New file.
25444 * sysdeps/i386/fpu/w_powf.c: New file.
25445 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
25446 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
25447 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
25449 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25450 H.J. Lu <hongjiu.lu@intel.com>
25452 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
25453 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
25454 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
25455 * sysdeps/ieee754/flt-32/w_expf.c: New file.
25456 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
25458 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
25459 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
25460 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
25461 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
25462 * sysdeps/i386/fpu/w_exp2f.c: New file.
25463 * sysdeps/i386/fpu/w_expf.c: New file.
25464 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
25465 * sysdeps/x86_64/fpu/w_expf.c: New file.
25467 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25469 * math/Versions (logf): New libm symbol at GLIBC_2.27.
25472 * math/w_log2f.c: New file.
25473 * math/w_logf.c: New file.
25474 * math/w_powf.c: New file.
25475 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
25476 * math/w_logf_compat.c (__logf_compat): Likewise.
25477 * math/w_powf_compat.c (__powf_compat): Likewise.
25478 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
25479 * sysdeps/ia64/fpu/e_logf.S: Likewise.
25480 * sysdeps/ia64/fpu/e_powf.S: Likewise.
25481 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
25482 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25483 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25484 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25485 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25486 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25487 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25488 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25489 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25490 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25491 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25492 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25501 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25502 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25503 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25504 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25505 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25506 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25510 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25511 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25512 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25514 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25516 * sysdeps/powerpc/powerpc64/multiarch/Makefile
25517 (sysdep_routines): Add memrchr_power8.
25518 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25519 (memrchr): Add __memrchr_power8 to list of memrchr functions.
25520 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
25522 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25523 (memrchr): Add __memrchr_power8 to ifunc list.
25524 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
25526 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25529 * sysdeps/unix/sysv/linux/posix_fadvise64.c
25530 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
25532 * sysdeps/unix/sysv/linux/posix_fallocate64.c
25533 (__posix_fallocate64_l64): Likewise.
25535 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25538 * sysdeps/unix/sysv/linux/sched_setaffinity.c
25539 (__sched_setaffinity_new): Add libc_hidden_proto and
25542 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25545 * include/glob.h (__glob64): Add libc_hidden_proto.
25546 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
25549 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25552 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
25555 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25558 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
25560 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25563 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
25566 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25569 * csu/version.c (__libc_print_version): Add attribute_hidden.
25571 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25574 * include/libc-internal.h (__init_misc): Add attribute_hidden.
25576 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25579 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
25581 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25584 * nscd/nscd_helper.c (__nis_hash): New prototype.
25586 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25589 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
25590 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
25592 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25593 * termios/tcgetattr.c (__tcgetattr): Likewise.
25595 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25598 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
25599 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
25600 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
25601 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
25602 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
25604 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25607 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
25609 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25612 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
25613 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
25615 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25618 * intl/hash-string.h (__hash_string): Add attribute_hidden.
25620 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25623 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
25624 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
25626 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25629 * include/ifreq.h: New file.
25630 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
25631 (__ifreq): Likewise.
25632 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
25633 (__ifreq): Likewise.
25635 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25638 * include/idna.h: New file.
25639 * inet/getnameinfo.c: Include <idna.h> instead of
25641 (__idna_to_unicode_lzlz): Removed.
25642 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
25644 (__idna_to_ascii_lz): Removed.
25645 (__idna_to_unicode_lzlz): Likewise.
25647 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25650 * include/plural-exp.h: New file.
25651 * intl/plural-exp.c: Include <plural-exp.h> instead of
25654 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25657 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
25658 "getsourcefilter.h".
25659 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
25660 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
25661 "getsourcefilter.h".
25662 (__get_sol): Removed.
25664 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25667 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
25669 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
25671 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25674 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
25677 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25680 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
25682 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25685 * include/search.h (__tdestroy): Add libc_hidden_proto.
25686 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
25688 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25691 * include/assert.h (__assert_fail_base): Add attribute_hidden.
25693 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25696 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
25699 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25702 * include/signal.h (__kill): Add libc_hidden_proto.
25703 (__sigblock): Likewise.
25704 (__sigprocmask): Likewise.
25705 (__sigaltstack): Likewise.
25706 * signal/kill.c (__kill): Add libc_hidden_def.
25707 * signal/sigblock.c (__sigblock): Likewise.
25708 * signal/sigprocmask.c (__sigprocmask): Likewise.
25709 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
25710 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
25711 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
25712 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
25713 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
25715 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
25717 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
25718 (__sigprocmask): Likewise.
25719 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
25721 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
25722 (__sigprocmask): Likewise.
25723 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
25726 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25729 * include/string.h (__strsep): Add libc_hidden_proto.
25730 * string/strsep.c (__strsep): Add libc_hidden_def.
25732 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25735 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
25737 (__spawni): Likewise.
25739 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25742 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
25743 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
25746 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25749 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
25751 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25754 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
25755 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
25756 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
25757 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
25758 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
25760 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
25761 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
25763 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25766 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
25767 (__dcigettext): Likewise.
25769 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25772 * include/sys/sysinfo.h (__get_nprocs_conf): Add
25774 (__get_nprocs): Likewise.
25775 (__get_phys_pages): Likewise.
25776 (__get_avphys_pages): Likewise.
25777 (__get_child_max): Add attribute_hidden.
25778 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
25779 (__get_nprocs): Likewise.
25780 (__get_phys_pages): Likewise.
25781 (__get_avphys_pages): Likewise.
25782 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
25784 (__get_nprocs): Likewise.
25785 (__get_phys_pages): Likewise.
25786 (__get_avphys_pages): Likewise.
25787 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
25789 (__get_nprocs_conf): Likewise.
25790 (__get_phys_pages): Likewise.
25791 (__get_avphys_pages): Likewise.
25793 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25796 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
25798 (__netlink_close): Likewise.
25799 (__netlink_free_handle): Likewise.
25800 (__netlink_request): Likewise.
25802 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25805 * include/rpc/rpc.h (__rpc_thread_variables): Add
25807 (__rpc_thread_svc_cleanup): Likewise.
25808 (__rpc_thread_clnt_cleanup): Likewise.
25809 (__rpc_thread_key_cleanup): Likewise.
25811 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25814 * include/sys/uio.h (__readv): Add libc_hidden_proto.
25815 (__writev): Likewise.
25816 * misc/readv.c (__readv): Add libc_hidden_def.
25817 * misc/writev.c (__writev): Likewise.
25818 * sysdeps/posix/readv.c (__readv): Likewise.
25819 * sysdeps/posix/writev.c (__writev): Likewise.
25820 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
25821 (__readv): Likewise.
25822 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
25823 (__writev): Likewise.
25825 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25828 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
25829 (__regcomp): Add libc_hidden_proto.
25830 (__regexec): Likewise.
25831 (__regfree): Likewise.
25832 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
25833 (__regfree): Likewise.
25834 * posix/regexec.c (__regexec): Likewise.
25836 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25839 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
25840 (__getutent): Likewise.
25841 (__getutid): Likewise.
25842 (__getutline): Likewise.
25843 (__pututline): Likewise.
25844 (__getutent_r): Likewise.
25845 (__getutid_r): Likewise.
25846 (__getutline_r): Likewise.
25847 (__utmpname): Add attribute_hidden.
25848 (__setutent): Likewise.
25849 (__endutent): Likewise.
25850 * login/getutent.c (__getutent): Add libc_hidden_def.
25851 * login/getutent_r.c (__getutent_r): Likewise.
25852 (__pututline): Likewise.
25853 * login/getutid.c (__getutid): Likewise.
25854 * login/getutid_r.c (__getutid_r): Likewise.
25855 * login/getutline.c (__getutline): Likewise.
25856 * login/getutline_r.c (__getutline_r): Likewise.
25857 * login/updwtmp.c (__updwtmp): Likewise.
25859 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25862 * include/dirent.h (__opendir): Always add attribute_hidden.
25863 (__fdopendir): Likewise.
25864 (__closedir): Likewise.
25865 (__readdir): Likewise.
25866 (__readdir64): Add libc_hidden_proto.
25867 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
25868 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
25869 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
25870 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
25873 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25876 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
25877 * include/netdb.h (__gethostbyaddr_r): Likewise.
25878 (__gethostbyname_r): Likewise.
25879 (__gethostbyname2_r): Likewise.
25880 (__getnetbyaddr_r): Likewise.
25881 (__getnetbyname_r): Likewise.
25882 (__getservbyname_r): Likewise.
25883 (__getservbyport_r): Likewise.
25884 (__getprotobyname_r): Likewise.
25885 (__getprotobynumber_r): Likewise.
25886 (__getnetgrent_r): Likewise.
25887 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
25888 (__getrpcbynumber_r): Likewise.
25889 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
25891 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25894 * include/stdio.h (__fcloseall): Add attribute_hidden.
25895 (__getline): Likewise.
25896 (__path_search): Likewise.
25897 (__gen_tempname): Likewise.
25898 (__libc_message): Likewise.
25899 (__flockfile): Likewise.
25900 (__funlockfile): Likewise.
25901 (__fxprintf): Likewise.
25902 (__fxprintf_nocancel): Likewise.
25904 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25907 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
25908 (__sgetsgent_r): Likewise.
25910 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25913 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
25914 (__statfs64): Likewise.
25915 (__fstatfs64): Likewise.
25916 * include/sys/statvfs.h (__statvfs64): Likewise.
25917 (__fstatvfs64): Likewise.
25918 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
25919 (__statfs_filesize_max): Likewise.
25920 (__statfs_symlinks): Likewise.
25921 (__statfs_chown_restricted): Likewise.
25923 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25926 * include/time.h (__tzstring): Add attribute_hidden.
25927 (__tzfile_read): Likewise.
25928 (__tzfile_compute): Likewise.
25929 (__tzfile_default): Likewise.
25930 (__tzset_parse_tz): Likewise.
25931 (__offtime): Likewise.
25932 (__asctime_r): Likewise.
25933 (__tzset): Likewise.
25934 (__tz_convert): Likewise.
25935 (__getdate_r): Likewise.
25936 (__getclktck): Likewise.
25938 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25941 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
25942 (__nscd_unmap): Likewise.
25943 (__nscd_cache_search): Likewise.
25944 (__nscd_get_nl_timestamp): Likewise.
25945 (__nscd_getpwnam_r): Likewise.
25946 (__nscd_getpwuid_r): Likewise.
25947 (__nscd_getgrnam_r): Likewise.
25948 (__nscd_getgrgid_r): Likewise.
25949 (__nscd_gethostbyname_r): Likewise.
25950 (__nscd_gethostbyname2_r): Likewise.
25951 (__nscd_gethostbyaddr_r): Likewise.
25952 (__nscd_getai): Likewise.
25953 (__nscd_getgrouplist): Likewise.
25954 (__nscd_getservbyname_r): Likewise.
25955 (__nscd_getservbyport_r): Likewise.
25956 (__nscd_innetgr): Likewise.
25957 (__nscd_setnetgrent): Likewise.
25959 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25962 * include/gmp.h: Declare internal functions only if _ISOMAC is
25964 (__mpn_extract_double): Add attribute_hidden.
25965 (__mpn_extract_long_double): Likewise.
25966 (__mpn_extract_float128): Likewise.
25967 (__mpn_construct_float): Likewise.
25968 (__mpn_construct_double): Likewise.
25969 (__mpn_construct_long_double): Likewise.
25970 (__mpn_construct_float128): Likewise.
25971 (mpn_add_1): Likewise.
25972 (mpn_addmul_1): Likewise.
25973 (mpn_add_n): Likewise.
25974 (mpn_cmp): Likewise.
25975 (mpn_divrem): Likewise.
25976 (mpn_lshift): Likewise.
25977 (mpn_mul): Likewise.
25978 (mpn_mul_1): Likewise.
25979 (mpn_rshift): Likewise.
25980 (mpn_sub_1): Likewise.
25981 (mpn_submul_1): Likewise.
25982 (mpn_sub_n): Likewise.
25984 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25987 * include/wchar.h (__wcsnlen): Add attribute_hidden.
25988 (__wcscat): Likewise.
25989 (__btowc): Likewise.
25990 (__wcrtomb): Likewise.
25991 (__mbsrtowcs): Likewise.
25992 (__wcsrtombs): Likewise.
25993 (__mbsnrtowcs): Likewise.
25994 (__wcsnrtombs): Likewise.
25995 (__wcsncpy): Likewise.
25996 (__wcpncpy): Likewise.
25997 (__wmemcpy): Likewise.
25998 (__wmempcpy): Likewise.
25999 (__wmemmove): Likewise.
26000 (__wcschrnul): Likewise.
26001 (__vfwscanf): Likewise.
26002 (__vswprintf): Likewise.
26003 (__fwprintf): Likewise.
26004 (__vfwprintf): Likewise.
26006 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26009 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
26010 (__getgrgid_r): Likewise.
26011 (__getgrnam_r): Likewise.
26012 * include/pwd.h (__getpwuid_r): Likewise.
26013 (__getpwnam_r): Likewise.
26014 (__fgetpwent_r): Likewise.
26015 * include/shadow.h (__getspnam_r): Likewise.
26016 (__sgetspent_r): Likewise.
26017 (__fgetspent_r): Likewise.
26019 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26022 * include/unistd.h (__access): Add attribute_hidden.
26023 (__lseek64): Likewise.
26024 (__libc_pread64): Likewise.
26025 (__pipe2): Likewise.
26026 (__sleep): Likewise.
26027 (__chdir): Likewise.
26028 (__fchdir): Likewise.
26029 (__getcwd): Likewise.
26030 (__rmdir): Likewise.
26031 (__execvpe): Likewise.
26032 (__execve): Likewise.
26033 (__setsid): Likewise.
26034 (__getuid): Likewise.
26035 (__geteuid): Likewise.
26036 (__getgid): Likewise.
26037 (__getegid): Likewise.
26038 (__getgroups): Likewise.
26039 (__group_member): Likewise.
26040 (__ttyname_r): Likewise.
26041 (__isatty): Likewise.
26042 (__readlink): Likewise.
26043 (__unlink): Likewise.
26044 (__gethostname): Likewise.
26045 (__profil): Likewise.
26046 (__getdtablesize): Likewise.
26048 (__ftruncate): Likewise.
26049 (__ftruncate64): Likewise.
26051 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26054 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
26055 * argp/argp-fs-xinl.c: Likewise.
26056 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
26057 * argp/argp-parse.c: Include <argp.h>.
26058 * argp/argp-xinl.c: Likewise.
26059 * include/argp-fmtstream.h: New file.
26060 * include/argp.h (__argp_error): Add attribute_hidden.
26061 (__argp_failure): Likewise.
26062 (__argp_input): Likewise.
26063 (__argp_state_help): Likewise.
26065 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26068 * include/wchar.h (____wcstof_l_internal): New prototype.
26069 (____wcstod_l_internal): Likewise.
26070 (____wcstold_l_internal): Likewise.
26071 (____wcstol_l_internal): Likewise.
26072 (____wcstoul_l_internal): Likewise.
26073 (____wcstoll_l_internal): Likewise.
26074 (____wcstoull_l_internal): Likewise.
26075 (____wcstof128_l_internal): Likewise.
26076 * sysdeps/ieee754/float128/wcstof128.c
26077 (____wcstof128_l_internal): Removed.
26078 * sysdeps/ieee754/float128/wcstof128_l.c
26079 (____wcstof128_l_internal): Likewise.
26080 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
26081 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
26082 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
26083 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
26084 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
26085 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
26086 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
26087 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
26088 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
26089 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
26091 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26094 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
26095 instead of <sys/statvfs.h>.
26096 (__internal_statvfs): Removed.
26097 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
26098 instead of <sys/statvfs.h>.
26099 (__internal_statvfs64): Removed.
26100 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
26101 "internal_statvfs.h" instead of <sys/statvfs.h>.
26102 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
26103 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
26104 instead of <sys/statvfs.h>.
26105 (__internal_statvfs): Removed.
26106 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
26107 instead of <sys/statvfs.h>.
26108 (__internal_statvfs64): Removed.
26110 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26113 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
26114 (__gconv_close): Likewise.
26115 (__gconv): Likewise.
26116 (__gconv_find_transform): Likewise.
26117 (__gconv_lookup_cache): Likewise.
26118 (__gconv_compare_alias_cache): Likewise.
26119 (__gconv_load_cache): Likewise.
26120 (__gconv_get_path): Likewise.
26121 (__gconv_close_transform): Likewise.
26122 (__gconv_release_cache): Likewise.
26123 (__gconv_find_shlib): Likewise.
26124 (__gconv_release_shlib): Likewise.
26125 (__gconv_get_builtin_trans): Likewise.
26126 (__gconv_compare_alias): Likewise.
26127 * include/dlfcn.h (_dlerror_run): Likewise.
26128 * include/stdio.h (__fortify_fail_abort): Likewise.
26129 * include/time.h (__tz_compute): Likewise.
26130 (__strptime_internal): Likewise.
26131 * intl/gettextP.h (_nl_find_domain): Likewise.
26132 (_nl_load_domain): Likewise.
26133 (_nl_find_msg): Likewise.
26134 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
26135 (EXTRACT_PLURAL_EXPRESSION): Likewise.
26136 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
26137 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
26138 (__gai_find_request): Likewise.
26139 (__gai_remove_request): Likewise.
26140 (__gai_notify): Likewise.
26141 (__gai_notify_only): Likewise.
26142 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
26143 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
26144 (_dl_non_dynamic_init): Likewise.
26145 (_dl_aux_init): Likewise.
26146 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
26147 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
26149 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
26150 (__wcsmbs_clone_conv): Likewise.
26151 (__wcsmbs_named_conv): Likewise.
26153 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26156 * include/stdlib.h (__random): Add attribute_hidden.
26157 (__random_r): Likewise.
26158 (__srandom_r): Likewise.
26159 (__initstate_r): Likewise.
26160 (__setstate_r): Likewise.
26161 (__erand48_r): Likewise.
26162 (__nrand48_r): Likewise.
26163 (__jrand48_r): Likewise.
26164 (__srand48_r): Likewise.
26165 (__seed48_r): Likewise.
26166 (__lcong48_r): Likewise.
26167 (__drand48_iterate): Likewise.
26168 (__setenv): Likewise.
26169 (__unsetenv): Likewise.
26170 (__clearenv): Likewise.
26171 (__ptsname_r): Likewise.
26172 (__posix_openpt): Likewise.
26173 (__add_to_environ): Likewise.
26174 (__realpath): Add libc_hidden_proto.
26175 (__ecvt_r): Likewise.
26176 (__fcvt_r): Likewise.
26177 (__qecvt_r): Likewise.
26178 (__qfcvt_r): Likewise.
26179 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
26180 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
26182 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26185 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
26186 * include/time.h (__mktime_internal): Likewise.
26187 * libio/iolibio.h (__fopen_internal): Likewise.
26189 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
26191 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
26193 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
26194 Correct offset used to restore PIC register.
26196 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
26199 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
26200 code to load address of __getcontext_ret when generating PIC code.
26202 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
26204 * elf/Makefile (tests-static-internal): Add
26205 tst-tls1-static-non-pie.
26206 (LDFLAGS-tst-tls1-static-non-pie): New.
26207 * elf/tst-tls1-static-non-pie.c: New file.
26209 2017-09-29 Joseph Myers <joseph@codesourcery.com>
26211 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
26212 (asinh): Define using libm_alias_double.
26213 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
26214 (cbrt): Define using libm_alias_double.
26215 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
26216 <libm-alias-double.h>.
26217 (copysign): Define using libm_alias_double.
26218 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
26219 (erf): Define using libm_alias_double.
26221 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
26222 (expm1): Define using libm_alias_double.
26223 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
26224 (fabs): Define using libm_alias_double.
26225 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
26227 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
26228 <libm-alias-double.h>.
26229 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
26231 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
26232 <libm-alias-double.h>.
26233 (getpayload): Define using libm_alias_double.
26234 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
26235 <libm-alias-double.h>.
26236 (llrint): Define using libm_alias_double.
26237 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
26238 (lrint): Define using libm_alias_double.
26239 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
26240 <libm-alias-double.h>.
26241 (nextup): Define using libm_alias_double.
26242 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
26243 <libm-alias-double.h>.
26244 (roundeven): Define using libm_alias_double.
26245 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
26247 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
26248 <libm-alias-double.h>.
26249 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
26250 using libm_alias_double.
26251 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
26252 (cos): Define using libm_alias_double.
26254 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
26255 <libm-alias-double.h>.
26256 (sincos): Define using libm_alias_double.
26257 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
26258 (tanh): Define using libm_alias_double.
26259 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
26260 <libm-alias-double.h>.
26261 (totalorder): Define using libm_alias_double.
26262 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
26263 <libm-alias-double.h>.
26264 (totalordermag): Define using libm_alias_double.
26265 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
26267 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
26269 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
26270 <libm-alias-double.h>.
26271 (getpayload): Define using libm_alias_double.
26272 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
26273 <libm-alias-double.h>.
26274 (roundeven): Define using libm_alias_double.
26275 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
26276 <libm-alias-double.h>.
26277 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
26278 <libm-alias-double.h>.
26279 (totalorder): Define using libm_alias_double.
26280 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
26281 <libm-alias-double.h>.
26282 (totalordermag): Define using libm_alias_double.
26283 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
26284 libc compat symbol here.
26285 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
26286 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
26287 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
26288 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
26289 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
26290 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
26291 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
26292 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
26293 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
26294 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
26296 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26298 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
26299 _dl_relocate_static_pie instead of _dl_start to compute load
26300 address in static PIE. Return 0 if _DYNAMIC is undefined for
26303 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26305 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
26306 _DYNAMIC is undefined for static executable.
26308 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26310 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
26312 2017-09-29 Joseph Myers <joseph@codesourcery.com>
26314 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26316 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
26318 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
26319 (__ieee754_lgamma_r): Use fabs rather than __fabs.
26320 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
26321 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
26322 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
26323 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
26324 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
26325 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
26326 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
26327 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
26328 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
26329 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
26330 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
26331 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
26332 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
26333 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
26334 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
26336 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
26338 * math/bits/cmathcalls.h (cimag): Remove inline.
26339 (creal): Remove inline.
26340 (conj): Remove inline.
26342 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26344 * math/Makefile (type-float-routines): Add e_powf_log2_data.
26345 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
26346 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
26347 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
26348 (issignalingf_inline): Likewise.
26349 (POWF_LOG2_TABLE_BITS): Likewise.
26350 (POWF_LOG2_POLY_ORDER): Likewise.
26351 (POWF_SCALE_BITS): Likewise.
26352 (POWF_SCALE): Likewise.
26353 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
26354 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
26355 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
26357 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26359 * math/Makefile (type-float-routines): Add e_log2f_data.
26360 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
26361 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
26362 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
26363 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
26364 * sysdeps/i386/fpu/e_log2f_data.c: New file.
26365 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
26366 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
26368 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26370 * math/Makefile (type-float-routines): Add e_logf_data.
26371 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
26372 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
26373 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
26374 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
26375 * sysdeps/i386/fpu/e_logf_data.c: New file.
26376 * sysdeps/ia64/fpu/e_logf_data.c: New file.
26377 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
26379 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
26381 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
26382 undefined _DYNAMIC in PIE libc.a.
26383 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26386 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
26388 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
26389 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
26390 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
26391 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
26392 (__signbit): Remove.
26393 (__signbitl): Remove.
26394 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
26395 (__signbit): Remove.
26396 (__signbitl): Remove.
26397 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
26398 (__signbit): Remove.
26399 (__signbitl): Remove.
26400 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
26401 (__signbit): Remove.
26402 (__signbitl): Remove.
26403 * sysdeps/tile/bits/mathinline.h: Delete file.
26404 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
26405 (__signbit): Remove.
26406 (__signbitl): Remove.
26408 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
26410 * math/math.h: Improve handling of C99 isgreater macros.
26411 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
26412 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
26413 * sysdeps/powerpc/bits/mathinline.h: Likewise.
26414 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26415 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
26417 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
26419 * sysdeps/aarch64/libm-test-ulps: Update.
26421 2017-09-28 Joseph Myers <joseph@codesourcery.com>
26424 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26425 math_opt_barrier on argument when doing arithmetic on it.
26426 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26427 Likewise. Use math_force_eval not math_opt_barrier after
26429 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
26430 math_opt_barrier on argument when doing arithmetic on it.
26431 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26434 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
26436 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
26438 (__freeifaddrs): Likewise.
26440 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
26442 * include/dirent.h (__dirfd): New declaration.
26443 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
26445 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
26446 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
26447 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
26448 * include/unistd.h (__revoke): New declaration.
26449 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
26451 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
26452 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
26454 * include/dirent.h (__seekdir): New declaration.
26455 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
26456 redefine as weak alias.
26457 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
26459 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
26460 and use libc_hidden_def on them.
26461 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
26463 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
26464 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
26465 instead of getifaddrs and freeifaddrs.
26467 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
26470 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
26471 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
26472 (__dso_handle): Remove declaration.
26473 * dlfcn/tstatexit.c (__dso_handle): Removed.
26474 (main): Don't check __dso_handle.
26475 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
26476 (main): Don't check __dso_handle.
26477 * include/dso_handle.h: New file.
26478 * malloc/mtrace.c: Include <dso_handle.h>.
26479 (mtrace): Pass __dso_handle directly.
26480 * nptl/pthread_atfork.c: Include <dso_handle.h>.
26481 (__dso_handle): Remove declaration.
26482 (__pthread_atfork): Pass __dso_handle directly.
26483 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
26484 (__dso_handle): Removed.
26485 * posix/wordexp-test.c: Include <dso_handle.h>.
26486 (__dso_handle): Remove declaration.
26487 (__app_register_atfork): Pass __dso_handle directly.
26488 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
26489 (__dso_handle): Remove declaration.
26490 (at_quick_exit): Pass __dso_handle directly.
26491 * stdlib/atexit.c: Include <dso_handle.h>.
26492 (__dso_handle): Remove declaration.
26493 (atexit): Pass __dso_handle directly.
26494 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
26495 (__dso_handle): Removed.
26497 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26499 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
26502 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
26504 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
26505 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
26506 values to correct default value for given type.
26508 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
26511 * elf/Makefile (tests): Add tst-debug1.
26512 ($(objpfx)tst-debug1): New.
26513 ($(objpfx)tst-debug1.out): Likewise.
26514 ($(objpfx)tst-debug1mod1.so): Likewise.
26515 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
26516 with p_filesz == 0.
26517 * elf/tst-debug1.c: New file.
26519 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26521 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
26522 Define using __ifunc.
26524 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26526 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
26529 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26532 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
26534 2017-09-26 Florian Weimer <fweimer@redhat.com>
26536 * resolv/Makefile (tests-internal): Fix typo in comment.
26538 2017-09-26 Florian Weimer <fweimer@redhat.com>
26540 * resolv/nss_dns/dns-host.c: Fix typo in comment.
26542 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26544 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
26545 Use an union instead of a max_align_t array for __space,
26546 so that __space is the same size on all platforms.
26547 * malloc/scratch_buffer_grow_preserve.c
26548 (__libc_scratch_buffer_grow_preserve): Likewise.
26551 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
26553 * posix/Makefile (routines): Add glob-lstat-compat and
26554 glob64-lstat-compat.
26555 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
26556 * posix/glob-lstat-compat.c: New file.
26557 * posix/glob64-lstat-compat.c: Likewise.
26558 * posix/tst-glob_lstat_compat.c: Likewise.
26559 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
26560 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
26561 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
26562 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
26564 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
26565 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
26566 * posix/glob.c (glob_lstat): New function.
26567 (glob): Rename to __glob and add versioned symbol to 2.27.
26568 (glob_in_dir): Use glob_lstat.
26569 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
26570 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26571 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
26573 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
26574 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
26575 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
26576 gl_lstat on glob call.
26577 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
26578 and glob64 symbols.
26579 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26580 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26581 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26582 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26583 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26584 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26585 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26586 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26587 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26588 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26589 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26590 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26593 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
26594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26595 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26596 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26597 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26598 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26599 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26600 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26601 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26602 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26603 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26604 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26606 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
26608 * configure.ac (AS): Require binutils 2.25 or later.
26609 * configure: Regenerated.
26611 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
26614 * stdlib/test-atexit-race-common.c (do_test): Minimize required
26617 2017-09-25 DJ Delorie <dj@redhat.com>
26620 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
26623 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
26625 * sysdeps/ieee754/dbl-64/sincos32.h
26626 [SINCCOS32_H]: Remove define.
26627 [SINCOS32_H]: Define.
26629 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
26631 * math/Versions (expf): New libm symbol at GLIBC_2.27.
26633 * math/w_exp2f.c: New file.
26634 * math/w_expf.c: New file.
26635 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
26636 * math/w_expf_compat.c (__expf_compat): Likewise.
26637 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
26638 * sysdeps/ia64/fpu/e_expf.S: Likewise.
26639 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26640 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26641 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26642 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26643 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26644 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26645 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26646 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26647 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26648 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26649 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26650 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26659 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26660 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26661 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26662 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26663 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26664 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26666 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26668 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26669 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26670 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26672 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
26674 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
26675 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
26676 (roundtoint, converttoint): Likewise.
26677 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
26678 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
26679 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
26680 * sysdeps/ieee754/flt-32/math_config.h: New file.
26681 * sysdeps/ieee754/flt-32/math_errf.c: New file.
26682 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
26683 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
26684 * sysdeps/i386/fpu/math_errf.c: New file.
26685 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
26686 * sysdeps/ia64/fpu/math_errf.c: New file.
26687 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
26688 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
26690 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
26692 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
26693 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
26694 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
26695 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
26696 to make sure that these symbols are defined.
26697 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
26699 (__need_NULL): Do not define.
26700 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
26702 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
26703 CMGROUP_MAX, cmsgcred): Do not define.
26704 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
26706 * bits/socket.h: Likewise.
26707 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
26708 __gettimeofday instead of gettimeofday.
26709 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
26710 instead of settimeofday.
26712 2017-09-22 Joseph Myers <joseph@codesourcery.com>
26714 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
26715 (asinhf): Define using libm_alias_float.
26716 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
26717 (atanf): Define using libm_alias_float.
26718 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
26719 (cbrtf): Define using libm_alias_float.
26720 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
26721 (ceilf): Define using libm_alias_float.
26722 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
26723 <libm-alias-float.h>.
26724 (copysignf): Define using libm_alias_float.
26725 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
26726 (cosf): Define using libm_alias_float.
26727 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
26728 (erff): Define using libm_alias_float.
26730 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
26731 (expm1f): Define using libm_alias_float.
26732 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
26733 (fabsf): Define using libm_alias_float.
26734 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
26735 (floorf): Define using libm_alias_float.
26736 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
26737 (frexpf): Define using libm_alias_float.
26738 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
26740 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
26741 <libm-alias-float.h>.
26742 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
26744 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
26745 <libm-alias-float.h>.
26746 (getpayloadf): Define using libm_alias_float.
26747 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
26748 <libm-alias-float.h>.
26749 (llrintf): Define using libm_alias_float.
26750 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
26751 <libm-alias-float.h>.
26752 (llroundf): Define using libm_alias_float.
26753 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
26754 (logbf): Define using libm_alias_float.
26755 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
26756 (lrintf): Define using libm_alias_float.
26757 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
26758 (lroundf): Define using libm_alias_float.
26759 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
26760 (modff): Define using libm_alias_float.
26761 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
26762 <libm-alias-float.h>.
26763 (nearbyintf): Define using libm_alias_float.
26764 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
26765 <libm-alias-float.h>.
26766 (nextafterf): Define using libm_alias_float.
26767 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
26768 <libm-alias-float.h>.
26769 (nextupf): Define using libm_alias_float.
26770 * sysdeps/ieee754/flt-32/s_remquof.c: Include
26771 <libm-alias-float.h>.
26772 (remquof): Define using libm_alias_float.
26773 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
26774 (rintf): Define using libm_alias_float.
26775 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
26776 <libm-alias-float.h>.
26777 (roundevenf): Define using libm_alias_float.
26778 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
26779 (roundf): Define using libm_alias_float.
26780 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
26781 using libm_alias_float.
26782 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
26783 <libm-alias-float.h>.
26784 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
26785 Define using libm_alias_float.
26786 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
26787 <libm-alias-float.h>.
26788 (sincosf): Define using libm_alias_float.
26789 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
26790 (sinf): Define using libm_alias_float.
26791 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
26792 (tanf): Define using libm_alias_float.
26793 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
26794 (tanhf): Define using libm_alias_float.
26795 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
26796 <libm-alias-float.h>.
26797 (totalorderf): Define using libm_alias_float.
26798 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
26799 <libm-alias-float.h>.
26800 (totalordermagf): Define using libm_alias_float.
26801 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
26802 (truncf): Define using libm_alias_float.
26803 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
26805 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
26808 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26811 math/math.h: Let fpclassify use the builtin in C++ mode, even
26812 when optimazing for size.
26814 2017-09-22 Joseph Myers <joseph@codesourcery.com>
26816 * csu/Makefile (generated): Do not add version-info.h.
26817 (before-compile): Likewise.
26818 (all-Banner-files): Remove variable.
26819 ($(objpfx)version-info.h): Remove rule.
26820 * csu/version.c (banner): Do not include "version-info.h".
26821 * libidn/Banner: Remove.
26822 * manual/contrib.texi (Simon Josefsson): New entry.
26824 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26826 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26827 Remove conditionals on LDBL_MANT_DIG.
26828 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
26829 (__ieee754_lgammal_r): Likewise.
26831 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26833 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
26835 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
26836 _Float128 and L(). Replace _Float128 with long double and L(x)
26837 with xL, throughout the file.
26838 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
26839 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
26840 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
26841 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
26843 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26845 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
26846 sysdeps/ieee754/ldbl-128ibm.
26847 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
26848 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
26849 of including it. Keep _Float128 and L() intact. These will be
26850 reviewed by a separate patch.
26851 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
26852 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
26853 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
26854 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
26856 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
26859 (__finitef128): Define to __redirect___finitef128.
26860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
26861 (__isinff128): Define to __redirect___isinff128.
26862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
26863 (__isnanf128): Define to __redirect___isnanf128.
26865 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26867 * sysdeps/powerpc/powerpc64le/Makefile
26868 (CFLAGS-tst-strtod-nan-locale.c): New variable.
26869 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
26871 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
26872 Carlos O'Donell <carlos@redhat.com>
26875 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
26876 * stdlib/test-dlclose-exit-race.c: New file.
26877 * stdlib/test-dlclose-exit-race-helper.c: New file.
26878 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
26880 2017-09-21 Joseph Myers <joseph@codesourcery.com>
26882 * crypt/Banner: Remove file.
26883 * nptl/Banner: Likewise.
26884 * resolv/Banner: Likewise.
26885 * soft-fp/Banner: Likewise.
26886 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
26887 ($(objpfx)version.d): Remove dependency on banner.h.
26888 ($(objpfx)version.os): Likewise.
26889 * nptl/version.c (banner): Do not include banner.h.
26890 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
26891 Jelinek and BIND code.
26893 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
26894 Carlos O'Donell <carlos@redhat.com>
26896 * support/xdlfcn.h: New file.
26897 * support/xdlfcn.c: New file.
26898 * support/Makefile (libsupport-routines): Add xdlfcn.
26899 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
26901 2017-09-20 Joseph Myers <joseph@codesourcery.com>
26904 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26905 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
26906 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
26907 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
26908 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
26909 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
26910 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
26911 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
26913 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
26914 Ricky Zhou <rickyz@google.com>
26915 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26918 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
26920 (__new_exitfn): Fail registration when we finished at_exit processing.
26921 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
26922 * stdlib/on_exit.c (__on_exit): Likewise.
26923 * stdlib/exit.c (__exit_funcs_done): New variable.
26924 (__run_exit_handlers): Use __exit_funcs_lock.
26925 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
26927 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
26928 (test-cxa_atexit-race, test-on_exit-race): New tests.
26929 * stdlib/test-atexit-race-common.c: New file.
26930 * stdlib/test-atexit-race.c: New file.
26931 * stdlib/test-at_quick_exit-race.c: New file.
26932 * stdlib/test-cxa_atexit-race.c: New file.
26933 * stdlib/test-on_exit-race.c: New file.
26935 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
26937 * benchtests/Makefile: Add exp2f and log2f benchmarks.
26938 * benchtests/exp2f-inputs: Copy of expf-inputs.
26939 * benchtests/log2f-inputs: Copy of logf-inputs.
26941 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26943 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
26944 Explicitly take address of first element of array arguments in
26945 call to INLINE_SYSCALL.
26947 2017-09-19 Andreas Schwab <schwab@suse.de>
26950 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
26952 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
26954 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
26955 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
26956 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26957 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
26958 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26959 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
26960 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26961 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
26962 * posix/Makefile (tests): Add tst-fexecve.
26963 * posix/tst-fexecve.c: New file.
26965 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26967 * benchtests/Makefile: Add logf benchmark.
26968 * benchtests/logf-inputs: Add reduced trace from wrf_r.
26970 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26972 * benchtests/Makefile: Add expf benchmark.
26973 * benchtests/expf-inputs: Add reduced trace from wrf_r.
26975 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26977 * csu/Makefile: Add -funwind-tables to libc-start.c.
26978 * debug/Makefile: Add -funwind-tables to backtrace.c.
26979 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
26980 * sysdeps/arm/Makefile: Likewise.
26981 * sysdeps/i386/Makefile: Likewise.
26982 * sysdeps/m68k/Makefile: Likewise.
26983 * sysdeps/mips/Makefile: Likewise.
26984 * sysdeps/nios2/Makefile: Likewise.
26985 * sysdeps/sh/Makefile: Likewise.
26986 * sysdeps/sparc/Makefile: Likewise.
26988 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26990 * benchtests/Makefile (bench-math): Add trunc and truncf.
26991 (CFLAGS-bench-trunc.c): New variable.
26992 (CFLAGS-bench-truncf.c): Likewise.
26993 * benchtests/trunc-inputs: New file.
26994 * benchtests/truncf-inputs: Likewise.
26996 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26998 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
27000 2017-09-18 Joseph Myers <joseph@codesourcery.com>
27002 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
27003 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
27005 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27006 (exp10l): Define as weak alias.
27007 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
27008 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
27010 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
27011 (remainderl): Define as weak alias.
27013 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
27014 (fmal): Define using libm_alias_ldouble.
27015 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
27016 (acoshl): Define using libm_alias_ldouble.
27017 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
27018 (acosl): Define using libm_alias_ldouble.
27019 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
27020 (asinl): Define using libm_alias_ldouble.
27021 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
27022 (atan2l): Define using libm_alias_ldouble.
27023 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
27024 (atanhl): Define using libm_alias_ldouble.
27025 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
27026 (coshl): Define using libm_alias_ldouble.
27027 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
27028 (exp10l): Define using libm_alias_ldouble.
27029 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
27030 (exp2l): Define using libm_alias_ldouble.
27031 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
27032 (expl): Define using libm_alias_ldouble.
27033 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
27034 (fmodl): Define using libm_alias_ldouble.
27035 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
27036 (hypotl): Define using libm_alias_ldouble.
27037 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
27038 (j0l): Define using libm_alias_ldouble.
27040 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
27041 (j1l): Define using libm_alias_ldouble.
27043 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
27044 (jnl): Define using libm_alias_ldouble.
27046 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
27047 (log10l): Define using libm_alias_ldouble.
27048 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
27049 (log2l): Define using libm_alias_ldouble.
27050 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
27051 (logl): Define using libm_alias_ldouble.
27052 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
27053 (powl): Define using libm_alias_ldouble.
27054 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
27055 (remainderl): Define using libm_alias_ldouble.
27056 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
27057 (sinhl): Define using libm_alias_ldouble.
27058 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
27059 (sqrtl): Define using libm_alias_ldouble.
27060 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
27061 (tgammal): Define using libm_alias_ldouble.
27062 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
27063 (exp10l): Do not use long_double_symbol here.
27064 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27065 [LIBM_SVID_COMPAT] (remainderl): Likewise.
27066 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
27067 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
27068 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
27069 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
27070 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
27071 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
27072 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
27073 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
27074 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
27075 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
27076 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
27077 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
27078 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
27079 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
27080 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
27081 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
27082 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
27083 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
27084 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
27085 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
27087 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
27089 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
27090 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
27092 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
27094 * io/read.c (read): Add libc_hidden_weak.
27095 * sysdeps/mach/hurd/read.c (read): Likewise.
27096 * io/write.c (write): Likewise.
27097 * sysdeps/mach/hurd/write.c (write): Likewise.
27098 * io/pread64.c (__pread64): Likewise.
27099 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
27100 * posix/pread64.c (__pread64): Add libc_hidden_def.
27102 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
27104 * benchtests/scripts/compare_strings.py: New option -g.
27105 (draw_graph): Print a message that a graph is being generated.
27106 (process_results): Generate graph only if -g is passed.
27107 (main): Process option -g.
27109 * benchtests/scripts/compare_strings.py (process_results):
27110 Better spacing for output.
27112 * benchtests/scripts/compare_strings.py: Use argparse.
27113 * benchtests/README: Document existence of compare_strings.py.
27115 2017-09-15 Joseph Myers <joseph@codesourcery.com>
27117 * math/s_fma.c: Include <libm-alias-double.h>.
27118 (fma): Define using libm_alias_double.
27119 * math/s_nextafter.c: Include <libm-alias-double.h>.
27120 (nextafter): Define using libm_alias_double.
27121 * math/w_acos_compat.c: Include <libm-alias-double.h>.
27122 (acos): Define using libm_alias_double.
27123 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
27124 (aocsh): Define using libm_alias_double.
27125 * math/w_asin_compat.c: Include <libm-alias-double.h>.
27126 (asin): Define using libm_alias_double.
27127 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
27128 (atan2): Define using libm_alias_double.
27129 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
27130 (atanh): Define using libm_alias_double.
27131 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
27132 (cosh): Define using libm_alias_double.
27133 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
27134 (exp10): Define using libm_alias_double.
27135 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
27136 (exp2): Define using libm_alias_double.
27137 * math/w_exp_compat.c: Include <libm-alias-double.h>.
27138 (exp): Define using libm_alias_double.
27139 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
27140 (fmod): Define using libm_alias_double.
27141 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
27142 (hypot): Define using libm_alias_double.
27143 * math/w_j0_compat.c: Include <libm-alias-double.h>.
27144 (j0): Define using libm_alias_double.
27146 * math/w_j1_compat.c: Include <libm-alias-double.h>.
27147 (j1): Define using libm_alias_double.
27149 * math/w_jn_compat.c: Include <libm-alias-double.h>.
27150 (jn): Define using libm_alias_double.
27152 * math/w_log10_compat.c: Include <libm-alias-double.h>.
27153 (log10): Define using libm_alias_double.
27154 * math/w_log2_compat.c: Include <libm-alias-double.h>.
27155 (log2): Define using libm_alias_double.
27156 * math/w_log_compat.c: Include <libm-alias-double.h>.
27157 (log): Define using libm_alias_double.
27158 * math/w_pow_compat.c: Include <libm-alias-double.h>.
27159 (pow): Define using libm_alias_double.
27160 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
27161 (remainder): Define using libm_alias_double.
27162 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
27163 (sinh): Define using libm_alias_double.
27164 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
27165 (sqrt): Define using libm_alias_double.
27166 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
27167 (tgamma): Define using libm_alias_double.
27168 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
27169 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
27170 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
27171 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
27172 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
27173 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
27174 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
27175 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
27176 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
27177 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
27178 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
27179 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
27180 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
27181 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
27182 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
27183 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
27184 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
27185 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
27186 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
27187 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
27188 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
27189 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
27190 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
27191 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
27192 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
27194 * math/e_acoshl.c: Remove.
27195 * math/e_acosl.c: Likewise.
27196 * math/e_asinl.c: Likewise.
27197 * math/e_atan2l.c: Likewise.
27198 * math/e_atanhl.c: Likewise.
27199 * math/e_coshl.c: Likewise.
27200 * math/e_expl.c: Likewise.
27201 * math/e_fmodl.c: Likewise.
27202 * math/e_gammal_r.c: Likewise.
27203 * math/e_hypotl.c: Likewise.
27204 * math/e_j0l.c: Likewise.
27205 * math/e_j1l.c: Likewise.
27206 * math/e_jnl.c: Likewise.
27207 * math/e_lgammal_r.c: Likewise.
27208 * math/e_log10l.c: Likewise.
27209 * math/e_log2l.c: Likewise.
27210 * math/e_logl.c: Likewise.
27211 * math/e_powl.c: Likewise.
27212 * math/e_rem_pio2l.c: Likewise.
27213 * math/e_sinhl.c: Likewise.
27214 * math/e_sqrtf128.c: Likewise.
27215 * math/e_sqrtl.c: Likewise.
27216 * math/k_cosl.c: Likewise.
27217 * math/k_sinl.c: Likewise.
27218 * math/k_tanl.c: Likewise.
27219 * math/s_asinhl.c: Likewise.
27220 * math/s_atanl.c: Likewise.
27221 * math/s_cbrtl.c: Likewise.
27222 * math/s_erfl.c: Likewise.
27223 * math/s_expm1l.c: Likewise.
27224 * math/s_log1pl.c: Likewise.
27225 * math/s_tanhl.c: Likewise.
27227 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27230 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
27231 [$(subdir) = math] (sysdep_calls): New variable. Has the
27232 previous contents of sysdep_routines, but re-sorted..
27233 [$(subdir) = math] (sysdep_routines): Re-use the contents from
27235 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
27236 defined in sysdep_calls and replace by the respective m_* names.
27237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
27238 (compat_symbol): Undefine to avoid duplicated compat symbols in
27241 2017-09-15 Joseph Myers <joseph@codesourcery.com>
27243 * math/s_fmaf.c: Include <libm-alias-float.h>.
27244 (fmaf): Define using libm_alias_float.
27245 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
27246 (acosf): Define using libm_alias_float.
27247 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
27248 (acoshf): Define using libm_alias_float.
27249 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
27250 (asinf): Define using libm_alias_float.
27251 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
27252 (atan2f): Define using libm_alias_float.
27253 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
27254 (atanhf): Define using libm_alias_float.
27255 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
27256 (coshf): Define using libm_alias_float.
27257 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
27258 (exp10f): Define using libm_alias_float.
27259 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
27260 (fmodf): Define using libm_alias_float.
27261 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
27262 (hypotf): Define using libm_alias_float.
27263 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
27264 (j0f): Define using libm_alias_float.
27266 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
27267 (j1f): Define using libm_alias_float.
27269 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
27270 (jnf): Define using libm_alias_float.
27272 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
27273 (log10f): Define using libm_alias_float.
27274 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
27275 (log2f): Define using libm_alias_float.
27276 * math/w_logf_compat.c: Include <libm-alias-float.h>.
27277 (logf): Define using libm_alias_float.
27278 * math/w_powf_compat.c: Include <libm-alias-float.h>.
27279 (powf): Define using libm_alias_float.
27280 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
27281 (remainderf): Define using libm_alias_float.
27282 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
27283 (sinhf): Define using libm_alias_float.
27284 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
27285 (sqrtf): Define using libm_alias_float.
27286 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
27287 (tgammaf): Define using libm_alias_float.
27289 2017-09-14 Joseph Myers <joseph@codesourcery.com>
27291 * include/math.h (roundeven): Change hidden_proto call to
27293 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
27295 [NO_LONG_DOUBLE] (__j0l): New strong alias.
27296 (y0): Rename to __y0 and define as weak alias.
27297 [NO_LONG_DOUBLE] (__y0l): New strong alias.
27298 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
27300 (y0f): Rename to __y0f and define as weak alias.
27301 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
27303 [NO_LONG_DOUBLE] (__j1l): New strong alias.
27304 (y1): Rename to __y1 and define as weak alias.
27305 [NO_LONG_DOUBLE] (__y1l): New strong alias.
27306 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
27308 (y1f): Rename to __y1f and define as weak alias.
27309 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
27311 [NO_LONG_DOUBLE] (__jnl): New strong alias.
27312 (yn): Rename to __yn and define as weak alias.
27313 [NO_LONG_DOUBLE] (__ynl): New strong alias.
27314 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
27316 (ynf): Rename to __ynf and define as weak alias.
27317 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
27318 (fromfp): Define as weak alias.
27319 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
27320 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
27321 (fromfpx): Define as weak alias.
27322 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
27323 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
27324 __getpayload and define as weak alias.
27325 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
27326 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
27327 __roundeven and define as weak alias.
27328 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
27329 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
27331 (setpayload): Define as weak alias.
27332 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
27333 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
27335 (setpayloadsig): Define as weak alias.
27336 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
27337 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
27338 __totalorder and define as weak alias.
27339 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
27340 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
27341 to __totalordermag and define as weak alias.
27342 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
27343 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
27344 (ufromfp): Define as weak alias.
27345 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
27346 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
27348 (ufromfpx): Define as weak alias.
27349 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
27350 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
27351 Rename to __getpayload and define as weak alias.
27352 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
27353 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
27354 Rename to __roundeven and define as weak alias.
27355 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
27356 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
27357 Rename to __totalorder and define as weak alias.
27358 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
27359 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
27360 (totalordermag): Rename to __totalordermag and define as weak
27362 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
27363 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
27365 (__roundevenl): Likewise.
27366 (__totalorderl): Likewise.
27367 (__totalordermagl): Likewise
27368 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
27370 (fromfpf128): Define as weak alias.
27371 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
27373 (fromfpxf128): Define as weak alias.
27374 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
27376 (setpayloadf128): Define as weak alias.
27377 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
27378 __setpayloadsigf128.
27379 (setpayloadsigf128): Define as weak alias.
27380 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
27382 (ufromfpf128): Define as weak alias.
27383 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
27385 (ufromfpxf128): Define as weak alias.
27386 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
27387 (fromfpf): Define as weak alias.
27388 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
27390 (fromfpxf): Define as weak alias.
27391 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
27392 __getpayloadf and define as weak alias.
27393 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
27394 __roundevenf and define as weak alias.
27395 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
27397 (setpayloadf): Define as weak alias.
27398 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
27400 (setpayloadsigf): Define as weak alias.
27401 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
27402 __totalorderf and define as weak alias.
27403 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
27404 Rename to __totalordermagf and define as weak alias.
27405 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
27407 (ufromfpf): Define as weak alias.
27408 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
27410 (ufromfpxf): Define as weak alias.
27411 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
27413 (fromfpl): Define as weak alias.
27414 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
27416 (fromfpxl): Define as weak alias.
27417 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
27418 to __getpayloadl and define as weak alias.
27419 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
27420 __roundevenl and define as weak alias.
27421 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
27423 (setpayloadl): Define as weak alias.
27424 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
27426 (setpayloadsigl): Define as weak alias.
27427 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
27428 to __totalorderl and define as weak alias.
27429 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
27430 Rename to __totalordermagl and define as weak alias.
27431 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
27433 (ufromfpl): Define as weak alias.
27434 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
27436 (ufromfpxl): Define as weak alias.
27437 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
27439 (fromfpl): Define as weak alias.
27440 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
27442 (fromfpxl): Define as weak alias.
27443 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
27444 Rename to __getpayloadl and define as weak alias.
27445 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
27446 to __roundevenl and define as weak alias. Call __roundeven
27447 instead of roundeven.
27448 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
27450 (setpayloadl): Define as weak alias.
27451 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
27453 (setpayloadsigl): Define as weak alias.
27454 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
27455 Rename to __totalorderl and define as weak alias.
27456 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
27457 Rename to __totalordermagl and define as weak alias.
27458 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
27460 (ufromfpl): Define as weak alias.
27461 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
27463 (ufromfpxl): Define as weak alias.
27464 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
27466 (fromfpl): Define as weak alias.
27467 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
27469 (fromfpxl): Define as weak alias.
27470 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
27471 __getpayloadl and define as weak alias.
27472 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
27473 __roundevenl and define as weak alias.
27474 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
27476 (setpayloadl): Define as weak alias.
27477 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
27479 (setpayloadsigl): Define as weak alias.
27480 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
27481 __totalorderl and define as weak alias.
27482 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
27483 Rename to __totalordermagl and define as weak alias.
27484 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
27486 (ufromfpl): Define as weak alias.
27487 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
27489 (ufromfpxl): Define as weak alias.
27491 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
27493 * benchtests/bench-string.h (realloc_bufs): New function.
27494 (test_init): Call it.
27495 * benchtests/bench-memset-large.c (do_test): Likewise.
27496 * benchtests/bench-memset.c (do_test): Likewise.
27498 * benchtests/bench-memset-large.c: Print output in JSON
27500 * benchtests/bench-memset.c: Likewise.
27502 2017-09-14 Mike FABIAN <mfabian@redhat.com>
27505 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
27506 * iconvdata/Makefile: Add IBM858.
27507 * iconvdata/gconv-modules: Likewise.
27508 * iconvdata/tst-tables.sh: Likewise.
27509 * iconvdata/ibm858.c: New file.
27510 * localedata/charmaps/IBM858: Likewise.
27512 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
27515 * locales/niu_NZ (LC_TIME): copy "niu_NU".
27516 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
27518 2017-09-14 Mike FABIAN <mfabian@redhat.com>
27521 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
27522 and add tel_int_fmt.
27524 2017-09-14 Joseph Myers <joseph@codesourcery.com>
27526 * sysdeps/generic/libm-alias-float128.h: New file.
27527 * sysdeps/generic/math-type-macros-float128.h: Include
27528 <libm-alias-float128.h>.
27529 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
27531 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27533 * sysdeps/generic/libm-alias-ldouble.h: New file.
27534 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
27535 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
27536 * sysdeps/generic/math-type-macros-ldouble.h: Include
27537 <libm-alias-ldouble.h>.
27538 [!declare_mgen_alias] (declare_mgen_alias): Define to use
27539 libm_alias_ldouble.
27541 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
27543 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
27544 * math/w_exp_compat.c: ... here.
27545 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
27546 * math/w_expf_compat.c: ... here.
27547 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
27548 * math/w_expl_compat.c: ... here.
27549 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
27550 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
27551 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
27552 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
27554 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27556 * math/w_scalbln_template.c (strong_alias): Do not undefine and
27558 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
27560 (ldexpl): Only define as compat symbol for libc, not libm.
27561 (scalbnl): Define as compat symbol for libc here.
27562 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
27563 define for [IS_IN (libc)].
27564 (__ldexpl_2): Remove alias.
27565 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
27566 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
27567 name in long_double_symbol call.
27568 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
27569 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27570 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27571 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
27572 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
27574 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
27575 Define as compat symbol.
27577 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27579 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
27580 * sysdeps/unix/sysv/linux/alpha/Makefile
27581 [$(subdir) = csu] (sysdep_routines): Remove rule.
27583 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27585 * sysdeps/generic/libm-alias-double.h: New file.
27586 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
27587 * sysdeps/generic/math-type-macros-double.h: Include
27588 <libm-alias-double.h>.
27589 [declare_mgen_alias] (declare_mgen_alias): Define to use
27591 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
27592 (M_LIBM_NEED_COMPAT): Remove macro.
27593 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
27594 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
27595 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
27597 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27598 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27599 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27600 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27601 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27602 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27603 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27604 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27605 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27606 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27607 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27608 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27609 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27610 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27611 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27612 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27613 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27614 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27615 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27616 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27617 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27618 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27619 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27620 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27621 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27622 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27623 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27624 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
27625 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
27627 (declare_mgen_alias): New macro.
27628 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
27629 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
27630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
27631 (M_LIBM_NEED_COMPAT): Remove macro.
27632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
27633 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
27634 <first-versions.h>.
27635 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
27636 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
27638 2017-09-12 Joseph Myers <joseph@codesourcery.com>
27640 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
27641 (declare_mgen_alias_2): Remove.
27642 * sysdeps/generic/math-type-macros-double.h
27643 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
27645 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
27647 (ldexp): Define with declare_mgen_alias.
27648 (scalbn): Likewise.
27650 2017-09-12 Steve Ellcey <sellcey@cavium.com>
27652 * grp/initgroups.c: Include config.h.
27653 (DEFAULT_CONFIG): New macro.
27654 (internal_getgrouplist): Use DEFAULT_CONFIG.
27655 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27656 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
27657 (DEFAULT_DEFCONFIG): New macro.
27658 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
27659 * nss/grp-lookup.c: Include config.h
27660 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
27661 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
27662 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
27663 * manual/nss.texi: Update default values section.
27665 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
27668 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
27670 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
27671 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
27672 Handle MathVec_Prefer_No_AVX512.
27673 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
27674 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
27677 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
27679 * posix/sched_primax.c (__sched_get_priority_max): Add
27681 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
27682 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
27683 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
27684 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
27685 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
27686 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
27687 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
27688 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
27691 2017-09-11 Joseph Myers <joseph@codesourcery.com>
27693 * sysdeps/generic/libm-alias-float.h: New file.
27694 * sysdeps/generic/math-type-macros-float.h: Include
27695 <libm-alias-float.h>.
27696 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
27698 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
27701 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
27702 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
27703 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
27704 (HWCAP_IMPORTANT): Likewise.
27705 (HWCAP_X86_64): New enum.
27706 (HWCAP_X86_AVX512_1): Updated.
27707 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
27708 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
27709 (modules-names): Add x86_64/tst-x86_64mod-1.
27710 (LDFLAGS-tst-x86_64mod-1.so): New.
27711 ($(objpfx)tst-x86_64-1): Likewise.
27712 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
27713 (tst-x86_64-1-clean): Likewise.
27714 * sysdeps/x86_64/tst-x86_64-1.c: New file.
27715 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
27717 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
27719 * po/sv.po: Update translations.
27720 * po/fr.po: Likewise.
27722 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27724 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
27726 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
27728 * elf/rtld-Rules: Fix $(error) use.
27730 2017-09-09 Mike FABIAN <mfabian@redhat.com>
27733 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
27734 * locale/iso-639.def: Change “Bengali” to “Bangla”.
27735 * localedata/locales/bn_BD: “Bengali” was still used in some
27736 comments. Change it to “Bangla”.
27738 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
27740 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
27742 2017-09-08 Steve Ellcey <sellcey@cavium.com>
27744 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
27745 thunderx2t99p1 to list of cpu names.
27746 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
27747 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
27749 2017-09-08 Steve Ellcey <sellcey@cavium.com>
27751 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
27752 Use strcmp instead of tunable_is_name.
27754 2017-09-08 Joseph Myers <joseph@codesourcery.com>
27756 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27757 (F_GET_RW_HINT): New macro.
27758 [__USE_GNU] (F_SET_RW_HINT): Likewise.
27759 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
27760 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
27761 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
27762 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
27763 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
27764 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
27765 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
27766 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
27768 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27769 (F_ADD_SEALS): New macro.
27770 [__USE_GNU] (F_GET_SEALS): Likewise.
27771 [__USE_GNU] (F_SEAL_SEAL): Likewise.
27772 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
27773 [__USE_GNU] (F_SEAL_GROW): Likewise.
27774 [__USE_GNU] (F_SEAL_WRITE): Likewise.
27776 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27778 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
27779 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
27780 * posix/glob_internal.h (__glob_pattern_type):
27781 * posix/glob.c (glob):
27782 * posix/glob_pattern_p.c (__glob_pattern_p):
27785 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
27786 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27787 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
27788 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
27789 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
27790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
27791 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
27792 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
27793 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
27794 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
27795 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
27796 * sysdeps/wordsize-64/glob.c: Likewise.
27797 * sysdeps/wordsize-64/glob64.c: Likewise.
27798 * sysdeps/wordsize-64/globfree.c: Likewise.
27799 * sysdeps/wordsize-64/globfree64.c: Likewise.
27800 * sysdeps/unix/sysv/linux/glob.c: New file.
27801 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
27802 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
27803 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
27804 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27805 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
27806 adds !GLOB_NO_OLD_VERSION as an extra condition.
27807 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
27808 using relative path instead of absolute one.
27809 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
27810 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27811 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27812 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
27813 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
27814 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
27817 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
27818 (glob): Use the same scratch buffer for both getlogin_r and
27819 getpwnam_r. Don’t require preallocation of the login name. This
27820 simplifies storage allocation, and corrects the handling of
27824 * posix/glob.c (glob): Port recent patches to platforms
27825 lacking getpwnam_r.
27826 (glob): Fix longstanding misuse of errno after getpwnam_r, which
27827 returns an error number rather than setting errno.
27829 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
27830 instead of GCC extension.
27831 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
27832 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
27833 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
27837 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
27838 * posix/bug-glob1.c: Remove file.
27839 * posix/tst-glob_symlinks.c: New file.
27840 * posix/glob.c (__lstat64): New macro.
27841 (is_dir): New function.
27842 (glob, glob_in_dir): Match symlinks even if they are dangling.
27843 (link_stat, link_exists_p): Remove. All uses removed.
27847 * posix/glob.c (struct readdir_result): Remove skip_entry member.
27848 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
27853 * posix/Makefile (routines): Add globfree, globfree64, and
27855 * posix/flexmember.h: New file.
27856 * posix/glob_internal.h: Likewise.
27857 * posix/glob_pattern_p.c: Likewise.
27858 * posix/globfree.c: Likewise.
27859 * posix/globfree64.c: Likewise.
27860 * sysdeps/gnu/globfree64.c: Likewise.
27861 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
27862 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
27863 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
27864 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
27865 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
27866 * sysdeps/wordsize-64/globfree.c: Likewise.
27867 * sysdeps/wordsize-64/globfree64.c: Likewise.
27868 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
27869 [NDEBUG): Remove comments.
27870 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
27871 (dirent_type): New type. Use uint_fast8_t not
27872 uint8_t, as C99 does not require uint8_t.
27873 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
27874 (struct readdir_result): Use dirent_type. Do not define skip_entry
27875 unless it is needed; this saves a byte on platforms lacking d_ino.
27876 (readdir_result_type, readdir_result_skip_entry):
27877 New functions, replacing ...
27878 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
27879 these functions, which were removed. This makes the callers
27880 easier to read. All callers changed.
27881 (D_INO_TO_RESULT): Now empty if there is no d_ino.
27882 (size_add_wrapv, glob_use_alloca): New static functions.
27883 (glob, glob_in_dir): Check for size_t overflow in several places,
27884 and fix some size_t checks that were not quite right.
27885 Remove old code using SHELL since Bash no longer
27887 (glob, prefix_array): Separate MS code better.
27888 (glob_in_dir): Remove old Amiga and VMS code.
27889 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
27891 (glob_in_dir): Do not rely on undefined behavior in accessing
27892 struct members beyond their bounds. Use a flexible array member
27894 (link_stat): Rename from link_exists2_p and return -1/0 instead of
27895 0/1. Caller changed.
27896 (glob): Fix memory leaks.
27897 * posix/glob64 (globfree64): Move to separate file.
27898 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
27899 (globfree64): Remove hidden alias.
27900 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
27902 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
27904 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
27906 Move compat code to separate file.
27907 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
27910 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
27912 * resolv/tst-resolv-qtypes.c (domain): Changed to
27913 "const char domain[] =".
27915 2017-09-07 Joseph Myers <joseph@codesourcery.com>
27917 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
27920 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
27921 (TCP_MD5SIG_EXT): Likewise.
27922 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
27923 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
27924 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
27926 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
27928 2017-09-07 Mike FABIAN <mfabian@redhat.com>
27930 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
27932 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
27935 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
27937 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
27939 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
27940 before assuming that the file is empty. Avoid testing buffer content
27943 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27946 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
27948 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
27950 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
27952 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
27954 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
27956 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
27958 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
27961 2017-09-06 Florian Weimer <fweimer@redhat.com>
27963 * malloc/dynarray_emplace_enlarge.c
27964 (__libc_dynarray_emplace_enlarge): Add missing else.
27966 2017-09-06 Florian Weimer <fweimer@redhat.com>
27969 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
27970 case of failure to obtain the global conf object.
27972 2017-09-06 Florian Weimer <fweimer@redhat.com>
27975 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
27976 dynarray allocation failure.
27978 2017-09-06 Florian Weimer <fweimer@redhat.com>
27980 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
27981 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
27982 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
27984 (response): Call them. Add 'p', '6' flag processing.
27985 (test_reverse): New function.
27986 (test_get2_any): Call it.
27987 (test_no_inet6): Add 'p' test.
27988 (test_inet6): Likewise.
27990 2017-09-06 Florian Weimer <fweimer@redhat.com>
27992 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
27993 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
27995 (test_gai): Adjust query names. Add additional tests.
27996 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
27997 test_get2. Adjust query names. Add additional tests.
27998 (test_no_inet6): New function, extracted from threadfunc.
27999 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
28000 Add additional tests.
28002 2017-09-06 Mike FABIAN <mfabian@redhat.com>
28005 * localedata/unicode-gen/utf8_gen.py: Set the width for
28006 characters with Prepended_Concatenation_Mark property to 1
28007 * localedata/charmaps/UTF-8: Updated using the improved script.
28009 2017-09-06 Mike FABIAN <mfabian@redhat.com>
28012 * localedata/unicode-gen/utf8_gen.py: Improve the script to
28013 use the range notation for all ranges of neighbouring characters
28014 with the same width.
28016 2017-09-05 Joseph Myers <joseph@codesourcery.com>
28018 * sysdeps/generic/math-type-macros-double.h: Include
28019 <math-svid-compat.h>.
28020 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28021 * sysdeps/generic/math-type-macros-float.h: Include
28022 <math-svid-compat.h>.
28023 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28024 * sysdeps/generic/math-type-macros-ldouble.h: Include
28025 <math-svid-compat.h>.
28026 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28027 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
28029 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
28030 * math/w_acosf_compat.c: Likewise.
28031 * math/w_acosh_compat.c: Likewise.
28032 * math/w_acoshf_compat.c: Likewise.
28033 * math/w_acoshl_compat.c: Likewise.
28034 * math/w_acosl_compat.c: Likewise.
28035 * math/w_asin_compat.c: Likewise.
28036 * math/w_asinf_compat.c: Likewise.
28037 * math/w_asinl_compat.c: Likewise.
28038 * math/w_atan2_compat.c: Likewise.
28039 * math/w_atan2f_compat.c: Likewise.
28040 * math/w_atan2l_compat.c: Likewise.
28041 * math/w_atanh_compat.c: Likewise.
28042 * math/w_atanhf_compat.c: Likewise.
28043 * math/w_atanhl_compat.c: Likewise.
28044 * math/w_cosh_compat.c: Likewise.
28045 * math/w_coshf_compat.c: Likewise.
28046 * math/w_coshl_compat.c: Likewise.
28047 * math/w_exp10_compat.c: Likewise.
28048 * math/w_exp10f_compat.c: Likewise.
28049 * math/w_exp10l_compat.c: Likewise.
28050 * math/w_exp2_compat.c: Likewise.
28051 * math/w_exp2f_compat.c: Likewise.
28052 * math/w_exp2l_compat.c: Likewise.
28053 * math/w_fmod_compat.c: Likewise.
28054 * math/w_fmodf_compat.c: Likewise.
28055 * math/w_fmodl_compat.c: Likewise.
28056 * math/w_hypot_compat.c: Likewise.
28057 * math/w_hypotf_compat.c: Likewise.
28058 * math/w_hypotl_compat.c: Likewise.
28059 * math/w_j0_compat.c: Likewise.
28060 * math/w_j0f_compat.c: Likewise.
28061 * math/w_j0l_compat.c: Likewise.
28062 * math/w_j1_compat.c: Likewise.
28063 * math/w_j1f_compat.c: Likewise.
28064 * math/w_j1l_compat.c: Likewise.
28065 * math/w_jn_compat.c: Likewise.
28066 * math/w_jnf_compat.c: Likewise.
28067 * math/w_jnl_compat.c: Likewise.
28068 * math/w_lgamma_r_compat.c: Likewise.
28069 * math/w_lgammaf_r_compat.c: Likewise.
28070 * math/w_lgammal_r_compat.c: Likewise.
28071 * math/w_log10_compat.c: Likewise.
28072 * math/w_log10f_compat.c: Likewise.
28073 * math/w_log10l_compat.c: Likewise.
28074 * math/w_log2_compat.c: Likewise.
28075 * math/w_log2f_compat.c: Likewise.
28076 * math/w_log2l_compat.c: Likewise.
28077 * math/w_log_compat.c: Likewise.
28078 * math/w_logf_compat.c: Likewise.
28079 * math/w_logl_compat.c: Likewise.
28080 * math/w_pow_compat.c: Likewise.
28081 * math/w_powf_compat.c: Likewise.
28082 * math/w_powl_compat.c: Likewise.
28083 * math/w_remainder_compat.c: Likewise.
28084 * math/w_remainderf_compat.c: Likewise.
28085 * math/w_remainderl_compat.c: Likewise.
28086 * math/w_sinh_compat.c: Likewise.
28087 * math/w_sinhf_compat.c: Likewise.
28088 * math/w_sinhl_compat.c: Likewise.
28089 * math/w_sqrt_compat.c: Likewise.
28090 * math/w_sqrtf_compat.c: Likewise.
28091 * math/w_sqrtl_compat.c: Likewise.
28092 * math/w_tgamma_compat.c: Likewise.
28093 * math/w_tgammaf_compat.c: Likewise.
28094 * math/w_tgammal_compat.c: Likewise.
28095 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
28096 [LIBM_SVID_COMPAT].
28097 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
28098 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
28099 [LIBM_SVID_COMPAT].
28100 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
28101 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
28102 [LIBM_SVID_COMPAT].
28103 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
28104 * sysdeps/i386/fpu/w_sqrt.c: New file.
28105 * sysdeps/ia64/fpu/w_acos.c: Likewise.
28106 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
28107 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
28108 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
28109 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
28110 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
28111 * sysdeps/ia64/fpu/w_asin.c: Likewise.
28112 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
28113 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
28114 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
28115 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
28116 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
28117 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
28118 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
28119 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
28120 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
28121 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
28122 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
28123 * sysdeps/ia64/fpu/w_exp.c: Likewise.
28124 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
28125 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
28126 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
28127 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
28128 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
28129 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
28130 * sysdeps/ia64/fpu/w_expf.c: Likewise.
28131 * sysdeps/ia64/fpu/w_expl.c: Likewise.
28132 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
28133 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
28134 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
28135 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
28136 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
28137 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
28138 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
28139 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
28140 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
28141 * sysdeps/ia64/fpu/w_log.c: Likewise.
28142 * sysdeps/ia64/fpu/w_log10.c: Likewise.
28143 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
28144 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
28145 * sysdeps/ia64/fpu/w_log2.c: Likewise.
28146 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
28147 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
28148 * sysdeps/ia64/fpu/w_logf.c: Likewise.
28149 * sysdeps/ia64/fpu/w_logl.c: Likewise.
28150 * sysdeps/ia64/fpu/w_pow.c: Likewise.
28151 * sysdeps/ia64/fpu/w_powf.c: Likewise.
28152 * sysdeps/ia64/fpu/w_powl.c: Likewise.
28153 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
28154 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
28155 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
28156 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
28157 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
28158 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
28159 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
28160 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
28161 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
28162 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
28163 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
28164 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
28165 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
28166 [LIBM_SVID_COMPAT].
28167 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
28168 * sysdeps/ieee754/k_standard.c: Likewise.
28169 * sysdeps/ieee754/k_standardf.c: Likewise.
28170 * sysdeps/ieee754/k_standardl.c: Likewise.
28171 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
28172 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
28173 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
28174 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
28175 long_double_symbol call on [LIBM_SVID_COMPAT].
28176 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28177 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28178 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28179 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28180 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28181 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28182 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28183 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28184 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28185 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28186 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28187 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
28188 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28189 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28190 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28191 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28192 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
28193 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28194 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28195 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28196 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
28197 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
28199 2017-09-05 Steve Ellcey <sellcey@cavium.com>
28201 * include/shlib-compat.h (TEST_COMPAT): New Macro.
28202 * malloc/tst-mallocstate.c: Convert from test-skeleton
28203 to test-driver. Ifdef code using TEST_COMPAT macro.
28204 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
28205 * math/test-matherr.c: Likewise.
28207 2017-09-05 Joseph Myers <joseph@codesourcery.com>
28210 * debug/pcprofiledump.c (main): Use byte-swapped mask when
28211 comparing word with byte-swapped constant.
28213 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
28216 * locale/iso-639.def: add Miskito.
28217 * localedata/SUPPORTED: Add miq_NI/UTF-8.
28218 * localedata/locales/miq_NI: New file.
28220 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
28223 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
28224 (__mkdir): Likewise.
28225 * io/chmod.c (__chmod): Add libc_hidden_def.
28226 * io/mkdir.c (__mkdir): Likewise.
28227 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
28228 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
28229 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
28230 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
28232 2017-09-04 Joseph Myers <joseph@codesourcery.com>
28234 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
28238 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
28239 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
28241 2017-09-04 Florian Weimer <fweimer@redhat.com>
28243 * math/math.h: Issue warning if log is defined.
28245 2017-09-04 Joseph Myers <joseph@codesourcery.com>
28247 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
28248 kernel version to 4.13.
28250 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28252 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
28253 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
28255 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
28256 just <bits/types.h>.
28257 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
28258 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
28259 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
28260 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
28261 * misc/preadv2.c: Include <errno.h>.
28262 * misc/preadv64v2.c: Include <errno.h>.
28263 * misc/pwritev2.c: Include <errno.h>.
28264 * misc/pwritev64v2.c: Include <errno.h>.
28265 * sysdeps/posix/preadv2.c: Include <errno.h>.
28266 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
28267 Fix <unistd.h> inclusion.
28268 * sysdeps/posix/pwritev2.c: Include <errno.h>.
28269 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
28270 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
28271 __strtoul_internal): New functions.
28272 * sysdeps/posix/pause.c: Include <sigsetops.h>.
28273 * sysdeps/posix/system.c: Include <sigsetops.h>.
28274 * sysdeps/mach/hurd/i386/Makefile
28275 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
28276 [$(subdir) = csu] (sysdep-only-routines): Likewise.
28277 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
28278 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
28279 __feraiseexcept_renamed to feraiseexcept instead of
28280 __GI_feraiseexcept.
28281 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
28282 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
28283 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
28284 RWF_NOWAIT): Define to 0 if undefined already.
28285 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
28287 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
28288 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
28290 2017-09-01 Joseph Myers <joseph@codesourcery.com>
28292 * manual/math.texi (pow10): Do not document.
28293 (pow10f): Likewise.
28294 (pow10l): Likewise.
28295 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
28296 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
28297 * math/libm-test-exp10.inc (pow10_test): Remove.
28298 (do_test): Do not call pow10.
28299 * math/w_exp10_compat.c (pow10): Make into compat symbol.
28300 [NO_LONG_DOUBLE] (pow10l): Likewise.
28301 * math/w_exp10f_compat.c (pow10f): Likewise.
28302 * math/w_exp10l_compat.c (pow10l): Likewise.
28303 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
28304 (pow10): Make into compat symbol.
28305 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
28306 (pow10f): Make into compat symbol.
28307 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
28308 (pow10l): Make into compat symbol.
28309 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
28311 (CFLAGS-nldbl-pow10.c): Remove variable..
28312 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
28313 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
28314 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
28315 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
28316 Undefine and redefine.
28317 (pow10l): Make into compat symbol.
28318 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
28319 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
28320 * sysdeps/arm/libm-test-ulps: Likewise.
28321 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
28322 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
28323 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28324 * sysdeps/microblaze/libm-test-ulps: Likewise.
28325 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
28326 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28327 * sysdeps/nios2/libm-test-ulps: Likewise.
28328 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28329 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
28330 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28331 * sysdeps/sh/libm-test-ulps: Likewise.
28332 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28333 * sysdeps/tile/libm-test-ulps: Likewise.
28334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28336 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
28338 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
28340 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28342 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
28343 "../ChangeLog.old/ChangeLog.8".
28344 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
28345 "../ChangeLog.old/ChangeLog.14".
28347 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28349 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
28352 2017-09-01 Joseph Myers <joseph@codesourcery.com>
28354 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
28356 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28358 * csu/version.c (banner): Remove "by Roland McGrath et al.".
28359 * nptl/Banner: Remove "by Ulrich Drepper et al.".
28361 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
28363 * stdlib/tst-atexit-common.c (do_test): Test support for at least
28364 32 atexit handlers.
28366 2017-09-01 Zack Weinberg <zackw@panix.com>
28368 * math/math.h (HUGE_VAL): Improve commentary.
28370 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28371 Andreas Schwab <schwab@suse.de>
28374 * include/stdio.h (__gen_tempfd): New function.
28375 * stdio-common/Makefile (routines): Add gentempfd.
28376 * stdio-common/gentempfd.c: New file.
28377 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
28378 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
28379 unnamed file first.
28381 2017-09-01 Florian Weimer <fweimer@redhat.com>
28385 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
28386 result to determine success or failure, not the errno value.
28387 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
28388 (tst-nss-files-hosts-erange): Link with -ldl.
28389 * nss/tst-nss-files-hosts-erange.c: New file.
28390 * nss/tst-resolv-basic.c (response): Handle nodata.example.
28391 (do_test): Add NO_DATA tests.
28392 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
28393 (do_test): Call it.
28395 2017-09-01 Florian Weimer <fweimer@redhat.com>
28398 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
28399 coming from gethostbyname2_r.
28401 2017-09-01 Florian Weimer <fweimer@redhat.com>
28403 * support/namespace.h (struct support_chroot_configuration): Add
28405 (struct support_chroot): Add path_hosts, path_host_conf.
28406 * support/support_chroot.c (write_file): New function.
28407 (support_chroot_create): Call it to process /etc/resolv.conf,
28408 /etc/hosts, /etc/host.conf.
28409 (support_chroot_free): Update.
28411 2017-09-01 Florian Weimer <fweimer@redhat.com>
28413 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
28414 status indicates it is set.
28416 2017-09-01 Florian Weimer <fweimer@redhat.com>
28419 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
28420 function lookup failures more reliable.
28422 2017-09-01 Florian Weimer <fweimer@redhat.com>
28424 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
28425 (getcanonname): Likewise.
28426 (gaih_inet): Likewise.
28428 2017-09-01 Florian Weimer <fweimer@redhat.com>
28430 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
28431 (getcanonname): Likewise.
28432 (gaih_inet): Likewise.
28434 2017-08-31 Steve Ellcey <sellcey@cavium.com>
28435 Richard Henderson <rth@twiddle.net>
28437 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
28438 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
28439 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
28440 (IREG_SIZE, OREG_SIZE): New macros.
28441 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
28442 (IREG_SIZE, OREG_SIZE): New macros.
28443 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
28444 (IREG_SIZE): New macro.
28445 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
28446 (IREG_SIZE): New macro.
28447 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
28449 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
28450 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
28451 (__CONCATX): Handle exceptions correctly on large values that may
28453 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
28454 Initialize if not already set.
28455 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
28457 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28459 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
28460 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
28462 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
28464 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
28466 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
28468 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
28470 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
28472 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
28474 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
28475 (NO_CANCELLATION): Likewise.
28476 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
28478 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
28480 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
28482 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
28483 (NO_CANCELLATION): Likewise.
28484 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
28485 (NO_CANCELLATION): Likewise.
28486 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
28488 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
28490 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
28492 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
28494 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
28496 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
28497 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
28499 2017-08-31 Steve Ellcey <sellcey@cavium.com>
28501 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
28504 2017-08-31 Florian Weimer <fweimer@redhat.com>
28506 * include/libc-symbols.h (internal_function): Remove.
28508 2017-08-31 Florian Weimer <fweimer@redhat.com>
28510 * stdlib/fmtmsg.c (internal_addseverity): Remove
28513 2017-08-31 Florian Weimer <fweimer@redhat.com>
28515 * stdio-common/printf_fp.c (group_number): Remove
28517 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
28519 2017-08-31 Florian Weimer <fweimer@redhat.com>
28521 * posix/fnmatch.c (internal_function): Remove definition.
28522 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
28523 * posix/regcomp.c (peek_token, init_word_char)
28524 (duplicate_node_closure, fetch_token, peek_token)
28525 (peek_token_bracket, build_range_exp, build_collating_symbol):
28527 * posix/regex_internal.c (re_string_construct_common)
28528 (create_ci_newstate, create_cd_newstate, re_string_allocate)
28529 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
28530 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
28531 (re_string_translate_buffer, re_string_reconstruct)
28532 (re_string_peek_byte_case, re_string_fetch_byte_case)
28533 (re_string_destruct, re_string_context_at, re_node_set_alloc)
28534 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
28535 (re_node_set_add_intersect, re_node_set_init_union)
28536 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
28537 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
28538 (re_dfa_add_node, calc_state_hash, re_acquire_state)
28539 (re_acquire_state_context): Likewise.
28540 * posix/regex_internal.h (internal_function): Remove definition.
28541 (re_string_realloc_buffers, build_wcs_buffer)
28542 (build_wcs_upper_buffer, build_upper_buffer)
28543 (re_string_translate_buffer, re_string_context_at)
28544 (re_string_char_size_at, re_string_wchar_at)
28545 (re_string_elem_size_at): Likewise.
28546 * posix/regexec.c (match_ctx_init, match_ctx_clean)
28547 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
28548 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
28549 (re_search_internal, re_search_2_stub, re_search_stub)
28550 (re_copy_regs, prune_impossible_nodes, check_matching)
28551 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
28552 (free_fail_stack_return, sift_states_iter_mb)
28553 (sift_states_backward, build_sifted_states)
28554 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
28555 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
28556 (check_subexp_limits, sift_states_bkref, merge_state_array)
28557 (find_recover_state, transit_state, merge_state_with_log)
28558 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
28559 (transit_state_mb, transit_state_bkref, get_subexp)
28560 (get_subexp_sub, find_subexp_node, check_arrival)
28561 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
28562 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
28563 (check_node_accept_bytes, find_collation_sequence_value)
28564 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
28565 (acquire_init_state_context, check_halt_node_context)
28566 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
28567 (sub_epsilon_src_nodes): Likewise.
28568 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
28569 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
28570 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
28571 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
28572 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
28573 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
28574 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
28575 * sysdeps/posix/ttyname.c (getttyname): Likewise.
28576 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
28577 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
28578 (PREADV): Likewise.
28579 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
28580 (PREADV): Likewise.
28581 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
28582 (PWRITEV): Likewise.
28583 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
28584 (PWRITEV): Likewise.
28585 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
28586 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
28588 2017-08-31 Florian Weimer <fweimer@redhat.com>
28590 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
28591 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
28592 Remove internal_function.
28593 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
28594 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
28595 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
28596 (__deallocate_stack, __libc_pthread_init)
28597 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
28598 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
28599 (__libc_disable_asynccancel, __librt_disable_asynccancel):
28601 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
28602 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
28603 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
28605 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
28606 (__pthread_mutex_unlock_usercnt): Likewise.
28608 2017-08-31 Florian Weimer <fweimer@redhat.com>
28610 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
28611 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
28612 (fts_safe_changedir): Remove internal_function.
28613 * io/ftw.c (internal_function): Remove definition.
28614 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
28616 2017-08-31 Florian Weimer <fweimer@redhat.com>
28618 * inet/deadline.c (__deadline_current_time)
28619 (__deadline_from_timeval, __deadline_to_ms): Remove
28621 * inet/getnameinfo.c (nrl_domainname): Likewise.
28622 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
28623 * inet/inet6_option.c (add_pad): Likewise.
28624 * inet/net-internal.h (__deadline_current_time)
28625 (__deadline_from_timeval, __deadline_to_ms): Likewise.
28626 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
28627 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
28628 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
28630 2017-08-31 Joseph Myers <joseph@codesourcery.com>
28632 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
28633 include <bits/nan.h>.
28634 * math/Makefile (headers): Remove bits/nan.h.
28635 * bits/nan.h: Remove.
28636 * sysdeps/ieee754/bits/nan.h: Likewise.
28637 * sysdeps/mips/bits/nan.h: Likewise.
28639 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
28640 not include <bits/inf.h>.
28641 * math/Makefile (headers): Remove bits/inf.h.
28642 * bits/inf.h: Remove.
28643 * sysdeps/ieee754/bits/inf.h: Likewise.
28645 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
28646 bits/huge_vall.h or bits/huge_val_flt128.h.
28647 (HUGE_VAL): Define directly here.
28648 [__USE_ISOC99] (HUGE_VALF): Likewise.
28649 [__USE_ISOC99] (HUGE_VALL): Likewise.
28650 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28651 (HUGE_VAL_F128): Likewise.
28652 * math/Makefile (headers): Remove bits/huge_val.h,
28653 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
28654 * bits/huge_val.h: Remove.
28655 * bits/huge_val_flt128.h: Likewise.
28656 * bits/huge_valf.h: Likewise.
28657 * bits/huge_vall.h: Likewise.
28658 * sysdeps/ia64/bits/huge_vall.h: Likewise.
28659 * sysdeps/ieee754/bits/huge_val.h: Likewise.
28660 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
28661 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
28662 * sysdeps/sh/bits/huge_val.h: Likewise.
28663 * sysdeps/sparc/bits/huge_vall.h: Likewise.
28664 * sysdeps/x86/bits/huge_vall.h: Likewise.
28666 2017-08-31 Florian Weimer <fweimer@redhat.com>
28668 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
28670 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
28672 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
28673 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
28674 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
28675 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
28676 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28677 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
28678 * elf/dl-libc.c (dlerror_run): Likewise.
28679 * elf/dl-load.c (add_name_to_object, decompose_rpath)
28680 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
28681 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
28682 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
28684 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
28685 (_dl_higher_prime_number, _dl_strtoul): Likewise.
28686 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
28687 * elf/dl-profile.c (_dl_start_profile): Likewise.
28688 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
28689 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
28691 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
28692 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
28693 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
28694 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
28695 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
28696 (_dl_allocate_tls_storage): Likewise.
28697 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
28698 (_dl_check_all_versions): Likewise.
28699 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
28700 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
28701 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
28702 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28703 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
28704 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
28705 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
28706 internal_function from __dl_start.
28707 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
28708 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
28709 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
28710 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
28711 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
28712 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
28713 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
28714 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
28715 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
28716 (_dl_next_ld_env_entry, _dl_important_hwcaps)
28717 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
28718 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
28719 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
28720 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
28721 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
28723 (struct rtld_global_ro): Remove internal_function from the
28724 _dl_lookup_symbol_x member.
28725 (_dl_symbol_value): Remove. No longer defined anywhere.
28726 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
28728 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28729 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
28730 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
28731 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
28732 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
28733 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
28734 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
28735 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
28736 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
28737 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
28738 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28739 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
28741 2017-08-31 Florian Weimer <fweimer@redhat.com>
28743 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
28744 Remove internal_function.
28745 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
28747 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
28750 2017-08-31 Florian Weimer <fweimer@redhat.com>
28752 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
28753 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
28754 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
28756 2017-08-31 Florian Weimer <fweimer@redhat.com>
28758 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
28759 (__gai_enqueue_request): Remove internal_function.
28760 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
28761 (__gai_remove_request, __gai_notify, __gai_notify_only)
28762 (__gai_sigqueue): Likewise.
28763 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
28764 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
28765 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
28766 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28769 2017-08-31 Florian Weimer <fweimer@redhat.com>
28771 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
28772 * include/dirent.h (__opendirat, __getdents, __getdents64)
28773 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
28774 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
28775 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
28776 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28778 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
28780 2017-08-31 Florian Weimer <fweimer@redhat.com>
28782 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
28784 (GETCWD_RETURN_TYPE): Likewise.
28786 2017-08-31 Florian Weimer <fweimer@redhat.com>
28788 * include/time.h (__tz_compute, __strptime_internal): Remove
28790 * time/strptime_l.c (__strptime_internal): Likewise.
28791 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
28793 2017-08-31 Florian Weimer <fweimer@redhat.com>
28795 * iconv/gconv.c (__gconv): Remove internal_function.
28796 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
28797 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
28798 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
28799 (__gconv_release_cache): Likewise.
28800 * iconv/gconv_close.c (__gconv_close): Likewise.
28801 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
28802 (read_conf_file, __gconv_get_path): Likewise.
28803 * iconv/gconv_db.c (derivation_lookup, add_derivation)
28804 (__gconv_release_step, gen_steps, increment_counter)
28805 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
28806 (__gconv_close_transform, free_modules_db): Likewise.
28807 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
28809 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
28810 (__gconv_find_transform, __gconv_lookup_cache)
28811 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
28812 (__gconv_close_transform, __gconv_release_cache)
28813 (__gconv_loaded_object, __gconv_release_shlib)
28814 (__gconv_compare_alias): Likewise.
28815 * iconv/gconv_open.c (__gconv_open): Likewise.
28816 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
28817 * iconv/iconvconfig.c (add_module): Likewise.
28818 * intl/dcigettext.c (plural_lookup, guess_category_value)
28819 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
28820 * intl/eval-plural.h (plural_eval): Likewise.
28821 * intl/finddomain.c (_nl_find_domain): Likewise.
28822 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
28823 (_nl_load_domain, _nl_find_msg): Likewise.
28824 (internal_function): Remove definition.
28825 * intl/loadinfo.h (internal_function): Likewise.
28826 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
28828 * intl/localealias.c (internal_function): Remove definition.
28829 (read_alias_file): Remove internal_function.
28830 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
28831 * intl/plural-exp.h (internal_function): Remove definition.
28832 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
28834 * intl/plural.c: Regenerate.
28835 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
28836 * locale/coll-lookup.c (__collidx_table_lookup)
28837 (__collseq_table_lookup): Likewise.
28838 * locale/coll-lookup.h (__collidx_table_lookup)
28839 (__collseq_table_lookup): Likewise.
28840 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
28841 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
28842 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
28843 (_nl_unload_locale): Likewise.
28844 * locale/localeinfo.h (struct __locale_data): Remove
28845 internal_function from cleanup member.
28846 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
28847 (_nl_remove_locale, _nl_load_locale_from_archive)
28848 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
28849 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
28850 (_nl_cleanup_time): Remove internal_function.
28851 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
28852 (_nl_parse_alt_digit): Likewise.
28853 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
28854 (_nl_select_era_entry): Likewise.
28855 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
28856 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
28857 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
28858 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
28859 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
28861 2017-08-31 Florian Weimer <fweimer@redhat.com>
28863 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
28864 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28865 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
28866 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
28868 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
28869 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
28870 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
28871 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
28873 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
28875 2017-08-31 Florian Weimer <fweimer@redhat.com>
28877 * misc/getttyent.c (skip, value): Remove internal_function.
28878 * misc/syslog.c (openlog_internal): Likewise.
28879 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
28881 2017-08-31 Florian Weimer <fweimer@redhat.com>
28883 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
28884 (__nss_rewrite_field): Remove internal_function.
28885 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
28886 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
28887 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
28888 * nss/nsswitch.c (nss_parse_file, nss_getline)
28889 (nss_parse_service_list, nss_new_service): Likewise.
28890 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
28891 * nss/valid_field.c (__nss_valid_field): Likewise.
28892 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
28894 2017-08-31 Florian Weimer <fweimer@redhat.com>
28896 * malloc/arena.c (__malloc_fork_lock_parent)
28897 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
28898 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
28899 internal_function from defintions.
28900 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
28901 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
28902 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
28903 internal_function from declarations.
28904 * malloc/malloc.c (internal_function): Do not define.
28905 (mem2mem_check): Remove internal_function from declaration.
28906 (munmap_chunk, mremap_chunk): Remove internal_function.
28907 * malloc/mtrace.c (tr_where): Likewise.
28909 2017-08-31 Florian Weimer <fweimer@redhat.com>
28911 * include/rpc/pmap_clnt.h (__get_socket): Remove
28913 * sunrpc/auth_des.c (synchronize): Likewise.
28914 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
28915 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
28916 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
28917 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
28918 (key_call): Likewise.
28919 * sunrpc/pm_getport.c (__get_socket): Likewise.
28920 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
28921 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
28922 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
28923 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
28924 (invalidate): Likewise.
28925 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
28926 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
28927 (set_input_fragment, get_input_bytes): Likewise.
28929 2017-08-31 Florian Weimer <fweimer@redhat.com>
28931 * malloc/malloc.c (_int_free): Remove locked variable and related
28934 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
28937 * Makerules (build-module-helper-objlist): Filter out
28938 $(elf-objpfx)sofini.os.
28939 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
28942 2017-08-31 Florian Weimer <fweimer@redhat.com>
28944 * libio/fcloseall.c: Assume weak_alias is defined.
28945 * libio/feof.c: Likewise.
28946 * libio/fileno.c: Likewise.
28947 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
28948 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
28950 (_IO_file_open): Call __open directly.
28951 (_IO_new_file_sync): Assume ESPIPE is defined.
28952 (_IO_file_seekoff_maybe_mmap): Call __read directly.
28953 (_IO_new_file_write): Call __write directly.
28954 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
28955 * libio/ftello64.c (__ftello64): Assume EIO is defined.
28956 * libio/genops.c: Assume _LIBC is defined.
28957 (save_for_backup): Remove internal_function.
28958 * libio/getc.c: Assume weak_alias is defined.
28959 * libio/getwc.c: Likewise.
28960 * libio/iofclose.c: Assume _LIBC is defined.
28961 * libio/iofdopen.c: Likewise.
28962 (_IO_fcntl): Remove macro definition.
28963 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
28964 Call __fcntl directly.
28965 * libio/iofflush.c: Assume weak_alias is defined.
28966 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
28968 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
28969 * libio/iofgets.c: Likewise.
28970 * libio/iofopen.c: Assume _LIBC is defined.
28971 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
28972 * libio/iofputs.c: Assume weak_alias is defined.
28973 * libio/iofread.c: Likewise.
28974 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
28975 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28976 * libio/ioftell.c: Assume weak_alias is defined.
28977 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
28978 * libio/iofwide.c: Assume _LIBC is defined.
28979 (_IO_fwide): Drop SHARED conditional because it is implied by
28981 * libio/iofwrite.c: Assume weak_alias is defined.
28982 * libio/iogetdelim.c: Likewise.
28983 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
28984 * libio/iogetwline.c (wmemcpy): Remove macro definition.
28985 (_IO_getwline): Call __wmemcpy directly.
28986 * libio/iopopen.c: Assume _LIBC is defined.
28987 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
28988 (_IO_close): Remove macro definitions.
28989 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
28991 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
28993 * libio/ioputs.c: Assume weak_alias is defined.
28994 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
28995 * libio/iosetbuffer.c: Assume weak_alias is defined.
28996 * libio/iosetvbuf.c: Likewise.
28997 * libio/ioungetc.c: Likewise.
28998 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
28999 libc_hidden_def, libc_hidden_weak, NULL are defined.
29000 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
29001 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
29003 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
29005 (_IO_old_file_init_internal): Drop SHARED conditional because it
29006 is implied by SHLIB_COMPAT.
29007 (_IO_old_file_fopen): Call __open directly.
29008 (_IO_old_file_sync): Assume ESPIPE is defined.
29009 (_IO_old_file_write): Call __write directly.
29010 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
29011 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
29012 Call __fcntl directly.
29013 * libio/oldiofgetpos.c: Assume weak_alias is defined.
29014 (_IO_old_fgetpos): Assume EIO is defined.
29015 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
29016 (_IO_old_fgetpos64): Assume EIO is defined.
29017 * libio/oldiofsetpos.c: Assume weak_alias is defined.
29018 (_IO_old_fsetpos): Assume EIO is defined.
29019 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
29020 (_IO_old_fsetpos64): Assume EIO is defined.
29021 * libio/oldiopopen.c: Assume _LIBC is defined.
29022 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
29023 (_IO_close): Remove macro definitions.
29024 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
29026 (_IO_old_proc_close): Call __close, __waitpid directly.
29027 * libio/put.c: Assume weak_alias is defined.
29028 * libio/stdfiles.c: Assume _LIBC is defined.
29029 * libio/stdio.c: Likewise.
29030 * libio/wfileops.c: Likewise.
29031 (_IO_wfile_sync): Assume ESPIPE is defined.
29032 * libio/wgenops.c: Assume _LIBC is defined.
29033 (save_for_wbackup): Remove internal_function.
29035 2017-08-31 Florian Weimer <fweimer@redhat.com>
29037 * malloc/malloc.c (top_check): Change return type to void. Remove
29039 * malloc/hooks.c (top_check): Likewise.
29040 (malloc_check, realloc_check, memalign_check): Adjust.
29042 2017-08-30 Joseph Myers <joseph@codesourcery.com>
29045 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
29046 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
29047 sigcontext and namespace requirements.
29048 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
29049 * sysdeps/m68k/sys/ucontext.h: Likewise.
29050 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
29051 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
29052 <bits/sigcontext.h>.
29053 (__ctx): Define earlier.
29054 (mcontext_t): Define structure contents rather than using struct
29056 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
29057 __glibc_reserved1 instead of __reserved.
29058 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
29059 <bits/sigcontext.h>.
29060 (__ctx): Define earlier.
29061 (mcontext_t): Define structure contents rather than using struct
29063 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
29064 mcontext_t instead of struct sigcontext.
29065 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
29066 <bits/sigcontext.h>.
29067 (__ctx): Define earlier.
29068 (mcontext_t): Define structure contents rather than using struct
29070 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
29071 <bits/sigcontext.h>.
29072 (__ctx): Define earlier.
29073 (mcontext_t): Define structure contents rather than using struct
29075 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
29076 mcontext_t instead of struct sigcontext.
29077 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
29078 mcontext_t instead of struct sigcontext.
29079 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
29080 <bits/sigcontext.h>.
29081 (__ctx): New macro.
29082 (struct __ia64_fpreg_mcontext): New type.
29083 (mcontext_t): Define structure contents rather than using struct
29085 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
29086 (uc_sigmask): Define using __ctx.
29087 (uc_stack): Likewise.
29088 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
29089 <bits/sigcontext.h>.
29090 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29091 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
29092 <bits/sigcontext.h>.
29093 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
29094 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
29095 <bits/sigcontext.h>.
29096 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
29097 <bits/sigcontext.h>.
29098 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
29099 <bits/sigcontext.h>.
29100 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
29101 <bits/sigcontext.h>.
29102 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
29103 <bits/sigcontext.h>.
29104 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
29105 <bits/sigcontext.h>.
29106 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
29107 <bits/sigcontext.h>.
29108 (__ctx): Define earlier.
29109 (mcontext_t): Define structure contents rather than using struct
29111 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
29112 <bits/sigcontext.h>. Include <bits/types.h>.
29113 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
29114 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
29115 (test-xfail-XPG42/ucontext.h/conform): Likewise.
29116 (test-xfail-UNIX98/signal.h/conform): Likewise.
29117 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
29118 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
29119 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
29120 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
29121 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
29122 (test-xfail-POSIX2008/signal.h/conform): Likewise.
29123 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
29124 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
29125 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
29127 2017-08-30 Florian Weimer <fweimer@redhat.com>
29129 * malloc/dynarray_emplace_enlarge.c
29130 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
29131 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
29132 * malloc/tst-dynarray.c (test_long_overflow): New function.
29133 (do_test): Call it.
29135 2017-08-30 Florian Weimer <fweimer@redhat.com>
29137 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
29138 (set_arena_corrupt): Remove definitions.
29139 (mtrim): Do not check for corrupt arena.
29140 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
29143 2017-08-30 Florian Weimer <fweimer@redhat.com>
29146 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
29148 (ptmalloc_init): Do not set or use check_action.
29149 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
29150 call to malloc_printerr. Remove return statement.
29151 (free_check): Likewise. Remove arena unlock.
29152 (top_check): Update comment. Adjust call to malloc_printerr.
29153 Remove heap repair code.
29154 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
29155 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
29156 (sysmalloc): Adjust call to malloc_printerr.
29157 (munmap_chunk, __libc_realloc): Likewise. Remove return
29159 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
29160 Remove errout label and corresponding gotos.
29161 (_int_free): Likewise. Remove arena unlock.
29162 (do_set_mallopt_check): Do not set check_action.
29163 (malloc_printerr): Adjust parameter list. Do not mark arena as
29165 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
29167 * manual/probes.texi (Memory Allocation Probes): Remove
29168 memory_mallopt_check_action.
29170 2017-08-30 Steve Ellcey <sellcey@cavium.com>
29172 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
29173 Use pointer to uint64_t instead of long int for sp.
29175 2017-08-30 Florian Weimer <fweimer@redhat.com>
29178 * malloc/malloc.c (malloc_printerr): Always terminate the process,
29179 without printing a backtrace. Do not leak any information in the
29181 * manual/memory.texi (Heap Consistency Checking): Update.
29182 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
29184 2017-08-30 Florian Weimer <fweimer@redhat.com>
29186 Do not scale NPTL tests with available number of CPUs.
29187 * nptl/tst-cond16.c (count): Set to constant value of 8.
29188 * nptl/tst-cond18.c (count): Likewise.
29190 2017-08-29 Joseph Myers <joseph@codesourcery.com>
29193 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
29194 Define to take a second argument that is a macro that
29195 concatentates a suffix, not the suffix itself.
29196 (__CONCAT_d): New macro.
29197 (__CONCAT_f): Likewise.
29198 (__CONCAT_l): Likewise.
29200 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
29202 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
29205 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29206 Aurelien Jarno <aurelien@aurel32.net>
29207 Maciej W. Rozycki <macro@imgtec.com>
29210 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
29211 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
29212 `mips16-syscall6' and `mips16-syscall7'.
29213 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
29214 (CFLAGS-mips16-syscall7.c): Remove.
29215 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
29216 Remove `__mips16_syscall5', `__mips16_syscall6' and
29217 `__mips16_syscall7'.
29218 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
29219 (__mips16_syscall0): Rename `__mips16_syscall_return' to
29220 `__mips_syscall_return'.
29221 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
29222 (__mips16_syscall1): Likewise.
29223 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
29224 (__mips16_syscall2): Likewise.
29225 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
29226 (__mips16_syscall3): Likewise.
29227 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
29228 (__mips16_syscall4): Likewise.
29229 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
29231 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
29233 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
29235 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
29236 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
29237 `__mips16_syscall5'. Remove prototype.
29238 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
29239 `__mips16_syscall6'. Remove prototype.
29240 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
29241 `__mips16_syscall7'. Remove prototype.
29242 (__nomips16, __mips16_syscall_return): Move to...
29243 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
29244 (__nomips16, __mips_syscall_return): ... here.
29245 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
29246 `__mips16_syscall_return' to `__mips_syscall_return'.
29247 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
29248 `internal_syscall##nr'.
29249 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
29250 `internal_syscall##nr'.
29251 (FORCE_FRAME_POINTER): Remove.
29252 (__mips_syscall5): New prototype.
29253 (internal_syscall5): Rewrite to call `__mips_syscall5'.
29254 (__mips_syscall6): New prototype.
29255 (internal_syscall6): Rewrite to call `__mips_syscall6'.
29256 (__mips_syscall7): New prototype.
29257 (internal_syscall7): Rewrite to call `__mips_syscall7'.
29258 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
29259 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
29260 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
29261 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
29262 (sysdep_routines): Add libc-do-syscall.
29263 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
29264 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
29266 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29269 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
29270 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
29271 (advise_stack_range): New function.
29272 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
29273 stack non required to advise_stack_range at allocatestack.c
29275 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29277 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
29279 2017-08-29 Florian Weimer <fweimer@redhat.com>
29282 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
29283 __end_fct. Mangle __end_fct after setting it to NULL.
29284 * iconv/Makefile (tests): Add tst-gconv-init-failure.
29285 (modules-names, modules-names-tests): Add
29286 tst-gconv-init-failure-mod.
29287 (gconv-modules): New target.
29288 (tst-gconv-init-failure-mod.so): Link against libsupport.
29289 (tst-gconv-init-failure): Depend on gconv-modules,
29290 tst-gconv-init-failure-mod.so.
29291 * iconv/tst-gconv-init-failure-mod.c: New file.
29292 * iconv/tst-gconv-init-failure.c: Likewise.
29293 * iconv/test-gconv-modules: Likewise.
29295 2017-08-29 Florian Weimer <fweimer@redhat.com>
29298 * iconv/gconv_db.c (free_derivation): Remove redundant
29300 (gen_steps): Unconditionally mangle __btowc_fct after
29302 (increment_counter): Likewise. Do not call init_fct for internal
29305 2017-08-29 Joseph Myers <joseph@codesourcery.com>
29308 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
29309 (_MSUF_): Remove macro.
29310 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
29312 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
29313 (__REDIRFROM_X): New macro.
29314 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
29316 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
29317 (__REDIRTO_X): Likewise.
29318 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
29320 (__MATH_REDIRCALL_2): Likewise.
29321 (__MATH_REDIRCALL_INTERNAL): Likewise.
29322 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
29323 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
29324 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
29325 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
29326 * math/test-finite-macros.c: New file.
29327 * math/Makefile (tests): Add test-finite-macros.
29328 (CFLAGS-test-finite-macros.c): New variable.
29330 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
29331 Jeff Law <law@redhat.com>
29334 Mangle NULL pointers in iconv/gconv.
29335 * iconv/gconv_cache.c (find_module): Demangle init_fct before
29336 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
29337 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
29338 is non-NULL before demangling the end_fct. Check for NULL
29339 end_fct after demangling.
29340 (__gconv_release_step): Demangle the end_fct before checking
29341 it for NULL. Remove assert on __shlibc_handle != NULL.
29342 (gen_steps): Don't check btowc_fct for NULL before mangling.
29343 Demangle init_fct before checking for NULL.
29344 (increment_counter): Likewise.
29345 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
29346 end_fct for NULL before mangling.
29347 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
29350 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
29353 * locale/iso-639.def: add Morisyen.
29355 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29358 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
29359 (iszero): New C++ implementation that does not use
29360 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
29361 signaling nans are enabled, since __builtin_types_compatible_p
29362 is a C-only feature.
29363 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
29364 defined, include ieee754_float128.h for access to the union and
29365 member ieee854_float128.ieee.
29366 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
29367 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
29368 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
29369 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
29370 options of test-math-zero on powerpc64le.
29372 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
29374 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
29375 Change double to float.
29377 2017-08-28 Joseph Myers <joseph@codesourcery.com>
29379 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
29381 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
29382 conditional code; define contents only for [LIBM_SVID_COMPAT].
29384 2017-08-28 Florian Weimer <fweimer@redhat.com>
29386 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
29387 (abi-lp64_be-options): Remove.
29388 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
29389 (abi-hard-options): Likewise.
29390 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
29391 (abi-o32_hard-options, abi-o32_soft_2008-options)
29392 (abi-o32_hard_2008-options, abi-n32_soft-options)
29393 (abi-n32_hard-options, abi-n32_soft_2008-options)
29394 (abi-n32_hard_2008-options, abi-n64_soft-options)
29395 (abi-n64_hard-options, abi-n64_soft_2008-options)
29396 (abi-n64_hard_2008-options): Likewise.
29397 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
29398 (abi-64-v1-options, abi-64-v2-options): Likewise.
29399 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
29400 (abi-64-options): Likewise.
29401 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
29402 (abi-64-options): Likewise.
29403 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
29404 (abi-64-options): Likewise.
29405 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
29406 (abi-64-options, abi-x32-options): Likewise.
29408 2017-08-28 Florian Weimer <fweimer@redhat.com>
29410 Store supported list of SYS_* system calls in the source tree.
29411 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
29412 (bits/syscall.h): Generate from list file.
29413 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
29414 [$(subdir) = misc] (tests): Add tst-syscall-list.
29415 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
29416 [$(subdir) = misc] (tst-syscall-list-macros.list)
29417 [$(subdir) = misc] (tst-syscall-list-nr.list)
29418 (tst-syscall-list-sys.list): Helper targets for new
29419 tst-syscall-list test.
29420 [$(subdir) = misc] (tst-syscall-list.out): Run test script
29421 tst-syscall-list.sh.
29422 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
29423 target. Do not include bits/syscall.d.
29424 [$(subdir) = misc] (generated): Do not update.
29425 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
29426 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
29427 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
29428 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
29430 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
29432 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
29433 (tst-cxa_atexit, tst-on_exit): Likewise.
29434 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
29435 tst-cxa_atexit, and tst-on_exit.
29436 * stdlib/tst-atexit-common.c: New file.
29437 * stdlib/tst-atexit.c: New file.
29438 * stdlib/tst-at_quick_exit.c: New file.
29439 * stdlib/tst-cxa_atexit.c: New file.
29440 * stdlib/tst-on_exit.c: New file.
29442 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29444 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
29445 * mach/stack_chk_fail_local.c: New file.
29446 * hurd/stack_chk_fail_local.c: New file.
29447 * mach/Machrules ($(interface-library)-routines): Add
29448 stack_chk_fail_local.
29449 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
29450 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
29451 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
29452 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
29453 * hurd/Makefile (CFLAGS-hurdstartup.o,
29454 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
29456 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
29458 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
29459 (index_cpu_*, index_arch_*): Removed.
29461 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29463 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
29464 Use uint64_t instead of unsigned long.
29466 2017-08-25 Joseph Myers <joseph@codesourcery.com>
29468 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
29469 [__HAVE_DISTINCT_FLOAT128].
29471 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
29472 of <bits/math-finite.h>.
29473 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
29474 inclusion of <bits/math-finite.h>.
29475 * math/bits/math-finite.h (__REDIRTO_X): Do not define
29476 conditionally on [__MATH_DECLARING_LDOUBLE && defined
29477 __NO_LONG_DOUBLE_MATH].
29478 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
29479 (__MATH_REDIRCALL_2): Likewise.
29480 (__MATH_REDIRCALL_INTERNAL): Likewise.
29481 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
29482 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
29483 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
29485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
29487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
29489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
29491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
29493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
29495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
29497 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
29498 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
29499 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
29500 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
29501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
29502 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
29503 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
29504 w_sqrtf_compat-ppc32.
29506 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29508 * math/math.h [defined __cplusplus] (issignaling): In the long
29509 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
29510 is not defined. Call __issignaling, otherwise.
29512 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29514 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
29515 syscall definitions and replace __builtin_expect with __glibc_likely.
29516 * sysdeps/unix/syscall-template.S: Update comment about cancellable
29518 (SYSCALL_CANCELLABLE): Removedefinition
29519 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
29521 (PSEUDO_END): Likewise.
29522 [IS_IN (libpthread)] (CENABLE): Likewise.
29523 [IS_IN (libpthread)] (CDISABLE): Likewise.
29524 [IS_IN (libc)] (CENABLE): Likewise.
29525 [IS_IN (libc)] (CENABLE): Likewise.
29526 [IS_IN (librt)] (CDISABLE): Likewise.
29527 [IS_IN (librt)] (CDISABLE): Likewise.
29528 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29529 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
29531 (PSEUDO_END): Likewise.
29532 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
29533 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
29534 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
29535 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
29536 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
29537 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
29538 (CENABLE): Likewise.
29539 (CDISABLE): Likewise.
29540 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29541 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
29543 (PSEUDO_END): Likewise.
29544 [IS_IN (libpthread)] (CENABLE): Likewise.
29545 [IS_IN (libpthread)] (CDISABLE): Likewise.
29546 [IS_IN (libc)] (CENABLE): Likewise.
29547 [IS_IN (libc)] (CENABLE): Likewise.
29548 [IS_IN (librt)] (CDISABLE): Likewise.
29549 [IS_IN (librt)] (CDISABLE): Likewise.
29550 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29551 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
29553 (PSEUDO_END): Likewise.
29554 [IS_IN (libpthread)] (CENABLE): Likewise.
29555 [IS_IN (libpthread)] (CDISABLE): Likewise.
29556 [IS_IN (libc)] (CENABLE): Likewise.
29557 [IS_IN (libc)] (CENABLE): Likewise.
29558 [IS_IN (librt)] (CDISABLE): Likewise.
29559 [IS_IN (librt)] (CDISABLE): Likewise.
29560 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29561 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
29563 (PSEUDO_END): Likewise.
29564 [IS_IN (libpthread)] (CENABLE): Likewise.
29565 [IS_IN (libpthread)] (CDISABLE): Likewise.
29566 [IS_IN (libc)] (CENABLE): Likewise.
29567 [IS_IN (libc)] (CENABLE): Likewise.
29568 [IS_IN (librt)] (CDISABLE): Likewise.
29569 [IS_IN (librt)] (CDISABLE): Likewise.
29570 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29571 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
29573 (PSEUDO_END): Likewise.
29574 [IS_IN (libpthread)] (CENABLE): Likewise.
29575 [IS_IN (libpthread)] (CDISABLE): Likewise.
29576 [IS_IN (libc)] (CENABLE): Likewise.
29577 [IS_IN (libc)] (CENABLE): Likewise.
29578 [IS_IN (librt)] (CDISABLE): Likewise.
29579 [IS_IN (librt)] (CDISABLE): Likewise.
29580 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29581 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
29583 (PSEUDO_END): Likewise.
29584 [IS_IN (libpthread)] (CENABLE): Likewise.
29585 [IS_IN (libpthread)] (CDISABLE): Likewise.
29586 [IS_IN (libc)] (CENABLE): Likewise.
29587 [IS_IN (libc)] (CENABLE): Likewise.
29588 [IS_IN (librt)] (CDISABLE): Likewise.
29589 [IS_IN (librt)] (CDISABLE): Likewise.
29590 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29591 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
29593 (PSEUDO_END): Likewise.
29594 [IS_IN (libpthread)] (CENABLE): Likewise.
29595 [IS_IN (libpthread)] (CDISABLE): Likewise.
29596 [IS_IN (libc)] (CENABLE): Likewise.
29597 [IS_IN (libc)] (CENABLE): Likewise.
29598 [IS_IN (librt)] (CDISABLE): Likewise.
29599 [IS_IN (librt)] (CDISABLE): Likewise.
29600 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29601 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
29603 (PSEUDO_END): Likewise.
29604 [IS_IN (libpthread)] (CENABLE): Likewise.
29605 [IS_IN (libpthread)] (CDISABLE): Likewise.
29606 [IS_IN (libc)] (CENABLE): Likewise.
29607 [IS_IN (libc)] (CENABLE): Likewise.
29608 [IS_IN (librt)] (CDISABLE): Likewise.
29609 [IS_IN (librt)] (CDISABLE): Likewise.
29610 (SINGLE_THREAD_P): Likewise.
29611 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
29613 (PSEUDO_END): Likewise.
29614 [IS_IN (libpthread)] (CENABLE): Likewise.
29615 [IS_IN (libpthread)] (CDISABLE): Likewise.
29616 [IS_IN (libc)] (CENABLE): Likewise.
29617 [IS_IN (libc)] (CENABLE): Likewise.
29618 [IS_IN (librt)] (CDISABLE): Likewise.
29619 [IS_IN (librt)] (CDISABLE): Likewise.
29620 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29621 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
29623 (PSEUDO_END): Likewise.
29624 [IS_IN (libpthread)] (CENABLE): Likewise.
29625 [IS_IN (libpthread)] (CDISABLE): Likewise.
29626 [IS_IN (libc)] (CENABLE): Likewise.
29627 [IS_IN (libc)] (CENABLE): Likewise.
29628 [IS_IN (librt)] (CDISABLE): Likewise.
29629 [IS_IN (librt)] (CDISABLE): Likewise.
29630 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29631 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
29632 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
29633 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
29634 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
29636 (PSEUDO_END): Likewise.
29637 [IS_IN (libpthread)] (CENABLE): Likewise.
29638 [IS_IN (libpthread)] (CDISABLE): Likewise.
29639 [IS_IN (libc)] (CENABLE): Likewise.
29640 [IS_IN (libc)] (CENABLE): Likewise.
29641 [IS_IN (librt)] (CDISABLE): Likewise.
29642 [IS_IN (librt)] (CDISABLE): Likewise.
29643 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29644 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
29646 (PSEUDO_END): Likewise.
29647 [IS_IN (libpthread)] (CENABLE): Likewise.
29648 [IS_IN (libpthread)] (CDISABLE): Likewise.
29649 [IS_IN (libc)] (CENABLE): Likewise.
29650 [IS_IN (libc)] (CENABLE): Likewise.
29651 [IS_IN (librt)] (CDISABLE): Likewise.
29652 [IS_IN (librt)] (CDISABLE): Likewise.
29653 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29654 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
29656 (PSEUDO_END): Likewise.
29657 [IS_IN (libpthread)] (CENABLE): Likewise.
29658 [IS_IN (libpthread)] (CDISABLE): Likewise.
29659 [IS_IN (libc)] (CENABLE): Likewise.
29660 [IS_IN (libc)] (CENABLE): Likewise.
29661 [IS_IN (librt)] (CDISABLE): Likewise.
29662 [IS_IN (librt)] (CDISABLE): Likewise.
29663 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29664 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
29665 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29666 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
29667 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
29669 (PSEUDO_END): Likewise.
29670 [IS_IN (libpthread)] (CENABLE): Likewise.
29671 [IS_IN (libpthread)] (CDISABLE): Likewise.
29672 [IS_IN (libc)] (CENABLE): Likewise.
29673 [IS_IN (libc)] (CENABLE): Likewise.
29674 [IS_IN (librt)] (CDISABLE): Likewise.
29675 [IS_IN (librt)] (CDISABLE): Likewise.
29676 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29677 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
29679 (PSEUDO_END): Likewise.
29680 [IS_IN (libpthread)] (CENABLE): Likewise.
29681 [IS_IN (libpthread)] (CDISABLE): Likewise.
29682 [IS_IN (libc)] (CENABLE): Likewise.
29683 [IS_IN (libc)] (CENABLE): Likewise.
29684 [IS_IN (librt)] (CDISABLE): Likewise.
29685 [IS_IN (librt)] (CDISABLE): Likewise.
29686 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29688 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
29690 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
29692 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29694 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29696 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29699 * string/stratcliff.c (do_test): Declare size, nchars, inner,
29700 middle and outer with size_t instead of int. Repleace %d and
29701 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
29702 "MAX (outer, nchars - 64)" to support unsigned outer and
29703 nchars. Also exit loop when outer == 0.
29705 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29707 * include/fcntl.h (__fcntl_nocancel): Remove definition.
29708 * include/signal.h (__sigsuspend_nocancel): Likewise.
29709 * include/time.h (__nanosleep_nocancel): Likewise.
29710 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
29711 * login/utmp_file.c: Include non cancellable syscall header.
29712 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
29715 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29717 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
29718 .byte sequences with AVX512F instructions.
29719 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
29720 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
29721 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
29722 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
29724 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
29727 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
29728 Steve Ellcey <sellcey@cavium.com>
29730 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
29731 Use PTR_REG macro in cmp instruction.
29733 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29735 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
29736 Change the return type of the ifunc resolver to match the return
29737 type of the target function.
29739 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29741 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
29742 (preadv64): Likewise.
29743 (pwrite64(: Likewise.
29744 (pwritev64): Likewise.
29746 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
29747 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
29748 (LOAD_ARGS_0): Likewise.
29749 (LOAD_ARGS_1): Likewise.
29750 (LOAD_ARGS_2): Likewise.
29751 (LOAD_ARGS_3): Likewise.
29752 (LOAD_ARGS_4): Likewise.
29753 (LOAD_ARGS_5): Likewise.
29754 (LOAD_ARGS_6): Likewise.
29755 (LOAD_REGS_0): Likewise.
29756 (LOAD_REGS_1): Likewise.
29757 (LOAD_REGS_2): Likewise.
29758 (LOAD_REGS_3): Likewise.
29759 (LOAD_REGS_4): Likewise.
29760 (LOAD_REGS_5): Likewise.
29761 (LOAD_REGS_6): Likewise.
29762 (ASM_ARGS_0): Likewise.
29763 (ASM_ARGS_1): Likewise.
29764 (ASM_ARGS_2): Likewise.
29765 (ASM_ARGS_3): Likewise.
29766 (ASM_ARGS_4): Likewise.
29767 (ASM_ARGS_5): Likewise.
29768 (ASM_ARGS_6): Likewise.
29769 (LOAD_ARGS_TYPES_1): Likewise.
29770 (LOAD_ARGS_TYPES_2): Likewise.
29771 (LOAD_ARGS_TYPES_3): Likewise.
29772 (LOAD_ARGS_TYPES_4): Likewise.
29773 (LOAD_ARGS_TYPES_5): Likewise.
29774 (LOAD_ARGS_TYPES_6): Likewise.
29775 (LOAD_REGS_TYPES_1): Likewise.
29776 (LOAD_REGS_TYPES_2): Likewise.
29777 (LOAD_REGS_TYPES_3): Likewise.
29778 (LOAD_REGS_TYPES_4): Likewise.
29779 (LOAD_REGS_TYPES_5): Likewise.
29780 (LOAD_REGS_TYPES_6): Likewise.
29781 (TYPEFY): New define.
29782 (ARGIFY): Likewise.
29783 (internal_syscall0): Likewise.
29784 (internal_syscall1): Likewise.
29785 (internal_syscall2): Likewise.
29786 (internal_syscall3): Likewise.
29787 (internal_syscall4): Likewise.
29788 (internal_syscall5): Likewise.
29789 (internal_syscall6): Likewise.
29790 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
29791 (INTERNAL_SYSCALL_NCS): Remove define.
29792 (internal_syscall1): Add define.
29794 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29796 * math/w_remainder_compat.c: Remove duplicate inclusion of
29797 math-svid-compat.h.
29798 * math/w_remainderf_compat.c: Likewise.
29799 * math/w_remainderl_compat.c: Likewise.
29801 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29805 2017-08-22 Joseph Myers <joseph@codesourcery.com>
29808 * math/tgmath.h (__floating_type): Simplify definitions.
29809 (__real_integer_type): New macro.
29810 (__complex_integer_type): Likewise.
29811 (__expr_is_real): Likewise.
29812 (__tgmath_real_type_sub): Update comment to describe handling of
29814 (__tgmath_complex_type_sub): New macro.
29815 (__tgmath_complex_type): Likewise.
29816 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29817 (__TGMATH_CF128): Use __expr_is_real.
29818 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
29820 (__TGMATH_BINARY_REAL_IMAG): Likewise.
29821 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
29822 * math/gen-tgmath-tests.py (Type.create_type): Create complex
29825 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29827 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
29829 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
29831 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
29834 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
29835 nanosleep_not_cancel with __nanosleep_nocancel.
29836 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
29837 (__nanosleep_nocancel): New macro.
29838 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
29840 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
29842 (__nanosleep_nocancel): New prototype.
29844 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
29845 pause_not_cancel with __pause_nocancel.
29846 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
29847 (__pause_nocancel): New macro.
29848 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
29850 (__pause_nocancel): New prototype.
29851 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
29853 2017-08-22 Martin Sebor <msebor@redhat.com>
29855 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
29856 to return a pointer to the same type as the target function.
29858 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
29862 * include/printf.h (__printf_fphex): Add attribute_hidden.
29863 (__guess_grouping): New prototype.
29864 * stdio-common/printf_fp.c (__guess_grouping): Removed.
29865 * stdio-common/reg-printf.c (__register_printf_specifier): Add
29866 libc_hidden_proto and libc_hidden_def.
29867 * stdlib/strfmon_l.c (__guess_grouping): Removed.
29868 (__vstrfmon_l): Remove the third argument passed to
29871 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29873 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
29874 definition for issignaling that does not rely on __MATH_TG,
29875 since __MATH_TG uses __builtin_types_compatible_p, which is only
29876 available in C mode.
29877 (CFLAGS-test-math-issignaling.cc): New variable.
29878 * math/Makefile [CXX] (tests): Add test-math-issignaling.
29879 * math/test-math-issignaling.cc: New test for C++ implementation
29880 of type-generic issignaling.
29881 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
29882 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
29883 options of test-math-issignaling on powerpc64le.
29885 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
29887 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29889 (hidden_proto): Likewise.
29890 (hidden_tls_proto): Likewise.
29891 (__hidden_proto): Likewise.
29893 2017-08-22 Florian Weimer <fweimer@redhat.com>
29895 math: Statically link tests of internal functionality.
29896 * math/Makefile (tests): Remove atest-exp, atest-sincos,
29898 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
29899 (gmp-objs): Remove assignment.
29900 (atest-exp, atest-sincos, atest-exp2): Remove targets.
29902 2017-08-22 Joseph Myers <joseph@codesourcery.com>
29905 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
29907 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
29909 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
29912 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
29913 variable definitions above inclusion of ../Rules.
29915 2017-08-21 Joseph Myers <joseph@codesourcery.com>
29917 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
29918 case calling __builtin_unreachable.
29920 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29922 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
29923 __waitpid_nocancel.
29924 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
29925 (__waitpid_nocancel): New macro.
29926 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
29928 (__waitpid_nocancel): Replace macro with a function.
29929 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
29932 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
29934 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
29935 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
29937 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
29938 __writev_nocancel_nostatus.
29939 (write_call_graph): Likewise.
29940 (write_bb_counts): Likewise.
29941 * resolv/herror.c (herror): Likewise.
29942 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
29944 (__writev_nocancel_nostatus): New macro.
29945 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
29947 (__writev_nocancel_nostatus): New function.
29949 2017-08-21 Joseph Myers <joseph@codesourcery.com>
29952 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29954 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29956 (hidden_proto): Likewise.
29957 (hidden_tls_proto): Likewise.
29958 (__hidden_proto): Likewise.
29961 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
29962 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
29963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
29965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
29967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
29969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
29971 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
29972 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
29973 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
29974 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
29975 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
29976 GLIBC_2.0 sqrtl symbol.
29978 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
29979 [__USE_MISC] (_LIB_VERSION): Likewise.
29980 [__USE_MISC] (struct exception): Likewise.
29981 [__USE_MISC] (matherr): Likewise.
29982 [__USE_MISC] (DOMAIN): Likewise.
29983 [__USE_MISC] (SING): Likewise.
29984 [__USE_MISC] (OVERFLOW): Likewise.
29985 [__USE_MISC] (UNDERFLOW): Likewise.
29986 [__USE_MISC] (TLOSS): Likewise.
29987 [__USE_MISC] (PLOSS): Likewise.
29988 [__USE_MISC] (HUGE): Likewise.
29989 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
29990 * math/math-svid-compat.h: New file.
29991 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
29993 * include/math.h [!_ISOMAC] (__matherr): Remove.
29994 * manual/arith.texi (FP Exceptions): Do not document matherr.
29995 * math/Makefile (tests): Change test-matherr to test-matherr-3.
29996 (tests-internal): New variable.
29997 (install-lib): Do not add libieee.a.
29998 (non-lib.a): Likewise.
29999 (extra-objs): Do not add libieee.a and ieee-math.o.
30000 (CPPFLAGS-s_lib_version.c): Remove variable.
30001 ($(objpfx)libieee.a): Remove rule.
30002 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
30003 * math/ieee-math.c: Remove.
30004 * math/libm-test-support.c (matherr): Remove.
30005 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
30006 and license notices. Include <math-svid-compat.h> and
30008 (matherr): Undefine as macro. Use compat_symbol_reference.
30009 (_LIB_VERSION): Likewise.
30010 * math/test-matherr-2.c: New file.
30011 * math/test-matherr-3.c: Likewise.
30012 * sysdeps/generic/math_private.h (__kernel_standard): Remove
30014 (__kernel_standard_f): Likewise.
30015 (__kernel_standard_l): Likewise.
30016 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
30017 <math_private.h>. Include <math-svid-compat.h>.
30018 (_LIB_VERSION): Undefine as macro.
30019 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
30020 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
30021 [LIBM_SVID_COMPAT], use compat_symbol.
30022 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
30023 <math_private.h>. Include <math-svid-compat.h>.
30024 (matherr): Undefine as macro.
30025 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
30027 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
30028 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
30029 compat_symbol_reference.
30030 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
30031 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
30032 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
30033 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
30034 (MATHERR_D): Remove declaration.
30035 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
30036 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
30037 [LIBM_BUILD] (pmatherrf): Likewise.
30038 [LIBM_BUILD] (pmatherr): Likewise.
30039 [LIBM_BUILD] (pmatherrl): Likewise.
30040 (DOMAIN): Likewise.
30042 (OVERFLOW): Likewise.
30043 (UNDERFLOW): Likewise.
30046 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
30047 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
30049 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
30050 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
30052 * math/lgamma-compat.h: Include <math-svid-compat.h>.
30053 * math/w_acos_compat.c: Likewise.
30054 * math/w_acosf_compat.c: Likewise.
30055 * math/w_acosh_compat.c: Likewise.
30056 * math/w_acoshf_compat.c: Likewise.
30057 * math/w_acoshl_compat.c: Likewise.
30058 * math/w_acosl_compat.c: Likewise.
30059 * math/w_asin_compat.c: Likewise.
30060 * math/w_asinf_compat.c: Likewise.
30061 * math/w_asinl_compat.c: Likewise.
30062 * math/w_atan2_compat.c: Likewise.
30063 * math/w_atan2f_compat.c: Likewise.
30064 * math/w_atan2l_compat.c: Likewise.
30065 * math/w_atanh_compat.c: Likewise.
30066 * math/w_atanhf_compat.c: Likewise.
30067 * math/w_atanhl_compat.c: Likewise.
30068 * math/w_cosh_compat.c: Likewise.
30069 * math/w_coshf_compat.c: Likewise.
30070 * math/w_coshl_compat.c: Likewise.
30071 * math/w_exp10_compat.c: Likewise.
30072 * math/w_exp10f_compat.c: Likewise.
30073 * math/w_exp10l_compat.c: Likewise.
30074 * math/w_exp2_compat.c: Likewise.
30075 * math/w_exp2f_compat.c: Likewise.
30076 * math/w_exp2l_compat.c: Likewise.
30077 * math/w_fmod_compat.c: Likewise.
30078 * math/w_fmodf_compat.c: Likewise.
30079 * math/w_fmodl_compat.c: Likewise.
30080 * math/w_hypot_compat.c: Likewise.
30081 * math/w_hypotf_compat.c: Likewise.
30082 * math/w_hypotl_compat.c: Likewise.
30083 * math/w_j0_compat.c: Likewise.
30084 * math/w_j0f_compat.c: Likewise.
30085 * math/w_j0l_compat.c: Likewise.
30086 * math/w_j1_compat.c: Likewise.
30087 * math/w_j1f_compat.c: Likewise.
30088 * math/w_j1l_compat.c: Likewise.
30089 * math/w_jn_compat.c: Likewise.
30090 * math/w_jnf_compat.c: Likewise.
30091 * math/w_jnl_compat.c: Likewise.
30092 * math/w_lgamma_main.c: Likewise.
30093 * math/w_lgamma_r_compat.c: Likewise.
30094 * math/w_lgammaf_main.c: Likewise.
30095 * math/w_lgammaf_r_compat.c: Likewise.
30096 * math/w_lgammal_main.c: Likewise.
30097 * math/w_lgammal_r_compat.c: Likewise.
30098 * math/w_log10_compat.c: Likewise.
30099 * math/w_log10f_compat.c: Likewise.
30100 * math/w_log10l_compat.c: Likewise.
30101 * math/w_log2_compat.c: Likewise.
30102 * math/w_log2f_compat.c: Likewise.
30103 * math/w_log2l_compat.c: Likewise.
30104 * math/w_log_compat.c: Likewise.
30105 * math/w_logf_compat.c: Likewise.
30106 * math/w_logl_compat.c: Likewise.
30107 * math/w_pow_compat.c: Likewise.
30108 * math/w_powf_compat.c: Likewise.
30109 * math/w_powl_compat.c: Likewise.
30110 * math/w_remainder_compat.c: Likewise.
30111 * math/w_remainderf_compat.c: Likewise.
30112 * math/w_remainderl_compat.c: Likewise.
30113 * math/w_scalb_compat.c: Likewise.
30114 * math/w_scalbf_compat.c: Likewise.
30115 * math/w_scalbl_compat.c: Likewise.
30116 * math/w_sinh_compat.c: Likewise.
30117 * math/w_sinhf_compat.c: Likewise.
30118 * math/w_sinhl_compat.c: Likewise.
30119 * math/w_sqrt_compat.c: Likewise.
30120 * math/w_sqrtf_compat.c: Likewise.
30121 * math/w_sqrtl_compat.c: Likewise.
30122 * math/w_tgamma_compat.c: Likewise.
30123 * math/w_tgammaf_compat.c: Likewise.
30124 * math/w_tgammal_compat.c: Likewise.
30125 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
30126 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30127 * sysdeps/ieee754/k_standard.c: Likewise.
30128 * sysdeps/ieee754/k_standardf.c: Likewise.
30129 * sysdeps/ieee754/k_standardl.c: Likewise.
30130 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30131 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30132 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30133 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30134 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30135 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30136 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30137 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
30138 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
30139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
30141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
30143 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
30144 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
30145 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
30146 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
30148 2017-08-21 Florian Weimer <fweimer@redhat.com>
30151 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
30152 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
30153 Move before inclusion of ../Rules.
30155 2017-08-21 Florian Weimer <fweimer@redhat.com>
30158 * assert/assert.h (assert): Use static_cast (bool) for C++.
30159 Use the ternary operator in the warning branch for GNU C.
30160 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
30161 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
30162 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
30163 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
30164 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
30166 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30169 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30170 (__syscall_clock_gettime): Add attribute_hidden.
30171 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
30172 (__start_context): Likewise.
30174 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30176 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30178 (hidden_proto): Likewise.
30179 (hidden_tls_proto): Likewise.
30180 (__hidden_proto): Likewise.
30182 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30184 * include/libc-symbols.h (attribute_hidden): Enable hidden
30185 visibility in libc.a compiled with PIE.
30187 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30190 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
30191 Add attribute_hidden.
30193 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30196 * Makerules (all-nonlib): Add $(others-extras).
30197 * catgets/Makefile (others-extras): New.
30198 * elf/Makefile (others-extras): Likewise.
30199 * nss/Makefile (others-extras): Likewise.
30201 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30204 * csu/libc-start.c (__libc_multiple_libcs): Removed.
30205 * elf/dl-open.c: Include <libc-internal.h>.
30206 (__libc_multiple_libcs): Removed.
30207 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
30209 * include/libc-internal.h (__libc_multiple_libcs): New.
30210 * misc/sbrk.c: Include <libc-internal.h>.
30211 (__libc_multiple_libcs): Removed.
30213 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30216 * grp/initgroups.c (__nss_group_database): Removed.
30217 (__nss_initgroups_database): Likewise.
30218 * nscd/gai.c (__nss_hosts_database): Likewise.
30219 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
30220 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
30221 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
30222 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
30223 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
30224 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
30226 * nss/nsswitch.c (__nss_database_custom): Define only if
30227 USE_NSCD is defined.
30228 (__nss_configure_lookup): Use __nss_database_custom only if
30229 USE_NSCD is defined.
30230 * nss/nsswitch.h (__nss_database_custom): Declare only if
30231 USE_NSCD is defined. Add attribute_hidden.
30232 (__nss_setent): Add attribute_hidden.
30233 (__nss_endent): Likewise.
30234 (__nss_getent_r): Likewise.
30235 (__nss_getent): Likewise.
30236 (DEFINE_DATABASE): Declare __nss_##arg##_database.
30238 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30241 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
30242 libc_hidden_proto and libc_hidden_def.
30244 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30247 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
30248 Add libc_hidden_proto.
30249 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
30250 Add libc_hidden_def.
30252 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30255 * gmon/Makefile (routines): Remove bb_init_func and
30257 (elide-routines.os): Removed.
30258 * gmon/bb_exit_func.c: Likewise.
30259 * gmon/bb_init_func.c: Likewise.
30260 * include/sys/gmon.h (__bb): Likewise.
30261 (__bb_init_func): Likewise.
30262 (__bb_exit_func): Likewise.
30263 * sysdeps/alpha/bb_init_func.S: Likewise.
30265 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30267 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
30268 * include/setjmp.h (____longjmp_chk): Here. Add
30271 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
30274 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
30276 (__strspn_sse2): Likewise.
30278 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30280 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
30281 (close_not_cancel_no_status): Likewise.
30282 (__close_nocancel): New macro.
30283 (__close_nocancel_nostatus): Likewise.
30284 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
30286 (close_not_cancel): Likewise.
30287 (close_not_cancel_no_status): Likewise.
30288 (__close_nocancel): New prototype.
30289 (__close_nocancel_nostatus): New function.
30290 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
30291 * catgets/open_catalog.c (__open_catalog): Replace
30292 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
30293 * gmon/gmon.c (write_gmon): Likewise.
30294 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
30295 * intl/loadmsgcat.c (close): Likewise.
30296 * io/ftw.c (open_dir_stream): Likewise.
30297 (ftw_startup): Likewise.
30298 * libio/fileops.c (_IO_file_open): Likewise.
30299 (_IO_file_close_mmap): Likewise.
30300 (_IO_file_close): Likewise.
30301 * libio/iopopen.c (_IO_dup2): Likewise.
30302 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30303 * locale/loadlocale.c (_nl_load_locale): Likewise.
30304 * login/utmp_file.c (pututline_file): Likewise.
30305 (endutent_file): Likewise.
30306 * misc/daemon.c (daemon): Likewise.
30307 * nscd/nscd_getai.c (__nscd_getai): Likewise.
30308 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30309 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
30310 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30311 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30312 * nscd/nscd_helper.c (open_socket): Likewise.
30313 (__nscd_open_socket): Likewise.
30314 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
30315 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
30316 (__nscd_innetgr): Likewise.
30317 * nss/nss_db/db-open.c (internal_setent): Likewise.
30318 * resolv/res-close.c (__res_iclose): Likewise.
30319 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
30320 * sysdeps/posix/closedir.c (__closedir): Likewise.
30321 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
30322 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30323 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
30324 (opendir_tail): Likewise.
30325 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30326 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
30327 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
30328 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30329 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30330 (gethostid): Likewise.
30331 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30332 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30334 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30335 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
30336 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30337 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30339 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
30340 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
30341 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30343 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
30344 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30346 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30348 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
30349 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30350 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30353 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
30354 (openat_not_cancel_3): Likewise.
30355 (openat64_not_cancel_3): Likewise).
30356 (openat_not_cancel_3): Likewise).
30357 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
30359 (openat_not_cancel_3): Likewise.
30360 (openat64_not_cancel): Likewise.
30361 (openat64_not_cancel_3): Likewise.
30362 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
30363 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
30364 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
30365 __open{64}_nocancel.
30366 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30367 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30368 * sysdeps/posix/opendir.c (__opendirat): Likewise.
30370 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30373 * include/argz.h (__argz_create_sep): New function prototype.
30374 (__argz_append): Likewise.
30375 (__argz_add): Likewise.
30376 (__argz_add_sep): Likewise.
30377 (__argz_delete): Likewise.
30378 (__argz_insert): Likewise.
30379 (__argz_replace): Likewise.
30380 * string/argz.h (__argz_create_sep): Removed.
30381 (__argz_append): Likewise.
30382 (__argz_add): Likewise.
30383 (__argz_add_sep): Likewise.
30384 (__argz_delete): Likewise.
30385 (__argz_insert): Likewise.
30386 (__argz_replace): Likewise.
30388 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30390 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
30391 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
30392 (GNU_PROPERTY_STACK_SIZE): Likewie.
30393 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
30394 (GNU_PROPERTY_LOPROC): Likewise.
30395 (GNU_PROPERTY_HIPROC): Likewise.
30396 (GNU_PROPERTY_LOUSER): Likewise.
30397 (GNU_PROPERTY_HIUSER): Likewise.
30398 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
30399 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
30400 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
30401 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
30402 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
30403 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
30404 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
30405 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
30406 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
30407 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
30408 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
30409 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
30410 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
30411 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
30412 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
30413 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
30414 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
30415 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
30416 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
30417 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
30418 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
30419 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
30420 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
30422 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30424 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
30427 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30430 * math/math.h (isinf): Check if in C or C++ mode before using
30431 __builtin_types_compatible_p, since this is a C mode feature.
30433 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30435 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
30436 (__write_nocancel): New macro.
30437 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
30438 Rewrite as a function prototype.
30439 (write_not_cancel): Remove macro.
30440 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
30441 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
30442 (write_gmon): Likewise.
30443 * libio/fileops.c (_IO_new_file_write): Likewise.
30444 * login/utmp_file.c (pututline_file): Likewise.
30445 (updwtmp_file): Likewise.
30446 * stdio-common/psiginfo.c (psiginfo): Likewise.
30447 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30448 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30449 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30451 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30454 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
30455 (__read_nocancel): New macro.
30456 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30458 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
30460 (__read_nocancel): New prototype.
30461 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
30462 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
30463 with __read_nocancel.
30464 * intl/loadmsgcat.c (read): Likewise.
30465 * libio/fileops.c (_IO_file_read): Likewise.
30466 * locale/loadlocale.c (_nl_load_locale): Likewise.
30467 * login/utmp_file.c (getutent_r_file): Likewise.
30468 (internal_getut_r): Likewise.
30469 (getutline_r_file): Likewise.
30470 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
30471 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30472 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30473 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30475 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
30476 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30477 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30479 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30481 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30483 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30485 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30487 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30490 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
30491 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
30494 2017-08-17 DJ Delorie <dj@redhat.com>
30496 * bug17079.c: Update to new test harness.
30497 * test-digits-dots.c: Likewise.
30498 * test-netdb.c: Likewise.
30499 * tst-field.c: Likewise.
30500 * tst-nss-getpwent.c: Likewise.
30501 * tst-nss-static.c: Likewise.
30502 * tst-nss-test1.c: Likewise.
30503 * tst-nss-test2.c: Likewise.
30504 * tst-nss-test3.c: Likewise.
30505 * tst-nss-test4.c: Likewise.
30506 * tst-nss-test5.c: Likewise.
30508 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30510 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
30511 (open_not_cancel_2): Likewise.
30512 (open_nocancel): New macro.
30513 (open64_nocancel): Likewise.
30514 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
30515 (open_not_cancel_2): Likewise.
30516 (__open_nocancel): New prototype.
30517 (__open64_nocancel): Likewise.
30518 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30520 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
30521 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
30522 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
30523 with __open_nocancel.
30524 * csu/check_fds.c (check_one_fd): Likewise.
30525 * gmon/gmon.c (write_gmon): Likewise.
30526 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
30527 * intl/loadmsgcat.c (open): Likewise.
30528 * libio/fileops.c (_IO_file_open): Likewise.
30529 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30530 * locale/loadlocale.c (_nl_load_locale): Likewise.
30531 * login/utmp_file.c (setutent_file): Likewise.
30532 * misc/daemon.c (daemon): Likewise.
30533 * nss/nss_db/db-open.c (internal_setent): Likewise.
30534 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30535 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
30536 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
30537 (__opendir): Likewise.
30538 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30539 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
30540 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30541 (gethostid): Likewise.
30542 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30543 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30545 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30546 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
30547 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30548 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30550 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30552 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30554 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
30556 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30558 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30560 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
30561 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30563 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
30565 * benchtests/bench-skeleton.c (main): Add support for
30566 latency benchmarking.
30567 * benchtests/scripts/bench.py: Add support for latency benchmarking.
30569 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
30571 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
30572 the startup object.
30574 2017-08-17 Florian Weimer <fweimer@redhat.com>
30576 * include/sys/socket.h (__opensock): Remove internal_function.
30577 * socket/opensock.c (__opensock): Likewise.
30578 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
30580 2017-08-16 Joseph Myers <joseph@codesourcery.com>
30583 * signal/bits/types/__sigval_t.h: New file.
30584 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
30585 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
30586 and define sigval_t using __sigval_t.
30587 * include/bits/types/__sigval_t.h: New file.
30588 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
30589 instead of <bits/types/__sigval_t.h>.
30590 (struct sigevent): Use __sigval_t instead of sigval_t.
30591 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
30592 instead of <bits/types/__sigval_t.h>.
30593 (siginfo_t): Use __sigval_t instead of sigval_t.
30594 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
30595 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
30596 (struct sigevent): Use __sigval_t instead of sigval_t.
30597 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
30598 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
30599 (siginfo_t): Use __sigval_t instead of sigval_t.
30600 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
30602 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30604 * NEWS: Remove "[Add new features here]" for 2.27.
30606 2017-08-16 Joseph Myers <joseph@codesourcery.com>
30608 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
30611 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30613 * NEWS: Mention x86-64 FMA optimization.
30615 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30618 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30620 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
30621 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
30622 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
30624 2017-08-16 Andreas Schwab <schwab@suse.de>
30628 * elf/ldd.bash.in: Never run file directly.
30630 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
30633 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
30634 (L(SP_INF_0)): Likewise.
30636 2017-08-15 Florian Weimer <fweimer@redhat.com>
30638 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
30641 2017-08-15 Florian Weimer <fweimer@redhat.com>
30643 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
30644 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
30645 BROKEN_THREAD_SIGNALS code.
30646 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
30647 request_list): Remove caller_pid member used for
30648 BROKEN_THREAD_SIGNALS.
30649 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
30650 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
30651 Remove BROKEN_THREAD_SIGNALS support.
30652 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
30653 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
30655 2017-08-15 Florian Weimer <fweimer@redhat.com>
30657 * gmon/Makefile (tests): Add tst-gmon.
30658 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
30660 (tests-special): Add tst-gmon-prof.out.
30661 (tst-gmon.out): Depend on clean-tst-gmon-data.
30662 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
30663 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
30664 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
30666 * aclocal.m4 (GPROF): Set and substitute.
30667 * config.amke.in (GPROF): Set.
30668 * configure: Regenerate.
30670 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
30672 * elf/elf.h A (NT_PPC_TAR): New macro.
30673 (NT_PPC_PPR): Likewise.
30674 (NT_PPC_DSCR): Likewise.
30675 (NT_PPC_EBB): Likewise.
30676 (NT_PPC_PMU): Likewise.
30677 (NT_PPC_TM_CGPR): Likewise.
30678 (NT_PPC_TM_CFPR): Likewise.
30679 (NT_PPC_TM_CVMX): Likewise.
30680 (NT_PPC_TM_CVSX): Likewise.
30681 (NT_PPC_TM_SPR): Likewise.
30682 (NT_PPC_TM_CTAR): Likewise.
30683 (NT_PPC_TM_CPPR): Likewise.
30684 (NT_PPC_TM_CDSCR): Likewise.
30686 2017-08-15 Florian Weimer <fweimer@redhat.com>
30688 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
30689 regparm (2) instead of internal_function.
30690 (_MCOUNT_DECL): Adjust.
30692 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
30694 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
30695 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
30697 2017-08-14 Joseph Myers <joseph@codesourcery.com>
30699 * conform/data/sys/wait.h-data (si_value): Do not expect for
30702 2017-08-14 Florian Weimer <fweimer@redhat.com>
30705 NSS: Create stubs for accidentally exported lookup functions.
30706 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
30707 Remove declaration.
30708 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
30709 (ether_hostton): Call __nss_ethers_lookup2 instead.
30710 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
30711 (ether_ntohost): Call __nss_ethers_lookup2 instead.
30712 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
30713 (setup): Call __nss_netgroup_lookup2 instead.
30714 * nss/Makefile (routines): Add compat-lookup.
30715 * nss/Versions (GLIBC_2.27): Add symbol version.
30716 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
30717 (DB_COMPAT_FCT): Remove.
30718 * nss/compat-lookup.c: New file.
30719 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
30720 from databases.def.
30721 * nss/service-lookup.c (NO_COMPAT): Remove definition.
30722 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
30723 (netname2user): Call __nss_publickey_lookup2 instead.
30724 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
30725 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
30728 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30729 Sergei Trofimovich <slyfox@inbox.ru>
30732 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
30733 Rename to MMAP2_PAGE_UNIT.
30734 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
30735 __OFF_T_MATCHES_OFF64_T is not defined.
30736 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
30738 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
30739 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
30741 2017-08-14 Florian Weimer <fweimer@redhat.com>
30743 i386: Do not set internal_function.
30744 * config.h.in (USE_REGPARMS, internal_function): Remove.
30745 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
30746 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
30748 2017-08-14 Florian Weimer <fweimer@redhat.com>
30750 * elf/dl-init.c (_dl_init): Remove internal_function.
30751 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
30752 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
30754 2017-08-14 Florian Weimer <fweimer@redhat.com>
30756 * elf/rtld.c (_dl_start): Remove internal_function.
30757 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
30760 2017-08-14 Florian Weimer <fweimer@redhat.com>
30762 * elf/dl-fini.c (_dl_fini): Remove internal_function
30763 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
30765 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
30767 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
30768 (bit_cpu_SHSTK): Likewise.
30769 (index_cpu_IBT): Likewise.
30770 (index_cpu_SHSTK): Likewise.
30771 (reg_IBT): Likewise.
30772 (reg_SHSTK): Likewise.
30773 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30774 Handle index_cpu_IBT and index_cpu_SHSTK.
30776 2017-08-14 Mike FABIAN <mfabian@redhat.com>
30779 * po/fr.po: Fix spelling mistake.
30781 2017-08-13 Florian Weimer <fweimer@redhat.com>
30783 * elf/dl-addr.c (_dl_addr): Remove internal_function.
30784 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
30785 (_dl_catch_error, _dl_receive_error): Likewise.
30786 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
30787 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
30788 (_dl_deallocate_tls): Likewise.
30789 * include/dlfcn.h (_dl_addr): Likewise.
30790 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
30791 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
30792 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
30795 2017-08-13 Florian Weimer <fweimer@redhat.com>
30797 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
30798 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
30800 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
30802 2017-08-13 Florian Weimer <fweimer@redhat.com>
30804 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
30806 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
30807 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
30808 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
30809 internal_function from _dl_make_stack_executable_hook member.
30810 (_dl_make_stack_executable): Remove internal_function.
30811 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
30813 * sysdeps/unix/sysv/linux/dl-execstack.c
30814 (_dl_make_stack_executable): Likewise.
30816 2017-08-13 Florian Weimer <fweimer@redhat.com>
30818 * sysdeps/unix/sysv/linux/netlinkaccess.h
30819 (__netlink_assert_response): Remove internal_function.
30820 * sysdeps/unix/sysv/linux/netlink_assert_response.c
30821 (__netlink_assert_response): Likewise.
30823 2017-08-13 Florian Weimer <fweimer@redhat.com>
30825 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
30827 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
30829 2017-08-13 Florian Weimer <fweimer@redhat.com>
30831 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
30833 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
30834 * inet/netgroup.h (__internal_setnetgrent)
30835 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
30836 * inet/getnetgrent_r.c (__internal_setnetgrent)
30837 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
30838 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
30839 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
30840 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
30841 * nss/nsswitch.h (db_lookup_function): Likewise.
30843 2017-08-13 Florian Weimer <fweimer@redhat.com>
30845 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
30846 Remove internal_function.
30847 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
30848 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
30849 message argument on the stack.
30850 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
30853 2017-08-12 Mike FABIAN <mfabian@redhat.com>
30855 Adapt test case data to the changes in the thousands
30859 * localedata/tst-langinfo.sh: Adapt test case data.
30860 * stdlib/tst-strfmon_l.c: Likewise.
30861 * stdlib/tst-strtod4.c: Likewise.
30862 * stdlib/tst-strtod5i.c: Likewise.
30864 2017-08-11 Florian Weimer <fweimer@redhat.com>
30867 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
30868 Suppress pedantic warning resulting from statement expression.
30869 (__ASSERT_FUNCTION): Add missing __extension__.
30871 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30873 * benchtests/bench-memmove-large.c: Print output in JSON
30875 * benchtests/bench-memmove.c: Likewise.
30877 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
30878 * benchtests/bench-memchr.c (do_one_test): Likewise.
30879 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
30880 * benchtests/bench-memcpy.c (do_one_test): Likewise.
30881 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
30882 * benchtests/bench-memmove.c (do_one_test): Likewise.
30883 * benchtests/bench-memset-large.c (do_one_test): Likewise.
30884 * benchtests/bench-memset.c (do_one_test): Likewise.
30885 * benchtests/bench-string.h (test_init): Remove memsets.
30887 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
30890 (Computing the Width of an Integer Data Type): Rename section to
30891 "Width of an Integer Type". Remove inaccurate statement regarding
30892 lack of C language facilities for determining width of integer
30893 types, and reorder content to improve flow and context of
30896 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
30898 * lang.texi (va_copy): Change standard from ISO to C99.
30899 (__va_copy): Add standard and header annotation.
30900 Update description for clarity of origins and current use.
30902 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30905 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
30906 xssqrtqp requires operands to be in Vector Registers
30907 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
30908 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
30909 (__ieee754_sqrtf128): Likewise.
30911 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
30913 * sysdeps/aarch64/memcmp.S (memcmp):
30914 Rewrite of optimized memcmp.
30916 2017-08-10 Florian Weimer <fweimer@redhat.com>
30918 Introduce ld.so exceptions.
30919 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
30920 (_dl_exception_create, _dl_exception_create_format)
30921 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
30922 (_dl_catch_exception): Declare.
30923 (_dl_catch_error): Update comment.
30924 * elf/dl-error-skeleton.c (struct catch): Replace objname,
30925 errstring, malloced members with exception member.
30926 (_dl_out_of_memory): Remove.
30927 (fatal_error): New function, extracted from _dl_signal_error.
30928 (_dl_signal_exception, _dl_signal_cexception): New functions.
30929 (_dl_signal_error): Call _dl_exception_create to allocate an
30931 (_dl_catch_exception): New function, based on _dl_catch_error.
30932 (_dl_catch_error): Implement using _dl_catch_exception.
30933 * elf/dl-exception.c: New file.
30934 * elf/Makefile (dl-routines): Add dl-exception.
30935 (elide-routines.os): Likewise.
30936 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
30937 _dl_exception_create_format, _dl_exception_free.
30938 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
30939 _dl_signal_exception.
30940 * elf/dl-lookup.c (make_string): Remove.
30941 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
30942 _dl_signal_cexception, _dl_exception_free.
30943 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
30944 _dl_signal_exception.
30945 * elf/dl-sym.c (do_sym): Likewise.
30946 * elf/dl-version.c (make_string): Remove.
30947 (match_symbol): Use _dl_exception_create_format,
30948 _dl_signal_cexception, _dl_exception_free.
30949 (_dl_check_map_versions): Likewise.
30950 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
30951 _dl_catch_exception.
30952 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
30953 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
30954 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
30955 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
30956 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
30957 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
30958 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
30959 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
30961 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
30962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
30964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
30966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
30968 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
30969 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
30970 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
30972 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
30974 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
30976 2017-08-10 Florian Weimer <fweimer@redhat.com>
30978 * inet/net-internal.h (__inet6_scopeid_pton): Remove
30979 attribute_hidden, internal_function.
30980 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
30983 2017-08-10 Florian Weimer <fweimer@redhat.com>
30985 * malloc/malloc.c (get_max_fast): Reimplement as an inline
30986 function which calls __builtin_unreachable.
30988 2017-08-10 Mike FABIAN <mfabian@redhat.com>
30990 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
30991 Indian monetary formatting
30992 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
30995 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
30997 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
30998 Fix typo in comment.
31001 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
31002 PTRACE_SEIZE_DEVEL): Remove.
31003 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
31004 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31005 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31006 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31007 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31009 2017-08-09 Joseph Myers <joseph@codesourcery.com>
31011 * posix/bits/types.h (__qaddr_t): Remove.
31014 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
31015 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31017 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
31018 (ucontext_t): Use __ctx with uc_flags.
31019 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
31020 (__ctxt): Likewise.
31021 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31023 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
31024 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31026 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
31027 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31029 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
31031 (ucontext_t): Use __ctx with uc_flags.
31032 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
31033 (ucontext_t): Use __ctx with uc_flags.
31034 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
31035 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
31036 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
31037 (ucontext_t): Use __ctx with uc_flags.
31038 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
31039 undefine further down.
31040 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31042 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
31043 undefine further down.
31044 (ucontext_t): Use __ctx with uc_flags.
31045 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
31046 undefine further down.
31047 (ucontext_t): Use __ctx with uc_flags.
31048 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
31049 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
31050 Rename uc_pad to __glibc_reserved1.
31051 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
31052 undefine further down.
31053 (ucontext_t): Use __ctx with uc_flags.
31054 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
31056 (ucontext_t): Use __ctx with uc_flags.
31057 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
31058 __ctx with uc_flags.
31059 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
31060 (ucontext_t): Use __ctx with uc_flags.
31061 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
31062 __ctx with uc_flags.
31064 2017-08-09 Florian Weimer <fweimer@redhat.com>
31067 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
31068 before early return.
31070 2017-08-09 Andreas Schwab <schwab@suse.de>
31073 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
31077 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
31078 tst-compat-forwarder.
31079 (modules-names): Add tst-compat-forwarder-mod.
31080 ($(objpfx)tst-compat-forwarder): Depend on
31081 $(objpfx)tst-compat-forwarder-mod.so.
31082 * nptl/tst-compat-forwarder.c: New file.
31083 * nptl/tst-compat-forwarder-mod.c: New file.
31085 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
31087 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
31090 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
31091 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
31093 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
31095 (__libc_ifunc_impl_list): Add __memcpy_falkor.
31096 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
31097 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
31098 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
31100 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
31103 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31106 * manual/setjmp.texi (getcontex): Document uc_stack value
31107 compatibility differences.
31109 2017-08-08 Joseph Myers <joseph@codesourcery.com>
31111 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
31112 (old_malloc_hook): Likewise.
31113 (old_memalign_hook): Likewise.
31114 (old_realloc_hook): Likewise.
31115 (struct hdr): Likewise.
31117 (freehook): Likewise.
31118 (mallochook): Likewise.
31119 (memalignhook): Likewise.
31120 (reallochook): Likewise.
31121 (mprobe): Likewise.
31122 * malloc/mtrace.c (mallwatch): Likewise.
31123 (tr_old_free_hook): Likewise.
31124 (tr_old_malloc_hook): Likewise.
31125 (tr_old_realloc_hook): Likewise.
31126 (tr_old_memalign_hook): Likewise.
31127 (tr_where): Likewise.
31128 (lock_and_info): Likewise.
31129 (tr_freehook): Likewise.
31130 (tr_mallochook): Likewise.
31131 (tr_reallochook): Likewise.
31132 (tr_memalignhook): Likewise.
31133 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
31134 * misc/mmap.c (__mmap): Likewise.
31135 * misc/mmap64.c (__mmap64): Likewise.
31136 * misc/mprotect.c (__mprotect): Likewise.
31137 * misc/msync.c (msync): Likewise.
31138 * misc/munmap.c (__munmap): Likewise.
31139 * posix/posix_madvise.c (posix_madvise): Likewise.
31140 * socket/send.c (__send): Likewise.
31141 * socket/sendto.c (__sendto): Likewise.
31142 * socket/setsockopt.c (__setsockopt): Likewise.
31143 * string/memcmp.c (__ptr_t): Remove macro.
31144 (MEMCMP): Use void * instead of ptr_t.
31145 * string/memrchr.c (__ptr_t): Remove macro.
31146 (__memrchr): Use void * instead of ptr_t.
31147 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
31148 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
31149 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
31150 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
31151 * sysdeps/mach/msync.c (msync): Likewise.
31152 * sysdeps/mach/munmap.c (__munmap): Likewise.
31153 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
31155 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31156 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
31157 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
31158 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
31159 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
31160 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
31161 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
31162 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
31164 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
31165 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
31166 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
31167 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
31168 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
31169 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
31170 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
31171 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
31172 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
31174 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
31175 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
31176 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
31177 (MEMCMP): Use void * instead of ptr_t.
31178 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
31179 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
31181 2017-08-08 Florian Weimer <fweimer@redhat.com>
31183 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
31186 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
31189 * csu/libc-tls.c: Include <startup.h> first.
31190 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
31191 * elf/dl-tunables.c: Include <startup.h> first.
31192 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
31193 * sysdeps/generic/startup.h: New file.
31194 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
31195 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
31196 (I386_USE_SYSENTER): New. Defined to 0.
31198 2017-08-08 Andreas Schwab <schwab@suse.de>
31201 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
31202 * nptl/pt-system.c (system): Likewise.
31204 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31207 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
31209 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
31210 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
31211 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
31212 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
31213 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
31214 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
31215 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
31217 2017-08-07 Joseph Myers <joseph@codesourcery.com>
31220 * bits/sigaction.h (struct sigaction): Define sa_handler and
31221 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
31222 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31223 [__USE_XOPEN_EXTENDED].
31224 (SA_RESTART): Likewise.
31225 (SA_NODEFER): Likewise.
31226 (SA_RESETHAND): Likewise.
31227 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
31228 (struct sigaction): Define sa_handler and sa_sigaction using union
31229 also for [__USE_XOPEN_EXTENDED].
31230 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31231 [__USE_XOPEN_EXTENDED].
31232 (SA_RESTART): Likewise.
31233 (SA_NODEFER): Likewise.
31234 (SA_RESETHAND): Likewise.
31235 * sysdeps/unix/sysv/linux/bits/sigaction.h
31236 (struct sigaction): Define sa_handler and sa_sigaction using union
31237 also for [__USE_XOPEN_EXTENDED].
31238 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31239 [__USE_XOPEN_EXTENDED].
31240 (SA_RESTART): Likewise.
31241 (SA_NODEFER): Likewise.
31242 (SA_RESETHAND): Likewise.
31243 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
31244 (struct sigaction): Define sa_handler and sa_sigaction using union
31245 also for [__USE_XOPEN_EXTENDED].
31246 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31247 [__USE_XOPEN_EXTENDED].
31248 (SA_RESTART): Likewise.
31249 (SA_NODEFER): Likewise.
31250 (SA_RESETHAND): Likewise.
31251 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
31252 (struct sigaction): Define sa_handler and sa_sigaction using union
31253 also for [__USE_XOPEN_EXTENDED].
31254 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31255 [__USE_XOPEN_EXTENDED].
31256 (SA_RESTART): Likewise.
31257 (SA_NODEFER): Likewise.
31258 (SA_RESETHAND): Likewise.
31259 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
31260 (struct sigaction): Define sa_handler and sa_sigaction using union
31261 also for [__USE_XOPEN_EXTENDED].
31262 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31263 [__USE_XOPEN_EXTENDED].
31264 (SA_RESTART): Likewise.
31265 (SA_NODEFER): Likewise.
31266 (SA_RESETHAND): Likewise.
31267 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
31268 (struct sigaction): Define sa_handler and sa_sigaction using union
31269 also for [__USE_XOPEN_EXTENDED].
31270 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31271 [__USE_XOPEN_EXTENDED].
31272 (SA_RESTART): Likewise.
31273 (SA_NODEFER): Likewise.
31274 (SA_RESETHAND): Likewise.
31275 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
31276 (struct sigaction): Define sa_handler and sa_sigaction using union
31277 also for [__USE_XOPEN_EXTENDED].
31278 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31279 [__USE_XOPEN_EXTENDED].
31280 (SA_RESTART): Likewise.
31281 (SA_NODEFER): Likewise. Define directly rather than as alias.
31282 (SA_RESETHAND): Likewise.
31283 (SA_INTERRUPT): Define only for [__USE_MISC].
31284 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
31285 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
31287 (SA_STACK): Define only for [__USE_MISC].
31288 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
31289 (struct sigaction): Define sa_handler and sa_sigaction using union
31290 also for [__USE_XOPEN_EXTENDED].
31291 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31292 [__USE_XOPEN_EXTENDED].
31293 (SA_RESTART): Likewise.
31294 (SA_NODEFER): Likewise.
31295 (SA_RESETHAND): Likewise.
31296 (SA_NOPTRACE): Define only for [__USE_MISC].
31298 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
31299 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
31300 (struct catalog_info): Likewise.
31301 * inet/htontest.c (lo): Likewise.
31303 * inet/inet_lnaof.c (inet_lnaof): Likewise.
31304 * inet/inet_net.c (inet_network): Likewise.
31305 * inet/inet_netof.c (inet_netof): Likewise.
31306 * inet/rcmd.c (__ivaliduser): Likewise.
31307 (iruserok): Likewise.
31308 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
31309 * locale/programs/locale-spec.c (locale_special): Likewise.
31310 * nis/nis_findserv.c (struct findserv_req): Likewise.
31311 (__nis_findfastest_with_timeout): Likewise.
31312 * nss/test-netdb.c (test_network): Likewise.
31313 * resolv/inet_neta.c (inet_neta): Likewise.
31314 * resolv/ns_date.c (ns_datetosecs): Likewise.
31315 (SECS_PER_DAY): Likewise.
31316 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
31318 * resolv/res_comp.c (__putlong): Likewise.
31319 (__putshort): Likewise.
31320 (_getlong): Likewise.
31321 (_getshort): Likewise.
31322 * resolv/res_debug.c (p_time): Likewise.
31323 (precsize_ntoa): Likewise.
31324 (precsize_aton): Likewise.
31325 (latlon2ul): Likewise.
31326 (loc_aton): Likewise.
31327 (loc_ntoa): Likewise.
31328 * resolv/res_hconf.c (struct netaddr): Likewise.
31329 (_res_hconf_reorder_addrs): Likewise.
31330 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
31331 (clnttcp_control): Likewise.
31332 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31333 (clntudp_control): Likewise.
31334 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
31335 (clntunix_control): Likewise.
31336 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
31337 * sunrpc/rpc/auth.h (union des_block): Likewise.
31338 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
31339 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
31340 (xdrrec_create): Likewise.
31341 (xdrrec_endofrecord): Likewise.
31342 (flush_out): Likewise.
31343 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
31344 (xdrstdio_putlong): Likewise.
31345 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
31348 * misc/sys/cdefs.h (__long_double_t): Remove.
31349 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
31350 instead of __long_double_t,
31351 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
31353 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
31355 * benchtests/scripts/compare_strings.py: Avoid display error when
31356 running on a text terminal.
31358 * benchtests/scripts/compare_strings.py (main): Add an
31359 optional -base option.
31360 (process_results): New argument base_func.
31362 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
31364 * benchtests/bench-memcpy-large.c (test_name): Likewise.
31365 * benchtests/bench-memcpy-random.c (test_name): Likewise.
31367 2017-08-07 Andreas Schwab <schwab@suse.de>
31369 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
31370 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
31371 * intl/Makefile ($(objpfx)tst-gettext.out)
31372 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
31373 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
31374 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
31375 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
31376 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
31377 * posix/Makefile ($(objpfx)globtest.out)
31378 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
31379 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
31380 ($(objpfx)tst-printf.out): Likewise.
31381 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
31382 ($(objpfx)tst-setcontext3.out): Likewise.
31384 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
31386 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31387 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
31388 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
31389 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
31390 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
31392 (CFLAGS-doasin-fma.c): New.
31393 (CFLAGS-dosincos-fma.c): Likewise.
31394 (CFLAGS-e_asin-fma.c): Likewise.
31395 (CFLAGS-e_atan2-fma.c): Likewise.
31396 (CFLAGS-e_exp-fma.c): Likewise.
31397 (CFLAGS-e_log-fma.c): Likewise.
31398 (CFLAGS-e_pow-fma.c): Likewise.
31399 (CFLAGS-halfulp-fma.c): Likewise.
31400 (CFLAGS-mpa-fma.c): Likewise.
31401 (CFLAGS-mpatan-fma.c): Likewise.
31402 (CFLAGS-mpatan2-fma.c): Likewise.
31403 (CFLAGS-mpexp-fma.c): Likewise.
31404 (CFLAGS-mplog-fma.c): Likewise.
31405 (CFLAGS-mpsqrt-fma.c): Likewise.
31406 (CFLAGS-mptan-fma.c): Likewise.
31407 (CFLAGS-s_atan-fma.c): Likewise.
31408 (CFLAGS-sincos32-fma.c): Likewise.
31409 (CFLAGS-slowexp-fma.c): Likewise.
31410 (CFLAGS-slowpow-fma.c): Likewise.
31411 (CFLAGS-s_sin-fma.c): Likewise.
31412 (CFLAGS-s_tan-fma.c): Likewise.
31413 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
31414 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
31415 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
31416 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
31417 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
31418 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
31419 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
31420 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
31421 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
31422 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
31423 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
31424 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
31425 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
31426 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
31427 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
31428 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
31429 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
31430 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
31431 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
31432 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
31433 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
31434 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
31435 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
31436 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
31437 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31438 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31439 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31440 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
31441 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31442 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31443 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31445 2017-08-04 Joseph Myers <joseph@codesourcery.com>
31447 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
31448 (min_of_type_f): New macro.
31449 (min_of_type_): Likewise.
31450 (min_of_type_l): Likewise.
31451 (min_of_type_f128): Likewise.
31452 (min_of_type): Define using __MATH_TG and taking an expression
31454 (math_check_force_underflow): Pass expression instead of type to
31456 (math_check_force_underflow_nonneg): Likewise.
31458 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31460 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
31461 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
31462 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
31464 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31466 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31467 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
31468 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
31469 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
31470 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
31471 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
31472 memcpy_chk-nonshared, mempcpy_chk-nonshared,
31473 memmove_chk-nonshared and memset_chk-nonshared
31474 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
31475 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
31476 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
31477 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
31478 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
31479 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
31480 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
31481 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
31482 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
31483 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
31484 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
31485 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
31486 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
31487 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
31488 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
31489 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
31490 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
31491 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
31492 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
31493 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
31494 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
31495 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
31496 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
31497 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
31498 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
31499 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
31500 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
31501 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
31502 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
31503 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
31504 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
31505 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
31506 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
31507 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
31508 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
31509 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
31510 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
31511 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
31512 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
31513 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
31514 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
31515 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
31516 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
31517 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
31518 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
31519 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
31520 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
31521 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
31522 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
31523 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
31524 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
31525 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
31526 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
31527 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
31528 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
31529 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
31530 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
31531 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
31532 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
31533 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
31534 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
31535 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
31536 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
31537 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
31538 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
31539 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
31540 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
31541 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
31542 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
31543 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
31544 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
31545 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31546 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31547 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31548 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31549 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31550 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31551 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31552 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31553 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31554 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31555 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31556 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31557 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31558 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31559 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31560 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31561 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31562 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31563 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31564 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31565 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31566 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31567 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31568 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31569 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31570 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31571 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31572 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31573 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31574 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31575 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31576 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31577 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31578 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31579 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31580 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31581 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31583 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31585 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
31586 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
31587 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
31588 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
31589 svml_d_log2_core-sse2, svml_d_log4_core-sse,
31590 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
31591 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
31592 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
31593 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
31594 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
31595 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
31596 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
31597 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
31598 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
31599 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
31600 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
31601 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
31602 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
31603 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
31604 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
31605 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
31606 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
31607 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
31608 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
31609 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
31610 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
31611 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
31612 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
31613 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
31614 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
31615 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
31616 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
31617 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
31618 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
31619 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
31620 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
31621 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
31622 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
31623 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
31624 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
31625 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
31626 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
31627 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
31628 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
31629 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
31630 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
31631 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
31632 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
31633 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
31634 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
31635 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
31636 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
31637 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
31638 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
31639 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
31640 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
31641 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
31642 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
31643 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
31645 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
31646 Don't include <sysdep.h> nor <init-arch.h>.
31647 (_ZGVbN2v_cos): Removed.
31648 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
31650 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
31651 Don't include <sysdep.h> nor <init-arch.h>.
31652 (_ZGVdN4v_cos): Removed.
31653 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
31655 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
31656 Don't include <sysdep.h> nor <init-arch.h>.
31657 (_ZGVeN8v_cos): Removed.
31658 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
31660 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
31661 Don't include <sysdep.h> nor <init-arch.h>.
31662 (_ZGVbN2v_exp): Removed.
31663 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
31665 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
31666 Don't include <sysdep.h> nor <init-arch.h>.
31667 (_ZGVdN4v_exp): Removed.
31668 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
31670 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
31671 Don't include <sysdep.h> nor <init-arch.h>.
31672 (_ZGVeN8v_exp): Removed.
31673 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
31675 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
31676 Don't include <sysdep.h> nor <init-arch.h>.
31677 (_ZGVbN2v_log): Removed.
31678 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
31680 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
31681 Don't include <sysdep.h> nor <init-arch.h>.
31682 (_ZGVdN4v_log): Removed.
31683 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
31685 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
31686 Don't include <sysdep.h> nor <init-arch.h>.
31687 (_ZGVeN8v_log): Removed.
31688 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
31690 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
31691 Don't include <sysdep.h> nor <init-arch.h>.
31692 (_ZGVbN2vv_pow): Removed.
31693 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
31695 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
31696 Don't include <sysdep.h> nor <init-arch.h>.
31697 (_ZGVdN4vv_pow): Removed.
31698 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
31700 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
31701 Don't include <sysdep.h> nor <init-arch.h>.
31702 (_ZGVeN8vv_pow): Removed.
31703 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
31705 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
31706 Don't include <sysdep.h> nor <init-arch.h>.
31707 (_ZGVbN2v_sin): Removed.
31708 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
31710 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
31711 Don't include <sysdep.h> nor <init-arch.h>.
31712 (_ZGVbN4v_sin): Removed.
31713 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
31715 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
31716 Don't include <sysdep.h> nor <init-arch.h>.
31717 (_ZGVbN8v_sin): Removed.
31718 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
31720 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
31721 Don't include <sysdep.h> nor <init-arch.h>.
31722 (_ZGVbN2vvv_sincos): Removed.
31723 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
31725 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
31726 Don't include <sysdep.h> nor <init-arch.h>.
31727 (_ZGVdN4vvv_sincos): Removed.
31728 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
31730 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
31731 Don't include <sysdep.h> nor <init-arch.h>.
31732 (_ZGVeN8vvv_sincos): Removed.
31733 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
31735 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
31736 Don't include <sysdep.h> nor <init-arch.h>.
31737 (_ZGVeN16v_cosf): Removed.
31738 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
31740 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
31741 Don't include <sysdep.h> nor <init-arch.h>.
31742 (_ZGVbN4v_cosf): Removed.
31743 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
31745 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
31746 Don't include <sysdep.h> nor <init-arch.h>.
31747 (_ZGVdN8v_cosf): Removed.
31748 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
31750 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
31751 Don't include <sysdep.h> nor <init-arch.h>.
31752 (_ZGVeN16v_expf): Removed.
31753 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
31755 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
31756 Don't include <sysdep.h> nor <init-arch.h>.
31757 (_ZGVbN4v_expf): Removed.
31758 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
31760 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
31761 Don't include <sysdep.h> nor <init-arch.h>.
31762 (_ZGVdN8v_expf): Removed.
31763 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
31765 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
31766 Don't include <sysdep.h> nor <init-arch.h>.
31767 (_ZGVeN16v_logf): Removed.
31768 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
31770 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
31771 Don't include <sysdep.h> nor <init-arch.h>.
31772 (_ZGVbN4v_logf): Removed.
31773 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
31775 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
31776 Don't include <sysdep.h> nor <init-arch.h>.
31777 (_ZGVdN8v_logf): Removed.
31778 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
31780 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
31781 Don't include <sysdep.h> nor <init-arch.h>.
31782 (_ZGVeN16vv_powf): Removed.
31783 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
31785 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
31786 Don't include <sysdep.h> nor <init-arch.h>.
31787 (_ZGVbN4vv_powf): Removed.
31788 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
31790 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
31791 Don't include <sysdep.h> nor <init-arch.h>.
31792 (_ZGVdN8vv_powf): Removed.
31793 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
31795 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
31796 Don't include <sysdep.h> nor <init-arch.h>.
31797 (_ZGVeN16vvv_sincosf): Removed.
31798 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
31800 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
31801 Don't include <sysdep.h> nor <init-arch.h>.
31802 (_ZGVbN4vvv_sincosf): Removed.
31803 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
31805 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
31806 Don't include <sysdep.h> nor <init-arch.h>.
31807 (_ZGVdN8vvv_sincosf): Removed.
31808 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
31810 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
31811 Don't include <sysdep.h> nor <init-arch.h>.
31812 (_ZGVeN16v_sinf): Removed.
31813 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
31815 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
31816 Don't include <sysdep.h> nor <init-arch.h>.
31817 (_ZGVbN4v_sinf): Removed.
31818 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
31820 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
31821 Don't include <sysdep.h> nor <init-arch.h>.
31822 (_ZGVdN8v_sinf): Removed.
31824 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31826 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31827 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
31828 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
31829 s_rint-sse4_1 and s_rintf-sse4_1.
31830 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
31831 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
31832 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
31833 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
31834 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
31835 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
31836 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
31837 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
31838 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
31839 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
31840 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
31841 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31843 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
31844 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
31845 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31846 (__ceilf): Removed.
31847 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
31848 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
31849 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31850 (__floor): Removed.
31851 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
31852 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
31853 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31854 (__floorf): Removed.
31855 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
31856 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
31857 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31858 (__nearbyint): Removed.
31859 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
31860 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
31861 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31862 (__nearbyintf): Removed.
31863 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
31864 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
31865 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31867 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
31868 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
31869 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31870 (__rintf): Removed.
31872 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31874 * sysdeps/i386/start.S (_start): Check Check PIC instead of
31875 SHARED. Avoid dynamic relocation against main in static PIE.
31877 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31880 * elf/Makefile (CFLAGS-tst-prelink.c): New.
31881 (LDFLAGS-tst-prelink): Likewise.
31883 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31885 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
31886 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
31887 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
31888 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
31889 (INTERNAL_SYSCALL_NCS): Likewise.
31890 (LOADARGS_1): Likewise.
31891 (LOADARGS_5): Likewise.
31892 (RESTOREARGS_1): Likewise.
31893 (RESTOREARGS_5): Likewise.
31895 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31897 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
31898 (MEMPCPY_SYMBOL): Likewise.
31899 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
31900 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
31901 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
31903 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31904 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
31906 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
31907 (__hidden_ver1): Don't use in libc.a.
31908 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
31909 (__mempcpy): Don't create a weak alias in libc.a.
31910 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
31912 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
31913 (__hidden_ver1): Don't use in libc.a.
31915 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31917 * config.make.in (have-insert): New.
31918 * configure.ac (libc_cv_insert): New. Set to yes if linker
31919 supports INSERT in linker script.
31920 (AC_SUBST(libc_cv_insert): New.
31921 * configure: Regenerated.
31922 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
31923 if $(have-insert) == yes.
31925 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31927 * elf/Makefile (tests): Add vismain only if
31928 $(have-protected-data) == yes.
31929 (tests-pie): Likewise.
31931 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31934 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
31935 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
31937 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31940 * sysdeps/i386/i586/memset.S
31941 (__memset_zero_constant_len_parameter): Removed.
31942 * sysdeps/i386/i686/memset.S
31943 (__memset_zero_constant_len_parameter): Likewise.
31944 * sysdeps/i386/i686/multiarch/memset_chk.S
31945 (__memset_zero_constant_len_parameter): Likewise.
31946 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
31949 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
31951 * stdlib/getentropy.c (getentropy): Change return type to int.
31953 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
31955 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
31957 2017-08-03 Joseph Myers <joseph@codesourcery.com>
31959 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
31961 * math/s_nexttowardf.c (__nexttowardf): Likewise.
31962 * sysdeps/generic/math_private.h (ieee_double_shape_type):
31964 (ieee_float_shape_type): Likewise.
31965 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
31966 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
31967 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
31968 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31969 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
31970 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
31971 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
31972 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
31973 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
31975 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
31976 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
31977 (__ieee754_yn): Likewise.
31978 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
31979 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
31980 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
31982 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31983 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
31984 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
31985 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
31986 (__erfc): Likewise.
31987 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
31988 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
31989 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
31990 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
31991 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
31992 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
31994 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
31995 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
31996 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
31997 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
31998 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
31999 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
32000 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
32001 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
32002 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
32003 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
32004 (__issignaling): Likewise.
32005 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
32006 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
32007 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
32009 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32010 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
32011 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
32012 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
32014 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
32016 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
32017 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
32018 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
32019 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
32020 (__erfcf): Likewise.
32021 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
32022 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
32023 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
32024 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
32026 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
32027 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
32029 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
32030 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
32031 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
32032 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
32033 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
32034 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
32035 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
32036 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
32038 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
32040 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
32042 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
32043 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
32045 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
32047 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
32048 (__ieee754_ynl): Likewise.
32049 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
32050 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
32052 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
32054 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
32055 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
32056 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32058 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
32059 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
32060 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
32061 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
32062 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
32063 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
32064 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
32065 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
32067 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
32068 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
32069 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
32071 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
32072 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
32073 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
32074 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
32075 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
32076 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32078 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
32080 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32082 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32084 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
32085 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
32086 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32087 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
32088 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
32089 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
32090 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
32092 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
32094 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
32095 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32097 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
32098 (__ieee754_remainderl): Likewise.
32099 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32100 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32101 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
32102 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
32104 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
32105 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32107 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32108 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
32109 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
32110 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
32111 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
32112 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
32114 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
32115 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
32116 (__ieee754_y0l): Likewise.
32119 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32120 (__ieee754_y1l): Likewise.
32123 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
32124 (__ieee754_ynl): Likewise.
32125 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
32126 (__ieee754_lgammal_r): Likewise.
32127 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
32129 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
32130 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
32131 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
32132 (__erfcl): Likewise.
32133 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
32134 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
32136 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
32137 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
32138 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
32139 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
32140 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
32141 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32142 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32144 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
32145 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
32146 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
32147 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
32148 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32150 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
32151 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
32153 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
32154 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
32155 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
32156 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
32157 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
32159 2017-08-03 Florian Weimer <fweimer@redhat.com>
32162 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
32163 on memory allocation failure.
32165 2017-08-03 Alan Modra <amodra@gmail.com>
32167 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
32168 tst-tlsopt-powerpc.c with function name change and no test harness.
32169 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
32170 Call tls_get_addr_opt_test.
32171 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
32172 (modules-names): Add mod-tlsopt-powerpc.
32173 (mod-tlsopt-powerpc.so-no-z-defs): Define.
32174 (tst-tlsopt-powerpc): Depend on .so.
32175 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
32176 define. Expand use in TLS_GD and TLS_LD.
32178 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32180 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
32182 * sysdeps/posix/shm_open.c: Include <pthread.h>.
32184 2017-08-02 Joseph Myers <joseph@codesourcery.com>
32187 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
32188 comparing size with that of double.
32189 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32190 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32191 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32192 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32193 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32194 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
32195 unsigned __int128 types.
32197 2017-08-02 Steve Ellcey <sellcey@cavium.com>
32199 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
32200 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
32201 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
32202 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
32203 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
32205 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32207 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
32209 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32211 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
32213 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
32214 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32215 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32216 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32217 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32218 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32219 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32221 2017-08-02 Joseph Myers <joseph@codesourcery.com>
32224 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
32225 bit-field expressions passed to sizeof or typeof.
32226 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32227 (__TGMATH_F128): Likewise.
32228 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32229 (__TGMATH_CF128): Likewise.
32230 (__TGMATH_UNARY_REAL_ONLY): Likewise.
32231 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
32232 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
32233 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
32234 (__TGMATH_BINARY_REAL_ONLY): Likewise.
32235 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32236 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32237 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32238 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32239 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
32240 (__TGMATH_UNARY_REAL_IMAG): Likewise.
32241 (__TGMATH_UNARY_IMAG): Likewise.
32242 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
32243 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32244 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
32246 (define_vars_for_type): Handle bit_field type specially.
32247 (Tests.__init__): Declare structure with bit-field element.
32249 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32252 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
32253 (MEMCPY_CHK): Define only if SHARED is defined.
32254 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
32256 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
32259 See ChangeLog.18 for earlier changes.