1 2019-05-08 Florian Weimer <fweimer@redhat.com>
3 malloc/tst-mallocfork2: Use process-shared barriers.
4 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
5 (signal_count, sigusr1_sender_pid): Remove.
6 (iterations): Define constant.
7 (shared): New variable.
8 (sigusr1_received): Update comment.
9 (sigusr1_handler): Do not send SIGSTOP to the sender process.
10 (signal_sender): Optional use barriers to avoid sending signals
11 during irrelevant times.
12 (do_it): Initialize variable shared. Use xfork for error
13 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
14 the iteration count, independent of signal delivery. Check for
15 deadlocks in fork. Introduce barriers for reducing signal
16 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
17 replaced by the barriers. Count signals during fork/free/malloc
19 * malloc/Makefile (tst-mallocfork): Link with libpthread.
21 2019-05-07 Joseph Myers <joseph@codesourcery.com>
23 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
25 (clock_adjtime64) New syscall.
26 (clock_getres_time64) Likewise.
27 (clock_gettime64) Likewise.
28 (clock_nanosleep_time64) Likewise.
29 (clock_settime64) Likewise.
30 (futex_time64) Likewise.
31 (io_pgetevents_time64) Likewise.
32 (io_uring_enter) Likewise.
33 (io_uring_register) Likewise.
34 (io_uring_setup) Likewise.
35 (mq_timedreceive_time64) Likewise.
36 (mq_timedsend_time64) Likewise.
37 (pidfd_send_signal) Likewise.
38 (ppoll_time64) Likewise.
39 (pselect6_time64) Likewise.
40 (recvmmsg_time64) Likewise.
41 (rt_sigtimedwait_time64) Likewise.
42 (sched_rr_get_interval_time64) Likewise.
43 (semtimedop_time64) Likewise.
44 (timer_gettime64) Likewise.
45 (timer_settime64) Likewise.
46 (timerfd_gettime64) Likewise.
47 (timerfd_settime64) Likewise.
48 (utimensat_time64) Likewise.
50 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
53 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
55 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
56 __memmove_thunderx2 to the list of implementations
57 * sysdeps/aarch64/multiarch/memmove.c: Likewise
58 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
59 (__memmove_thunderx2): Rewritten using SIMD ld/st
60 (__memcpy_thunderx2): Fixed handling overlapping cases.
61 Used ldp/stp instead of ldr/str if possible. Made loops
64 2019-05-03 Florian Weimer <fweimer@redhat.com>
66 * misc/tst-tsearch.c (walk_tree): Add more error checking.
68 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
71 * elf/tst-pldd.c (in_str_list): New function.
72 (do_test): Add default names for ld and libc as one option.
74 2019-05-02 Florian Weimer <fweimer@redhat.com>
76 misc: Add twalk_r function.
77 * include/search.h (__twalk_r): Declare.
78 * manual/examples/twalk.c: New file.
79 * manual/search.texi (Tree Search Function): Document twalk_r.
80 * misc/Versions (2.30): Export twalk_r.
81 (GLIBC_PRIVATE): Export __twalk_r.
82 * misc/search.h [__USE_GNU] (twalk_r): Declare.
83 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
84 (twalk_r): Add weak alias.
85 * misc/tst-tsearch.c (struct walk_trace_element): Define.
86 (walk_trace): New variable.
87 (struct twalk_with_twalk_r_closure): Define.
88 (twalk_with_twalk_r_action): New function.
89 (twalk_with_twalk_r): Likewise.
90 (walk_action): Call walk_trace_add.
91 (walk_tree_with): Rename from walk_tree. Add walk argument.
92 (walk_tree): New function.
93 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
94 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
96 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
98 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
99 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
100 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
101 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
102 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
103 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
105 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
107 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
109 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
110 (GLIBC_2.30): Likewise.
111 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
112 (GLIBC_2.30): Likewise.
113 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
114 (GLIBC_2.30): Likewise.
115 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
116 (GLIBC_2.30): Likewise.
117 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
120 (GLIBC_2.30): Likewise.
121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
122 (GLIBC_2.30): Likewise.
123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
124 (GLIBC_2.30): Likewise.
125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
126 (GLIBC_2.30): Likewise.
127 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
129 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
131 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
133 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
134 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
136 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
138 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
140 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
143 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
145 Make mktime etc. compatible with __time64_t
146 Keep these functions compatible with Gnulib while adding
147 __time64_t support. The basic idea is to move private API
148 declarations from include/time.h to time/mktime-internal.h, since
149 the former file cannot easily be shared with Gnulib whereas the
151 Also, do some other minor cleanup while in the neighborhood.
152 * include/time.h: Include stdbool.h, time/mktime-internal.h.
153 (__mktime_internal): Move this prototype to time/mktime-internal.h,
154 since Gnulib needs it.
155 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
156 Move these macros to time/mktime-internal.h, since Gnulib needs them.
157 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
158 (in_time_t_range): New static function.
159 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
160 so that glibc users are not tempted to use __time64_t.
161 * time/mktime-internal.h: Rewrite so that it does both glibc
162 and Gnulib work. Include time.h if not _LIBC.
163 (mktime_offset_t) [!_LIBC]: Define for gnulib.
164 (__time64_t): New type or macro, moved here from
166 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
167 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
169 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
170 New macros, taken from GNulib.
171 (__mktime_internal): New prototype, moved here from include/time.h.
172 * time/mktime.c (mktime_min, mktime_max, convert_time)
173 (ranged_convert, __mktime_internal, __mktime64):
174 * time/timegm.c (__timegm64):
175 Use __time64_t, not time_t.
176 * time/mktime.c: Stop worrying about whether time_t is floating-point.
177 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
179 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
180 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
183 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
185 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
187 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
190 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
191 from `-Wmaybe-uninitialized'.
192 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
194 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
196 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
198 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
199 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
200 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
201 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
202 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
204 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
221 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
222 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
223 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
224 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
226 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
229 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
230 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
232 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
235 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
237 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
238 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
239 s_ceilf-power5+, and s_ceilf-ppc64.
240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
245 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
246 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
247 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
248 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
250 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
251 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
252 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
254 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
256 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
257 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
258 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
259 (sem_getvalue): Likewise.
261 2019-04-26 Florian Weimer <fweimer@redhat.com>
263 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
264 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
266 2019-04-26 Florian Weimer <fweimer@redhat.com>
268 Makeconfig: Move -Wl,-rpath-link options before library references.
269 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
270 (link-libc): Remove $(link-libc-rpath-link).
272 2019-04-25 Florian Weimer <fweimer@redhat.com>
274 * Makeconfig (+link-pie-before-libc): Remove $(CC).
275 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
276 (+link-static-before-libc): Remove $(CC).
277 (+link-static, +link-static-tests): Add $(CC).
278 (+link-before-libc): Remove $(CC).
279 (+link, +link-pie, +link-pie-printers): Add $(CC).
281 2019-04-26 Florian Weimer <fweimer@redhat.com>
283 * Makeconfig (+link-pie-before-libc): Remove $(CC).
284 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
285 (+link-static-before-libc): Remove $(CC).
286 (+link-static, +link-static-tests): Add $(CC).
287 (+link-before-libc): Remove $(CC).
288 (+link, +link-pie, +link-pie-printers): Add $(CC).
290 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
293 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
295 2019-04-25 Florian Weimer <fweimer@redhat.com>
297 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
298 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
299 (bench-link-targets): New variable.
300 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
302 2019-04-25 Florian Weimer <fweimer@redhat.com>
304 Also enable BIND_NOW for programs if --enable-bind-now.
305 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
306 (+link-pie): Use $(link-extra-flags).
307 (+link-static): Likewise.
308 [! $(build-pie-default)] (+link): Likewise.
309 * manual/install.texi (Configuring and compiling): Update
310 --enable-bind-now description.
311 * INSTALL: Regenerated.
313 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
315 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
316 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
318 2019-04-24 Mike Frysinger <vapier@gentoo.org>
321 * malloc/Makefile (others): Add memusagestat.
322 ($(objpfx)memusagestat): Delete rule.
323 (LDLIBS-memusagestat): New variable.
325 2019-04-24 Florian Weimer <fweimer@redhat.com>
327 * locale/Makefile (tests-special): Guard setting by
328 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
329 to run while cross-compiling.
331 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
334 * elf/Makefile (tests-container): Add tst-pldd.
335 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
336 (E(find_maps)): Avoid use alloca, use default read file operations
337 instead of explicit LFS names, and fix infinite loop.
338 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
339 (get_process_info): Use _Static_assert instead of assert, use default
340 directory operations instead of explicit LFS names, and free some
342 * elf/tst-pldd.c: New file.
344 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
346 * malloc/arena.c (do_set_mallopt_check): Removed.
348 2019-04-23 Florian Weimer <fweimer@redhat.com>
350 locale: Add LOCPATH diagnostics to the locale program.
351 * locale/programs/locale.c (setlocale_failed): New variable.
352 (try_setlocale): New function.
353 (quote_string): Likewise.
354 (setlocale_diagnostics): Likewise.
355 (main): Call try_setlocale instead of setlocale. Call
356 setlocale_diagnostics.
357 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
358 (tst-locale-locpath.out): New target.
359 * locale/tst-locale-locpath.sh: New file.
361 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
363 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
366 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
369 * malloc/hooks.c (malloc_check, realloc_check): Use
370 __builtin_add_overflow on overflow check and adapt to
371 checked_request2size change.
372 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
373 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
374 allocation size to PTRDIFF_MAX.
375 (REQUEST_OUT_OF_RANGE): Remove macro.
376 (checked_request2size): Change to inline function and limit maximum
377 requested size to PTRDIFF_MAX.
378 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
379 maximum allocation size to PTRDIFF_MAX.
380 (_mid_memalign): Use _int_memalign call for overflow check.
381 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
382 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
383 limit maximum requested size to PTRDIFF_MAX.
384 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
385 valloc, pvalloc): Add __attribute_alloc_size__.
386 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
387 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
388 larger than PTRDIFF_MAX.
389 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
390 around tests of malloc with negative sizes.
391 * malloc/tst-posix_memalign.c (do_test): Likewise.
392 * malloc/tst-pvalloc.c (do_test): Likewise.
393 * malloc/tst-valloc.c (do_test): Likewise.
394 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
395 with resulting size allocation larger than PTRDIFF_MAX with
397 (reallocarray_nowarn): New function.
398 * NEWS: Mention the malloc function semantic change.
400 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
402 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
403 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
405 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
406 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
407 * sysdeps/powerpc/fpu/s_fma.c: New file.
408 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
410 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
411 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
413 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
414 the magic flag store.
415 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
417 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
419 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
420 Remove rt_sigreturn call.
422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
423 Remove rt_sigreturn call.
424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
429 * support/Makefile (libsupport-routines): Add support_subprocess,
430 xposix_spawn, xposix_spawn_file_actions_addclose, and
431 xposix_spawn_file_actions_adddup2.
432 (tst-support_capture_subprocess-ARGS): New rule.
433 * support/capture_subprocess.h (support_capture_subprogram): New
435 * support/support_capture_subprocess.c (support_capture_subprocess):
436 Refactor to use support_subprocess and support_capture_poll.
437 (support_capture_subprogram): New function.
438 * support/tst-support_capture_subprocess.c (write_mode_to_str,
439 str_to_write_mode, test_common, parse_int, handle_restart,
440 do_subprocess, do_subprogram, do_multiple_tests): New functions.
441 (do_test): Add support_capture_subprogram tests.
442 * support/subprocess.h: New file.
443 * support/support_subprocess.c: Likewise.
444 * support/xposix_spawn.c: Likewise.
445 * support/xposix_spawn_file_actions_addclose.c: Likewise.
446 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
447 * support/xspawn.h: Likewise.
449 2019-04-17 Mike Gerow <gerow@google.com>
451 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
454 2019-04-11 Florian Weimer <fweimer@redhat.com>
456 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
457 domain with empty string.
458 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
460 2019-04-11 Florian Weimer <fweimer@redhat.com>
462 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
464 (alloc_buffer_next): Change return type to non-const. Update
467 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
469 * manual/time.texi (Formatting Calendar Time): Add missing percent
470 sign to conversion specifier.
472 2019-04-09 Carlos O'Donell <carlos@redhat.com>
473 Kwok Cheung Yeung <kcy@codesourcery.com>
476 * malloc/mtrace.c: Define prototypes for all hooks.
477 (set_default_hooks): New function.
478 (set_trace_hooks): Likewise.
479 (save_default_hooks): Likewise.
480 (tr_freehook): Use new s*_hooks functions.
481 (tr_mallochook): Likewise.
482 (tr_reallochook): Likewise.
483 (tr_memalignhook): Likewise.
485 (muntrace): Likewise.
487 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
489 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
490 (generic_stpcpy): New function.
491 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
492 (generic_stpncpy): New function.
493 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
494 (generic_strcat): New function.
495 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
496 (generic_strcpy): New function.
497 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
498 (STUPID_STRNCAT): Remove function.
499 (generic_strncat): New function.
500 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
501 (STUPID_STRNCPY): Remove function.
502 (generic_strncpy): New function.
503 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
504 (generic_strnlen): New function.
505 (memchr_strnlen): New function.
506 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
507 (memchr_strlen): Likewise.
509 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
511 * benchtests/bench-strstr.c (input): Add realistic input text.
512 (stupid_strstr): Remove function.
513 (basic_strstr): Add function.
514 (twoway_strstr): Add function.
515 (do_one_test): Add result checking.
516 (do_test): Use new input text. Remove accidental early matches.
517 (test_main): Improve range of tests, reduce unaligned cases.
519 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
521 * benchtests/bench-memmem.c (simple_memmem): Remove function.
522 (basic_memmem): Add function.
523 (twoway_memmem): Add function.
525 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
527 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
528 * benchtests/bench-malloc-thread.c: Likewise.
529 * benchtests/bench-skeleton.c: Likewise.
530 * benchtests/bench-strtod.c: Likewise.
531 * benchtests/bench-timing.h: Likewise.
533 2019-04-08 Florian Weimer <fweimer@redhat.com>
535 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
537 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
538 RES_INSECURE2 security checks.
539 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
540 RES_INSECURE2 handling.
542 2019-04-08 Florian Weimer <fweimer@redhat.com>
544 resolv: Remove support for RES_USE_INET6 and the inet6 option.
545 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
546 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
548 * resolv/Makefile (tests): Remove tst-res_use_inet6.
549 (tests-internal): Update justification for tst-resolv-res_init,
550 tst-resolv-res_init-thread.
551 (tst-res_use_inet6): Remove target.
552 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
553 * resolv/res_debug.c (p_option): Remove "inet6" support.
554 * resolv/res_init.c (res_setoptions): Likewise.
555 * resolv/res_use_inet6.h: Remove file.
556 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
558 (res_use_inet6): Always return false.
559 * resolv/resolv.h (RES_USE_INET6): Remove definition.
560 * resolv/resolv_context.h: Adjust file comment.
561 (struct resolv_context): Update comment on __next field.
562 (__resolv_context_put): Update comment.
563 * resolv/tst-res_use_inet6.c: Remove file.
564 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
566 (test_cases): Adjust test case.
567 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
568 (thread_byname2_af_inet6): Use old byname_inet6 code.
569 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
570 (gai): Remove do_inet6 argument.
571 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
572 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
573 (thread_gai_unspec_inet6): Remove functions.
574 (do_test): Adjust thread_funcs.
575 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
577 (gaih_inet): Do not disable RES_USE_INET6 flag.
579 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
581 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
582 and remove redundant code.
584 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
586 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
588 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
589 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
591 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
593 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
595 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
596 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
597 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
598 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
599 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
600 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
601 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
602 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
604 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
605 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
606 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
607 Remove wcsrchr optimizations.
608 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
610 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
613 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
615 * sysdeps/powerpc/power6/wcschr.c: Remove file.
616 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
618 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
620 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
622 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
623 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
624 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
625 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
626 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
627 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
628 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
629 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
631 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
632 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
633 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
634 Remove wcschr optimizations.
635 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
637 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
640 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
642 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
643 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
645 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
647 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
649 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
650 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
651 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
652 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
653 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
654 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
655 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
656 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
658 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
659 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
660 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
661 Remove wcscpy optimizations.
662 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
664 * include/loop_unroll.h: New file.
665 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
666 besides generic implementation.
668 2019-04-03 DJ Delorie <dj@redhat.com>
670 * time/tst-strftime3.c (tm_to_printed): Disable warning about
671 snprintf truncating output.
673 2019-04-02 DJ Delorie <dj@redhat.com>
675 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
678 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
681 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
683 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
684 (mkreftable): Add rules for the new Japanese era and the new dates.
686 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
687 Rafal Luzynski <digitalfreak@lingonborough.com>
689 * time/tst-strftime2.c (date_t): Explicitly define the type.
690 (dates): Use natural month and year numbers to express a date.
691 (is_before): New function to compare dates.
692 (mkreftable): Minor improvements to simplify maintenance.
693 (do_test): Reflect the changes in dates array.
696 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
697 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
698 * time/tst-strftime2.c (locales): Likewise.
699 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
700 2010-04-01, and 2011-04-01.
701 (mkreftable): Add rules for the new locales and the new dates.
703 2019-04-01 Carlos O'Donell <carlos@redhat.com>
705 * localedata/locales/ja_JP: Add comments to era entries.
707 2019-04-01 DJ Delorie <dj@redhat.com>
710 * time/strptime_l.c (%Ey): Fix fencepost error.
711 * time/tst-strftime3.c: New.
712 * time/Makefile (tests): Add tst-strftime3.
714 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
716 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
717 conditional branch to DIVBYZERO. Fix unwind info.
718 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
719 excb after conditional branch to $powerof2. Add missing unop
720 instructions and .align directives and reorder instructions to
723 2019-04-01 Richard Henderson <rth@twiddle.net>
725 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
727 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
730 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
732 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
733 $libc_cv_riscv_float_abi in `test' invocation.
734 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
736 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
738 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
740 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
742 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
743 (_GET_SI_FPSCR): Likewise.
744 (_SET_SI_FPSCR): Likewise.
746 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
748 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
750 (signbit): Use builtin for clang 3.3.
751 (isinf): Use builtin for clang 3.7.
753 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
755 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
757 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
759 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
762 2019-03-25 Mike Crowe <mac@mcrowe.com>
764 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
765 pthread_rwlock_timedrdlock with calls to
766 pthread_rwlock_timedwrlock to ensure that the latter is tested
767 too. Use new function name in diagnostic messages too.
769 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
770 (do_test) Use libsupport test macros rather than hand-coded
771 conditionals and error messages. Ensure that sem_init returns zero
772 rather than not -1. Use <support/test-driver.c> rather than
775 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
776 test macros rather than hand-coded conditionals and error messages.
777 Use <support/test-driver.c> rather than test-skeleton.c.
779 2019-03-25 Joseph Myers <joseph@codesourcery.com>
781 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
783 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
784 (NT_MIPS_MSA): Likewise.
786 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
788 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
789 * benchtests/README: Update description.
790 * benchtests/bench-timing.h: Default to hp-timing.
791 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
792 HP_TIMING_PRINT): Remove.
793 (HP_TIMING_NOW): Add generic implementation.
794 (hp_timing_t): Change to uint64_t.
796 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
798 * nptl/descr.h: Likewise.
799 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
800 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
801 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
802 Abstract hp-timing usage with RTLD_* macros.
803 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
804 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
805 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
806 HP_TIMING_NONAVAIL): Likewise.
807 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
809 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
810 HP_SMALL_TIMING_AVAIL): Likewise.
811 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
812 HP_SMALL_TIMING_AVAIL): Likewise.
813 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
814 HP_SMALL_TIMING_AVAIL): Likewise.
815 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
816 HP_SMALL_TIMING_AVAIL): Likewise.
817 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
819 * sysdeps/generic/hp-timing-common.h: Update comment with
820 HP_TIMING_AVAIL removal.
822 * include/random-bits.h: New file.
823 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
824 (__res_context_mkquery): Remove usage hp-timing usage and replace with
826 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
827 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
830 * include/libc-internal.h (__get_clockfreq): Remove prototype.
831 * rt/Makefile (clock-routines): Remove get_clockfreq.
832 * rt/get_clockfreq.c: Remove file.
833 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
834 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
835 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
836 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
837 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
839 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
840 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
841 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
842 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
843 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
845 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
846 pthread_clock_settime.
847 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
848 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
849 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
850 * elf/rtld.c (_dl_start_final): Likewise.
851 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
852 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
854 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
855 (_dl_cpuclock_offset): Remove.
856 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
857 cpuclock_offset_ununsed.
858 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
860 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
861 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
862 * nptl/pthread_clock_gettime.c: Remove file.
863 * nptl/pthread_clock_settime.c: Likewise.
864 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
865 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
866 and CLOCK_PROCESS_CPUTIME_ID support.
867 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
868 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
869 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
870 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
871 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
873 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
875 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
877 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
878 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
879 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
881 * sysdeps/s390/memmem-arch13.S: New file.
882 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
883 if it is only used as fallback.
884 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
885 * sysdeps/s390/multiarch/ifunc-impl-list.c
886 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
888 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
890 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
891 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
892 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
894 * sysdeps/s390/multiarch/ifunc-impl-list.c
895 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
896 * sysdeps/s390/strstr-arch13.S: New file.
897 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
898 if it is only used as fallback.
899 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
901 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
903 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
904 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
905 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
906 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
908 * sysdeps/s390/multiarch/ifunc-impl-list.c
909 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
910 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
911 S390_IS_ARCH13_MIE3): New defines.
913 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
915 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
916 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
917 * sysdeps/s390/configure.ac: Add checks for arch13 support.
918 * sysdeps/s390/configure: Regenerated.
920 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
922 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
923 Add vxe2, vxp, dflt, sort flags.
924 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
925 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
927 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
928 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
929 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
930 HWCAP_S390_DFLT): Define.
932 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
935 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
937 * locale/programs/ld-collate.c (collate_output): Likewise.
939 2019-03-21 DJ Delorie <dj@redhat.com>
942 * iconv/iconvconfig.c (write_output): Replace floating point math
943 with integer math to avoid imprecise results.
944 * locale/programs/ld-collate.c (collate_output): Likewise.
946 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
948 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
949 Add HWCAP_S390_VX and HWCAP_S390_VXE.
951 2019-03-20 mansayk <6688000@gmail.com>
954 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
955 (abday): Likewise, but remove the trailing dots.
957 2019-03-19 Joseph Myers <joseph@codesourcery.com>
959 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
961 (HWCAP_PACA): Likewise.
962 (HWCAP_PACG): Likewise.
963 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
965 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
967 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
969 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
972 2019-03-15 Joseph Myers <joseph@codesourcery.com>
974 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
976 (old_getpagesize): New syscall.
978 2019-03-15 Felix Yan <felixonmars@archlinux.org>
981 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
982 * localedata/locales/cmn_TW (era): Likewise.
983 * localedata/locales/hak_TW (era): Likewise.
984 * localedata/locales/lzh_TW (era): Likewise.
985 * localedata/locales/nan_TW (era): Likewise.
987 2019-03-14 Florian Weimer <fweimer@redhat.com>
989 Remove obsolete, never-implemented XSI STREAMS declarations.
990 * manual/terminal.texi (Allocation): Remove portability note and
992 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
994 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
995 * sysdeps/unix/inet/Subdirs (streams): Remove.
996 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
997 (conformtest-headers-UNIX98): Likewise.
998 (conformtest-headers-XOPEN2K): Likewise.
999 (conformtest-headers-POSIX2008): Likewise.
1000 * posix/compat-streams.c: New file.
1001 * posix/Makefile (routines): Add it.
1002 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
1003 getpmsg, isastream, putmsg, putpmsg.
1004 (GLIBC_2.30): New section.
1005 * bits/stropts.h: Remove file.
1006 * bits/xtitypes.h: Likewise.
1007 * conform/data/stropts.h-data: Likewise.
1008 * include/stropts.h: Likewise.
1009 * include/sys/stropts.h: Likewise.
1010 * include/xtitypes.h: Likewise.
1011 * streams/Makefile: Likewise.
1012 * streams/fattach.c: Likewise.
1013 * streams/fdetach.c: Likewise.
1014 * streams/getmsg.c: Likewise.
1015 * streams/getpmsg.c: Likewise.
1016 * streams/isastream.c: Likewise.
1017 * streams/putmsg.c: Likewise.
1018 * streams/putpmsg.c: Likewise.
1019 * streams/stropts.h: Likewise.
1020 * streams/sys/stropts.h: Likewise.
1021 * sysdeps/ia64/bits/xtitypes.h: Likewise.
1022 * sysdeps/s390/bits/xtitypes.h: Likewise.
1023 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
1024 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
1025 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
1026 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
1027 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
1028 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
1029 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
1030 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
1031 * sysdeps/x86/bits/xtitypes.h: Likewise.
1033 2019-03-14 Florian Weimer <fweimer@redhat.com>
1035 * nss/tst-nss-files-alias-truncated.c (do_test): Load
1037 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
1038 but not with libnss_files.
1039 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
1041 2019-03-14 Zack Weinberg <zackw@panix.com>
1043 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
1044 Specify encoding="utf-8" when opening headers to check.
1046 2019-03-13 Joseph Myers <joseph@codesourcery.com>
1048 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1050 (Context.checkout_tar): Handle variable major version for Linux
1053 2019-03-13 Florian Weimer <fweimer@redhat.com>
1056 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
1058 2019-03-13 Zack Weinberg <zackw@panix.com>
1060 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
1062 * include/inttypes.h: Adjust to match.
1063 * include/stdint.h: New wrapper.
1065 2019-03-13 Zack Weinberg <zackw@panix.com>
1067 * scripts/check-obsolete-constructs.py: New test script.
1068 * scripts/check-installed-headers.sh: Remove tests for
1069 obsolete typedefs, superseded by check-obsolete-constructs.py.
1070 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
1071 as a special test. Update commentary.
1072 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
1073 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
1075 * posix/sys/types.h (__u_intN_t): Remove.
1076 (u_int8_t): Typedef using __uint8_t.
1077 (u_int16_t): Typedef using __uint16_t.
1078 (u_int32_t): Typedef using __uint32_t.
1079 (u_int64_t): Typedef using __uint64_t.
1081 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
1083 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
1085 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
1086 Ignore types other than AT_HWCAP.
1087 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
1088 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
1090 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
1091 in the case of falling back to generic output mechanism.
1092 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
1095 2019-03-12 Florian Weimer <fweimer@redhat.com>
1097 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
1099 2019-03-12 Florian Weimer <fweimer@redhat.com>
1102 resolv: Enable full ICMP errors for UDP DNS sockets
1103 * resolv/res_enable_icmp.c: New file.
1104 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
1105 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
1106 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
1109 2019-03-11 Mao Han <han_mao@c-sky.com>
1111 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
1112 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
1114 2019-03-11 Mao Han <han_mao@c-sky.com>
1116 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
1117 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1118 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1120 2019-03-11 Mao Han <han_mao@c-sky.com>
1122 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
1124 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
1127 2019-03-11 Mao Han <han_mao@c-sky.com>
1129 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
1130 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
1133 2019-03-08 Mike FABIAN <mfabian@redhat.com>
1136 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
1137 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
1139 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
1140 * localedata/unicode-gen/PropList.txt: Likewise.
1141 * localedata/unicode-gen/UnicodeData.txt: Likewise.
1142 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
1143 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
1144 * localedata/charmaps/UTF-8: Regenerate.
1145 * localedata/locales/i18n_ctype: Likewise.
1146 * localedata/locales/tr_TR: Likewise.
1147 * localedata/locales/translit_circle: Likewise.
1148 * localedata/locales/translit_cjk_compat: Likewise.
1149 * localedata/locales/translit_combining: Likewise.
1150 * localedata/locales/translit_compat: Likewise.
1151 * localedata/locales/translit_font: Likewise.
1152 * localedata/locales/translit_fraction: Likewise.
1154 2019-03-07 Joseph Myers <joseph@codesourcery.com>
1156 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
1157 than after operators.
1158 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
1159 (setitimer_locked): Likewise.
1160 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
1161 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1162 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
1163 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
1164 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
1165 (PPC_CPU_SUPPORTED): Likewise.
1166 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
1167 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
1168 (stat_overflow): Likewise.
1169 (statfs_overflow): Likewise.
1170 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
1171 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
1172 (eq_ttyname_r): Likewise.
1173 (run_chroot_tests): Likewise.
1175 2019-03-07 Florian Weimer <fweimer@redhat.com>
1177 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
1180 2019-03-07 Martin Liska <mliska@suse.cz>
1182 * math/Makefile: Change location where math-vector-fortran.h is
1184 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
1185 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
1186 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
1187 * scripts/check-installed-headers.sh: Skip Fortran header files.
1188 * scripts/check-wrapper-headers.py: Likewise.
1190 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1192 * nptl/nptl-init.c (__have_futex_clock_realtime,
1193 __have_futex_clock_realtime): Remove definition.
1194 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
1195 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
1196 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
1197 __ASSUME_FUTEX_CLOCK_REALTIME support.
1198 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
1199 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1200 * sysdeps/unix/sysv/linux/kernel-features.h
1201 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
1202 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
1205 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1207 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
1208 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
1209 __GI___wcscpy and wcscpy.
1211 2019-03-04 Florian Weimer <fweimer@redhat.com>
1213 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
1215 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
1218 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
1220 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
1221 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1223 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1226 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
1227 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
1229 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1231 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
1233 (do_test): Likewise.
1234 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
1235 (do_test_call_varg): Likewise.
1236 (do_test_call_rarg): Likewise.
1237 * sysdeps/ieee754/ldbl-opt/Makefile
1238 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
1240 ($(objpfx)tst-nldbl-warn.c): New rule.
1241 ($(objpfx)tst-nldbl-error.c): Likewise.
1242 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
1245 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1248 * include/bits/error-ldbl.h: New file.
1249 * include/error.h: Include stdarg.h. Declare internal functions
1250 __error_internal and __error_at_line_internal.
1251 * misc/Makefile (headers): Add bits/error-ldbl.h.
1252 * misc/bits/error-ldbl.h: New file.
1253 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
1254 avoid the inclusion of bits/error.h.
1255 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
1256 and __nldbl_error_at_line.
1257 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
1258 (__nldbl_error, __ndlbl_error_at_line): New functions.
1259 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
1260 Redirect error and error_at_line.
1261 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1270 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1271 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1272 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1274 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1277 * include/bits/err-ldbl.h: New file.
1278 * include/err.h: Add prototypes for the internal functions:
1279 __vwarnx_internal and __vwarn_internal.
1280 * misc/Makefile (headers): Add bits/err-ldbl.h.
1281 * misc/bits/err-ldbl.h: New file.
1282 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
1283 defined, i.e.: when -mlong-double-64 is in use.
1284 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
1285 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
1286 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
1287 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
1288 (VA_CALL): New macro.
1289 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
1290 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
1292 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
1293 declare prototypes for the new functions.
1294 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1303 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1304 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1305 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1307 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1309 * sysdeps/ieee754/ldbl-opt/Makefile
1310 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
1311 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
1312 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
1314 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1317 * argp/Makefile (headers): Add bits/argp-ldbl.h.
1318 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
1319 * argp/bits/argp-ldbl.h: New file.
1320 * include/argp.h: Include stdarg.h. Add prototypes for internal
1321 functions: __argp_error_internal and __argp_failure_internal.
1322 * include/bits/argp-ldbl.h: New file.
1323 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
1324 __nldbl_argp_error and __nldbl_argp_failure.
1325 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
1326 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
1327 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
1328 Redirect argp_error and argp_failure calls.
1329 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1338 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1339 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1340 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1342 2019-03-01 Florian Weimer <fweimer@redhat.com>
1345 * elf/tst-big-note-lib.S: Create a syntactically valid note.
1346 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
1347 code, to avoid creating an ABI tag note.
1348 (modules-names-nobuild): Add tst-big-note-lib.
1350 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
1352 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
1353 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
1355 2019-03-01 Florian Weimer <fweimer@redhat.com>
1358 * sysdeps/unix/sysv/linux/netlink_assert_response.c
1359 (__netlink_assert_response): Add additional missing newlines.
1361 2019-02-28 Joseph Myers <joseph@codesourcery.com>
1363 * sysdeps/powerpc/powerpc32/dl-machine.c
1364 (__elf_machine_fixup_plt): Use space before '('.
1365 (__process_machine_rela): Likewise.
1366 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
1368 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
1370 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
1372 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
1373 (pattern): Likewise.
1375 (check_result): Likewise.
1376 (check_excepts): Likewise.
1377 (check_op): Likewise.
1378 (fail_xr): Likewise.
1379 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
1380 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
1382 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
1385 (__makecontext): Likewise.
1386 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
1389 2019-02-28 Florian Weimer <fweimer@redhat.com>
1392 elf: Add test with a local IFUNC resolver.
1393 * elf/ifuncmain9.c: New file.
1394 * elf/ifuncmain9pic.c: Likewise.
1395 * elf/ifuncmain9picstatic.c: Likewise.
1396 * elf/ifuncmain9pie.c: Likewise.
1397 * elf/ifuncmain9static.c: Likewise.
1398 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
1399 ifuncmain9static, ifuncmain9picstatic.
1400 * elf/Makefile [multi-arch && build-shared] (tests-internal):
1401 Add ifuncmain9, ifuncmain9pic.
1402 * elf/Makefile [multi-arch && build-shared && have-fpie]
1403 (ifunc-pie-tests): Add ifuncmain9pie.
1404 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
1405 (CFLAGS-ifuncmain9picstatic.c): Likewise.
1406 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
1408 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
1410 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
1411 * configure: Regenerated.
1412 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
1414 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1416 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
1417 symbol as __wcspcy instead of wcscpy.
1419 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1421 * include/stdio.h (__renameat2): New hidden prototype.
1422 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
1423 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
1424 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
1425 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
1427 2019-02-27 Joseph Myers <joseph@codesourcery.com>
1429 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
1432 * benchtests/bench-strcpy.c (do_test): Use space before '('.
1433 * benchtests/bench-string.h (cmdline_process_function): Likewise.
1434 * benchtests/bench-strlen.c (do_test): Likewise.
1435 (test_main): Likewise.
1436 * catgets/gencat.c (read_old): Likewise.
1437 * elf/cache.c (load_aux_cache): Likewise.
1438 * iconvdata/bug-iconv8.c (do_test): Likewise.
1439 * math/test-tgmath-ret.c (do_test): Likewise.
1440 * nis/nis_call.c (rec_dirsearch): Likewise.
1441 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1442 * nptl/tst-audit-threads.c (do_test): Likewise.
1443 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
1444 * nss/nss_test1.c (init): Likewise.
1445 * nss/test-netdb.c (test_hosts): Likewise.
1446 * posix/execvpe.c (maybe_script_execute): Likewise.
1447 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
1448 * stdio-common/tst-printf.c (do_test): Likewise.
1449 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
1450 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
1451 * stdlib/qsort.c (STACK_SIZE): Likewise.
1452 * stdlib/test-canon.c (do_test): Likewise.
1453 * stdlib/tst-swapcontext1.c (do_test): Likewise.
1454 * string/memcmp.c (OPSIZ): Likewise.
1455 * string/test-strcpy.c (do_test): Likewise.
1456 (do_random_tests): Likewise.
1457 * string/test-strlen.c (do_test): Likewise.
1458 (test_main): Likewise.
1459 * string/test-strrchr.c (do_test): Likewise.
1460 (do_random_tests): Likewise.
1461 * string/tester.c (test_memrchr): Likewise.
1462 (test_memchr): Likewise.
1463 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
1464 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
1465 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
1466 (read_encoded_value_with_base): Likewise.
1467 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
1468 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
1469 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
1470 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1471 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
1472 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
1474 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
1476 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
1477 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
1478 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
1480 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
1482 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
1484 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
1486 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
1487 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
1488 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1489 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
1490 * time/test_time.c (main): Likewise.
1492 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1494 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
1496 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
1499 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
1502 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1504 * include/wchar.h (__wcscpy): New prototype.
1505 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
1506 (__wcscpy): Route internal symbol to generic implementation.
1507 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
1508 Add internal __wcscpy alias.
1509 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
1510 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
1511 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
1512 * wcsmbs/wcscpy.c (wcscpy): Add
1513 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
1514 use generic implementation.
1515 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
1517 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
1520 * sysdeps/m68k/wcpcpy.c: Remove file.
1521 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1523 2019-02-26 Joseph Myers <joseph@codesourcery.com>
1525 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
1526 than after operators.
1527 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
1528 * sysdeps/mach/hurd/getcwd.c
1529 (__hurd_canonicalize_directory_name_internal): Likewise.
1530 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
1531 (pthread_mutex_consistent): Likewise.
1532 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
1534 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
1535 (__pthread_mutex_transfer_np): Likewise.
1536 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
1537 (__pthread_mutex_unlock): Likewise.
1538 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
1539 (mtx_owned_p): Likewise.
1540 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
1541 (pthread_mutexattr_getrobust): Likewise.
1542 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
1543 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
1545 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1546 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
1547 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
1548 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
1549 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
1550 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1551 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
1553 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
1555 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
1556 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
1557 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
1558 (____longjmp_chk): Likewise.
1559 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
1561 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1562 (INTERNAL_SYSCALL): Likewise.
1563 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1564 (INTERNAL_SYSCALL): Likewise.
1565 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1566 (__get_clockfreq_via_cpuinfo): Likewise.
1568 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
1570 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
1571 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
1572 (WORD_COPY_BWD): Likewise.
1573 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1574 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1576 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
1577 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
1579 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
1581 2019-02-25 Joseph Myers <joseph@codesourcery.com>
1583 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
1584 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
1585 rather than after operators.
1586 * elf/cache.c (print_cache): Likewise.
1587 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
1588 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
1589 * hurd/hurdinit.c (_hurd_setproc): Likewise.
1590 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
1591 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
1592 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
1593 (reauth_proc): Likewise.
1594 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
1595 (__file_name_split_at): Likewise.
1596 (__directory_name_split_at): Likewise.
1597 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
1598 * hurd/port2fd.c (_hurd_port2fd): Likewise.
1599 * iconv/gconv_dl.c (do_print): Likewise.
1600 * inet/netinet/in.h (struct sockaddr_in): Likewise.
1601 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
1602 * locale/setlocale.c (new_composite_name): Likewise.
1603 * malloc/memusagestat.c (main): Likewise.
1604 * misc/fstab.c (fstab_convert): Likewise.
1605 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
1607 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
1608 (getgrent_next_file): Likewise.
1609 (internal_getgrnam_r): Likewise.
1610 (internal_getgrgid_r): Likewise.
1611 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
1613 (internal_getgrent_r): Likewise.
1614 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
1615 (getpwent_next_nss): Likewise.
1616 (getpwent_next_file): Likewise.
1617 (internal_getpwnam_r): Likewise.
1618 (internal_getpwuid_r): Likewise.
1619 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
1621 (getspent_next_nss): Likewise.
1622 (internal_getspnam_r): Likewise.
1623 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
1624 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
1625 * string/strchr.c (STRCHR): Likewise.
1626 * string/strchrnul.c (STRCHRNUL): Likewise.
1627 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
1628 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1629 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
1630 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
1631 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
1633 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
1634 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
1635 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
1636 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
1637 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
1638 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
1639 (open_file): Likewise.
1640 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
1641 (pthread_mutexattr_setprotocol): Likewise.
1642 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1643 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
1644 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
1645 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1646 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
1648 (elf_machine_rela): Likewise.
1649 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1650 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1651 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
1652 * sysdeps/posix/rename.c (rename): Likewise.
1653 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
1654 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
1655 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
1656 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
1657 * sysdeps/unix/grantpt.c (grantpt): Likewise.
1658 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
1659 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
1661 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
1663 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
1664 * time/tzfile.c (__tzfile_compute): Likewise.
1666 2019-02-22 Joseph Myers <joseph@codesourcery.com>
1668 * benchtests/bench-memmem.c (simple_memmem): Break lines before
1669 rather than after operators.
1670 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
1671 * crypt/md5.c (md5_finish_ctx): Likewise.
1672 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
1673 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
1674 * elf/cache.c (load_aux_cache): Likewise.
1675 * elf/dl-load.c (open_verify): Likewise.
1676 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
1677 * elf/readelflib.c (process_elf_file): Likewise.
1678 * elf/rtld.c (dl_main): Likewise.
1679 * elf/sprof.c (generate_call_graph): Likewise.
1680 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
1681 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
1682 * hurd/dtable.c (reauth_dtable): Likewise.
1683 * hurd/getdport.c (__getdport): Likewise.
1684 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
1685 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
1686 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
1688 * hurd/hurdioctl.c (fioctl): Likewise.
1689 * hurd/hurdselect.c (_hurd_select): Likewise.
1690 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
1691 (STOPSIGS): Likewise.
1692 * hurd/hurdstartup.c (_hurd_startup): Likewise.
1693 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
1694 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
1695 * hurd/msgportdemux.c (msgport_server): Likewise.
1696 * hurd/setauth.c (_hurd_setauth): Likewise.
1697 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
1698 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
1699 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
1700 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
1701 * login/tst-utmp.c (do_check): Likewise.
1702 (simulate_login): Likewise.
1703 * mach/lowlevellock.h (lll_lock): Likewise.
1704 (lll_trylock): Likewise.
1705 * math/test-fenv.c (ALL_EXC): Likewise.
1706 * math/test-fenvinline.c (ALL_EXC): Likewise.
1707 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
1708 * nis/nis_call.c (__do_niscall3): Likewise.
1709 * nis/nis_callback.c (cb_prog_1): Likewise.
1710 * nis/nis_defaults.c (searchaccess): Likewise.
1711 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1712 * nis/nis_ismember.c (internal_ismember): Likewise.
1713 * nis/nis_local_names.c (nis_local_principal): Likewise.
1714 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
1715 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
1717 * nis/ypclnt.c (yp_match): Likewise.
1718 (yp_first): Likewise.
1719 (yp_next): Likewise.
1720 (yp_master): Likewise.
1721 (yp_order): Likewise.
1722 * nscd/hstcache.c (cache_addhst): Likewise.
1723 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1724 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
1725 (internal_getpwuid_r): Likewise.
1726 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
1727 * posix/glob.h (__GLOB_FLAGS): Likewise.
1728 * posix/regcomp.c (peek_token): Likewise.
1729 (peek_token_bracket): Likewise.
1730 (parse_expression): Likewise.
1731 * posix/regexec.c (sift_states_iter_mb): Likewise.
1732 (check_node_accept_bytes): Likewise.
1733 * posix/tst-spawn3.c (do_test): Likewise.
1734 * posix/wordexp-test.c (testit): Likewise.
1735 * posix/wordexp.c (parse_tilde): Likewise.
1736 (exec_comm): Likewise.
1737 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
1738 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
1739 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
1740 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
1741 * stdio-common/tst-fileno.c (do_test): Likewise.
1742 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
1743 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
1744 * stdlib/strtod_l.c (round_and_return): Likewise.
1745 (____STRTOF_INTERNAL): Likewise.
1746 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
1747 * string/strcspn.c (STRCSPN): Likewise.
1748 * string/test-memmem.c (simple_memmem): Likewise.
1749 * termios/tcsetattr.c (tcsetattr): Likewise.
1750 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
1751 * time/asctime.c (asctime_internal): Likewise.
1752 * time/strptime_l.c (__strptime_internal): Likewise.
1753 * time/sys/time.h (timercmp): Likewise.
1754 * time/tzfile.c (__tzfile_compute): Likewise.
1756 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
1759 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
1761 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1763 * argp/argp-help.c (__argp_error_internal): New function,
1764 renamed from __argp_error, but that takes a 'mode_flags'
1765 parameter to control the format of long double parameters.
1766 (__argp_error): Converted into a call __argp_error_internal.
1767 (__argp_failure_internal): New function, renamed from
1768 __argp_failure, but that takes a 'mode_flags' parameter.
1769 (__argp_failure): Converted into a call __argp_failure_internal.
1770 * misc/err.c (__vwarnx_internal): New function, renamed from
1771 vwarnx, but that takes a 'mode_flags' parameter.
1772 (vwarnx): Converted into a call to __vwarnx_internal.
1773 (__vwarn_internal): New function, renamed from vwarn, but that
1774 takes a 'mode_flags' parameter.
1775 (vwarn): Converted into a call to __vwarn_internal.
1776 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
1777 call to __vfxprintf with 'mode_flags'.
1778 (__error_internal): New function, renamed from error, but that
1779 takes a 'mode_flags' parameter.
1780 (error): Converted into a call to __error_internal.
1781 (__error_at_line_internal): New function, renamed from
1782 error_at_line, but that takes a 'mode_flags' parameter.
1783 (error_at_line): Converted into a call to
1784 __error_at_line_internal.
1785 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
1786 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
1789 2019-02-20 Martin Liska <mliska@suse.cz>
1791 * math/Makefile: Install math-vector-fortran.h.
1792 * bits/math-vector-fortran.h: New file.
1793 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
1795 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1797 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
1798 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
1800 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
1802 * nptl/pthread_mutex_trylock.c: Fix comment.
1804 2019-02-19 Carlos O'Donell <carlos@redhat.com>
1806 * nptl/pthread_tryjoin.c: Fix comment.
1808 2019-02-18 Joseph Myers <joseph@codesourcery.com>
1811 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
1812 after R_SPARC_H34 case.
1814 2019-02-18 Florian Weimer <fweimer@redhat.com>
1816 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
1817 (getanswer): Do not call Dprintf.
1818 (res_gethostbyname2_context): Likewise.
1819 (res_gethostbyaddr_context): Likewise.
1821 2019-02-18 Florian Weimer <fweimer@redhat.com>
1823 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
1825 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
1827 * libio/stdfiles.c: Update comment.
1828 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
1829 set _IO_stdin, _IO_stdout, _IO_stderr.
1830 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
1831 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
1833 (_IO_deallocate_file): New inline function.
1834 * libio/iolibio.h (_IO_vprintf): Remove definition.
1835 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
1836 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
1837 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
1839 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
1840 __builtin_expect. Use _IO_legacy_file.
1842 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
1844 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
1845 Initialize ctid with a known value and remove update of ctid
1847 (wait_tid): Adjust arguments and call futex_wait with ctid_val
1848 as assumed current value of ctid_ptr.
1850 2019-02-16 Florian Weimer <fweimer@redhat.com>
1852 Check that non-sysdeps headers have wrapper headers.
1853 * scripts/check-wrapper-headers.py: New file.
1854 * Makefile (tests-special): Add check-wrapper-headers.out.
1855 (check-wrapper-headers.out): New target.
1856 * Rules (tests-special): Add check-wrapper-headers.out.
1857 (check-wrapper-headers.out): New target.
1859 2019-02-16 Florian Weimer <fweimer@redhat.com>
1861 Add missing header wrappers under include/.
1862 * include/ar.h: New file.
1863 * include/bits/mqueue2.h: Likewise.
1864 * include/bits/stdio.h: Likewise.
1865 * include/bits/stdio2.h: Likewise.
1866 * include/fstab.h: Likewise.
1867 * include/fts.h: Likewise.
1868 * include/lastlog.h: Likewise.
1869 * include/netinet/icmp6.h: Likewise.
1870 * include/netinet/igmp.h: Likewise.
1871 * include/netinet/ip6.h: Likewise.
1872 * include/re_comp.h: Likewise.
1873 * include/regexp.h: Likewise.
1874 * include/rpcsvc/bootparam.h: Likewise.
1875 * include/rpcsvc/yp_prot.h: Likewise.
1876 * include/sys/random.h: Likewise.
1877 * include/sys/stropts.h: Likewise.
1878 * include/sys/ttychars.h: Likewise.
1879 * include/sys/vfs.h: Likewise.
1880 * include/wait.h: Likewise.
1882 2019-02-16 Florian Weimer <fweimer@redhat.com>
1884 * nptl_db/proc_service.h: Move to ...
1885 * sysdeps/nptl/proc_service.h: ... here.
1886 * nptl_db/thread_db.h: Move to ...
1887 * sysdeps/nptl/thread_db.h: ... here.
1888 * nptl/descr.h: Include <thread_db.h>.
1890 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1892 * io/Makefile (tests): Add tst-lockf.
1893 * io/lockf.c (lockf): Use __fcntl and only define for
1894 !__OFF_T_MATCHES_OFF64_T.
1895 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
1896 __OFF_T_MATCHES_OFF64_T case.
1897 * io/tst-lockf.c: New file.
1898 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
1899 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
1900 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
1901 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
1902 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
1903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
1904 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
1905 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
1906 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
1908 2019-02-15 Florian Weimer <fweimer@redhat.com>
1911 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
1912 pd->result after the thread descriptor has been freed.
1914 2019-02-15 Joseph Myers <joseph@codesourcery.com>
1916 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
1917 from function return type.
1919 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
1921 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1923 * scripts/test_printers_common.py: Set TERM to a known harmless
1926 2019-02-14 Joseph Myers <joseph@codesourcery.com>
1928 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
1929 (xdr_u_int): Likewise.
1930 (xdr_enum): Likewise.
1931 (xdr_bytes): Reword fall-through comment.
1932 (xdr_string): Likewise.
1934 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1937 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
1938 (tests): Add tst-join8 tst-join9.
1939 * nptl/lll_timedwait_tid.c: Remove file.
1940 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
1941 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
1942 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
1943 * nptl/pthread_join_common.c (timedwait_tid): New function.
1944 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
1946 * nptl/tst-join5.c (thread_join): New function.
1947 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
1949 * nptl/tst-join8.c: New file.
1950 * nptl/tst-join9.c: Likewise.
1951 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
1952 lll_futex_timed_wait_cancel): Add generic macros.
1953 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
1955 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1956 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1957 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1958 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
1960 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
1962 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1963 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1964 (lll_futex_timed_wait_cancel): New macro.
1966 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
1968 * benchtests/Makefile: Add malloc-simple benchmark.
1969 * benchtests/bench-malloc-simple.c: New benchmark.
1971 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
1973 * benchtests/bench-memmove.c (do_one_test): Remove unused
1976 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
1980 2019-01-13 Jim Wilson <jimw@sifive.com>
1983 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
1984 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
1986 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
1988 * nptl/Makefile (tests): Add tst-unwind-thread.
1989 (CFLAGS-tst-unwind-thread.c): Define.
1990 * nptl/tst-unwind-thread.c: New file.
1991 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
1994 2019-02-13 Joseph Myers <joseph@codesourcery.com>
1996 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
1998 * nis/nis_call.c (__do_niscall3): Likewise.
2000 * catgets/gencat.c (normalize_line): Use braces around empty
2002 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2003 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
2004 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
2005 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
2006 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
2007 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
2008 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
2011 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
2014 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
2016 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
2017 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
2018 * benchtests/bench-strchr.c (stupid_strchr): Remove.
2019 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
2020 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
2021 * benchtests/bench-strlen.c (builtin_strlen): Remove.
2022 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
2023 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
2024 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
2025 * benchtests/bench-strspn.c (stupid_strspn): Remove.
2026 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
2027 * benchtests/bench-bcopy.c: Delete file.
2028 * benchtests/bench-bzero.c: Likewise.
2029 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
2030 (simple_memccpy): Remove.
2031 (generic_memccpy): Add function.
2032 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
2033 * benchtests/bench-memmove.c (simple_bcopy): Remove.
2034 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
2035 (generic_mempcpy): Add new function.
2036 * benchtests/bench-memset.c (simple_bzero): Remove.
2037 (builtin_bzero): Remove.
2038 (builtin_memset): Remove.
2039 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
2040 (generic_rawmemchr): Add new function.
2042 2019-02-12 Florian Weimer <fweimer@redhat.com>
2044 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
2046 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2049 * elf/Makefile (tests): Add tst-audit13.
2050 (modules-names): Add tst-audit13mod1.
2051 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2053 * elf/tst-audit13.c: New file.
2054 * elf/tst-audit13mod1.c: Likewise.
2056 2019-02-12 Florian Weimer <fweimer@redhat.com>
2059 * elf/rtld.c (unload_audit_module): New function.
2060 (report_audit_module_load_error): Likewise.
2061 (load_audit_module): Likewise. Extracted from dl_main. Call
2062 _dl_close if the laversion symbol cannot be found. Use early
2063 returns for error handling. Add malloc error check. Check for a
2064 zero return value from la_version. Remove spurious comment about
2065 static TLS initialization. Remove useless casts.
2066 (notify_audit_modules_of_loaded_object): New function. Extracted
2068 (load_audit_module): Likewise.
2069 (dl_main): Call load_audit_modules.
2071 2019-02-12 Joseph Myers <joseph@codesourcery.com>
2073 * elf/dl-exception.c (_dl_exception_create_format): Add
2074 fall-through comments.
2075 * elf/ldconfig.c (parse_conf_include): Likewise.
2076 * elf/rtld.c (print_statistics): Likewise.
2077 * locale/programs/charmap.c (parse_charmap): Likewise.
2078 * misc/mntent_r.c (__getmntent_r): Likewise.
2079 * posix/wordexp.c (parse_arith): Likewise.
2080 (parse_backtick): Likewise.
2081 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
2082 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
2083 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2085 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
2087 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
2088 Use float instead of double.
2090 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2092 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
2094 2019-02-08 Joseph Myers <joseph@codesourcery.com>
2096 * sysdeps/powerpc/bits/mathinline.h: Remove.
2098 2019-02-08 Florian Weimer <fweimer@redhat.com>
2100 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
2101 * math/bits/math-finite.h: Move to ...
2102 * bits/math-finite.h: ... here.
2104 2019-02-08 Florian Weimer <fweimer@redhat.com>
2106 * sysdeps/generic/bits/unistd_ext.h: Move to ...
2107 * bits/unistd_ext.h: here.
2109 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
2112 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
2113 * nss/tst-nss-files-hosts-long.c: New file.
2114 * nss/tst-nss-files-hosts-long.root: New directory.
2115 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
2116 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
2118 2019-02-08 Florian Weimer <fweimer@redhat.com>
2120 * include/bits/unistd_ext.h: Remove file.
2121 * posix/bits/unistd_ext.h: Move to ...
2122 * sysdeps/generic/bits/unistd_ext.h: ... here.
2124 2019-02-08 Florian Weimer <fweimer@redhat.com>
2126 * include/bits/unistd_ext.h: New file.
2128 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
2130 * time/tst-strftime2.c: Use array_length macros instead of magic
2133 2019-02-08 Florian Weimer <fweimer@redhat.com>
2136 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
2138 * nptl/register-atfork.c (__run_fork_handlers): Only perform
2139 locking if the new do_locking argument is true.
2140 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
2141 __run_fork_handlers.
2143 2019-02-08 Florian Weimer <fweimer@redhat.com>
2146 Linux: Add gettid system call wrapper.
2147 * posix/Makefile (headers): Add bits/unistd_ext.h.
2148 * posix/bits/unistd_ext.h: New file.
2149 * posix/unistd.h: Include it.
2150 * manual/process.texi (Process Identification): Document gettid.
2151 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
2152 tst-gettid, tst-gettid-kill.
2153 (tst-gettid): Link with $(shared-thread-library).
2154 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
2155 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
2156 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
2157 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
2158 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
2159 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
2161 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2163 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2164 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
2166 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
2168 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
2170 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
2172 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2174 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2176 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2178 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2179 (GLIBC_2.30): Likewise.
2180 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2181 (GLIBC_2.30): Likewise.
2182 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2183 (GLIBC_2.30): Likewise.
2184 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2185 (GLIBC_2.30): Likewise.
2186 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2189 (GLIBC_2.30): Likewise.
2190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2191 (GLIBC_2.30): Likewise.
2192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2193 (GLIBC_2.30): Likewise.
2194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2195 (GLIBC_2.30): Likewise.
2196 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2198 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2200 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2202 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2203 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2205 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2207 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2209 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2211 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
2213 2019-02-08 Florian Weimer <fweimer@redhat.com>
2215 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
2216 compatibility symbols.
2218 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
2221 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2222 Add compiler barriers and comments.
2224 2019-02-07 Florian Weimer <fweimer@redhat.com>
2226 * include/array_length.h (array_length): Do not use a statement
2227 expression and _Static_assert, so that array_length can be used at
2228 file scope and as a constant expression.
2230 2019-02-07 Florian Weimer <fweimer@redhat.com>
2232 * support/xdlfcn.h (xdlmopen): Declare.
2233 * support/xdlmopen.c: New file.
2234 * support/Makefile (libsupport-routines): Add xdlmopen.
2236 2019-02-06 Joseph Myers <joseph@codesourcery.com>
2238 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
2239 before return type, without separate inline.
2240 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
2241 * elf/dl-tunables.h (tunable_is_name): Likewise.
2242 * malloc/malloc.c (do_set_trim_threshold): Likewise.
2243 (do_set_top_pad): Likewise.
2244 (do_set_mmap_threshold): Likewise.
2245 (do_set_mmaps_max): Likewise.
2246 (do_set_mallopt_check): Likewise.
2247 (do_set_perturb_byte): Likewise.
2248 (do_set_arena_test): Likewise.
2249 (do_set_arena_max): Likewise.
2250 (do_set_tcache_max): Likewise.
2251 (do_set_tcache_count): Likewise.
2252 (do_set_tcache_unsorted_limit): Likewise.
2253 * nis/nis_subr.c (count_dots): Likewise.
2254 * nptl/allocatestack.c (advise_stack_range): Likewise.
2255 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
2257 (reduce_sincos): Likewise.
2258 (do_sincos): Likewise.
2259 * sysdeps/unix/sysv/linux/x86/elision-conf.c
2260 (do_set_elision_enable): Likewise.
2261 (TUNABLE_CALLBACK_FNDECL): Likewise.
2263 2019-02-06 Florian Weimer <fweimer@redhat.com>
2265 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
2266 (xdlsym): Use dlerror to detect a NULL symbol.
2268 2019-02-06 Florian Weimer <fweimer@redhat.com>
2270 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
2272 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2274 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2276 * libio/tst-bz24153.c (wide): Use wide char format specifier.
2278 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2280 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
2281 __wmemcmp and weak alias to wmemcmp.
2283 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2286 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
2287 TLS_TCB_AT_TP tls variant.
2288 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
2289 Add alignment checks.
2290 * support/Makefile (libsupport-routines): Add xposix_memalign and
2292 * support/support.h: Add xposix_memalign.
2293 * support/xthread.h: Add xpthread_attr_setstack.
2294 * support/xposix_memalign.c: New File.
2295 * support/xpthread_attr_setstack.c: Likewise.
2297 2019-02-05 Florian Weimer <fweimer@redhat.com>
2300 arm: Use "nr" constraint for Systemtap probes, to avoid the
2301 compiler using memory operands for constants, due to the "o"
2302 alternative in the default "nor" constraint.
2303 * include/stap-probe.h [USE_STAP_PROBE]: Include
2304 <stap-probe-machine.h>
2305 * sysdeps/generic/stap-probe-machine.h: New file.
2306 * sysdeps/arm/stap-probe-machine.h: Likewise.
2308 2019-02-04 Joseph Myers <joseph@codesourcery.com>
2310 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
2311 with 0, not tcache->entries[tc_idx].
2313 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
2316 2019-02-04 Andreas Schwab <schwab@suse.de>
2320 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
2321 looking up collating elements match against (wide) character
2322 sequence instead of name. Correct alignment adjustment.
2323 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
2324 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
2325 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
2326 (LOCALES): Add cs_CZ.ISO-8859-2.
2327 * posix/tst-fnmatch4.c: New file.
2328 * posix/tst-fnmatch5.c: New file.
2329 * include/wchar.h (__wmemcmp): Declare.
2330 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
2331 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
2332 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2333 * sysdeps/s390/wmemcmp.c: Likewise.
2335 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
2339 * NEWS: Updated for CVE-2019-7309.
2340 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
2341 upper 32 bits of RDX register for x32. Use unsigned Jcc
2342 instructions, instead of signed.
2343 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
2344 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
2346 2019-02-04 Florian Weimer <fweimer@redhat.com>
2348 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
2349 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
2350 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
2352 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
2353 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
2354 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
2355 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
2357 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
2359 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
2361 (posix_spawn_file_actions_addopen): Likewise.
2362 (posix_spawn_file_actions_addclose): Likewise.
2363 (posix_spawn_file_actions_adddup2): Likewise.
2364 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
2366 (posix_spawn_file_actions_addfchdir_np): Likewise.
2368 2019-02-04 David Newall <glibc@davidnewall.com>
2370 elf: Implement --preload option for the dynamic linker.
2371 * elf/rtld.c (preloadarg): New variable.
2372 (handle_preload_list): Pass through “where” argument to
2374 (dl_main): Handle "--preload" and add second call to
2375 handle_preload_list.
2376 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
2377 (tst-rtld-preload-OBJS): Set variable.
2378 (tst-rtld-preload.out): New target.
2379 * elf/tst-rtld-preload.sh: New file.
2381 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
2383 * Makefile (testrun.sh): Exit in case of incorrect argument.
2385 2019-02-04 Florian Weimer <fweimer@redhat.com>
2387 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
2390 2019-02-03 Florian Weimer <fweimer@redhat.com>
2392 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
2393 implicit overflow checks.
2395 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
2397 * stdlib/isomac.c: Include <unistd.h>.
2399 2019-02-03 Florian Weimer <fweimer@redhat.com>
2401 * include/time.h (__tzfile_default): Use int, not long int, for
2403 * time/tzfile.c (struct ttinfo): Change type of the offset member
2405 (__tzfile_read): Remove useless cast.
2406 (__tzfile_default): Adjust prototype.
2407 * time/tzset.c (tz_rule): Change type of the offset member to int.
2408 (parse_offset): Change the type of the sign variable to int.
2410 2019-02-03 Florian Weimer <fweimer@redhat.com>
2413 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
2414 * libio/getchar.c (getchar): Likewise.
2415 * libio/getchar_u.c (getchar_unlocked): Likewise.
2416 * libio/getwchar.c (getwchar): Likewise.
2417 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2418 * libio/iogets.c (_IO_gets): Likewise.
2419 * libio/vscanf.c (_IO_vscanf): Likewise.
2420 * libio/vwscanf.c (__vwscanf): Likewise.
2421 * libio/tst-bz24153.c: New file.
2422 * libio/Makefile (tests): Add it.
2424 2019-02-02 Florian Weimer <fweimer@redhat.com>
2427 * manual/resource.texi (Basic Scheduling Functions): Add
2428 portability note. Change process to task throughout the section.
2429 Remove incorrect comment about sched_yield as it affects
2430 tasks/threads, not entire processes.
2431 * sysdeps/unix/sysv/linux/bits/posix_opt.h
2432 (_POSIX_PRIORITY_SCHEDULING): Update comment.
2434 2019-02-01 Joseph Myers <joseph@codesourcery.com>
2436 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
2437 * configure: Regenerated.
2438 * manual/install.texi (Tools for Compilation): Update minimum GCC
2440 * INSTALL: Regenerated.
2442 2019-02-01 Florian Weimer <fweimer@redhat.com>
2444 * support/support_test_compare_string.c
2445 (support_test_compare_string): Use "string" in error message.
2446 * support/tst-test_compare_string.c (do_test): Adjust.
2448 2019-02-01 Florian Weimer <fweimer@redhat.com>
2450 * support/support_format_address_family.c
2451 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
2453 2019-02-01 Florian Weimer <fweimer@redhat.com>
2455 * manual/socket.texi (Internet Address Formats): Clarify the byte
2456 order of struct sockaddr_in, struct sockaddr_in6. Document
2457 sin6_flowinfo and sin6_scope_id.
2459 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
2461 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
2462 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
2463 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
2464 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
2465 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
2466 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
2468 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2470 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
2471 [!MEMCHR](MEMCHR): Set to __memchr.
2472 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2473 Add memchr_generic and memchr_nosimd.
2474 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2475 (__libc_ifunc_impl_list): Add memchr ifuncs.
2476 * sysdeps/aarch64/multiarch/memchr.c: New file.
2477 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
2478 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
2480 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2482 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2484 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2485 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
2486 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
2487 Add IS_EMAG check for ifunc dispatch.
2488 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
2489 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
2491 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2493 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
2494 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2496 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
2499 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
2501 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
2503 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
2505 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
2506 syscall-template file.
2508 2019-01-31 Carlos O'Donell <carlos@redhat.com>
2509 Torvald Riegel <triegel@redhat.com>
2510 Rik Prohaska <prohaska7@gmail.com>
2513 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
2514 tst-rwlock-trywrlock-stall.
2515 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2516 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
2517 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
2518 Set __wrphase_fute to 1 only if we started the write phase.
2519 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
2520 * nptl/tst-rwlock-trywrlock-stall.c: New file.
2521 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
2522 * support/xpthread_rwlock_destroy.c: New file.
2523 * support/xthread.h: Declare xpthread_rwlock_destroy.
2525 2019-02-01 Joseph Myers <joseph@codesourcery.com>
2527 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
2530 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
2533 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
2534 * libio/fileops.c (_IO_new_file_underflow): Likewise
2535 * libio/wfileops.c (_IO_wfile_underflow): Likewise
2536 * libio/putchar.c (putchar): Likewise.
2537 * libio/putchar_u.c (putchar_unlocked): Likewise.
2538 * libio/putwchar.c (putchar): Likewise.
2539 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
2540 * libio/tst-bz24051.c: New test.
2541 * libio/Makefile (tests): Add tst-bz24051
2543 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
2546 regex: fix read overrun [BZ #24114]
2547 Problem found by AddressSanitizer, reported by Hongxu Chen in:
2548 https://debbugs.gnu.org/34140
2549 * posix/regexec.c (proceed_next_node):
2550 Do not read past end of input buffer.
2552 2019-01-31 Florian Weimer <fweimer@redhat.com>
2555 * nss/nss_files/files-alias.c (get_next_alias): Handle
2556 continuation line without newline at the end.
2557 * nss/tst-nss-files-alias-truncated.c: New file.
2558 * nss/Makefile [$(build-shared)] (tests): Add
2559 tst-nss-files-alias-truncated.
2560 (tst-nss-files-alias-truncated): Link with libnss_files.so.
2561 * support/namespace.h (struct support_chroot_configuration): Add
2563 (struct support_chroot): Add path_aliases member.
2564 * support/support_chroot.c (support_chroot_create): Handle
2566 (support_chroot_free): Free path_aliases.
2568 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
2570 * version.h (RELEASE): Set to "development".
2571 (VERSION): Set to "2.29.9000".
2572 * NEWS: Add section for 2.30.
2574 * version.h (RELEASE): Set to "stable".
2575 (VERSION): Set to "2.29".
2576 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
2578 * NEWS: Add the list of bugs fixed in 2.29.
2579 * manual/contrib.texi: Update contributors list with some more
2581 * manual/install.texi: Update latest versions of packages
2583 * INSTALL: Regenerated.
2585 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
2587 * po/be.po: Update translations.
2588 * po/bg.po: Likewise.
2589 * po/ca.po: Likewise.
2590 * po/cs.po: Likewise.
2591 * po/da.po: Likewise.
2592 * po/de.po: Likewise.
2593 * po/el.po: Likewise.
2594 * po/eo.po: Likewise.
2595 * po/es.po: Likewise.
2596 * po/fi.po: Likewise.
2597 * po/fr.po: Likewise.
2598 * po/gl.po: Likewise.
2599 * po/hr.po: Likewise.
2600 * po/hu.po: Likewise.
2601 * po/ia.po: Likewise.
2602 * po/id.po: Likewise.
2603 * po/it.po: Likewise.
2604 * po/ja.po: Likewise.
2605 * po/ko.po: Likewise.
2606 * po/lt.po: Likewise.
2607 * po/nb.po: Likewise.
2608 * po/nl.po: Likewise.
2609 * po/pl.po: Likewise.
2610 * po/pt_BR.po: Likewise.
2611 * po/ru.po: Likewise.
2612 * po/rw.po: Likewise.
2613 * po/sk.po: Likewise.
2614 * po/sl.po: Likewise.
2615 * po/sv.po: Likewise.
2616 * po/tr.po: Likewise.
2617 * po/uk.po: Likewise.
2618 * po/vi.po: Likewise.
2619 * po/zh_CN.po: Likewise.
2620 * po/zh_TW.po: Likewise.
2622 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
2625 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
2626 of $f3 register on $y_is_neg path.
2628 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
2631 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
2632 sigaltstack.ss_flags.
2634 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
2637 * manual/time.texi (strftime): Document "%Ey".
2638 * time/strftime_l.c (__strftime_internal): Set the default width
2639 padding with zero of "%Ey" to 2.
2642 * manual/time.texi (strftime): Document "%EC" and "%EY".
2643 * time/Makefile (tests): Add tst-strftime2.
2644 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
2645 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
2646 override padding for "%Ey".
2647 If an optional flag ('_' or '-') is specified to "%EY", interpret the
2648 "%Ey" in the subformat as if decorated with that flag.
2649 * time/tst-strftime2.c: New file.
2651 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2653 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
2657 * elf/Makefile (tests): Add tst-audit13.
2658 (modules-names): Add tst-audit13mod1.
2659 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2661 * elf/rtld.c (dl_main): Handle invalid audit module version.
2662 * elf/tst-audit13.c: New file.
2663 * elf/tst-audit13mod1.c: Likewise.
2665 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
2667 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
2668 returned by __hurd_at_flags.
2669 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
2670 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
2671 directly instead of __hurd_file_name_lookup.
2673 2019-01-21 Joseph Myers <joseph@codesourcery.com>
2675 * scripts/build-many-glibcs.py (Context.checkout): Default
2676 binutils version to 2.32 branch.
2678 2019-01-21 Florian Weimer <fweimer@redhat.com>
2682 resolv: Reject trailing characters in host names
2683 * include/arpa/inet.h (__inet_aton_exact): Declare.
2684 (inet_aton): Remove hidden prototype. No longer used internally.
2685 * nscd/gai.c (__inet_aton): Do not define.
2686 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
2687 * nss/digits_dots.c (__inet_aton): Likewise.
2688 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
2689 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
2690 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
2691 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
2692 (tst-resolv-trailing): Likewise.
2693 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
2695 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
2696 Make static. Add endp parameter.
2697 (__inet_aton_exact): New function.
2698 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
2699 (__inet_addr): Call inet_aton_end.
2700 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
2701 not just IPv6. Call __inet_aton_exact.
2702 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
2703 (tests): Make const. Add additional test cases with trailing
2705 (do_test): Use array_length.
2706 * resolv/tst-inet_aton_exact.c: New file.
2707 * resolv/tst-resolv-trailing.c: Likewise.
2708 * resolv/tst-resolv-nondecimal.c: Likewise.
2709 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
2711 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2715 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
2716 Clear the upper 32 bits of RSI register.
2717 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
2718 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
2719 and tst-size_t-wcsnlen.
2720 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
2721 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
2723 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2727 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
2728 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2729 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2730 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
2731 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
2733 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2737 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
2738 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2739 * sysdeps/x86_64/strcmp.S: Likewise.
2740 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
2741 tst-size_t-strncmp and tst-size_t-wcsncmp.
2742 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
2743 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
2744 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
2746 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2750 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
2751 RDX_LP for length. Clear the upper 32 bits of RDX register.
2752 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
2753 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
2754 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
2755 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
2757 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2761 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
2762 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
2763 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
2764 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
2766 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2770 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
2771 length. Clear the upper 32 bits of RDX register.
2772 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2773 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
2775 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
2777 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
2779 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
2781 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2785 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
2786 length. Clear the upper 32 bits of RDX register.
2787 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2788 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2789 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
2791 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
2792 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
2794 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2798 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
2799 upper 32 bits of RDX register.
2800 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
2801 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
2803 * sysdeps/x86_64/x32/test-size_t.h: New file.
2804 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
2805 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
2807 2019-01-18 Florian Weimer <fweimer@redhat.com>
2810 resolv: Do not send queries for non-host-names in nss_dns.
2811 * resolv/nss_dns/dns-host.c (check_name): New function.
2812 (_nss_dns_gethostbyname2_r): Use it.
2813 (_nss_dns_gethostbyname_r): Likewise.
2814 (_nss_dns_gethostbyname4_r): Likewise.
2816 2019-01-21 Florian Weimer <fweimer@redhat.com>
2818 * resolv/inet_addr.c: Reformat to GNU style.
2819 (__inet_addr, __inet_aton): Update comment.
2821 2019-01-18 Florian Weimer <fweimer@redhat.com>
2823 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
2824 ("malloc: Use current (C11-style) atomics for fastbin access").
2825 This commit introduces a substantial performance regression on
2827 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
2828 (REMOVE_FB): Define.
2829 (_int_malloc): Use it and reindent.
2830 (_int_free): Use CAS loop with
2831 catomic_compare_and_exchange_val_rel.
2832 (malloc_consolidate): Use atomic_exchange_acq.
2835 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
2837 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
2839 (LDFLAGS-tst-minsigstksz-2): Likewise.
2840 (LDFLAGS-tst-minsigstksz-3): Likewise.
2841 (LDFLAGS-tst-minsigstksz-3a): Likewise.
2842 (LDFLAGS-tst-minsigstksz-4): Likewise.
2844 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
2846 * manual/time.texi (strftime): Fix the wording to "alternative" rather
2849 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
2851 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
2853 2019-01-16 Zack Weinberg <zackw@panix.com>
2855 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
2856 (xget_sigstack_location): New test support functions.
2857 * support/xsigstack.c: New file, implementing them.
2858 * support/tst-xsigstack.c: New test for them.
2859 * support/Makefile: Update.
2861 * signal/tst-minsigstksz-1.c
2862 * signal/tst-minsigstksz-2.c
2863 * signal/tst-minsigstksz-3.c
2864 * signal/tst-minsigstksz-3a.c
2865 * signal/tst-minsigstksz-4.c: New tests.
2866 * signal/Makefile: Run them.
2868 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
2870 * po/libc.pot: Regenerate.
2872 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2874 * math/libm-test-fma.inc (fma_test_data): Set
2875 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
2877 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2879 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
2880 (do_test): Changed __vector __int128_t to __vector unsigned int.
2882 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2884 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2885 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
2886 stpcpy-avx2 and stpncpy-avx2.
2887 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
2888 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
2889 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
2891 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
2892 ifunc-strcpy.h}: rename header for a more generic name.
2893 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
2894 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
2895 AVX unaligned load is fast and vzeroupper is preferred.
2896 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
2897 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
2898 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
2899 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
2900 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
2901 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
2903 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
2905 * argp/argp-help.c: Fix typo in comment.
2906 * misc/sys/cdefs.h: Likewise.
2907 * posix/regexec.c (sift_states_iter_mb): Likewise.
2908 * socket/sockatmark.c: Likewise.
2909 * socket/sys/socket.h: Likewise.
2910 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
2911 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
2912 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
2913 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2914 * sysdeps/unix/sockatmark.c: Likewise.
2915 * time/strptime_l.c: Likewise.
2917 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2919 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
2920 missing space after the cast of "_NL_CURRENT".
2922 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2924 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
2925 ifdef to fix read of VSCR.
2926 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
2927 tst-ucontext-ppc64-vscr.c to test list.
2928 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
2930 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
2932 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
2935 2019-01-09 Jim Wilson <jimw@sifive.com>
2937 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
2939 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
2941 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
2942 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
2943 __memcpy_falkor for ares.
2944 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
2946 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2949 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
2952 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2953 4_FP_W_TYPEs are used for IEEE quad precision.
2954 * soft-fp/extendhftf2.c: Likewise.
2955 * soft-fp/extendsftf2.c: Likewise.
2956 * soft-fp/extendxftf2.c: Likewise.
2957 * soft-fp/trunctfdf2.c: Likewise.
2958 * soft-fp/trunctfhf2.c: Likewise.
2959 * soft-fp/trunctfsf2.c: Likewise.
2960 * soft-fp/trunctfxf2.c: Likewise.
2961 * sysdeps/alpha/ots_cvttx.c: Likewise.
2962 * sysdeps/alpha/ots_cvtxt.c: Likewise.
2963 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
2964 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
2965 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
2966 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
2967 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
2968 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
2969 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
2970 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
2971 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
2972 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
2973 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
2974 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
2975 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
2976 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
2977 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
2978 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
2980 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2983 * Makeconfig: Build libm with -fno-math-errno but build the remaining
2984 code with -fmath-errno.
2985 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
2986 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
2987 * string/test-strerror-errno.c: New file.
2989 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2992 * localedata/locales/en_US (date_fmt): Add, set to
2993 "%a %d %b %Y %r %Z".
2995 2019-01-07 Florian Weimer <fweimer@redhat.com>
2998 * manual/arith.texi (Math Error Reporting): Use @code{errno}
2999 instead of @var{errno}.
3000 (Parsing of Integers): Likewise.
3001 (Parsing of Floats): Likewise.
3002 * manual/filesys.texi (Working with Directory Trees): Likewise.
3003 (Temporary Files): Likewise.
3004 * manual/job.texi (Terminal Access Functions): Likewise.
3005 * manual/llio.texi (Synchronizing I/O): Likewise.
3006 * manual/math.texi (SVID Random): Likewise.
3007 * manual/message.texi (The catgets Functions): Likewise.
3008 (Translation with gettext): Likewise.
3009 (Locating gettext catalog): Likewise.
3010 (Charset conversion in gettext): Likewise.
3011 * manual/nss.texi (NSS Module Function Internals): Likewise.
3012 * manual/search.texi (Hash Search Function): Likewise.
3013 * manual/setjmp.texi (System V contexts): Likewise.
3014 * manual/time.texi (Sleeping): Likewise.
3015 * manual/users.texi (Lookup User): Likewise.
3016 (Lookup Group): Likewise.
3018 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3020 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
3023 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
3026 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
3027 __builtin_unreachable for default case in switch.
3028 (__ieee754_yn): Likewise.
3029 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3030 (__ieee754_ynl): Likewise.
3031 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3032 (__ieee754_ynl): Likewise.
3033 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3034 (__ieee754_ynl): Likewise.
3036 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3038 * manual/maint.texi: Use @{ and @}.
3040 2019-01-04 Florian Weimer <fweimer@redhat.com>
3042 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
3044 (do_in_chroot_1): Call it.
3046 Improve error reporting in case it is not possible to create a
3047 collision for the PTY name required by the test.
3049 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3051 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
3052 lll_wait_tid with timeout.
3053 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
3054 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
3055 futex_reltimed_wait_cancelable for cancelabla mode.
3056 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
3057 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
3059 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
3060 * sysdeps/posix/waitid.c (__sigwait): Likewise.
3061 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
3062 SYSCALL_CANCEL_NCS): New macro.
3063 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
3064 (lll_timedwait_tid): Remove macro.
3065 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
3067 (lll_timedwait_tid): Likewise.
3068 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
3070 (lll_timedwait_tid): Likewise.
3071 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
3073 (lll_timedwait_tid): Likewise.
3074 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
3075 Use INTERNAL_SYSCALL_CANCEL.
3076 * sysdeps/unix/sysv/linux/futex-internal.h
3077 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
3078 instead of __pthread_{enable,disable}_asynccancel.
3079 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3080 (lll_futex_wait_cancel): New macro.
3082 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3083 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3085 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3086 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3088 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
3089 in backtrace analysis.
3090 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
3092 (tf_send): Likewise.
3094 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
3095 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
3096 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
3097 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
3098 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3099 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3100 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
3101 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
3102 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
3103 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
3104 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
3105 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
3107 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
3108 tst-cancel-wrappers.sh.
3109 (generated): Remove tst-cancel-wrappers.out.
3110 (tst-cancel-wrappers.out): Remove rule.
3111 * nptl/tst-cancel-wrappers.sh: Remove file.
3113 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
3115 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
3116 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
3119 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3122 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
3123 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
3124 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
3125 close-on-exec reset for adddup2 file action.
3126 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3128 2019-01-03 Zack Weinberg <zackw@panix.com>
3130 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
3131 parameter. Only use deprecated scanf when __USE_GNU is defined
3132 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
3133 than 201103L, whichever is relevant for the language being compiled.
3135 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
3136 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
3137 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
3138 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
3139 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
3143 * libio/iovswscanf.c
3148 * stdio-common/fscanf.c
3149 * stdio-common/scanf.c
3150 * stdio-common/vfscanf.c
3151 * stdio-common/vfwscanf.c
3152 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3153 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
3154 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
3155 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
3156 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
3157 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
3158 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
3159 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
3160 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
3161 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
3162 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
3163 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
3164 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
3165 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
3166 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
3168 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
3169 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
3170 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
3172 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
3173 with a preprocessor macro.
3175 * stdio-common/bug21.c, stdio-common/scanf14.c:
3176 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
3177 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3178 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
3179 to xscanf, xfscanf, xsscanf.
3181 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
3182 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3183 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
3184 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
3186 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
3187 override feature selection macros or provide definitions of u_char etc.
3188 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
3189 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
3190 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
3193 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3195 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3196 bits/termios-misc.h.
3197 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
3198 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3199 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3200 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3201 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
3202 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
3204 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
3205 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3206 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
3207 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
3208 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
3209 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
3211 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
3212 (sysdep_headers): Add termios-misc.h.
3214 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
3215 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3216 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3218 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3220 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
3221 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
3222 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
3223 TCSAFLUSH): Move to termios-tcflow.h.
3224 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3225 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3226 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3227 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3229 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3231 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
3232 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
3233 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
3234 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
3235 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
3236 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
3237 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
3238 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
3240 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3241 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3242 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3243 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3245 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3247 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
3248 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
3249 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
3250 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
3251 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
3253 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3254 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3255 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3256 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3259 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3261 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
3262 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
3263 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
3264 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
3265 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
3266 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
3267 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
3268 __MAX_BAUD): Move to termios-baud.h.
3269 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
3270 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
3271 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3272 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3273 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3275 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3277 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
3278 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
3279 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
3280 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
3281 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
3282 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
3284 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
3285 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
3287 [USE_MISC] (XTABS): Likewise.
3288 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3289 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3290 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3291 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
3293 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3295 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
3296 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
3297 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
3298 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
3299 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
3300 IUTF8): Move to termios-c_iflag.h.
3301 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3302 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3303 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3304 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3306 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3308 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
3309 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
3310 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
3311 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
3312 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
3313 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
3314 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
3315 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
3316 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3317 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3318 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3319 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3321 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
3322 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
3323 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
3324 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
3325 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3327 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
3329 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
3331 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
3333 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
3335 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
3337 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
3338 _HAVE_C_OSPEED): Define.
3339 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
3340 _HAVE_C_OSPEED): Likewise.
3341 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
3342 _HAVE_C_OSPEED): Likewise.
3343 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
3344 (cfsetospeed): Check for define value instead of existence.
3345 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
3346 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
3347 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
3348 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
3349 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
3352 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
3354 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3355 (TIOCSER_TEMT): Likewise.
3356 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
3357 (TEOCSER_TEMT): Likewise.
3359 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
3362 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
3364 2019-01-02 Joseph Myers <joseph@codesourcery.com>
3366 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
3368 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
3370 * sysdeps/htl/pt-barrierattr-setpshared.c
3371 (pthread_barrierattr_setpshared): Add stub warning.
3372 * sysdeps/htl/pt-condattr-setpshared.c
3373 (pthread_condattr_setpshared): Likewise.
3374 * sysdeps/htl/pt-mutexattr-setpshared.c
3375 (pthread_mutexattr_setpshared): Likewise.
3376 * sysdeps/htl/pt-rwlockattr-setpshared.c
3377 (pthread_rwlockattr_setpshared): Likewise.
3378 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
3379 (pthread_mutexattr_setpshared): Likewise.
3381 2019-01-02 Joseph Myers <joseph@codesourcery.com>
3383 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
3384 constants to match with Linux 4.20.
3386 * sysdeps/mips/mips32/libm-test-ulps: Update.
3387 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3389 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
3392 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
3393 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
3394 than __typeof (...) for the a_ptr variable.
3396 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3398 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
3399 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
3400 * libio/Makefile (tests): Add tst-sprintf-ub and
3402 (CFLAGS-tst-sprintf-ub.c): New variable.
3403 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
3404 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
3405 destination buffer and check for overflows in fortified mode.
3406 * libio/libioP.h (PRINTF_CHK): New macro.
3407 * libio/tst-sprintf-chk-ub.c: New file.
3408 * libio/tst-sprintf-ub.c: Likewise.
3410 2019-01-02 Florian Weimer <fweimer@redhat.com>
3413 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
3416 2019-01-02 Florian Weimer <fweimer@redhat.com>
3418 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
3420 2019-01-01 Joseph Myers <joseph@codesourcery.com>
3422 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
3425 * sysdeps/unix/sysv/linux/netpacket/packet.h
3426 (PACKET_IGNORE_OUTGOING): New macro.
3428 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
3431 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3433 (riscv_flush_icache): New syscall.
3435 * manual/texinfo.tex: Update to version 2018-12-28.17 with
3436 trailing whitespace removed.
3437 * scripts/config.guess: Update to version 2019-01-01.
3438 * scripts/config.sub: Update to version 2019-01-01.
3439 * scripts/move-if-change: Update from gnulib.
3441 * NEWS: Update copyright dates.
3442 * catgets/gencat.c (print_version): Likewise.
3443 * csu/version.c (banner): Likewise.
3444 * debug/catchsegv.sh: Likewise.
3445 * debug/pcprofiledump.c (print_version): Likewise.
3446 * debug/xtrace.sh (do_version): Likewise.
3447 * elf/ldconfig.c (print_version): Likewise.
3448 * elf/ldd.bash.in: Likewise.
3449 * elf/pldd.c (print_version): Likewise.
3450 * elf/sotruss.sh: Likewise.
3451 * elf/sprof.c (print_version): Likewise.
3452 * iconv/iconv_prog.c (print_version): Likewise.
3453 * iconv/iconvconfig.c (print_version): Likewise.
3454 * locale/programs/locale.c (print_version): Likewise.
3455 * locale/programs/localedef.c (print_version): Likewise.
3456 * login/programs/pt_chown.c (print_version): Likewise.
3457 * malloc/memusage.sh (do_version): Likewise.
3458 * malloc/memusagestat.c (print_version): Likewise.
3459 * malloc/mtrace.pl: Likewise.
3460 * manual/libc.texinfo: Likewise.
3461 * nptl/version.c (banner): Likewise.
3462 * nscd/nscd.c (print_version): Likewise.
3463 * nss/getent.c (print_version): Likewise.
3464 * nss/makedb.c (print_version): Likewise.
3465 * posix/getconf.c (main): Likewise.
3466 * scripts/test-installation.pl: Likewise.
3467 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3469 * All files with FSF copyright notices: Update copyright dates
3470 using scripts/update-copyrights.
3471 * locale/programs/charmap-kw.h: Regenerated.
3472 * locale/programs/locfile-kw.h: Likewise.
3474 2018-12-31 Joseph Myers <joseph@codesourcery.com>
3476 * timezone/zdump.c: Update from tzcode 2018i.
3477 * timezone/zic.c: Likewise.
3479 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
3481 regex: improve Gnulib port to AIX
3482 From the glibc point of view, this removes duplicate macro
3483 definitions and is obviously safe.
3484 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
3485 * posix/regex_internal.h:
3486 (__attribute__, __attribute_warn_unused_result__):
3487 Remove; already defined elsewhere.
3489 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
3492 * malloc/malloc.c (_int_realloc): Always call memcpy for the
3493 copying operation. (ncopies had the wrong type, resulting in an
3494 integer wraparound and too few elements being copied.)
3496 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
3499 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
3500 <asm/syscalls.h> exists with __has_include__ before including it.
3502 2018-12-31 Joseph Myers <joseph@codesourcery.com>
3504 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3507 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
3509 * hurd/lookup-retry: Include <unistd.h>.
3510 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
3511 Release it on return. Handle "pid" magical lookup retry.
3513 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3516 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
3517 (t_fmt_ampm): Likewise.
3518 * localedata/locales/aa_ER (t_fmt): Likewise.
3519 (t_fmt_ampm): Likewise.
3520 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
3521 (t_fmt_ampm): Likewise.
3522 * localedata/locales/aa_ET (t_fmt): Likewise.
3523 (t_fmt_ampm): Likewise.
3524 * localedata/locales/am_ET (t_fmt): Likewise.
3525 (t_fmt_ampm): Likewise.
3526 * localedata/locales/byn_ER (t_fmt): Likewise.
3527 (t_fmt_ampm): Likewise.
3528 * localedata/locales/om_ET (t_fmt): Likewise.
3529 (t_fmt_ampm): Likewise.
3530 * localedata/locales/sid_ET (t_fmt): Likewise.
3531 (t_fmt_ampm): Likewise.
3532 * localedata/locales/so_DJ (t_fmt): Likewise.
3533 (t_fmt_ampm): Likewise.
3534 * localedata/locales/so_ET (t_fmt): Likewise.
3535 (t_fmt_ampm): Likewise.
3536 * localedata/locales/so_SO (t_fmt): Likewise.
3537 (t_fmt_ampm): Likewise.
3538 * localedata/locales/ti_ER (t_fmt): Likewise.
3539 (t_fmt_ampm): Likewise.
3540 * localedata/locales/ti_ET (t_fmt): Likewise.
3541 (t_fmt_ampm): Likewise.
3542 * localedata/locales/tig_ER (t_fmt): Likewise.
3543 (t_fmt_ampm): Likewise.
3544 * localedata/locales/wal_ET (t_fmt): Likewise.
3545 (t_fmt_ampm): Likewise.
3547 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
3548 * localedata/locales/ar_IN (t_fmt): Likewise.
3549 * localedata/locales/bhb_IN (t_fmt): Likewise.
3550 * localedata/locales/bho_IN (t_fmt): Likewise.
3551 * localedata/locales/bi_VU (t_fmt): Likewise.
3552 * localedata/locales/bn_BD (t_fmt): Likewise.
3553 * localedata/locales/bn_IN (t_fmt): Likewise.
3554 * localedata/locales/brx_IN (t_fmt): Likewise.
3555 * localedata/locales/doi_IN (t_fmt): Likewise.
3556 * localedata/locales/en_HK (t_fmt): Likewise.
3557 (t_fmt_ampm): Likewise.
3558 * localedata/locales/en_IN (t_fmt): Likewise.
3559 * localedata/locales/en_PH (t_fmt): Likewise.
3560 * localedata/locales/gu_IN (t_fmt): Likewise.
3561 * localedata/locales/hi_IN (t_fmt): Likewise.
3562 * localedata/locales/hif_FJ (t_fmt): Likewise.
3563 * localedata/locales/hne_IN (t_fmt): Likewise.
3564 * localedata/locales/kn_IN (t_fmt): Likewise.
3565 * localedata/locales/kok_IN (t_fmt): Likewise.
3566 * localedata/locales/ks_IN (t_fmt): Likewise.
3567 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
3568 * localedata/locales/mag_IN (t_fmt): Likewise.
3569 * localedata/locales/mai_IN (t_fmt): Likewise.
3570 * localedata/locales/mjw_IN (t_fmt): Likewise.
3571 * localedata/locales/ml_IN (t_fmt): Likewise.
3572 * localedata/locales/mni_IN (t_fmt): Likewise.
3573 * localedata/locales/mr_IN (t_fmt): Likewise.
3574 * localedata/locales/ms_MY (t_fmt): Likewise.
3575 * localedata/locales/pa_IN (t_fmt): Likewise.
3576 * localedata/locales/raj_IN (t_fmt): Likewise.
3577 * localedata/locales/sa_IN (t_fmt): Likewise.
3578 * localedata/locales/sat_IN (t_fmt): Likewise.
3579 * localedata/locales/sd_IN (t_fmt): Likewise.
3580 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
3581 * localedata/locales/tcy_IN (t_fmt): Likewise.
3582 * localedata/locales/the_NP (t_fmt): Likewise.
3583 * localedata/locales/to_TO (t_fmt): Likewise.
3584 * localedata/locales/ur_IN (t_fmt): Likewise.
3586 * localedata/locales/hif_FJ (d_t_fmt): Set to
3587 "%A %d %b %Y %I:%M:%S %p".
3588 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
3590 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
3591 * localedata/locales/ar_BH (t_fmt): Likewise.
3592 * localedata/locales/ar_DZ (t_fmt): Likewise.
3593 * localedata/locales/ar_EG (t_fmt): Likewise.
3594 * localedata/locales/ar_IQ (t_fmt): Likewise.
3595 * localedata/locales/ar_JO (t_fmt): Likewise.
3596 * localedata/locales/ar_KW (t_fmt): Likewise.
3597 * localedata/locales/ar_LB (t_fmt): Likewise.
3598 * localedata/locales/ar_LY (t_fmt): Likewise.
3599 * localedata/locales/ar_OM (t_fmt): Likewise.
3600 * localedata/locales/ar_QA (t_fmt): Likewise.
3601 * localedata/locales/ar_SD (t_fmt): Likewise.
3602 * localedata/locales/ar_SS (t_fmt): Likewise.
3603 * localedata/locales/ar_SY (t_fmt): Likewise.
3604 * localedata/locales/ar_TN (t_fmt): Likewise.
3605 * localedata/locales/ar_YE (t_fmt): Likewise.
3607 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
3608 (t_fmt_ampm): Likewise.
3609 * localedata/locales/gez_ET (t_fmt): Likewise.
3610 (t_fmt_ampm): Likewise.
3612 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
3613 (t_fmt_ampm): Likewise.
3614 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
3616 * localedata/locales/zh_HK (t_fmt):
3617 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
3619 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
3620 because this locale does not use the 12-hour clock.
3621 (t_fmt): Set to "%Z %H:%M:%S".
3622 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
3624 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
3625 because this locale does not use the 12-hour clock.
3626 (t_fmt): Set to "%H:%M:%S %Z".
3627 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
3629 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
3630 because this locale does not use the 12-hour clock.
3631 (t_fmt): Set to "%T".
3632 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
3633 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
3635 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
3636 because this locale does not use the 12-hour clock.
3637 (t_fmt): Set to "%H:%M:%S %Z".
3638 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
3640 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
3641 because this locale does not use the 12-hour clock.
3642 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
3643 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
3645 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3649 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
3650 (t_fmt_ampm): Likewise.
3651 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
3652 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
3653 (d_fmt): Set to "%-d.%-m.%y".
3655 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3657 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
3658 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
3659 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
3661 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
3662 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
3663 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
3665 * support/blob_repeat.c (check_mul_overflow_size_t,
3666 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
3668 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
3670 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
3672 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
3674 regex: simplify Gnulib port
3675 This simplifies the code, by removing stuff intended for porting
3676 to Gnulib but no longer needed there.
3677 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
3678 uses of libc_hidden_def, weak_alias.
3679 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
3680 _Restrict_ except for public-facing headers.
3681 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
3682 Remove; already defined elsewhere.
3683 * posix/regex.c, posix/regex_internal.h:
3684 Use __GNUC_PREREQ instead of rolling our own.
3685 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
3687 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
3689 * benchtests/bench-strlen.c (generic_strlen): New function.
3690 (memchr_strlen): New function.
3692 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3694 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
3695 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
3696 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
3698 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3700 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3702 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3704 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
3705 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
3706 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
3707 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
3708 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
3709 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
3710 <sysdeps/ieee754/flt-32/s_sincosf.c>.
3712 2018-12-21 Joseph Myers <joseph@codesourcery.com>
3715 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
3716 PLT reference in libc.so.
3717 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
3718 _Q_lltoq and _Q_qtod PLT references in libc.so.
3720 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
3722 * benchtests/bench-memchr.c: Cleanup defines.
3723 * benchtests/bench-memcmp.c: Likewise.
3724 * benchtests/bench-memset.c: Likewise.
3725 * benchtests/bench-memset-large.c: Likewise.
3726 * benchtests/bench-memset-walk.c: Likewise.
3727 * benchtests/bench-stpcpy.c: Likewise.
3728 * benchtests/bench-stpncpy.c: Likewise.
3729 * benchtests/bench-strcat.c: Likewise.
3730 * benchtests/bench-strchr.c: Likewise.
3731 * benchtests/bench-strcmp.c: Likewise.
3732 * benchtests/bench-strcpy.c: Likewise.
3733 * benchtests/bench-strcspn.c: Likewise.
3734 * benchtests/bench-string.h: Likewise.
3735 * benchtests/bench-strlen.c: Likewise.
3736 * benchtests/bench-strncat.c: Likewise.
3737 * benchtests/bench-strncmp.c: Likewise.
3738 * benchtests/bench-strncpy.c: Likewise.
3739 * benchtests/bench-strnlen.c: Likewise.
3740 * benchtests/bench-strpbrk.c: Likewise.
3741 * benchtests/bench-strrchr.c: Likewise.
3742 * benchtests/bench-strspn.c: Likewise.
3744 2018-12-21 Joseph Myers <joseph@codesourcery.com>
3746 * stdlib/longlong.h: Update from GCC.
3749 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
3750 * configure: Regenerated.
3751 * manual/install.texi (Tools for Compilation): Update minimum GCC
3753 * INSTALL: Regenerated.
3755 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
3757 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
3759 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
3761 * malloc/malloc.c (mremap_chunk): Additional checks.
3763 2018-12-21 Mao Han <han_mao@c-sky.com>
3765 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
3766 * scripts/build-many-glibcs.py: Add C-SKY targets.
3767 * sysdeps/csky/Implies: New file.
3768 * sysdeps/csky/Makefile: Likewise.
3769 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
3770 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
3771 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
3772 * sysdeps/csky/abiv2/memcmp.S: Likewise.
3773 * sysdeps/csky/abiv2/memcpy.S: Likewise.
3774 * sysdeps/csky/abiv2/memmove.S: Likewise.
3775 * sysdeps/csky/abiv2/memset.S: Likewise.
3776 * sysdeps/csky/abiv2/setjmp.S: Likewise.
3777 * sysdeps/csky/abiv2/start.S: Likewise.
3778 * sysdeps/csky/abiv2/strcmp.S: Likewise.
3779 * sysdeps/csky/abiv2/strcpy.S: Likewise.
3780 * sysdeps/csky/abiv2/strlen.S: Likewise.
3781 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
3782 * sysdeps/csky/abort-instr.h: Likewise.
3783 * sysdeps/csky/atomic-machine.h: Likewise.
3784 * sysdeps/csky/bits/endian.h: Likewise.
3785 * sysdeps/csky/bits/fenv.h: Likewise.
3786 * sysdeps/csky/bits/link.h: Likewise.
3787 * sysdeps/csky/bits/setjmp.h: Likewise.
3788 * sysdeps/csky/bsd-_setjmp.S: Likewise.
3789 * sysdeps/csky/bsd-setjmp.S: Likewise.
3790 * sysdeps/csky/configure: Likewise.
3791 * sysdeps/csky/configure.ac: Likewise.
3792 * sysdeps/csky/dl-machine.h: Likewise.
3793 * sysdeps/csky/dl-procinfo.c: Likewise.
3794 * sysdeps/csky/dl-procinfo.h: Likewise.
3795 * sysdeps/csky/dl-sysdep.h: Likewise.
3796 * sysdeps/csky/dl-tls.h: Likewise.
3797 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
3798 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
3799 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
3800 * sysdeps/csky/fpu/fegetenv.c: Likewise.
3801 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
3802 * sysdeps/csky/fpu/fegetmode.c: Likewise.
3803 * sysdeps/csky/fpu/fegetround.c: Likewise.
3804 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
3805 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
3806 * sysdeps/csky/fpu/fenv_private.h: Likewise.
3807 * sysdeps/csky/fpu/fesetenv.c: Likewise.
3808 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
3809 * sysdeps/csky/fpu/fesetmode.c: Likewise.
3810 * sysdeps/csky/fpu/fesetround.c: Likewise.
3811 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
3812 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
3813 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
3814 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
3815 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
3816 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
3817 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
3818 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
3819 * sysdeps/csky/fpu_control.h: Likewise.
3820 * sysdeps/csky/gccframe.h: Likewise.
3821 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
3822 * sysdeps/csky/ldsodefs.h: Likewise.
3823 * sysdeps/csky/libc-tls.c: Likewise.
3824 * sysdeps/csky/linkmap.h: Likewise.
3825 * sysdeps/csky/machine-gmon.h: Likewise.
3826 * sysdeps/csky/memusage.h: Likewise.
3827 * sysdeps/csky/nofpu/Implies: Likewise.
3828 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
3829 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
3830 * sysdeps/csky/nptl/Makefile: Likewise.
3831 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
3832 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
3833 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
3834 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
3835 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
3836 * sysdeps/csky/nptl/tls.h: Likewise.
3837 * sysdeps/csky/preconfigure: Likewise.
3838 * sysdeps/csky/sfp-machine.h: Likewise.
3839 * sysdeps/csky/sotruss-lib.c: Likewise.
3840 * sysdeps/csky/stackinfo.h: Likewise.
3841 * sysdeps/csky/sysdep.h: Likewise.
3842 * sysdeps/csky/tininess.h: Likewise.
3843 * sysdeps/csky/tst-audit.h: Likewise.
3844 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
3845 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
3846 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
3847 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
3848 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
3849 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
3850 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
3851 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
3852 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
3853 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
3854 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
3855 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
3856 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
3857 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
3858 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
3859 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
3860 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
3861 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
3862 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
3863 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
3864 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
3865 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
3866 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
3867 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
3868 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
3869 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
3870 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
3871 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
3872 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
3873 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
3874 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
3875 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
3876 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
3877 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
3878 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
3879 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
3880 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
3881 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
3882 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
3883 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
3884 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
3885 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
3886 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
3887 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
3889 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
3891 * include/time.h (__difftime64): Add.
3892 * time/difftime.c (subtract): convert to 64-bit time.
3893 * time/difftime.c (__difftime64): Add.
3894 * time/difftime.c (__difftime): Wrap around __difftime64.
3896 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3898 * manual/examples/add.c: Remove redundant "if not".
3899 * manual/examples/argp-ex1.c: Likewise.
3900 * manual/examples/argp-ex2.c: Likewise.
3901 * manual/examples/argp-ex3.c: Likewise.
3902 * manual/examples/argp-ex4.c: Likewise.
3903 * manual/examples/atexit.c: Likewise.
3904 * manual/examples/db.c: Likewise.
3905 * manual/examples/dir.c: Likewise.
3906 * manual/examples/dir2.c: Likewise.
3907 * manual/examples/execinfo.c: Likewise.
3908 * manual/examples/filecli.c: Likewise.
3909 * manual/examples/filesrv.c: Likewise.
3910 * manual/examples/fmtmsgexpl.c: Likewise.
3911 * manual/examples/genpass.c: Likewise.
3912 * manual/examples/inetcli.c: Likewise.
3913 * manual/examples/inetsrv.c: Likewise.
3914 * manual/examples/isockad.c: Likewise.
3915 * manual/examples/longopt.c: Likewise.
3916 * manual/examples/memopen.c: Likewise.
3917 * manual/examples/memstrm.c: Likewise.
3918 * manual/examples/mkdirent.c: Likewise.
3919 * manual/examples/mkfsock.c: Likewise.
3920 * manual/examples/mkisock.c: Likewise.
3921 * manual/examples/mygetpass.c: Likewise.
3922 * manual/examples/pipe.c: Likewise.
3923 * manual/examples/popen.c: Likewise.
3924 * manual/examples/rprintf.c: Likewise.
3925 * manual/examples/search.c: Likewise.
3926 * manual/examples/select.c: Likewise.
3927 * manual/examples/setjmp.c: Likewise.
3928 * manual/examples/sigh1.c: Likewise.
3929 * manual/examples/sigusr.c: Likewise.
3930 * manual/examples/stpcpy.c: Likewise.
3931 * manual/examples/strdupa.c: Likewise.
3932 * manual/examples/strftim.c: Likewise.
3933 * manual/examples/subopt.c: Likewise.
3934 * manual/examples/swapcontext.c: Likewise.
3935 * manual/examples/termios.c: Likewise.
3936 * manual/examples/testopt.c: Likewise.
3937 * manual/examples/testpass.c: Likewise.
3938 * manual/examples/timeval_subtract.c: Likewise.
3940 2018-12-19 Joseph Myers <joseph@codesourcery.com>
3942 * sysdeps/x86/fpu/math_private.h: New file.
3943 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
3945 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
3950 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3952 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
3953 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
3954 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
3955 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
3957 (_dl_show_auxv): Give a special treatment to
3958 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
3959 and AT_L3_CACHEGEOMETRY.
3960 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
3961 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
3962 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
3963 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
3965 2018-12-19 Andreas Schwab <schwab@suse.de>
3967 * nscd/connections.c (check_use): Don't abort on invalid len.
3969 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
3971 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
3972 values in the 64bit value cases.
3974 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
3980 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
3986 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
3989 (__gmtime64_r): Add.
3991 (__gmtime64_r): Add.
3992 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3998 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4001 (__localtime64_r): Add.
4003 (__localtime64_r): Add.
4004 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
4006 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4008 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
4009 kernel_sigction definition.
4011 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
4013 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
4015 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
4016 __syscall_rt_sigaction.
4017 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
4018 (kernel_sigaction): Use Linux generic defintion.
4020 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
4021 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
4022 (__syscall_rt_sigaction): Remove implementation.
4023 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
4025 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
4026 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
4027 INTERNAL_SYSCALL): Remove definitions.
4028 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
4029 action and signal set size.
4030 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
4031 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
4033 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4034 James Clarke <jrtc27@jrtc27.com>
4037 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
4038 Define if SA_RESTORER is defined.
4039 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
4040 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
4042 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
4043 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
4045 (HAS_SA_RESTORER): Define.
4046 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
4047 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
4048 (HAS_SA_RESTORER): Define.
4049 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
4050 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
4051 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
4052 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
4053 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4055 2018-12-18 Joseph Myers <joseph@codesourcery.com>
4057 * sysdeps/unix/sysv/linux/kernel-features.h
4058 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
4059 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4060 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
4061 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4062 (__ASSUME_ST_INO_64_BIT): Likewise.
4063 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4064 <kernel-features.h>.
4065 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4066 Remove conditional code.
4067 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4068 <kernel-features.h>.
4069 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4070 Remove conditional code.
4071 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
4072 <kernel-features.h>.
4073 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4074 Remove conditional code.
4075 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
4076 <kernel-features.h>.
4077 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
4078 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
4080 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4082 * sysdeps/s390/multiarch/ifunc-resolve.h
4083 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
4084 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
4085 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
4086 Delete macro definition.
4087 (s390_libc_ifunc_init): Rename to
4088 s390_libc_ifunc_expr_stfle_init.
4089 * sysdeps/s390/bzero: Use
4090 s390_libc_ifunc_expr_stfle_init instead of
4091 s390_libc_ifunc_init.
4092 * sysdeps/s390/memcmp.c: Likewise.
4093 * sysdeps/s390/memcpy.c: Likewise.
4094 * sysdeps/s390/mempcpy.c: Likewise.
4095 * sysdeps/s390/memset.c: Likewise.
4097 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4099 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
4100 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
4102 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4104 * sysdeps/s390/multiarch/Makefile
4105 (sysdep_routines): Remove wmemcmp variants.
4106 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
4107 * sysdeps/s390/multiarch/ifunc-impl-list.c
4108 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
4109 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
4110 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
4111 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
4112 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
4113 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
4114 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
4115 * sysdeps/s390/ifunc-wmemcmp.h: New file.
4117 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4119 * sysdeps/s390/multiarch/Makefile
4120 (sysdep_routines): Remove wmemset variants.
4121 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
4122 * sysdeps/s390/multiarch/ifunc-impl-list.c
4123 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
4124 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
4125 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
4126 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
4127 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
4128 * sysdeps/s390/multiarch/wmemset.c: Move to ...
4129 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
4130 * sysdeps/s390/ifunc-wmemset.h: New file.
4132 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4134 * sysdeps/s390/multiarch/Makefile
4135 (sysdep_routines): Remove wmemchr variants.
4136 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
4137 * sysdeps/s390/multiarch/ifunc-impl-list.c
4138 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
4139 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
4140 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
4141 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
4142 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
4143 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
4144 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
4145 * sysdeps/s390/ifunc-wmemchr.h: New file.
4147 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4149 * sysdeps/s390/multiarch/Makefile
4150 (sysdep_routines): Remove wcscspn variants.
4151 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
4152 * sysdeps/s390/multiarch/ifunc-impl-list.c
4153 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
4154 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
4155 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
4156 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
4157 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
4158 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
4159 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
4160 * sysdeps/s390/ifunc-wcscspn.h: New file.
4162 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4164 * sysdeps/s390/multiarch/Makefile
4165 (sysdep_routines): Remove wcspbrk variants.
4166 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
4167 * sysdeps/s390/multiarch/ifunc-impl-list.c
4168 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
4169 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
4170 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
4171 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
4172 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
4173 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
4174 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
4175 * sysdeps/s390/ifunc-wcspbrk.h: New file.
4177 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4179 * sysdeps/s390/multiarch/Makefile
4180 (sysdep_routines): Remove wcsspn variants.
4181 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
4182 * sysdeps/s390/multiarch/ifunc-impl-list.c
4183 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
4184 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
4185 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
4186 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
4187 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
4188 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
4189 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
4190 * sysdeps/s390/ifunc-wcsspn.h: New file.
4192 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4194 * sysdeps/s390/multiarch/Makefile
4195 (sysdep_routines): Remove wcsrchr variants.
4196 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
4197 * sysdeps/s390/multiarch/ifunc-impl-list.c
4198 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
4199 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
4200 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
4201 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
4202 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
4203 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
4204 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
4205 * sysdeps/s390/ifunc-wcsrchr.h: New file.
4207 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4209 * sysdeps/s390/multiarch/Makefile
4210 (sysdep_routines): Remove wcschrnul variants.
4211 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
4212 * sysdeps/s390/multiarch/ifunc-impl-list.c
4213 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
4214 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
4215 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
4216 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
4217 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
4218 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
4219 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
4220 * sysdeps/s390/ifunc-wcschrnul.h: New file.
4222 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4224 * sysdeps/s390/multiarch/Makefile
4225 (sysdep_routines): Remove wcschr variants.
4226 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
4227 * sysdeps/s390/multiarch/ifunc-impl-list.c
4228 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
4229 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
4230 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
4231 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
4232 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
4233 * sysdeps/s390/multiarch/wcschr.c: Move to ...
4234 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
4235 * sysdeps/s390/ifunc-wcschr.h: New file.
4237 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4239 * sysdeps/s390/multiarch/Makefile
4240 (sysdep_routines): Remove wcsncmp variants.
4241 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
4242 * sysdeps/s390/multiarch/ifunc-impl-list.c
4243 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
4244 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
4245 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
4246 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
4247 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
4248 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
4249 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
4250 * sysdeps/s390/ifunc-wcsncmp.h: New file.
4252 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4254 * sysdeps/s390/multiarch/Makefile
4255 (sysdep_routines): Remove wcscmp variants.
4256 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
4257 * sysdeps/s390/multiarch/ifunc-impl-list.c
4258 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
4259 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
4260 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
4261 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
4262 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
4263 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
4264 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
4265 * sysdeps/s390/ifunc-wcscmp.h: New file.
4267 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4269 * sysdeps/s390/multiarch/Makefile
4270 (sysdep_routines): Remove wcsncat variants.
4271 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
4272 * sysdeps/s390/multiarch/ifunc-impl-list.c
4273 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
4274 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
4275 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
4276 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
4277 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
4278 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
4279 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
4280 * sysdeps/s390/ifunc-wcsncat.h: New file.
4282 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4284 * sysdeps/s390/multiarch/Makefile
4285 (sysdep_routines): Remove wcscat variants.
4286 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
4287 * sysdeps/s390/multiarch/ifunc-impl-list.c
4288 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
4289 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
4290 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
4291 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
4292 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
4293 * sysdeps/s390/multiarch/wcscat.c: Move to ...
4294 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
4295 * sysdeps/s390/ifunc-wcscat.h: New file.
4297 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4299 * sysdeps/s390/multiarch/Makefile
4300 (sysdep_routines): Remove wcpncpy variants.
4301 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
4302 * sysdeps/s390/multiarch/ifunc-impl-list.c
4303 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
4304 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
4305 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
4306 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
4307 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
4308 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
4309 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
4310 * sysdeps/s390/ifunc-wcpncpy.h: New file.
4312 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4314 * sysdeps/s390/multiarch/Makefile
4315 (sysdep_routines): Remove wcsncpy variants.
4316 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
4317 * sysdeps/s390/multiarch/ifunc-impl-list.c
4318 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
4319 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
4320 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
4321 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
4322 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
4323 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
4324 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
4325 * sysdeps/s390/ifunc-wcsncpy.h: New file.
4327 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4329 * sysdeps/s390/multiarch/Makefile
4330 (sysdep_routines): Remove wcpcpy variants.
4331 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
4332 * sysdeps/s390/multiarch/ifunc-impl-list.c
4333 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
4334 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
4335 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
4336 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
4337 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
4338 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
4339 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
4340 * sysdeps/s390/ifunc-wcpcpy.h: New file.
4342 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4344 * sysdeps/s390/multiarch/Makefile
4345 (sysdep_routines): Remove wcscpy variants.
4346 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
4347 * sysdeps/s390/multiarch/ifunc-impl-list.c
4348 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
4349 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
4350 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
4351 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
4352 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
4353 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
4354 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
4355 * sysdeps/s390/ifunc-wcscpy.h: New file.
4357 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4359 * sysdeps/s390/multiarch/Makefile
4360 (sysdep_routines): Remove wcsnlen variants.
4361 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
4362 * sysdeps/s390/multiarch/ifunc-impl-list.c
4363 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
4364 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
4365 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
4366 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
4367 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
4368 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
4369 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
4370 * sysdeps/s390/ifunc-wcsnlen.h: New file.
4372 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4374 * sysdeps/s390/multiarch/Makefile
4375 (sysdep_routines): Remove wcslen variants.
4376 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
4377 * sysdeps/s390/multiarch/ifunc-impl-list.c
4378 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
4379 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
4380 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
4381 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
4382 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
4383 * sysdeps/s390/multiarch/wcslen.c: Move to ...
4384 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
4385 * sysdeps/s390/ifunc-wcslen.h: New file.
4387 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4389 * sysdeps/s390/multiarch/Makefile
4390 (sysdep_routines): Remove memrchr variants.
4391 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
4392 * sysdeps/s390/multiarch/ifunc-impl-list.c
4393 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
4394 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
4395 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
4396 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
4397 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
4398 * sysdeps/s390/multiarch/memrchr.c: Move to ...
4399 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
4400 * sysdeps/s390/ifunc-memrchr.h: New file.
4402 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4404 * sysdeps/s390/multiarch/Makefile
4405 (sysdep_routines): Remove memccpy variants.
4406 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
4407 * sysdeps/s390/multiarch/ifunc-impl-list.c
4408 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
4409 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
4410 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
4411 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
4412 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
4413 * sysdeps/s390/multiarch/memccpy.c: Move to ...
4414 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
4415 * sysdeps/s390/ifunc-memccpy.h: New file.
4417 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4419 * sysdeps/s390/multiarch/Makefile
4420 (sysdep_routines): Remove rawmemchr variants.
4421 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
4422 * sysdeps/s390/multiarch/ifunc-impl-list.c
4423 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
4424 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
4425 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
4426 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
4427 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
4428 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
4429 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
4430 * sysdeps/s390/ifunc-rawmemchr.h: New file.
4432 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4434 * sysdeps/s390/multiarch/Makefile
4435 (sysdep_routines): Remove memchr variants.
4436 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
4437 * sysdeps/s390/multiarch/ifunc-impl-list.c
4438 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
4439 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
4440 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
4441 * sysdeps/s390/multiarch/memchr.c: Move to ...
4442 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
4443 * sysdeps/s390/ifunc-memchr.h: New file.
4444 * sysdeps/s390/s390-64/memchr.S: Move to ...
4445 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
4446 for 31/64bit and ifunc handling.
4447 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
4448 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
4449 * sysdeps/s390/s390-32/memchr.S: Likewise.
4451 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4453 * sysdeps/s390/multiarch/Makefile
4454 (sysdep_routines): Remove strcspn variants.
4455 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
4456 * sysdeps/s390/multiarch/ifunc-impl-list.c
4457 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
4458 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
4459 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
4460 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
4461 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
4462 * sysdeps/s390/multiarch/strcspn.c: Move to ...
4463 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
4464 * sysdeps/s390/ifunc-strcspn.h: New file.
4466 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4468 * sysdeps/s390/multiarch/Makefile
4469 (sysdep_routines): Remove strpbrk variants.
4470 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
4471 * sysdeps/s390/multiarch/ifunc-impl-list.c
4472 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
4473 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
4474 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
4475 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
4476 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
4477 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
4478 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
4479 * sysdeps/s390/ifunc-strpbrk.h: New file.
4481 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4483 * sysdeps/s390/multiarch/Makefile
4484 (sysdep_routines): Remove strspn variants.
4485 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
4486 * sysdeps/s390/multiarch/ifunc-impl-list.c
4487 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
4488 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
4489 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
4490 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
4491 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
4492 * sysdeps/s390/multiarch/strspn.c: Move to ...
4493 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
4494 * sysdeps/s390/ifunc-strspn.h: New file.
4496 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4498 * sysdeps/s390/multiarch/Makefile
4499 (sysdep_routines): Remove strrchr variants.
4500 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
4501 * sysdeps/s390/multiarch/ifunc-impl-list.c
4502 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
4503 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
4504 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
4505 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
4506 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
4507 * sysdeps/s390/multiarch/strrchr.c: Move to ...
4508 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
4509 * sysdeps/s390/ifunc-strrchr.h: New file.
4511 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4513 * sysdeps/s390/multiarch/Makefile
4514 (sysdep_routines): Remove strchrnul variants.
4515 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
4516 * sysdeps/s390/multiarch/ifunc-impl-list.c
4517 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
4518 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
4519 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
4520 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
4521 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
4522 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
4523 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
4524 * sysdeps/s390/ifunc-strchrnul.h: New file.
4526 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4528 * sysdeps/s390/multiarch/Makefile
4529 (sysdep_routines): Remove strchr variants.
4530 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
4531 * sysdeps/s390/multiarch/ifunc-impl-list.c
4532 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
4533 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
4534 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
4535 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
4536 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
4537 * sysdeps/s390/multiarch/strchr.c: Move to ...
4538 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
4539 * sysdeps/s390/ifunc-strchr.h: New file.
4541 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4543 * sysdeps/s390/multiarch/Makefile
4544 (sysdep_routines): Remove strncmp variants.
4545 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
4546 * sysdeps/s390/multiarch/ifunc-impl-list.c
4547 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
4548 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
4549 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
4550 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
4551 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
4552 * sysdeps/s390/multiarch/strncmp.c: Move to ...
4553 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
4554 * sysdeps/s390/ifunc-strncmp.h: New file.
4556 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4558 * sysdeps/s390/multiarch/Makefile
4559 (sysdep_routines): Remove strcmp variants.
4560 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
4561 * sysdeps/s390/multiarch/ifunc-impl-list.c
4562 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
4563 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
4564 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
4565 * sysdeps/s390/multiarch/strcmp.c: Move to ...
4566 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
4567 * sysdeps/s390/ifunc-strcmp.h: New file.
4568 * sysdeps/s390/s390-64/strcmp.S: Move to ...
4569 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
4570 for 31/64bit and ifunc handling.
4571 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
4572 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
4573 * sysdeps/s390/s390-32/strcmp.S: Likewise.
4575 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4577 * sysdeps/s390/multiarch/Makefile
4578 (sysdep_routines): Remove strncat variants.
4579 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
4580 * sysdeps/s390/multiarch/ifunc-impl-list.c
4581 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
4582 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
4583 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
4584 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
4585 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
4586 * sysdeps/s390/multiarch/strncat.c: Move to ...
4587 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
4588 * sysdeps/s390/ifunc-strncat.h: New file.
4590 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4592 * sysdeps/s390/multiarch/Makefile
4593 (sysdep_routines): Remove strcat variants.
4594 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
4595 * sysdeps/s390/multiarch/ifunc-impl-list.c
4596 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
4597 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
4598 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
4599 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
4600 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
4601 * sysdeps/s390/multiarch/strcat.c: Move to ...
4602 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
4603 * sysdeps/s390/ifunc-strcat.h: New file.
4605 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4607 * sysdeps/s390/multiarch/Makefile
4608 (sysdep_routines): Remove stpncpy variants.
4609 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
4610 * sysdeps/s390/multiarch/ifunc-impl-list.c
4611 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
4612 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
4613 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
4614 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
4615 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
4616 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
4617 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
4618 * sysdeps/s390/ifunc-stpncpy.h: New file.
4620 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4622 * sysdeps/s390/multiarch/Makefile
4623 (sysdep_routines): Remove strncpy variants.
4624 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
4625 * sysdeps/s390/multiarch/ifunc-impl-list.c
4626 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
4627 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
4628 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
4629 * sysdeps/s390/multiarch/strncpy.c: Move to ...
4630 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
4631 * sysdeps/s390/ifunc-strncpy.h: New file.
4632 * sysdeps/s390/s390-64/strncpy.S: Move to ...
4633 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
4634 and adjust ifunc handling.
4635 * sysdeps/s390/s390-32/strncpy.S: Move to ...
4636 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
4637 and adjust ifunc handling.
4638 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
4639 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
4641 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4643 * sysdeps/s390/multiarch/Makefile
4644 (sysdep_routines): Remove stpcpy variants.
4645 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
4646 * sysdeps/s390/multiarch/ifunc-impl-list.c
4647 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
4648 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
4649 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
4650 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
4651 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
4652 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
4653 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
4654 * sysdeps/s390/ifunc-stpcpy.h: New file.
4656 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4658 * sysdeps/s390/multiarch/Makefile
4659 (sysdep_routines): Remove strcpy variants.
4660 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
4661 * sysdeps/s390/multiarch/ifunc-impl-list.c
4662 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
4663 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
4664 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
4665 * sysdeps/s390/multiarch/strcpy.c: Move to ...
4666 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
4667 * sysdeps/s390/ifunc-strcpy.h: New file.
4668 * sysdeps/s390/s390-64/strcpy.S: Move to ...
4669 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
4670 for 31/64bit and ifunc handling.
4671 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
4672 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
4673 * sysdeps/s390/s390-32/strcpy.S: Likewise.
4675 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4677 * sysdeps/s390/multiarch/Makefile
4678 (sysdep_routines): Remove strnlen variants.
4679 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
4680 * sysdeps/s390/multiarch/ifunc-impl-list.c
4681 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
4682 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
4683 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
4684 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
4685 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
4686 * sysdeps/s390/multiarch/strnlen.c: Move to ...
4687 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
4688 * sysdeps/s390/ifunc-strnlen.h: New file.
4690 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4692 * sysdeps/s390/multiarch/Makefile
4693 (sysdep_routines): Remove strlen variants.
4694 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
4695 * sysdeps/s390/multiarch/ifunc-impl-list.c
4696 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
4697 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
4698 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
4699 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
4700 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
4701 * sysdeps/s390/multiarch/strlen.c: Move to ...
4702 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
4703 * sysdeps/s390/ifunc-strlen.h: New file.
4705 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4707 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
4708 * sysdeps/s390/multiarch/ifunc-impl-list.c
4709 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
4710 * sysdeps/s390/ifunc-memmem.h: New file.
4711 * sysdeps/s390/memmem.c: Likewise.
4712 * sysdeps/s390/memmem-c.c: Likewise.
4713 * sysdeps/s390/memmem-vx.c: Likewise.
4715 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4717 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
4718 * sysdeps/s390/multiarch/ifunc-impl-list.c
4719 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
4720 * sysdeps/s390/ifunc-strstr.h: New file.
4721 * sysdeps/s390/strstr.c: Likewise.
4722 * sysdeps/s390/strstr-c.c: Likewise.
4723 * sysdeps/s390/strstr-vx.c: Likewise.
4725 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4727 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
4728 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
4729 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
4730 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
4732 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
4733 * sysdeps/s390/memmove-c.c: New file.
4734 * sysdeps/s390/memmove.c: Likewise.
4735 * sysdeps/s390/multiarch/ifunc-impl-list.c
4736 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
4738 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4740 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
4741 * sysdeps/s390/configure.ac: Add check for z13 support.
4742 * sysdeps/s390/configure: Regenerated.
4744 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4746 * sysdeps/s390/memcopy.h: New file.
4748 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4750 * sysdeps/s390/s390-32/bcopy.S: Remove.
4751 * sysdeps/s390/s390-64/bcopy.S: Likewise.
4753 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4755 * sysdeps/s390/ifunc-memcpy.h: New File.
4756 * sysdeps/s390/memcpy.S: Move to ...
4757 * sysdeps/s390/memcpy-z900.S ... here.
4758 Move implementations from memcpy-s390x.s to here.
4759 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
4760 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4761 Remove memcpy/mempcpy variants.
4762 * sysdeps/s390/Makefile (sysdep_routines):
4763 Add memcpy/mempcpy variants.
4764 * sysdeps/s390/multiarch/ifunc-impl-list.c
4765 (__libc_ifunc_impl_list): Adjust ifunc variants for
4767 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
4769 * sysdeps/s390/memcpy.c: ... here.
4770 Adjust ifunc variants for memcpy.
4771 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
4772 * sysdeps/s390/mempcpy.c: ... here.
4773 Adjust ifunc variants for mempcpy.
4774 * sysdeps/s390/mempcpy.S: Delete file.
4776 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4778 * sysdeps/s390/s390-64/memcpy.S: Move to ...
4779 * sysdeps/s390/memcpy.S: ... here.
4780 Adjust to be usable for 31/64bit.
4781 * sysdeps/s390/s390-32/memcpy.S: Delete File.
4782 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
4783 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
4784 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4785 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
4786 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
4787 Adjust to be usable for 31/64bit.
4788 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
4789 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
4790 * sysdeps/s390/multiarch/memcpy.c: ... here.
4791 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
4793 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4795 * sysdeps/s390/ifunc-memcmp.h: New File.
4796 * sysdeps/s390/memcmp.S: Move to ...
4797 * sysdeps/s390/memcmp-z900.S ... here.
4798 Move implementations from memcmp-s390x.s to here.
4799 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
4800 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4801 Remove memcmp variants.
4802 * sysdeps/s390/Makefile (sysdep_routines):
4803 Add memcmp variants.
4804 * sysdeps/s390/multiarch/ifunc-impl-list.c
4805 (__libc_ifunc_impl_list): Adjust ifunc variants for
4807 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
4809 * sysdeps/s390/memcmp.c: ... here.
4810 Adjust ifunc variants for memcmp.
4812 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4814 * sysdeps/s390/s390-64/memcmp.S: Move to ...
4815 * sysdeps/s390/memcmp.S: ... here.
4816 Adjust to be usable for 31/64bit.
4817 * sysdeps/s390/s390-32/memcmp.S: Delete File.
4818 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
4819 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4821 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4822 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
4823 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
4824 Adjust to be usable for 31/64bit.
4825 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
4826 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
4827 * sysdeps/s390/multiarch/memcmp.c: ... here.
4828 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
4830 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4832 * sysdeps/s390/s390-32/bzero.S: Delete file.
4833 * sysdeps/s390/s390-64/bzero.S: Likewise.
4834 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
4835 * sysdeps/s390/bzero.c: New file.
4836 * sysdeps/s390/memset-z900.S: Add bzero entry points.
4837 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
4838 * sysdeps/s390/multiarch/ifunc-impl-list.c
4839 (__libc_ifunc_impl_list): Add bzero ifunc variants.
4841 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4843 * sysdeps/s390/ifunc-memset.h: New File.
4844 * sysdeps/s390/memset.S: Move to ...
4845 * sysdeps/s390/memset-z900.S ... here.
4846 Move implementations from memset-s390x.s to here.
4847 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
4848 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4849 Remove memset variants.
4850 * sysdeps/s390/Makefile (sysdep_routines):
4851 Add memset variants.
4852 * sysdeps/s390/multiarch/ifunc-impl-list.c
4853 (__libc_ifunc_impl_list): Adjust ifunc variants for
4855 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
4857 * sysdeps/s390/memset.c: ... here.
4858 Adjust ifunc variants for memset.
4860 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4862 * sysdeps/s390/s390-64/memset.S: Move to ...
4863 * sysdeps/s390/memset.S: ... here.
4864 Adjust to be usable for 31/64bit.
4865 * sysdeps/s390/s390-32/memset.S: Delete File.
4866 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
4867 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4869 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4870 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
4871 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
4872 Adjust to be usable for 31/64bit.
4873 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
4874 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
4875 * sysdeps/s390/multiarch/memset.c: ... here.
4876 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
4878 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4880 * sysdeps/s390/multiarch/ifunc-resolve.h
4881 (s390_libc_ifunc_init, s390_libc_ifunc,
4882 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
4884 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4886 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
4887 * sysdeps/s390/configure.ac: Add check for z10 support.
4888 * sysdeps/s390/configure: Regenerated.
4890 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
4892 * sysdeps/i386/atomic-machine.h: Merged with ...
4893 * sysdeps/x86_64/atomic-machine.h: To ...
4894 * sysdeps/x86/atomic-machine.h: This. New file.
4896 2018-12-18 Florian Weimer <fweimer@redhat.com>
4898 Rewrite locale/gen-translit.pl in Python.
4899 * locale/Makefile (generated): Add C-translit.h.
4900 (before-compile): Add $(objpfx)C-translit.h.
4901 (C-translit.h): Move to $(objpfx). Create target directory.
4902 Build using Python script.
4903 * locale/gen-translit.py: New file.
4904 * locale/gen-translit.pl: Remove file.
4905 * locale/C-translit.h.in: Change comment character to '#' for
4906 easier parsing without a C preprocessor.
4907 * locale/C-translit.h: Remove generated file.
4908 * manual/install.texi (Tools for Compilation): Do not mention
4910 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
4911 Remove locale/C-translit.h.
4912 * scripts/update-copyrights: Likewise.
4913 * INSTALL: Regenerate.
4915 2018-12-18 Florian Weimer <fweimer@redhat.com>
4918 * localedata/locales/bi_VU: Remove executable bit from file.
4920 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
4923 (__localtime64): Add.
4924 * manual/maint.texi: Document Y2038 symbol handling.
4926 (__localtime64): Add.
4927 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
4929 2018-12-17 Joseph Myers <joseph@codesourcery.com>
4931 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
4934 * scripts/glibcextract.py (compare_macro_consts): Take parameters
4935 to allow extra macros from first or second sources.
4936 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
4937 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4938 (tests-special): Add $(objpfx)tst-mman-consts.out.
4939 ($(objpfx)tst-mman-consts.out): New makefile target.
4941 2018-12-17 Mao Han <han_mao@c-sky.com>
4943 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
4944 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
4945 without stat64 system call support.
4946 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
4947 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
4948 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4949 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
4950 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
4951 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
4952 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
4953 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
4954 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
4955 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
4956 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
4958 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
4960 regex: fix storage-exhaustion error
4962 * posix/regexec.c (get_subexp):
4963 Do not continue if storage is exhausted.
4965 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
4967 regex: fix heap-use-after-free error
4969 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
4970 https://debbugs.gnu.org/32592
4971 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
4972 call extend_buffers which reallocates the re_string_t internal buffer.
4973 Local variable 'buf' was not updated in such case, resulting in
4975 * posix/regexec.c (get_subexp): Update 'buf' after call to
4978 2018-12-15 Florian Weimer <fweimer@redhat.com>
4980 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
4981 (minimum_stride_size): Use it.
4982 (support_blob_repeat_allocate): Likewise.
4984 2018-12-14 Joseph Myers <joseph@codesourcery.com>
4986 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
4991 2018-12-14 Florian Weimer <fweimer@redhat.com>
4993 * manual/process.texi (Process Creation Concepts): Remove
4994 documentation of process (ID) lifetime. List more process
4995 creation functions. Reference Process Identification section.
4996 (Process Identification): Add information about process ID
4997 lifetime. Describe Linux thread/task IDs.
4998 * manual/signal.texi (Signaling Another Process): Mention that the
4999 signal is always sent to the process.
5001 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5003 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
5004 and tst-ldbl-efgcvt.
5005 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
5006 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
5007 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
5008 (fcvt_tests, output_error, output_r_error, do_test): Use the
5009 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
5010 select the type of floating-point variables and arguments; to
5011 produce extra tests for double and conversion specifiers for
5012 printf; and to set the names of called functions.
5013 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
5014 in tst-efgcvt-template.c.
5015 * misc/tst-ldbl-efgcvt.c: Likewise.
5017 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
5019 * nss/Makefile (tst-nss-test3.out): New rule.
5021 2018-12-13 Joseph Myers <joseph@codesourcery.com>
5023 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
5026 2018-12-13 fanjinke <fanjinke@hygon.cn>
5028 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
5031 2018-12-13 Andreas Schwab <schwab@suse.de>
5034 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
5035 (__pthread_rwlock_rdlock_full): Update expected value for
5036 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
5037 * nptl/tst-rwlock-pwn.c: New file.
5038 * nptl/Makefile (tests): Add tst-rwlock-pwn.
5040 2018-12-12 Joseph Myers <joseph@codesourcery.com>
5042 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
5045 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5047 * benchtests/scripts/compare_bench.py (do_compare): write to
5048 stderr in casestat is not present.
5049 * benchtests/scripts/compare_bench.py (plot_graphs): write to
5050 stderr in case timings field is not present. Also string showing
5051 the output filename goes into the stderr.
5053 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5055 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
5056 and ZeroDivisorError exceptions.
5057 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
5058 argument to loop through user provided statistics.
5059 * benchtests/scripts/compare_bench.py (main): Include the --stats
5062 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5064 * benchtests/scripts/compare_bench.py (compare_runs): Continue
5067 2018-12-12 Florian Weimer <fweimer@redhat.com>
5069 * sysdeps/posix/timespec_get.c: Add missing “any later version”
5070 clause to copyright header.
5072 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5075 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
5076 registers saved in the stack frame.
5077 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
5078 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
5080 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5082 * include/bits/monetary-ldbl.h: New file.
5083 * include/bits/printf-ldbl.h: Likewise.
5084 * include/bits/stdio-ldbl.h: Likewise.
5085 * include/bits/stdlib-ldbl.h: Likewise.
5086 * include/bits/syslog-ldbl.h: Likewise.
5087 * include/bits/wchar-ldbl.h: Likewise.
5089 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5091 * libio/libio.h: Remove redirection for _IO_vfprintf.
5093 2018-12-11 Andreas Schwab <schwab@suse.de>
5095 * Makerules: Remove all references to abilist-pattern.
5096 (update-all-abi): Simplify find expression.
5098 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5101 * math/auto-libm-test-in: Add new test case.
5102 * math/auto-libm-test-out-pow: Regenerated.
5103 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
5105 2018-12-10 DJ Delorie <dj@redhat.com>
5108 * support/test-container.c: Move postclean step to before we
5111 2018-12-10 Joseph Myers <joseph@codesourcery.com>
5113 * scripts/gen-as-const.py (main): Handle --python option.
5114 * scripts/gen-py-const.awk: Remove.
5115 * Makerules (py-const-script): Use gen-as-const.py.
5116 ($(py-const)): Likewise.
5117 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
5118 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
5119 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
5120 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
5121 ~PTHREAD_MUTEX_NO_ELISION_NP.
5122 * manual/README.pretty-printers: Update reference to
5125 * scripts/glibcextract.py: New file.
5126 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
5127 or tempfile. Import glibcexctract.
5128 (compute_c_consts): Remove. Moved to glibcextract.py.
5129 (gen_test): Update reference to compute_c_consts.
5131 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
5132 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
5133 * sysdeps/unix/sysv/linux/Makefile
5134 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
5135 Redirect stderr as well as stdout.
5137 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
5140 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
5141 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
5142 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
5143 ALWAYS_USE_VSYSCALL.
5144 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
5145 ALWAYS_USE_VSYSCALL.
5146 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
5147 ALWAYS_USE_VSYSCALL.
5149 2018-12-10 Florian Weimer <fweimer@redhat.com>
5152 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
5153 offset instead of count for clarity. Fix typo in comment.
5154 (__old_getdents64): Keep track of previous offset. Use it to call
5156 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
5157 that d_off is never zero.
5159 2018-12-10 Andreas Schwab <schwab@suse.de>
5161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
5162 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
5163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
5164 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
5165 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
5167 2018-12-10 Joseph Myers <joseph@codesourcery.com>
5169 * timezone/private.h: Update from tzcode 2018g.
5170 * timezone/tzfile.h: Likewise.
5171 * timezone/tzselect.ksh: Likewise.
5172 * timezone/zdump.c: Likewise.
5173 * timezone/zic.c: Likewise.
5175 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5178 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
5179 (do_test): Adjust buffer size and fix format.
5181 2018-12-07 DJ Delorie <dj@redhat.com>
5184 * malloc/tst-tcfree3.c: New.
5185 * malloc/Makefile: Add it.
5187 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5189 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
5191 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5193 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
5194 used as a mask for the mode argument of __vfscanf_internal and
5195 __vfwscanf_internal.
5196 * stdio-common/vfscanf-internal.c
5197 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
5198 (__strtof128_internal): Define to __wcstof128_internal.
5199 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
5200 __strtof128_internal or __wcstof128_internal when the format of
5201 long double is the same as _Float128.
5203 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
5205 * include/unistd.h (__confstr): Add prototype and hidden prototype.
5206 * posix/confstr.c (confstr): Rename to __confstr.
5207 (__confstr): Add hidden def.
5208 (confstr): Add weak alias for __confstr.
5209 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
5212 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5214 * NEWS: Mention getcpu.
5215 * include/sched.h (__getcpu): New libc_hidden_proto.
5216 * manual/resource.texi: Document getcpu.
5217 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
5218 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
5219 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
5220 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5221 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5222 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5223 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5224 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5225 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5226 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5227 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5228 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5229 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
5231 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5232 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5233 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5242 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
5243 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5244 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5245 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5246 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5247 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5248 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5249 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5250 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
5251 * sysdeps/unix/sysv/linux/getcpu.c: New file.
5252 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
5255 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5257 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
5259 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
5261 2018-12-07 Florian Weimer <fweimer@redhat.com>
5264 * posix/Makefile (routines): Add spawn_faction_addfchdir.
5265 * posix/Versions (GLIBC_2.29): Export
5266 posix_spawn_file_actions_addfchdir_np.
5267 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
5268 * posix/spawn_faction_destroy.c
5269 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
5270 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
5271 and the field action.fchdir_action.
5272 * posix/tst-spawn-chdir.c (add_chdir): New function.
5273 (do_test): Add do_fchdir loop. Call add_chdir.
5274 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
5275 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5276 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5277 posix_spawn_file_actions_addfchdir_np.
5278 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5280 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5282 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5283 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5285 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5287 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5289 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5291 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5293 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5295 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5296 (GLIBC_2.29): Likewise.
5297 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5298 (GLIBC_2.29): Likewise.
5299 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5300 (GLIBC_2.29): Likewise.
5301 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5302 (GLIBC_2.29): Likewise.
5303 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5306 (GLIBC_2.29): Likewise.
5307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5308 (GLIBC_2.29): Likewise.
5309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5310 (GLIBC_2.29): Likewise.
5311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5312 (GLIBC_2.29): Likewise.
5313 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5315 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5317 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5319 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5320 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5322 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5324 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5326 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5329 2018-12-06 Joseph Myers <joseph@codesourcery.com>
5331 * manual/texinfo.tex: Update to version 2018-09-21.20 with
5332 trailing whitespace removed.
5333 * scripts/config.guess: Update to version 2018-11-28.
5334 * scripts/config.sub: Update to version 2018-11-28.
5335 * scripts/install-sh: Update to version 2018-03-11.20.
5336 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
5337 * scripts/move-if-change: Update to version 2018-03-07 03:47.
5339 2018-12-07 Florian Weimer <fweimer@redhat.com>
5343 * inet/tst-if_index-long.c: New file.
5344 * inet/Makefile (tests): Add tst-if_index-long.
5346 2018-12-07 Florian Weimer <fweimer@redhat.com>
5348 * support/check.h (support_record_failure_is_failed): Declare.
5349 * support/descriptors.h: New file.
5350 * support/support_descriptors.c: Likewise.
5351 * support/tst-support_descriptors.c: Likewise.
5352 * support/support_record_failure.c
5353 (support_record_failure_is_failed): New function.
5354 * support/Makefile (libsupport-routines): Add support_descriptors.
5355 (tests): Add tst-support_descriptors.
5357 2018-12-05 Zack Weinberg <zackw@panix.com>
5358 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5360 * stdio-common/vfprintf-internal.c
5361 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
5362 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
5363 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
5364 and __no_long_double.
5365 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
5366 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
5367 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
5368 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
5369 and __nldbl_*syslog* functions.
5370 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
5371 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
5372 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
5373 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
5374 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
5375 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
5376 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
5377 (__nldbl_vwprintf, __nldbl_wprintf):
5378 Directly call the appropriate __v*printf_internal routine, passing
5379 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
5381 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
5382 (__nldbl___printf_chk, __nldbl___snprintf_chk)
5383 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
5384 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
5385 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
5386 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
5387 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
5388 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
5389 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
5390 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
5391 Likewise, and also pass PRINTF_FORTIFY when appropriate.
5392 (__nldbl_syslog, __nldbl_vsyslog):
5393 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
5394 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
5396 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
5399 2018-12-05 Zack Weinberg <zackw@panix.com>
5400 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5403 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
5404 Moved here from debug/vsprintf_chk.c.
5405 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
5406 and completion logic for the strfile to match exactly what
5407 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
5408 _IO_str_init_static_internal instead of maxlen-1.
5409 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
5410 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
5411 __vsprintf_internal.
5413 * debug/vsprintf_chk.c (__vsprintf_chk)
5414 * debug/sprintf_chk.c (__sprintf_chk):
5415 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
5416 'flags' argument is positive, and slen as maxlen. No need to lock
5417 the FILE and/or construct a temporary FILE. Minimize and normalize
5418 header inclusions and variable names. Do not libc_hidden_def anything.
5420 * debug/asprintf_chk.c (__asprintf_chk)
5421 * debug/dprintf_chk.c (__dprintf_chk)
5422 * debug/fprintf_chk.c (__fprintf_chk)
5423 * debug/fwprintf_chk.c (__fwprintf_chk)
5424 * debug/printf_chk.c (__printf_chk)
5425 * debug/snprintf_chk.c (__snprintf_chk)
5426 * debug/swprintf_chk.c (__swprintf_chk)
5427 * debug/vasprintf_chk.c (__vasprintf_chk)
5428 * debug/vdprintf_chk.c (__vdprintf_chk)
5429 * debug/vfprintf_chk.c (__vfprintf_chk)
5430 * debug/vfwprintf_chk.c (__vfwprintf_chk)
5431 * debug/vprintf_chk.c (__vprintf_chk)
5432 * debug/vsnprintf_chk.c (__vsnprintf_chk)
5433 * debug/vswprintf_chk.c (__vswprintf_chk)
5434 * debug/vwprintf_chk.c (__vwprintf_chk)
5435 * debug/wprintf_chk.c (__wprintf_chk):
5436 Directly call the corresponding vxxprintf_internal function, passing
5437 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
5438 the FILE and/or construct a temporary FILE. Minimize and normalize
5439 header inclusions and variable names. Do not libc_hidden_def anything.
5441 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
5442 __obstack_vprintf_internal.
5443 (__obstack_vprintf_chk): Convert into a wrapper that calls
5444 __obstack_vprintf_internal (these two functions already had the
5445 same code) and move to new file...
5446 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
5448 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
5449 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
5450 * debug/Makefile (routines): Add vobprintf_chk.
5452 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5453 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
5454 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
5455 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
5456 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
5457 (__nldbl___obstack_vfprintf_chk):
5458 Directly call the corresponding vxxprintf_internal function,
5459 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
5460 duplicate comparison of slen with 0 or maxlen from the corresponding
5461 non-__nldbl function.
5463 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
5464 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
5465 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
5466 Remove libc_hidden_proto.
5468 * stdio-common/vfprintf-internal.c
5469 (__vfprintf_internal, __vfwprintf_internal):
5470 Do not check _IO_FLAGS2_FORTIFY.
5471 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
5472 * libio/libioP.h: Update prototype of __vsprintf_internal and add
5473 a comment explaining why it has the maxlen argument.
5474 (_IO_acquire_lock_clear_flags2_fct): Remove.
5475 (_IO_acquire_lock_clear_flags2): Remove.
5476 (_IO_release_lock): Remove conditional statement which will
5478 (_IO_acquire_lock): Remove variable which is now unused.
5479 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5480 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5482 * stdio-common/Makefile (tests): Add tst-bz11319 and
5483 tst-bz11319-fortify2.
5484 (CFLAGS-tst-bz11319-fortify2.c): New macro.
5485 * stdio-common/tst-bz11319-fortify2.c: New file.
5486 * stdio-common/tst-bz11319.c: Likewise.
5488 2018-12-05 Zack Weinberg <zackw@panix.com>
5489 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5491 * misc/syslog.c: Include libioP.h, not iolibio.h.
5492 (__vsyslog_internal): New function with the former body of
5493 __vsyslog_chk; takes mode_flags argument same as
5494 __v*printf_internal. Call __vfprintf_internal directly.
5496 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
5497 Remove libc_hidden_def.
5498 (__syslog, __syslog_chk): Use __vsyslog_internal.
5499 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
5501 * include/sys/syslog.h: Add multiple inclusion guard.
5502 Add prototype for __vsyslog_internal.
5503 Remove declaration and libc_hidden_proto for __vsyslog_chk.
5505 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
5506 Use __vsyslog_internal.
5508 2018-12-05 Zack Weinberg <zackw@panix.com>
5509 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5511 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
5512 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
5513 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
5515 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
5516 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
5518 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
5519 Include wctype.h here if COMPILE_WPRINTF is defined.
5520 Define __vfprintf_internal or __vfwprintf_internal, depending
5522 Temporarily, on entry to this function, update mode_flags
5523 according to the environmental settings corresponding to
5524 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
5525 Throughout, check mode_flags instead of __ldbl_is_dbl and
5526 _IO_FLAGS2_FORTIFY on the destination FILE.
5527 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
5528 Include vfprintf-internal.c. Don't include wctype.h.
5529 * stdio-common/vfprintf.c: New file. Just define __vfprintf
5530 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
5532 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
5533 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
5535 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
5537 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
5538 and add mode_flags argument; use __vfprintf_internal.
5539 (__vdprintf): New function. Alias vdprintf to this.
5540 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
5541 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
5542 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
5543 (__obstack_printf): Use __obstack_printf_internal.
5544 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
5545 public aliases __vsnprintf and vsnprintf.
5546 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
5548 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
5549 public aliases _IO_vsprintf and vsprintf.
5550 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
5551 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
5552 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
5553 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
5554 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
5556 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
5557 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
5558 * stdio-common/fprintf.c, stdio-common/fxprintf.c
5559 * stdio-common/printf.c: Use __vfprintf_internal.
5561 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
5562 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
5563 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
5565 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
5566 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
5567 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
5568 __vfwprintf_internal.
5570 * libio/libio.h: Remove libc_hidden_proto and declaration for
5572 Remove declaration of _IO_vfwprintf.
5573 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
5575 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
5577 * include/stdio.h: Add prototype for __vasprintf.
5578 (__vsnprintf): Remove declaration, because there are no more
5580 * include/wchar.h (__vfwprintf, __vswprintf): Remove
5581 declaration, because there are no more internal calls.
5583 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
5584 __vsnprintf_internal, instead of _IO_vsnprintf.
5585 * argp/argp-help.c (__argp_error, __argp_failure): Use
5586 __vasprintf_internal, instead of _IO_vasprintf.
5587 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
5588 redefine, because there are no more internal calls.
5590 2018-12-05 Zack Weinberg <zackw@panix.com>
5591 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5593 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
5594 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
5595 Include libio/strfile.h instead of libioP.h.
5596 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
5597 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
5598 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
5599 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
5600 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
5601 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
5602 necessary. Do not set __no_long_double. Normalize variable names.
5603 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
5604 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
5605 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
5606 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
5607 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
5608 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
5609 Call __vfscanf_internal / __vfwscanf_internal directly, passing
5610 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
5611 Do not set __no_long_double. Normalize variable names.
5613 2018-12-05 Zack Weinberg <zackw@panix.com>
5614 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5616 * stdio-common/isoc99_scanf.c
5617 * stdio-common/isoc99_fscanf.c
5618 * stdio-common/isoc99_sscanf.c
5619 * stdio-common/isoc99_vscanf.c
5620 * stdio-common/isoc99_vfscanf.c
5621 * stdio-common/isoc99_vsscanf.c
5622 * wcsmbs/isoc99_wscanf.c
5623 * wcsmbs/isoc99_fwscanf.c
5624 * wcsmbs/isoc99_swscanf.c
5625 * wcsmbs/isoc99_vwscanf.c
5626 * wcsmbs/isoc99_vfwscanf.c
5627 * wcsmbs/isoc99_vswscanf.c:
5628 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
5629 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
5630 No need to lock and unlock the FILE passed to that function.
5632 * stdio-common/vfscanf-internal.c
5633 (__vfscanf_internal, __vfwscanf_internal):
5634 Don't look at _IO_FLAGS2_SCANF_STD.
5635 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
5636 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
5637 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
5639 2018-12-05 Zack Weinberg <zackw@panix.com>
5640 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5642 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
5643 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
5644 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
5645 * libio/strfile.h: Add multiple inclusion guard.
5646 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
5648 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
5649 consistency with the other version of this file.
5650 (ldbl_compat_symbol): New macro.
5651 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
5654 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
5655 Define __vfscanf_internal or __vfwscanf_internal, depending on
5656 COMPILE_WSCANF; don't define any other public symbols.
5657 Remove errval and code to set errp.
5658 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
5659 as the mode_flags argument.
5660 (encode_error, conv_error, input_error): Don't set errval.
5661 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
5662 Include vfscanf-internal.c.
5663 * stdio-common/vfscanf.c: New file defining the public entry
5664 point vfscanf, which calls __vfscanf_internal.
5665 * stdio-common/vfwscanf.c: New file defining the public entry
5666 point vfwscanf, which calls __vfwscanf_internal.
5668 * stdio-common/iovfscanf.c: New file.
5669 * stdio-common/iovfwscanf.c: Likewise.
5671 * stdio-common/Makefile (routines): Add vfscanf-internal,
5672 vfwscanf-internal, iovfscanf, iovfwscanf.
5673 * stdio-common/Versions: Mention GLIBC_2.29, so that
5674 it can be used in SHLIB_COMPAT expressions.
5675 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
5676 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
5677 Call __vfscanf_internal, instead of _IO_vfscanf.
5678 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
5680 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
5683 * libio/iovsscanf.c: Clean up includes, when possible. Use
5684 _IO_strfile_read or _IO_strfile_readw, when needed. Call
5685 __vfscanf_internal or __vfwscanf_internal directly.
5686 * libio/iovswscanf.c: Likewise.
5687 * libio/swscanf.c: Likewise.
5688 * libio/vscanf.c: Likewise.
5689 * libio/vwscanf.c: Likewise.
5690 * libio/wscanf.c: Likewise.
5691 * stdio-common/isoc99_fscanf.c: Likewise.
5692 * stdio-common/isoc99_scanf.c: Likewise.
5693 * stdio-common/isoc99_sscanf.c: Likewise.
5694 * stdio-common/isoc99_vfscanf.c: Likewise.
5695 * stdio-common/isoc99_vscanf.c: Likewise.
5696 * stdio-common/isoc99_vsscanf.c: Likewise.
5697 * stdio-common/scanf.c: Likewise.
5698 * stdio-common/sscanf.c: Likewise.
5699 * wcsmbs/isoc99_fwscanf.c: Likewise.
5700 * wcsmbs/isoc99_swscanf.c: Likewise.
5701 * wcsmbs/isoc99_vfwscanf.c: Likewise.
5702 * wcsmbs/isoc99_vswscanf.c: Likewise.
5703 * wcsmbs/isoc99_vwscanf.c: Likewise.
5704 * wcsmbs/isoc99_wscanf.c: Likewise.
5706 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
5709 (__tz_compute): Replace time_t with __time64_t.
5710 (__tz_convert): Replace time_t* with __time64_t.
5711 (__offtime): Replace time_t* with __time64_t.
5713 (__gmtime_r): Adjust call to __tz_convert.
5716 (__localtime_r): Likewise.
5717 (localtime): Likewise.
5718 * time/offtime.c: Replace time_t with __time64_t.
5719 * time/tzset.c: Likewise.
5721 2018-12-04 Joseph Myers <joseph@codesourcery.com>
5723 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
5724 dynamic linker unless [$(run-built-tests) = yes].
5726 2018-12-03 DJ Delorie <dj@delorie.com>
5728 * support/test-container.c (check_for_unshare_hints): New.
5729 (main): Call it if unshare fails. Add support for "su" scriptlet
5732 2018-12-03 Joseph Myers <joseph@codesourcery.com>
5734 * scripts/gen-as-const.py (compute_c_consts): Take an argument
5735 'START' to indicate that start text should be output.
5736 (gen_test): Likewise.
5737 (main): Generate 'START' for first symbol or '--' line, or at end
5738 of input if not previously generated.
5740 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
5743 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
5744 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
5745 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
5746 ALWAYS_USE_VSYSCALL.
5748 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5751 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
5754 2018-12-03 Carlos O'Donell <carlos@redhat.com>
5757 * locale/programs/localedef.c: Declare boolean hard_links default true.
5758 (options): Add --no-hard-links option.
5759 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
5760 * locale/programs/localedef.h: Declare prototype for hard_links.
5761 * locale/programs/locfile.c (write_locale_data): Don't use hard
5762 links if hard_links is false.
5764 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
5766 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
5768 (__cache_sysconf): Likewise.
5769 (init_cacheinfo): Likewise.
5770 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
5771 populate COMMON_CPUID_INDEX_80000007 and
5772 COMMON_CPUID_INDEX_80000008.
5773 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
5774 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
5775 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
5776 (init_cpu_features): Use _Static_assert on
5777 index_arch_Fast_Unaligned_Load.
5778 __get_cpuid_registers and __get_arch_feature. Updated for
5779 cpu_features_basic. Set stepping in cpu_features.
5780 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
5781 (FEATURE_INDEX_2): New.
5782 (FEATURE_INDEX_MAX): Changed to enum.
5783 (COMMON_CPUID_INDEX_D_ECX_1): New.
5784 (COMMON_CPUID_INDEX_80000007): Likewise.
5785 (COMMON_CPUID_INDEX_80000008): Likewise.
5786 (cpuid_registers): Likewise.
5787 (cpu_features_basic): Likewise.
5788 (CPU_FEATURE_USABLE): Likewise.
5789 (bit_arch_XXX_Usable): Likewise.
5790 (cpu_features): Use cpuid_registers and cpu_features_basic.
5791 (bit_arch_XXX): Reweritten.
5792 (bit_cpu_XXX): Likewise.
5793 (index_cpu_XXX): Likewise.
5794 (reg_XXX): Likewise.
5795 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
5797 (CHECK_CPU_FEATURE): New.
5798 (CHECK_CPU_FEATURE_USABLE): Likewise.
5799 (cpu_kinds): Likewise.
5800 (do_test): Print vendor, family, model and stepping. Check
5801 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
5802 (TEST_FUNCTION): Removed.
5803 Include <support/test-driver.c> instead of
5804 "../../test-skeleton.c".
5805 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
5806 Check POPCNT instead of POPCOUNT.
5807 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
5809 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5811 * scripts/gen-as-const.py (main): Avoid emitting empty line when
5812 there is no element in `consts'.
5814 2018-12-01 Florian Weimer <fweimer@redhat.com>
5816 * support/support_capture_subprocess.c
5817 (support_capture_subprocess): Check that pipe descriptors have
5818 expected values. Close original pipe descriptors in subprocess.
5820 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
5823 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
5824 attr with __pthread_default_barrierattr.
5825 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
5826 attr with __pthread_default_condattr.
5827 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
5828 attr with __pthread_default_mutexattr.
5829 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
5830 attr with __pthread_default_rwlockattr.
5832 2018-12-01 Kemi Wang <kemi.wang@intel.com>
5834 * manual/tunables.texi (POSIX Thread Tunables): New node.
5835 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
5836 * nptl/nptl-init.c: Include pthread_mutex_conf.h
5837 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
5838 __pthread_tunables_init.
5839 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
5840 (max_adaptive_count): Define.
5841 * nptl/pthread_mutex_conf.c: New file.
5842 * nptl/pthread_mutex_conf.h: New file.
5843 * sysdeps/generic/adaptive_spin_count.h: New file.
5844 * sysdeps/nptl/dl-tunables.list: New file.
5845 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
5846 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
5847 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
5850 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
5853 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
5854 * stdlib/on_exit.c (__on_exit): Likewise.
5855 * stdlib/Makefile (tests): Add tst-bz20544.
5856 * stdlib/tst-bz20544.c: New test.
5858 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
5861 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
5862 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
5865 2018-11-30 Florian Weimer <fweimer@redhat.com>
5867 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
5868 Extend error logging.
5869 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
5872 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5874 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
5875 __sigismember instead of sigismember.
5876 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
5877 cancel_handler): New definitions.
5878 (do_system): Use posix_spawn instead of fork and execl and remove
5880 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
5881 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
5882 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
5883 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5884 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5885 * sysdeps/unix/sysv/linux/system.c: Likewise.
5889 * NEWS: Add new semantic for atfork with popen and system.
5890 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
5893 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5896 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
5897 modification order when accessing reloc_result->addr.
5898 * include/link.h (reloc_result): Add field init.
5899 * nptl/Makefile (tests): Add tst-audit-threads.
5900 (modules-names): Add tst-audit-threads-mod1 and
5901 tst-audit-threads-mod2.
5902 Add rules to build tst-audit-threads.
5903 * nptl/tst-audit-threads-mod1.c: New file.
5904 * nptl/tst-audit-threads-mod2.c: Likewise.
5905 * nptl/tst-audit-threads.c: Likewise.
5906 * nptl/tst-audit-threads.h: Likewise.
5908 2018-11-30 Joseph Myers <joseph@codesourcery.com>
5910 * scripts/gen-as-const.py: New file.
5911 * scripts/gen-as-const.awk: Remove.
5912 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
5914 ($(objpfx)test-as-const-%.c): Likewise.
5916 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5918 * elf/dl-exception.c: Include <_itoa.h>.
5920 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
5922 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
5923 returned by __f_setlk.
5925 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5926 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5928 * elf/Makefile (tests-internal): Add tst-create_format1.
5929 * elf/dl-exception.c (_dl_exception_create_format): Support
5931 * elf/tst-create_format1.c: New file.
5933 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
5935 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
5936 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
5938 * argp/argp-help.c (__argp_failure): Likewise.
5940 2018-11-29 Mao Han <han_mao@c-sky.com>
5942 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
5943 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
5944 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
5945 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
5946 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
5947 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
5948 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
5949 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
5950 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
5951 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
5952 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
5953 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
5954 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
5955 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
5956 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
5957 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
5958 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
5959 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
5960 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
5961 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
5962 (R_CKCORE_TLS_TPOFF32): New defines.
5964 2018-11-29 Florian Weimer <fweimer@redhat.com>
5966 * posix/Makefile (before-compile): Remove testcases.h and
5968 (generated): Add testcases.h and ptestcases.h.
5969 (testcases.h, ptestcases.h): Move to $(objpfx).
5970 (runtests.o): Add dependency on testcases.h.
5971 (runptests.o): Add dependency on ptestcases.h.
5972 * posix/testcases.h, posix/ptestcases.h: Remove files.
5973 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
5974 not touch posix/testcases.h and posix/ptestcases.h.
5976 2018-11-28 Florian Weimer <fweimer@redhat.com>
5978 support: Add signal support to support_capture_subprocess_check.
5979 * support/capture_subprocess.h (support_capture_subprocess_check):
5980 Adjust comment and rename parameter.
5981 * support/support_capture_subprocess_check.c
5982 (print_actual_status): New function.
5983 (support_capture_subprocess_check): Support negative
5984 status_or_signal. Call print_actual_status.
5985 * support/tst-support_capture_subprocess.c (do_test): Call
5986 support_capture_subprocess_check.
5987 * libio/tst-vtables-common.c (termination_status)
5988 (init_termination_status): Remove.
5989 (check_for_termination): Adjust support_capture_subprocess_check
5991 (do_test): Remove call to init_termination_status.
5993 2018-11-28 Joseph Myers <joseph@codesourcery.com>
5995 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
5996 source directory instead of a copy.
5997 (CommandList.create_copy_dir): Remove.
5999 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
6001 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6003 2018-11-28 Florian Weimer <fweimer@redhat.com>
6005 * support/support.h (support_quote_string): Do not use str
6008 2018-11-27 Joseph Myers <joseph@codesourcery.com>
6010 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
6011 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
6013 2018-11-27 Florian Weimer <fweimer@redhat.com>
6015 * support/support.h (support_quote_string): Declare.
6016 * support/support_quote_string.c: New file.
6017 * support/tst-support_quote_string.c: Likewise.
6018 * support/Makefile (libsupport-routines): Add
6019 support_quote_string.
6020 (tests): Add tst-support_quote_string.
6022 2018-11-27 Florian Weimer <fweimer@redhat.com>
6026 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
6027 descriptor leak in case of ENODEV error.
6029 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
6032 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
6033 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
6034 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
6036 2018-11-26 Carlos O'Donell <carlos@redhat.com>
6038 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
6039 Error for unknown lines.
6041 2018-11-26 Joseph Myers <joseph@codesourcery.com>
6043 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
6044 Touch additional files.
6046 2018-11-26 Florian Weimer <fweimer@redhat.com>
6049 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
6052 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
6055 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
6056 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
6057 SHARED. Include sysdep.h.
6058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
6059 ALWAYS_USE_VSYSCALL.
6060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
6061 ALWAYS_USE_VSYSCALL.
6063 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
6066 * nptl/Makefile (tests-static): Add tst-cond11-static.
6068 * nptl/tst-cond11-static.c: New File.
6069 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
6070 tst-affinity-static.
6072 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
6074 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
6075 (USE_VSYSCALL): Likewise.
6076 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
6077 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
6079 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
6081 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
6084 2018-11-23 Joseph Myers <joseph@codesourcery.com>
6087 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6088 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
6091 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
6093 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
6094 (tst-cet-legacy-1a-ARGS): New.
6095 ($(objpfx)tst-cet-legacy-1a): New target.
6096 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
6098 2018-11-22 Joseph Myers <joseph@codesourcery.com>
6100 * conform/conformtest.py (CompileSubTest.__init__): Set
6101 self.run_early to False.
6102 (ExecuteSubTest.__init__): Likewise.
6103 (HeaderTests.run): Try running all non-optional, non-XFAILed
6104 compilation tests in a single execution of the compiler.
6106 * conform/conformtest.py (CompileSubTest): New class.
6107 (ExecuteSubTest): Likewise.
6108 (ElementTest.run): Rename to gen_subtests. Append tests to
6109 self.subtests instead of running them.
6110 (ConstantTest.run): Likewise.
6111 (SymbolTest.run): Likewise.
6112 (TypeTest.run): Likewise.
6113 (TagTest.run): Likewise.
6114 (FunctionTest.run): Likewise.
6115 (VariableTest.run): Likewise.
6116 (MacroFunctionTest.run): Likewise.
6117 (MacroStrTest.run): Likewise.
6118 (HeaderTests.handle_test_line): Generate subtests for tests.
6119 (HeaderTests.run): Run subtests for tests.
6121 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6123 * math/Versions (GLIBC_2.29): Add pow.
6124 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
6126 * math/w_pow.c: New file.
6127 * sysdeps/i386/fpu/w_pow.c: New file.
6128 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
6129 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
6130 and add necessary aliases.
6131 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
6132 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
6133 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6134 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6135 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6136 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6137 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6138 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6139 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6140 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6141 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6142 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6143 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6144 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6145 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6150 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6151 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6152 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6153 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6154 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6155 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6156 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6157 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
6159 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
6160 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
6161 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
6163 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6165 * math/Versions (GLIBC_2.29): Add log2.
6166 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
6168 * math/w_log2.c: New file.
6169 * sysdeps/i386/fpu/w_log2.c: New file.
6170 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
6171 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
6172 and add necessary aliases.
6173 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
6174 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
6175 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6176 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6177 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6178 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6179 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6180 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6181 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6182 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6183 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6184 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6185 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6186 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6187 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6192 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6193 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6194 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6195 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6196 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6197 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6198 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6200 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6202 * math/Versions (GLIBC_2.29): Add log.
6203 * math/w_log_compat.c (__log_compat): Change to versioned compat
6205 * math/w_log.c: New file.
6206 * sysdeps/i386/fpu/w_log.c: New file.
6207 * sysdeps/ia64/fpu/e_log.S: Update.
6208 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
6209 and add necessary aliases.
6210 * sysdeps/ieee754/dbl-64/w_log.c: New file.
6211 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
6212 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6213 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6214 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6215 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6216 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6217 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6218 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6219 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6220 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6221 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6222 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6223 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6224 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6229 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6230 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6231 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6232 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6233 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6234 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6235 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6236 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
6238 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
6239 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
6240 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
6241 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
6243 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6245 * math/Versions (GLIBC_2.29): Add exp and exp2.
6246 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
6247 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
6248 * math/w_exp_compat.c (__exp_compat): Likewise.
6249 * math/w_exp.c: New file.
6250 * math/w_exp2.c: New file.
6251 * sysdeps/i386/fpu/w_exp.c: New file.
6252 * sysdeps/i386/fpu/w_exp2.c: New file.
6253 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
6254 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
6255 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
6256 and add necessary aliases.
6257 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
6258 and add necessary aliases.
6259 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
6260 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
6261 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
6262 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
6263 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6264 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6265 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6266 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6267 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6268 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6269 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6270 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6271 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6272 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6273 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6274 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6275 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6280 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6281 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6282 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6283 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6284 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6285 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6286 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6287 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
6288 (__ieee754_exp): Rename to __exp.
6289 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
6290 (__ieee754_exp): Rename to __exp.
6291 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
6292 (__ieee754_exp): Rename to __exp.
6293 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
6295 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
6297 2018-11-20 DJ Delorie <dj@redhat.com>
6299 * malloc/malloc.c (tcache_entry): Add key field.
6300 (tcache_put): Set it.
6301 (tcache_get): Likewise.
6302 (_int_free): Check for double free in tcache.
6303 * malloc/tst-tcfree1.c: New.
6304 * malloc/tst-tcfree2.c: New.
6305 * malloc/Makefile: Run the new tests.
6306 * manual/probes.texi: Document memory_tcache_double_free probe.
6308 * dlfcn/dlerror.c (check_free): Prevent double frees.
6310 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
6312 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
6314 2018-11-20 Joseph Myers <joseph@codesourcery.com>
6316 * conform/conformtest.py (ElementTest.run): Use unique identifiers
6317 in tests. Use names for format arguments.
6318 (ConstantTest.run): Likewise.
6319 (SymbolTest.run): Likewise.
6320 (TypeTest.run): Likewise.
6321 (TagTest.run): Likewise.
6322 (FunctionTest.run): Likewise.
6323 (VariableTest.run): Likewise.
6324 (MacroFunctionTest.run): Likewise.
6325 (MacroStrTest.run): Likewise.
6326 (HeaderTests.__init__): Set self.num_tests.
6327 (HeaderTests.handle_test_line): Set test.num. Increment
6330 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
6332 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
6333 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
6336 2018-11-19 Mao Han <han_mao@c-sky.com>
6338 * scripts/config.guess: Update to version 2018-08-29.
6339 * scripts/config.sub: Update to version 2018-08-29.
6341 2018-11-19 Florian Weimer <fweimer@redhat.com>
6343 support: Print timestamps in timeout handler.
6344 * support/support_test_main.c (print_timestamp): New function.
6345 (signal_handler): Use it to print the termination time and the
6346 time of the last write to standard output.
6348 2018-11-16 Zack Weinberg <zackw@panix.com>
6349 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6351 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
6352 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
6354 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
6355 and add flags argument. Check flags instead of __ldbl_is_dbl when
6356 deciding whether to set is_long_double.
6357 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
6358 passing zero for flags argument.
6359 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
6361 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6362 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
6363 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
6364 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
6365 variable names. Remove libc_hidden_def/libc_hidden_proto from
6366 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
6367 longer called from within the library.
6368 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
6369 for __nldbl___vstrfmon_l, declare it explicitly.
6371 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
6373 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
6375 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
6377 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
6378 F_SETLK64, F_SETLKW64, respectively.
6379 * sysdeps/mach/hurd/f_setlk.c: New file.
6380 * sysdeps/mach/hurd/f_setlk.h: New file.
6381 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
6383 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
6384 (__libc_fcntl): Move non-flock operations to...
6385 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
6386 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
6388 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
6390 mktime: DEBUG_MKTIME cleanup
6391 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
6392 And it’s no longer needed now that glibc and Gnulib both have
6393 their own testing mechanisms for mktime.
6394 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
6396 mktime: fix non-EOVERFLOW errno handling
6398 mktime was not properly reporting failures when the underlying
6399 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
6400 them like EOVERFLOW failures, and set errno to EOVERFLOW.
6401 The problem could happen on non-glibc platforms, with Gnulib.
6402 * time/mktime.c (guess_time_tm): Remove, replacing with ...
6403 (tm_diff): ... this simpler function, which does not change errno.
6404 All callers changed to deal with errno themselves.
6405 (ranged_convert, __mktime_internal): Return failure immediately if
6406 the underlying function reports any failure other than EOVERFLOW.
6407 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
6410 mktime: fix bug with Y2038 DST transition
6412 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
6413 mishandle a DST transition that jumps over the Y2038 boundary.
6414 No such DST transitions are known so this is only a theoretical
6415 bug, but we might as well do things right.
6417 mktime: make more room for overflow
6419 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
6420 This is so that we can add tm_diff results to a previous guess,
6421 which will be useful in a later patch.
6423 mktime: simplify offset guess
6425 * time/mktime.c (__mktime_internal): Omit excess precision.
6427 mktime: new test for mktime failure
6429 Based on a test suggested by Albert Aribaud in:
6430 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
6431 * time/Makefile (tests): Add bug-mktime4.
6432 * time/bug-mktime4.c: New file.
6434 mktime: fix EOVERFLOW bug
6436 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
6437 Include libc-config.h, not config.h, for __set_errno.
6438 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
6440 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
6442 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
6443 __attribute_copy__ to copy attributes from name. Drop static qualifier
6444 to avoid warnings about leaf attribute not having effect on static
6447 2018-11-13 Florian Weimer <fweimer@redhat.com>
6449 * malloc/malloc.c (fastbin_push_entry): New function.
6450 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
6451 (REMOVE_FB): Remove macro.
6452 (_int_malloc): Use fastbin_pop_entry and reindent.
6453 (_int_free): Use fastbin_push_entry.
6454 (malloc_consolidate): Use atomic_exchange_acquire.
6456 2018-11-13 Joseph Myers <joseph@codesourcery.com>
6458 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
6459 alias attribute, not with strong_alias.
6461 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
6462 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
6463 with additional parameter thread.
6464 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
6465 in terms of __hidden_ver2.
6466 (hidden_tls_def): New macro.
6467 (libc_hidden_tls_def): Likewise.
6468 (rtld_hidden_tls_def): Likewise.
6469 (libm_hidden_tls_def): Likewise.
6470 (libmvec_hidden_tls_def): Likewise.
6471 (libresolv_hidden_tls_def): Likewise.
6472 (librt_hidden_tls_def): Likewise.
6473 (libdl_hidden_tls_def): Likewise.
6474 (libnss_files_hidden_tls_def): Likewise.
6475 (libnsl_hidden_tls_def): Likewise.
6476 (libnss_nisplus_hidden_tls_def): Likewise.
6477 (libutil_hidden_tls_def): Likewise.
6478 (libutil_hidden_tls_def): Likweise.
6479 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
6480 libc_hidden_tls_def.
6481 (__sim_disabled_exceptions_thread): Likewise.
6482 (__sim_round_mode_thread): Likewise.
6484 * sysdeps/sparc/sparc-ifunc.h [SHARED]
6485 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
6486 copy attributes from name.
6488 2018-11-12 Joseph Myers <joseph@codesourcery.com>
6490 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
6491 Use __attribute_copy__ to copy attributes from name.
6493 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
6494 with __hidden_ver1 call.
6495 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
6496 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
6497 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
6498 (__cosf): Do not declare here.
6499 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
6500 (__sincosf): Do not declare here.
6501 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
6502 (__sinf): Do not declare here.
6504 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
6505 (__BIG_ENDIAN): Likewise.
6506 (__BYTE_ORDER): Likewise.
6507 (strong_alias): Likewise.
6508 (_strong_alias): Likewise.
6510 2018-11-12 Florian Weimer <fweimer@redhat.com>
6512 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
6513 function. Move after the definition of in_smallbin_range. Do not
6514 use __builtin_expect for paths that lead to a noreturn function.
6515 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
6516 because it is unclear whether this is in fact an unlikely
6518 (_int_malloc, _int_free): Adjust.
6519 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
6521 * malloc/arena.c (heap_trim): Likewise.
6523 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6525 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
6526 it, free it if needed.
6527 (reauthenticate): Test and use ccwdir.
6528 (child_init_port): In non-resetids case, test and use ccwdir.
6529 (child_chdir): New nested function to set ccwdir.
6530 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
6531 * hurd/hurd/port.h (_hurd_port_move): New function.
6532 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
6533 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
6534 * hurd/Versions (_hurd_port_move): Export function.
6535 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
6537 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
6538 of dtablesize for allocating dtable_cloexec.
6540 2018-11-09 Martin Sebor <msebor@redhat.com>
6542 * include/libc-symbols.h (__attribute_copy__): Define macro unless
6543 it's already defined.
6544 (_strong_alias): Use __attribute_copy__.
6545 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
6546 * misc/sys/cdefs.h (__attribute_copy__): New macro.
6547 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
6548 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
6549 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
6550 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
6551 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
6552 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
6553 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
6554 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
6555 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
6556 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
6557 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
6558 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
6559 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
6560 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
6561 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
6562 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
6563 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
6565 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6567 * misc/tst-efgcvt.c: Include support/check.h and
6568 support/test-driver.c. Do not include test-skeleton.c.
6569 (error_count): Remove.
6570 (output_error): Replace increments to error_count with calls to
6571 support_record_failure.
6572 (output_r_error): Likewise.
6573 (special): Likewise.
6574 (do_test): Unconditionally return zero.
6575 (TEST_FUNCTION): Remove.
6577 2018-11-09 Joseph Myers <joseph@codesourcery.com>
6579 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
6581 ($(linknamespace-header-tests)): Likewise.
6583 * conform/conformtest.py: New file.
6584 * conform/conformtest.pl: Remove.
6585 * conform/GlibcConform.pm: Likewise.
6586 * conform/glibcconform.py (KEYWORDS_C90): New constant.
6587 (KEYWORDS_C99): Likewise.
6588 (KEYWORDS): Likewise.
6589 * conform/Makefile ($(conformtest-header-tests)): Use
6590 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
6591 option. Use --header instead of --headers.
6592 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
6594 * conform/data/spawn.h-data: Likewise.
6595 * conform/data/fcntl.h-data (openat): Add space after function
6597 * conform/data/wchar.h-data (wcscasecmp): Likewise.
6598 (wcscasecmp_l): Likewise.
6599 * conform/data/termios.h-data (c_cc): Add space after element
6602 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6604 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
6605 instead of manually comparing and reporting mismatching strings.
6606 * misc/tst-ldbl-error.c (do_one_test): Likewise.
6607 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
6609 2018-11-08 Joseph Myers <joseph@codesourcery.com>
6611 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
6612 __ASSUME_SOCKETCALL.
6613 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6614 (__ASSUME_SOCKETCALL): Remove.
6615 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6616 (__ASSUME_SOCKETCALL): Likewise.
6617 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6618 (__ASSUME_SOCKETCALL): Likewise.
6619 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6620 (__ASSUME_SOCKETCALL): Likewise.
6621 * sysdeps/unix/sysv/linux/s390/kernel-features.h
6622 (__ASSUME_SOCKETCALL): Likewise.
6623 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6624 (__ASSUME_SOCKETCALL): Likewise.
6625 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6626 (__ASSUME_SOCKETCALL): Likewise.
6628 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
6631 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
6632 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
6633 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
6634 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
6635 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
6638 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
6641 * resolv/tst-resolv-network.c: Add test for getnetbyname.
6643 2018-11-07 Joseph Myers <joseph@codesourcery.com>
6646 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6647 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
6648 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6649 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
6651 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6653 * support/support_test_compare_string.c
6654 (support_test_compare_string): Fix printf format.
6656 2018-11-07 Florian Weimer <fweimer@redhat.com>
6658 Implement TEST_COMPARE_STRING.
6659 * support/check.h (TEST_COMPARE_STRING): Define.
6660 (support_test_compare_string): Declare.
6661 * support/Makefile (libsupport-routines): Add
6662 support_test_compare_string.
6663 (tests): Add tst-test_compare_string.
6664 * support/support_test_compare_string.c: New file.
6665 * support/tst-test_compare_string.c: Likewise.
6667 2018-11-07 Andreas Schwab <schwab@suse.de>
6670 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
6671 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
6674 2018-11-06 Joseph Myers <joseph@codesourcery.com>
6677 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6678 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
6679 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
6680 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
6683 2018-11-06 Florian Weimer <fweimer@redhat.com>
6686 * posix/Makefile (routines): Add spawn_faction_addchdir.
6687 (tests): Add tst-spawn-chdir.
6688 * posix/Versions (GLIBC_2.29): Add
6689 posix_spawn_file_actions_addchdir_np.
6690 * posix/spawn_faction_addchdir.c: New file.
6691 * posix/spawn_faction_destroy.c
6692 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
6693 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
6694 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
6696 * posix/tst-spawn-chdir.c: New file.
6697 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
6698 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6699 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6700 posix_spawn_file_actions_addchdir_np.
6701 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6703 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6705 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6706 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6708 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6710 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6712 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6714 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6716 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6718 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6719 (GLIBC_2.29): Likewise.
6720 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6721 (GLIBC_2.29): Likewise.
6722 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6723 (GLIBC_2.29): Likewise.
6724 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6725 (GLIBC_2.29): Likewise.
6726 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6729 (GLIBC_2.29): Likewise.
6730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6731 (GLIBC_2.29): Likewise.
6732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6733 (GLIBC_2.29): Likewise.
6734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6735 (GLIBC_2.29): Likewise.
6736 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6738 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6740 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6742 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6743 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6745 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6747 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6749 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6752 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6754 * misc/Makefile (tests): Add tst-ldbl-error.
6755 * misc/tst-ldbl-error.c: New file.
6757 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6759 * misc/Makefile (tests): Add tst-ldbl-warn.
6760 * misc/tst-ldbl-warn.c: New file.
6762 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6764 * argp/Makefile (tests): Add tst-ldbl-argp.
6765 * argp/tst-ldbl-argp.c: New file.
6767 2018-11-05 Arjun Shankar <arjun@redhat.com>
6769 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
6770 __gconv_path_elem and call __gconv_get_path unconditionally.
6772 2018-11-05 Andreas Schwab <schwab@suse.de>
6775 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
6776 creating the first helper thread failed.
6778 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6780 * sysdeps/mach/hurd/msync.c: New file.
6782 2018-11-02 Florian Weimer <fweimer@redhat.com>
6784 * support/shell-container.c (copy_func): Call
6785 support_copy_file_range instead of copy_file_range to support
6786 cross-device copies.
6788 2018-11-02 Florian Weimer <fweimer@redhat.com>
6790 * support/test-container.c: Include <libc-pointer-arith.h> for
6793 2018-11-01 Zong Li <zong@andestech.com>
6795 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
6796 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
6797 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
6798 (__FP_FRAC_SET_8): Add implementation for RV32 use.
6800 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
6801 variable to avoid overlap arguments.
6803 2018-11-01 Joseph Myers <joseph@codesourcery.com>
6805 * posix/bug-regex22.c (main): Use puts with distinct error
6806 messages for unexpected success of re_compile_pattern, not printf
6807 with NULL argument to %s.
6809 * stdio-common/bug22.c: Include <libc-diag.h>.
6810 (do_test): Disable -Wformat-overflow= warnings around fprintf
6811 calls outputting more than INT_MAX characters.
6812 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
6813 around printf call with NULL %s argument.
6816 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
6817 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
6819 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6820 (__ASSUME_RECVMSG_SYSCALL): Likewise.
6821 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6822 (__ASSUME_SENDTO_SYSCALL): Likewise.
6823 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6824 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
6826 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6827 (__ASSUME_CONNECT_SYSCALL): Likewise.
6828 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6829 (__ASSUME_RECVFROM_SYSCALL): Likewise.
6830 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
6832 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
6834 [__LINUX_KERNEL_VERSION >= 0x040400]
6835 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6836 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
6839 (setsockopt): Likewise.
6841 2018-11-01 Fredrik Noring <noring@nocrew.org>
6843 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
6844 with the ISA override.
6846 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
6848 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
6851 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
6853 * manual/errno.texi (EIEIO): Document how translators should
6854 translate the error message.
6855 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
6856 printing trailing whitespaces refused by git.
6857 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
6858 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6859 * hurd/Makefile (user-interfaces): Add pci.
6861 2018-10-30 Joseph Myers <joseph@codesourcery.com>
6863 * conform/linknamespace.py: New file.
6864 * conform/linknamespace.pl: Remove file.
6865 * conform/Makefile ($(linknamespace-header-tests)): Use
6866 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
6869 2018-10-30 Florian Weimer <fweimer@redhat.com>
6871 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
6874 2018-10-30 Florian Weimer <fweimer@redhat.com>
6876 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
6878 2018-10-30 Florian Weimer <fweimer@redhat.com>
6880 * stdlib/tst-strtod-overflow.c (do_test): Switch to
6881 support_blob_repeat.
6883 2018-10-30 Florian Weimer <fweimer@redhat.com>
6885 Avoid spurious test failures in stdlib/test-bz22786.
6886 * support/Makefile (libsupport-routines): Add blob_repeat.
6887 (tests): Add tst-support_blob_repeat.
6888 * support/blob_repeat.h: New file.
6889 * support/blob_repeat.c: Likewise.
6890 * support/tst-support_blob_repeat.c: Likewise.
6891 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
6892 support_blob_repeat_allocate.
6894 2018-10-30 Andreas Schwab <schwab@suse.de>
6897 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
6898 Don't use tail call.
6899 * elf/tst-unwind-main.c: New file.
6900 * elf/Makefile (tests): Add tst-unwind-main.
6901 (CFLAGS-tst-unwind-main.c): Define.
6903 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
6906 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
6908 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
6910 2018-10-29 Joseph Myers <joseph@codesourcery.com>
6912 * conform/glibcconform.py: Do not import shutil.
6913 (list_exported_functions): Use tempfile.TemporaryDirectory instead
6916 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
6917 critic_missing for versions before 3.4.
6918 * configure: Regenerated.
6919 * manual/install.texi (Tools for Compilation): Document
6920 requirement for Python to build glibc.
6921 * INSTALL: Regenerated.
6922 * Rules [PYTHON]: Make code unconditional.
6923 * benchtests/Makefile [PYTHON]: Likewise.
6924 * conform/Makefile [PYTHON]: Likewise.
6925 * manual/Makefile [PYTHON]: Likewise.
6926 * math/Makefile [PYTHON]: Likewise.
6928 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6930 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
6931 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
6932 answer to interrupt_operation, return EIEIO instead of EINTR.
6933 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
6934 _hurd_intr_rpc_msg_about_to global point to start of controlled
6935 assembly snippet. Make it check canceled flag.
6936 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
6937 the _hurd_intr_rpc_msg_about_to point.
6938 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
6939 issue, remove cancel flag check.
6941 2018-10-26 Joseph Myers <joseph@codesourcery.com>
6943 * scripts/build-many-glibcs.py: Remove compatibility for missing
6944 os.cpu_count and re.fullmatch.
6946 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
6949 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
6950 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
6951 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
6953 2018-10-25 Joseph Myers <joseph@codesourcery.com>
6955 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
6958 2018-10-25 Florian Weimer <fweimer@redhat.com>
6962 XFAIL siginfo_t si_band conform test on sparc64.
6963 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
6964 (__SI_BAND_TYPE): Only override long int default type on sparc64.
6965 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6966 (conformtest-xfail-conds): Add sparc64-linux.
6967 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
6969 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
6971 2018-10-25 Joseph Myers <joseph@codesourcery.com>
6973 * elf/elf.h (NT_MIPS_DSP): New macro.
6974 (NT_MIPS_FP_MODE): Likewise.
6976 2018-10-25 Zong Li <zong@andestech.com>
6978 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
6979 name by adding the file extension (.so).
6981 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
6983 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
6984 (test-xfail-ISO11/threads.h/linknamespace,
6985 test-xfail-ISO11/threads.h/conform): Add.
6987 2018-10-24 Joseph Myers <joseph@codesourcery.com>
6989 * math/gen-libm-test.py: Import os.
6990 (ALL_FLOATS_MANUAL): New constant.
6991 (ALL_FLOATS_SUFFIX): Likewise.
6992 (Ulps.all_functions): New function.
6993 (real_all_ulps): Likewise.
6994 (generate_err_table_sub): Likewise.
6995 (generate_err_table): Likewise.
6996 (main): Handle -s and -m options.
6997 * manual/libm-err-tab.pl: Remove.
6998 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
6999 instead of libm-err-tab.pl.
7000 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
7002 * manual/install.texi (Tools for Compilation): Document
7003 requirement for Python to build manual.
7004 * INSTALL: Regenerated.
7006 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
7008 * bits/time64.h: New file.
7009 * include/time.h: Replace internal_time_t with __time64_t.
7010 * posix/bits/types (__time64_t): Add.
7011 * stdlib/Makefile: Add bits/time64.h to includes.
7012 * time/tzfile.c: Replace internal_time_t with __time64_t.
7014 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7016 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
7017 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
7018 __posix_spawn_file_actions_init, __posix_spawnattr_init,
7019 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
7020 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
7022 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
7023 * posix/spawn_faction_addclose.c
7024 (__posix_spawn_file_actions_addclose): Add hidden definition.
7025 * posix/spawn_faction_adddup2.c
7026 (__posix_spawn_file_actions_adddup2): Likewise.
7027 * posix/spawn_faction_destroy.c
7028 (__posix_spawn_file_actions_destroy): Likewise.
7029 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
7031 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
7032 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
7033 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
7035 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
7036 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
7039 2018-10-24 Andreas Schwab <schwab@suse.de>
7042 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
7044 * elf/cache.c (print_cache): Likewise.
7046 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
7048 * bits/timesize.h: New file.
7049 * stdlib/Makefile (headers): Add bits/timesize.h.
7050 * sysdeps/unix/sysv/linux/bits/msq-pad.h
7051 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
7052 * sysdeps/unix/sysv/linux/bits/sem-pad.h
7053 (__SEM_PAD_AFTER_TIME): Likewise.
7054 * sysdeps/unix/sysv/linux/bits/shm-pad.h
7055 (__SHM_PAD_AFTER_TIME): Likewise.
7056 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
7057 (__MSQ_PAD_BEFORE_TIME): Likewise.
7058 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
7059 (__SEM_PAD_BEFORE_TIME): Likewise.
7060 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
7061 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7062 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
7063 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
7064 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
7065 (__MSQ_PAD_BEFORE_TIME): Likewise.
7066 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
7067 (__SEM_PAD_BEFORE_TIME): Likewise.
7068 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
7069 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7070 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
7071 (__MSQ_PAD_BEFORE_TIME): Likewise.
7072 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
7073 (__SEM_PAD_BEFORE_TIME): Likewise.
7074 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
7075 (__SHM_PAD_BEFORE_TIME): Likewise.
7076 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
7077 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7078 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
7080 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
7082 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
7083 USE_RDTSCP is defined.
7084 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
7085 USE_RDTSCP is defined.
7087 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7089 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
7093 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
7094 independently of other flags.
7096 2018-10-23 Florian Weimer <fweimer@redhat.com>
7098 * time/tst-mktime2.c (N_STRINGS): Remove.
7099 (set_timezone): New function.
7100 (spring_forward_gap): Call it. Use FAIL_EXIT1.
7101 (mktime_test1): Report localtime failure and check errno value.
7103 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
7104 (do_test): Remove alarm call. Use set_timezone and array_length.
7106 2018-10-23 Andreas Schwab <schwab@suse.de>
7108 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
7109 (__start_context): Use END instead of PSEUDO_END.
7111 2018-10-22 Joseph Myers <joseph@codesourcery.com>
7113 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7116 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7120 * wcsmbs/c32rtomb.c: New file.
7121 * wcsmbs/mbrtoc32.c: Likewise.
7122 * wcsmbs/tst-c32-state.c: Likewise.
7123 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
7124 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
7125 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
7126 (tests): Add tst-c32-state.
7127 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
7130 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
7132 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
7133 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
7135 2018-10-19 Joseph Myers <joseph@codesourcery.com>
7138 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
7139 pair and return 0 in that case, and use saved character to
7140 interpret following character.
7141 * wcsmbs/tst-c16-surrogate.c: New file.
7142 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
7143 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
7144 Depend on $(gen-locales)
7146 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
7149 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
7150 (struct siginfo_t): Use correct type for si_band.
7152 2018-10-19 Florian Weimer <fweimer@redhat.com>
7155 * resource/bits/types/struct_rusage.h (struct rusage): Update
7156 comment on struct. Remove extraneous field comment.
7158 2018-10-18 David S. Miller <davem@davemloft.net>
7160 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
7161 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
7162 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
7163 sysdep_routines in subdir elf.
7164 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
7165 version for __vdso_clock_gettime.
7166 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
7168 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
7169 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7171 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
7173 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
7175 * sysdeps/i386/init-arch.h: Removed.
7176 * sysdeps/i386/i586/init-arch.h: Likewise.
7177 * sysdeps/i386/i686/init-arch.h: Likewise.
7178 * sysdeps/i386/i686/hp-timing.h: Likewise.
7179 * sysdeps/x86_64/hp-timing.h: Likewise.
7180 * sysdeps/i386/isa.h: New file.
7181 * sysdeps/i386/i586/isa.h: Likewise.
7182 * sysdeps/i386/i686/isa.h: Likewise.
7183 * sysdeps/x86_64/isa.h: Likewise.
7184 * sysdeps/x86/hp-timing.h: New file.
7185 * sysdeps/x86/init-arch.h: Include <isa.h>.
7187 2018-10-17 Joseph Myers <joseph@codesourcery.com>
7189 * math/libm-test-pow.inc (pow_test_data): Do not allow
7190 divide-by-zero exception for pow(+/- 0, -Inf).
7192 2018-10-17 Zack Weinberg <zackw@panix.com>
7194 * manual/job.texi (Job Control is Optional): Remove node, as
7195 job control has not been optional in quite some time.
7196 (Job Control): Mention briefly that systems older than
7197 POSIX.1-2001 might not support job control.
7198 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
7199 defined on systems conforming to POSIX.1-2001.
7201 2018-10-17 Arjun Shankar <arjun@redhat.com>
7204 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
7206 * (__gconv_read_conf): Mark function static.
7207 * (once): New static variable.
7208 * (__gconv_load_conf): New function.
7209 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
7210 * iconv/gconv_db.c (once): Remove static variable.
7211 * (__gconv_compare_alias): Use __gconv_load_conf instead of
7213 * (__gconv_find_transform): Likewise.
7214 * iconv/tst-iconv-mt.c: New test.
7215 * iconv/Makefile: Add tst-iconv_mt.
7217 2018-10-17 Joseph Myers <joseph@codesourcery.com>
7219 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7221 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
7222 (shmatt_t): Define as __syscall_ulong_t.
7223 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
7224 and [__SHM_PAD_AFTER_TIME].
7225 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
7226 Define shm_segsz and associated padding based on
7227 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
7228 Use __syscall_ulong_t instead of unsigned long int.
7229 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
7231 [__USE_MISC] (struct shm_info): Likewise.
7232 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
7233 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
7234 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
7235 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
7236 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
7237 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7238 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
7239 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
7240 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7241 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7242 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7244 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7246 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
7247 (SHMLBA): Remove macro.
7248 (__getpagesize): Remove function declaration.
7249 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
7251 (SHMLBA): Remove macro.
7252 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
7254 (SHMLBA): Remove macro.
7255 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
7257 (SHMLBA): Remove macro.
7258 (__getpagesize): Remove function declaration.
7259 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
7261 (SHMLBA): Remove macro.
7262 (__getshmlba): Remove function declaration.
7263 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
7264 (SHMLBA): Remove macro.
7265 (__getpagesize): Remove function declaration.
7266 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
7267 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
7268 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7269 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
7270 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
7271 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
7272 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
7273 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
7274 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
7275 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
7277 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
7280 * nptl/tst-mutex10.c: New File.
7281 * nptl/Makefile (tests): Add tst-mutex10.
7282 (tst-mutex10-ENV): New variable.
7283 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
7284 Ensure that elision path is used if elision is available.
7285 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
7287 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
7289 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
7290 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
7291 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
7292 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
7294 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
7295 (__pthread_mutex_cond_lock_adjust): Likewise.
7296 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7298 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
7299 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7300 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7301 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
7303 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
7304 Use atomic_load_relaxed and atomic_store_relaxed.
7305 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
7306 Use atomic_store_relaxed.
7308 2018-10-17 Andreas Schwab <schwab@suse.de>
7310 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
7311 * crypt/badsalttest.c (TIMEOUT): Likewise.
7312 * crypt/sha256c-test.c (TIMEOUT): Likewise.
7313 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
7314 * io/test-lfs.c (TIMEOUT): Likewise.
7315 * libio/tst-atime.c (TIMEOUT): Likewise.
7316 * localedata/tst-leaks.c (TIMEOUT): Likewise.
7317 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
7318 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
7319 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
7320 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
7321 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
7322 * nptl/tst-cond11.c (TIMEOUT): Likewise.
7323 * nptl/tst-cond14.c (TIMEOUT): Likewise.
7324 * nptl/tst-cond15.c (TIMEOUT): Likewise.
7325 * nptl/tst-cond24.c (TIMEOUT): Likewise.
7326 * nptl/tst-cond25.c (TIMEOUT): Likewise.
7327 * nptl/tst-kill2.c (TIMEOUT): Likewise.
7328 * nptl/tst-kill3.c (TIMEOUT): Likewise.
7329 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
7330 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
7331 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
7332 * nptl/tst-once2.c (TIMEOUT): Likewise.
7333 * nptl/tst-once3.c (TIMEOUT): Likewise.
7334 * nptl/tst-once4.c (TIMEOUT): Likewise.
7335 * nptl/tst-robust8.c (TIMEOUT): Likewise.
7336 * nptl/tst-robust9.c (TIMEOUT): Likewise.
7337 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
7338 * nptl/tst-sem14.c (TIMEOUT): Likewise.
7339 * nptl/tst-sem6.c (TIMEOUT): Likewise.
7340 * nptl/tst-signal3.c (TIMEOUT): Likewise.
7341 * nptl/tst-spin4.c (TIMEOUT): Likewise.
7342 * nptl/tst-tls3.c (TIMEOUT): Likewise.
7343 * nptl/tst-tls4.c (TIMEOUT): Likewise.
7344 * posix/tst-chmod.c (TIMEOUT): Likewise.
7345 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
7346 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
7347 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
7348 * posix/tst-regex2.c (TIMEOUT): Likewise.
7349 * posix/tst-waitid.c (TIMEOUT): Likewise.
7350 * rt/tst-aio.c (TIMEOUT): Likewise.
7351 * rt/tst-aio10.c (TIMEOUT): Likewise.
7352 * rt/tst-aio4.c (TIMEOUT): Likewise.
7353 * rt/tst-aio5.c (TIMEOUT): Likewise.
7354 * rt/tst-aio6.c (TIMEOUT): Likewise.
7355 * rt/tst-aio64.c (TIMEOUT): Likewise.
7356 * rt/tst-aio7.c (TIMEOUT): Likewise.
7357 * rt/tst-aio9.c (TIMEOUT): Likewise.
7358 * rt/tst-clock.c (TIMEOUT): Likewise.
7359 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
7360 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
7361 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
7362 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
7363 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
7364 * rt/tst-timer4.c (TIMEOUT): Likewise.
7365 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
7366 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
7367 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
7368 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
7369 * time/tst-ftime.c (TIMEOUT): Likewise.
7370 * timezone/tst-tzset.c (TIMEOUT): Likewise.
7372 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
7374 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
7375 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
7378 2018-10-15 Joseph Myers <joseph@codesourcery.com>
7380 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7382 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
7383 instead of <bits/wordsize.h>.
7384 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
7385 and [__SEM_PAD_AFTER_TIME].
7386 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
7387 __syscall_ulong_t instead of unsigned long int.
7388 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
7389 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
7390 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
7391 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
7392 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
7393 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
7394 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
7395 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
7396 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7397 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7398 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7400 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
7402 regex: simplify by using intprops.h
7404 * posix/regex_internal.h [_LIBC]: Include intprops.h.
7405 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
7406 intprops.h defines them.
7408 regex: __builtin_expect → __glibc_unlikely
7410 This refactoring was prompted by a problem when the regex code is
7411 used as part of Gnulib and when the builder’s compiler does not grok
7412 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
7413 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
7414 Although this refactoring does not fix the problem directly,
7415 we might as well have Gawk use the now-preferred glibc style for when
7416 __builtin_expect is unavailable.
7417 * posix/regex_internal.h (BE): Remove.
7418 All uses replaced by __glibc_unlikely or __glibc_likely.
7420 2018-10-11 Joseph Myers <joseph@codesourcery.com>
7422 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7424 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
7425 instead of <bits/wordsize.h>.
7426 (msgqnum_t): Define as __syscall_ulong_t.
7427 (msglen_t): Likewise.
7428 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
7429 and [__MSQ_PAD_AFTER_TIME].
7430 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
7431 __syscall_ulong_t instead of unsigned long int.
7432 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
7433 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
7434 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
7435 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
7436 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
7437 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
7438 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
7439 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
7440 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7441 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7442 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7444 2018-10-10 Joseph Myers <joseph@codesourcery.com>
7446 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
7447 (struct shmid_ds): Condition padding after time fields on
7449 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
7450 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
7451 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7453 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
7454 (struct semid_ds): Condition padding after time fields on
7456 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
7457 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
7458 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
7459 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7461 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
7462 (struct msqid_ds): Condition padding after time fields on
7464 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
7465 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
7466 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
7467 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7469 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7471 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
7473 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7475 * libio/tst-readline.c (TIMEOUT): Define.
7477 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
7479 mktime fix for Gnulib + coreutils
7481 This fix affects only Gnulib. Problem discovered when
7482 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
7484 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
7485 Do not define since it is not used. Defining an unused static
7486 function prompts a warning from GCC when Coreutils is configured
7487 with --enable-gcc-warnings.
7489 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7491 * benchtests/scripts/compare_bench.py (main): set float type on
7494 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
7497 * localedata/locales/kl_GL (mon): Update, the relative case.
7498 (alt_mon): Add, fill with month names in the nominative case.
7499 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
7500 (d_fmt): Set to "%b %d %Y".
7502 2018-10-04 Joseph Myers <joseph@codesourcery.com>
7504 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
7505 <bits/mman-linux.h>.
7506 (PROT_READ): Don't define here.
7507 (PROT_WRITE): Likewise.
7508 (PROT_EXEC): Likewise.
7509 (PROT_NONE): Likewise.
7510 (PROT_GROWSDOWN): Likewise.
7511 (PROT_GROWSUP): Likewise.
7512 (MAP_SHARED): Likewise.
7513 (MAP_PRIVATE): Likewise.
7514 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
7515 [__USE_MISC] (MAP_FILE): Likewise.
7516 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
7517 [__USE_MISC] (MAP_ANON): Likewise.
7518 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
7519 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
7520 (MCL_CURRENT): Likewise.
7521 (MCL_FUTURE): Likewise.
7522 (MCL_ONFAULT): Likewise.
7523 [__USE_MISC] (MADV_NORMAL): Likewise.
7524 [__USE_MISC] (MADV_RANDOM): Likewise.
7525 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
7526 [__USE_MISC] (MADV_WILLNEED): Likewise.
7527 [__USE_MISC] (MADV_DONTNEED): Likewise.
7528 [__USE_MISC] (MADV_FREE): Likewise.
7529 [__USE_MISC] (MADV_REMOVE): Likewise.
7530 [__USE_MISC] (MADV_DONTFORK): Likewise.
7531 [__USE_MISC] (MADV_DOFORK): Likewise.
7532 [__USE_MISC] (MADV_HWPOISON): Likewise.
7533 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
7534 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
7535 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
7536 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
7537 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
7538 (__MAP_ANONYMOUS): New macro.
7539 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
7540 <bits/mman-linux.h> inclusion.
7541 (MAP_FIXED): Likewise.
7542 (MS_SYNC): Likewise.
7543 (MS_ASYNC): Likewise.
7544 (MS_INVALIDATE): Likewise.
7545 [__USE_MISC] (MADV_MERGEABLE): Likewise.
7546 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
7547 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
7548 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
7549 [__USE_MISC] (MADV_DONTDUMP): Likewise.
7550 [__USE_MISC] (MADV_DODUMP): Likewise.
7551 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
7552 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
7555 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
7557 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
7558 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
7559 Add test-nldbl-redirect.
7560 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
7561 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
7562 $(objpfx)libnldbl_nonshared.a.
7564 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
7566 * support/support.h (support_objdir_elf_ldso): New variable.
7567 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
7568 * support/Makefile (CFLAGS-support_paths.c): Add definition
7569 for OBJDIR_ELF_LDSO_PATH.
7570 * support/test-container.c (main): Search for the ld.so
7571 which is also used by the testsuite.
7573 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
7576 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
7577 should be "sap" rather than "sab".
7578 (day): Fix spelling of Sunday, should be "sapaat" rather than
7581 2018-10-02 Joseph Myers <joseph@codesourcery.com>
7583 * math/libm-test-fma.inc (fma_test_data): Add more tests.
7585 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
7588 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
7589 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
7590 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
7592 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7594 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
7596 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
7598 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
7600 (CFLAGS-elision-unlock.c): Likewise.
7601 (CFLAGS-elision-timed.c): Likewise.
7602 (CFLAGS-elision-trylock.c): Likewise.
7603 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
7605 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7608 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
7609 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
7610 new fd_to_filename interface.
7611 * libio/freopen64.c (freopen64): Likewise.
7612 * libio/tst-memstream.h: New file.
7613 * libio/tst-memstream4.c: Likewise.
7614 * libio/tst-wmemstream4.c: Likewise.
7615 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
7616 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
7617 and remove internal dynamic allocation.
7619 2018-10-01 Joseph Myers <joseph@codesourcery.com>
7621 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
7622 (MREMAP_MAYMOVE): Do not define here.
7623 [__USE_GNU] (MREMAP_FIXED): Likewise.
7624 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
7625 (MREMAP_MAYMOVE): Define here instead.
7626 [__USE_GNU] (MREMAP_FIXED): Likewise.
7627 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
7628 (MREMAP_MAYMOVE): Remove.
7629 [__USE_GNU] (MREMAP_FIXED): Likewise.
7631 2018-09-28 Joseph Myers <joseph@codesourcery.com>
7633 * math/fromfp.h: Do not include <math_private.h>.
7634 * math/s_cacosh_template.c: Likewise.
7635 * math/s_casin_template.c: Likewise.
7636 * math/s_casinh_template.c: Likewise.
7637 * math/s_ccos_template.c: Likewise.
7638 * math/s_cproj_template.c: Likewise.
7639 * math/s_fdim_template.c: Likewise.
7640 * math/s_fmaxmag_template.c: Likewise.
7641 * math/s_fminmag_template.c: Likewise.
7642 * math/s_iseqsig_template.c: Likewise.
7643 * math/s_ldexp_template.c: Likewise.
7644 * math/s_nextdown_template.c: Likewise.
7645 * math/w_log1p_template.c: Likewise.
7646 * math/w_scalbln_template.c: Likewise.
7647 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7648 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7649 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7650 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7651 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
7652 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
7653 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
7654 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
7655 * sysdeps/i386/fpu/s_atanl.c: Likewise.
7656 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
7657 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
7658 * sysdeps/i386/fpu/s_fdim.c: Likewise.
7659 * sysdeps/i386/fpu/s_logbl.c: Likewise.
7660 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7661 * sysdeps/i386/fpu/s_significandl.c: Likewise.
7662 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
7663 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
7664 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7665 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7666 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7667 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7668 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7669 * sysdeps/ieee754/k_standardf.c: Likewise.
7670 * sysdeps/ieee754/k_standardl.c: Likewise.
7671 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7672 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
7673 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
7674 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
7675 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
7676 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
7677 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7678 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7679 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7680 * sysdeps/ieee754/s_signgam.c: Likewise.
7681 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
7682 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
7683 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
7684 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7685 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7686 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7687 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7688 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7689 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7690 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7691 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7692 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7693 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7694 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7695 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7696 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7697 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7698 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7699 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7700 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7701 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7702 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
7703 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
7704 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7705 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
7706 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7707 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
7708 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
7709 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
7710 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
7711 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
7712 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
7713 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
7714 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
7715 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7716 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7717 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
7719 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7721 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
7724 * sysdeps/i386/dl-cet.c: Removed.
7725 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
7727 (_dl_runtime_profile_shstk): Likewise.
7728 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
7729 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
7731 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7734 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
7735 do_test_with_invalid_iov): New tests.
7736 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
7737 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
7738 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
7740 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
7741 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
7742 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
7744 2018-09-27 Joseph Myers <joseph@codesourcery.com>
7746 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7747 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
7748 (MATH_REDIRECT_BINARY_ARGS): New macro.
7749 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7750 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
7751 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
7753 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
7754 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7755 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
7756 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7757 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7758 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7759 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
7762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
7764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
7765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
7766 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
7767 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
7768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
7770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
7772 * sysdeps/generic/math_private_calls.h
7773 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
7774 Do not declare and define as an inline function.
7775 * math/divtc3.c (__divtc3): Use copysign functions instead of
7776 __copysign variants.
7777 * math/multc3.c (__multc3): Likewise.
7778 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
7779 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
7780 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7781 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7783 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7784 (__ieee754_yn): Likewise.
7785 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7786 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
7787 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7788 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7789 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
7791 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
7792 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7794 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7796 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7798 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7799 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7801 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7802 (__ieee754_ynf): Likewise.
7803 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
7804 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7805 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7806 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7808 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7809 (__ieee754_ynl): Likewise.
7810 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7811 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7812 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7814 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7815 (__ieee754_ynl): Likewise.
7816 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
7817 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7818 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7819 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7821 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7823 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
7824 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7825 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
7826 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7827 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7829 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7830 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
7831 using MATH_REDIRECT.
7832 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
7834 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
7835 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7836 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7837 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
7838 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7839 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7840 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
7842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
7843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
7844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
7845 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7846 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7847 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7848 (round): Redirect to __round.
7849 (__roundl): Call round instead of __round.
7850 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
7852 [_ARCH_PWR5X] (__roundf): Likewise.
7853 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
7854 functions instead of __round variants.
7855 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7856 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7858 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7860 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7862 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
7863 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
7865 (__ieee754_expl): Call roundl instead of __roundl.
7867 2018-09-27 Andreas Schwab <schwab@suse.de>
7870 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
7871 (do_test): Make st1 static.
7873 2018-09-26 Andreas Schwab <schwab@suse.de>
7876 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
7877 * elf/Makefile (tests): Add tst-unwind-ctor.
7878 (modules-names): Add tst-unwind-ctor-lib.
7879 ($(objpfx)tst-unwind-ctor): Depend on
7880 $(objpfx)tst-unwind-ctor-lib.so.
7882 2018-09-26 Joseph Myers <joseph@codesourcery.com>
7884 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
7885 file. Most contents moved from ....
7886 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
7887 and include <bits/mman-map-flags-generic.h>.
7888 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7889 (sysdep_headers): Add bits/mman-map-flags-generic.h.
7890 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
7891 <bits/mman-map-flags-generic.h>.
7892 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
7893 macros defined in <bits/mman-map-flags-generic.h>.
7894 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
7895 <bits/mman-map-flags-generic.h>.
7896 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
7897 defined in <bits/mman-map-flags-generic.h>.
7899 2018-09-26 Andreas Schwab <schwab@suse.de>
7901 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
7904 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
7905 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7906 Fangrui Song <maskray@google.com>
7909 * config.make.in (have-textrel_ifunc): New define.
7910 * configure.ac: Add check if linker supports textrel relocation with
7912 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
7914 (CFLAGS-tst-ifunc-textrel.c): New rule.
7915 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
7916 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
7917 * elf/tst-ifunc-textrel.c: New file.
7919 2018-09-25 Joseph Myers <joseph@codesourcery.com>
7921 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7922 <bits/procfs-prregset.h>.
7923 (prgregset_t): Define using __prgregset_t.
7924 (prfpregset_t): Define using __prfpregset_t.
7925 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7926 (sysdep_headers): Add bits/procfs-prregset.h.
7927 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
7928 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
7929 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
7930 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
7932 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7933 <bits/procfs-id.h> and <bits/procfs-extra.h>.
7934 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
7936 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7937 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
7938 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
7939 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
7940 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
7941 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
7942 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
7943 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
7944 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
7945 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
7946 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
7947 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
7948 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
7949 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
7950 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
7951 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
7952 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
7953 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
7954 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
7955 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
7956 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
7957 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
7958 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7959 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
7961 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
7962 AArch64 version. Include <bits/procfs.h>.
7963 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7964 (sysdep_headers): Add bits/procfs.h.
7965 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
7966 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
7967 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
7968 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
7969 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
7970 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
7971 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
7972 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
7973 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
7974 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
7975 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
7976 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
7977 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
7978 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
7979 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
7980 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7981 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
7983 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7985 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
7988 2018-09-25 Arjun Shankar <arjun@redhat.com>
7990 * iconv/gconv_int.h (__gconv_path_elem): Remove.
7991 (__gconv_max_path_elem_len): Likewise.
7992 (__gconv_nmodules): Likewise.
7993 (__gconv_get_path): Likewise.
7994 (path_elem): Move to ...
7995 * iconv/gconv_conf.c: ... here.
7996 (__gconv_get_path): Mark function static.
7997 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
7998 * iconv/gconv_open.c: ... here.
8000 2018-09-24 Andreas Schwab <schwab@suse.de>
8002 * scripts/haveversions.awk: New file.
8003 * Makerules ($(common-objpfx)Versions.def)
8004 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8005 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8007 * Makeconfig ($(common-objpfx)Versions.def)
8008 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8009 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8011 ($(common-objpfx)Versions.mk): New rule. Include it.
8012 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
8013 Emit error if build-obsolete-nsl = yes.
8014 * manual/install.texi (Configuring and compiling): Describe
8015 --enable-obsolete-nsl as unavaiable after version 2.28.
8016 * INSTALL: Regenerate.
8018 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8020 * NEWS: Add note about new TLE support on powerpc64le.
8021 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
8022 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
8024 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
8025 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
8026 * sysdeps/powerpc/powerpc32/sysdep.h,
8027 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
8028 ABORT_TRANSACTION): Remove macros.
8029 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
8030 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
8031 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
8032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
8033 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8034 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
8036 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
8038 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
8041 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
8042 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
8043 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
8044 which is the same as in it_IT.
8045 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
8046 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
8048 2018-09-20 Joseph Myers <joseph@codesourcery.com>
8050 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8051 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
8052 using MATH_REDIRECT.
8053 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
8055 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
8056 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8057 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
8058 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8059 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8060 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
8062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
8063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
8064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
8065 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8066 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8067 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
8068 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
8069 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
8070 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
8071 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
8072 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8073 (ceil): Redirect to __ceil.
8074 (floor): Redirect to __floor.
8075 (trunc): Redirect to __trunc.
8076 (__truncl): Call trunc instead of __trunc.
8077 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
8079 [_ARCH_PWR5X] (__truncf): Likewise.
8080 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
8081 trunc functions instead of __trunc variants.
8082 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8084 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8086 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8088 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8091 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
8092 [__i586__ || __pentium__].
8093 [__i486__]: Handle explicitly.
8094 (HAS_CPUID): Define to 1 if above macros are undefined.
8095 (HAS_I586): Likewise.
8096 (HAS_I686): Likewise.
8098 2018-09-20 Florian Weimer <fweimer@redhat.com>
8100 * misc/tst-gethostid.c: New file.
8101 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
8102 (tst-gethostid): Link with -ldl.
8104 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
8106 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
8107 value from gethostbyname_r.
8109 2018-09-19 Carlos O'Donell <carlos@redhat.com>
8111 * stdlib/tst-setcontext9.c (f1): Rename to...
8113 (f1b): New function implementing lower half of f1 in alternate stack.
8115 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
8117 Fix mktime localtime offset confusion
8119 * include/time.h (__mktime_internal): The localtime offset is now
8120 of type long int instead of time_t. This is the longstanding type
8121 in glibc, and it is more than enough to represent difference
8122 between localtime and gmtime even if it is 32 bits and time_t is
8123 64. Changing it now will let us avoid an unnecessary change when
8124 time_t is widened to 64 bits on 32-bit platforms.
8125 * time/mktime-internal.h (mktime_offset_t): Now long int.
8127 Merge mktime, timegm from upstream Gnulib
8128 [BZ #23603][BZ #16346]
8129 This fixes some obscure problems with integer overflow.
8130 Although it looks scary, it is almost all a byte-for-byte copy
8131 from Gnulib, and the Gnulib code has been tested reasonably well.
8132 * include/intprops.h: New file, copied from Gnulib.
8133 * include/verify.h, time/mktime-internal.h:
8134 New tiny files, simplified from Gnulib.
8135 * time/mktime.c: Copy from Gnulib. This has the following changes:
8136 Do not include config.h if DEBUG_MKTIME is nonzero.
8137 Include stdbool.h, intprops.h, verify.h.
8138 Include string.h only if needed.
8139 Include stdlib.h on MS-Windows.
8140 Include mktime-internal.h.
8141 (DEBUG_MKTIME): Default to 0, and simplify later uses.
8142 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
8143 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
8144 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
8145 simplify later conditionals; default the others to zero. Use
8146 these conditionals to express only the code needed on the current
8147 platform. In uses of these conditionals, explicitly spell out how
8148 _LIBC affects things, so it’s easier to review from a glibc
8150 (WRAPV): Remove; no longer needed now that we have
8151 systematic overflow checking.
8152 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
8153 compartmentalize tzset issues. Move system-dependent tzsettish
8154 code here from mktime.
8155 (verify): Remove; now done by verify.h. All uses changed.
8156 (long_int): Use a more-conservative definition, to avoid
8158 (SHR): Remove, replacing with ...
8159 (shr): New function, which means we needn’t worry about side
8160 effects in args, and conversion analysis is simpler.
8161 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
8162 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
8163 (time_t_avg, time_t_add_ok): Remove.
8164 (mktime_min, mktime_max): New constants.
8165 (leapyear, isdst_differ): Use bool for booleans.
8166 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
8167 Use long_int, not time_t, for mktime differences.
8168 (long_int_avg): New function, replacing time_t_avg.
8169 INT_ADD_WRAPV replaces time_t_add_ok.
8170 (guess_time_tm): 6th arg is now long_int, not time_t const *.
8172 (convert_time): New function.
8173 (ranged_convert): Use it.
8174 (__mktime_internal): Last arg now points to mktime_offset_t, not
8175 time_t. All uses changed. This is a no-op on glibc, where
8176 mktime_offset_t is always time_t. Use int, not time_t, for UTC
8177 offset guess. Directly check for integer overflow instead of
8178 using a heuristic that works only 99.9...% of the time.
8179 Access *OFFSET only once, to avoid an unlikely race if the
8180 compiler delays a load and if this cascades into a signed integer
8182 (mktime): Move tzsettish code to my_tzset, and move
8183 localtime_offset to within mktime so that it doesn’t
8184 need a separate ifdef.
8185 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
8186 instead of localtime.
8187 * time/timegm.c: Copy from Gnulib. This has the following changes:
8188 Include mktime-internal.h.
8189 [!_LIBC]: Include config.h and time.h. Do not include
8190 timegm.h or time_r.h. Make __mktime_internal a macro,
8191 and include mktime-internal.h to get its declaration.
8192 (timegm): Temporary is now mktime_offset_t, not time_t.
8193 This affects only Gnulib.
8195 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
8198 * string/test-strstr.c (pr23637): New function.
8199 (test_main): Add tests with longer needles.
8200 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
8201 * string/strstr.c (AVAILABLE): Likewise.
8203 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8205 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
8207 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8209 * NEWS: Mention pow improvements.
8210 * math/Makefile (type-double-routines): Add e_pow_log_data.
8211 * sysdeps/generic/math_private.h (__exp1): Remove.
8212 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
8213 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
8214 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
8216 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
8217 (exp_inline): Remove.
8218 (__ieee754_exp): Only single double input is handled.
8219 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
8220 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
8221 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
8222 (__pow_log_data): Define.
8223 * sysdeps/ieee754/dbl-64/upow.h: Remove.
8224 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
8225 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
8226 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
8228 (CFLAGS-e_pow-fma4.c): Likewise.
8230 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
8232 Simplify tzfile fstat failure code
8234 * time/tzfile.c (__tzfile_read): Simplify slightly.
8236 Fix tzfile low-memory assertion failure
8238 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
8239 when registering time zone abbreviations.
8241 2018-09-18 Joseph Myers <joseph@codesourcery.com>
8243 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
8244 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
8245 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
8246 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
8247 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
8248 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
8249 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
8250 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8251 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8253 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
8255 (__ceill): Call ceil instead of __ceil.
8256 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
8258 (__floorl): Call floor instead of __floor.
8260 2018-09-17 Joseph Myers <joseph@codesourcery.com>
8262 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8263 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
8264 using MATH_REDIRECT.
8265 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
8267 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
8268 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8269 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8270 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
8271 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8272 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8273 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8274 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
8275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
8276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
8277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
8278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
8279 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8280 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8281 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
8282 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
8283 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
8284 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
8285 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
8287 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
8288 functions instead of __ceil variants.
8289 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8290 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8292 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8294 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8295 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8297 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8298 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8301 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
8303 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
8304 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
8305 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
8306 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
8307 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
8308 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
8309 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
8310 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
8311 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
8312 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
8313 (ILL_BADIADDR): Remove constant.
8314 (TRAP_BRANCH): Likewise.
8315 (TRAP_HWBKPT): Likewise.
8317 2018-09-14 Joseph Myers <joseph@codesourcery.com>
8320 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
8321 Remove [_MIPS_SIM = _ABIN32] conditional case.
8322 (struct elf_prpsinfo): Likewise.
8325 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
8326 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
8327 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
8329 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
8330 elf_prpsinfo): Likewise.
8331 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
8332 elf_prpsinfo): Likewise.
8333 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
8336 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8337 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
8338 using MATH_REDIRECT.
8339 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
8341 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
8342 * sysdeps/alpha/fpu/s_rint.c: Likewise.
8343 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
8344 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8345 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8346 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8347 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
8348 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8349 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8350 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8351 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
8352 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
8353 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
8354 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
8355 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
8356 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8357 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8358 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
8359 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
8361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
8362 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
8363 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
8364 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
8365 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
8366 * sysdeps/x86_64/fpu/math_private.h: Remove file.
8367 * math/e_scalb.c (invalid_fn): Use rint functions instead of
8369 * math/e_scalbf.c (invalid_fn): Likewise.
8370 * math/e_scalbl.c (invalid_fn): Likewise.
8371 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8373 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8375 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8376 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
8377 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8379 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8381 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8383 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
8384 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
8386 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8387 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
8389 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8390 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
8391 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8392 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
8393 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8394 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
8395 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8396 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
8397 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8398 && !NO_MATH_REDIRECT] (floor): Likewise.
8399 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
8401 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
8402 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8403 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8404 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
8405 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8406 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8407 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8408 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
8409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
8410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
8411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
8412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
8413 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8414 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8415 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
8416 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
8417 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
8418 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
8419 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
8421 [_ARCH_PWR5X] (__floorf): Likewise.
8422 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
8424 [__SSE4_1__] (__floorf): Likewise.
8425 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
8426 instead of __floor variants.
8427 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
8428 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
8429 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
8430 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
8431 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
8432 * math/w_tgamma_compat.c (__tgamma): Likewise.
8433 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
8434 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
8435 * math/w_tgammal_compat.c (__tgammal): Likewise.
8436 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
8437 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
8439 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
8440 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
8441 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
8442 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8444 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
8445 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
8447 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
8448 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
8450 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8451 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
8453 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
8454 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8455 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
8456 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
8457 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8458 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8460 2018-09-12 Joseph Myers <joseph@codesourcery.com>
8462 * elf/Makefile (modules-names-tests): New variable.
8464 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8466 * NEWS: Mention log2 improvements.
8467 * math/Makefile (type-double-routines): Add e_log2_data.
8468 * sysdeps/i386/fpu/e_log2_data.c: New file.
8469 * sysdeps/ia64/fpu/e_log2_data.c: New file.
8470 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
8471 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
8472 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
8473 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
8474 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
8476 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8478 * NEWS: Mention log improvement.
8479 * math/Makefile (type-double-routines): Add e_log_data.
8480 * sysdeps/i386/fpu/e_log_data.c: New file.
8481 * sysdeps/ia64/fpu/e_log_data.c: New file.
8482 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
8483 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
8484 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
8485 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
8486 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
8487 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
8489 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
8490 Xuepeng Guo <xuepeng.guo@intel.com>
8493 * sysdeps/i386/start.S: Include <sysdep.h>
8494 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
8495 enabled. Add cfi_undefined (eip).
8497 2018-09-11 Joseph Myers <joseph@codesourcery.com>
8499 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
8501 (EXTRACT_WORDS64): Likewise.
8502 (INSERT_WORDS64): Likewise.
8503 (GET_FLOAT_WORD): Likewise.
8504 (SET_FLOAT_WORD): Likewise.
8506 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
8508 (Config.build_gcc): Use --disable-libsanitizer for first GCC
8509 build, but not for second build if --full-gcc. Use
8510 --enable-languages=all for second build if --full-gcc.
8511 (get_parser): Add --full-gcc option.
8512 (main): Update call to Context.
8514 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
8517 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
8518 Single Quotation Mark).
8519 (thousands_sep): Likewise.
8520 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
8521 * localedata/locales/it_IT (thousands_sep): Use ".".
8522 (grouping): Use "3;3".
8524 2018-09-10 Joseph Myers <joseph@codesourcery.com>
8526 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
8527 x86_64 and i686 configs using --enable-obsolete-rpc
8528 --enable-obsolete-nsl.
8530 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
8532 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8534 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
8536 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
8537 Increment size of new_argv by one.
8539 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
8542 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
8543 * localedata/locales/ar_IN (d_fmt): Likewise.
8544 * localedata/locales/bhb_IN (d_fmt): Likewise.
8545 * localedata/locales/bho_IN (d_fmt): Likewise.
8546 * localedata/locales/bn_BD (d_fmt): Likewise.
8547 * localedata/locales/bn_IN (d_fmt): Likewise.
8548 * localedata/locales/doi_IN (d_fmt): Likewise.
8549 * localedata/locales/gu_IN (d_fmt): Likewise.
8550 * localedata/locales/hi_IN (d_fmt): Likewise.
8551 * localedata/locales/hne_IN (d_fmt): Likewise.
8552 * localedata/locales/kn_IN (d_fmt): Likewise.
8553 * localedata/locales/mag_IN (d_fmt): Likewise.
8554 * localedata/locales/mai_IN (d_fmt): Likewise.
8555 * localedata/locales/mjw_IN (d_fmt): Likewise.
8556 * localedata/locales/ml_IN (d_fmt): Likewise.
8557 * localedata/locales/mni_IN (d_fmt): Likewise.
8558 * localedata/locales/mr_IN (d_fmt): Likewise.
8559 * localedata/locales/pa_IN (d_fmt): Likewise.
8560 * localedata/locales/raj_IN (d_fmt): Likewise.
8561 * localedata/locales/sat_IN (d_fmt): Likewise.
8562 * localedata/locales/sd_IN (d_fmt): Likewise.
8563 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
8564 * localedata/locales/ta_IN (d_fmt): Likewise.
8565 * localedata/locales/ta_LK (d_fmt): Likewise.
8566 * localedata/locales/tcy_IN (d_fmt): Likewise.
8567 * localedata/locales/ur_IN (d_fmt): Likewise.
8569 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
8570 * localedata/locales/ks_IN (d_fmt): Likewise.
8571 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
8573 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
8574 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
8575 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
8576 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
8578 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
8580 * NEWS: Mention exp and exp2 improvements.
8581 * math/Makefile (libm-support): Remove t_exp.
8582 (type-double-routines): Add math_err and e_exp_data.
8583 * sysdeps/aarch64/libm-test-ulps: Update.
8584 * sysdeps/arm/libm-test-ulps: Update.
8585 * sysdeps/i386/fpu/e_exp_data.c: New file.
8586 * sysdeps/i386/fpu/math_err.c: New file.
8587 * sysdeps/i386/fpu/t_exp.c: Remove.
8588 * sysdeps/ia64/fpu/e_exp_data.c: New file.
8589 * sysdeps/ia64/fpu/math_err.c: New file.
8590 * sysdeps/ia64/fpu/t_exp.c: Remove.
8591 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
8592 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
8593 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
8594 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
8595 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
8596 * sysdeps/ieee754/dbl-64/math_config.h: New file.
8597 * sysdeps/ieee754/dbl-64/math_err.c: New file.
8598 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
8599 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
8600 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
8601 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
8602 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
8603 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
8604 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
8605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8606 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8608 2018-09-05 Joseph Myers <joseph@codesourcery.com>
8610 * sysdeps/alpha/fpu/math_private.h: Remove.
8612 * sysdeps/generic/math_private.h
8613 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
8614 Move this inline function ....
8615 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
8616 * include/math.h [!_ISOMAC]: To here....
8618 2018-09-04 Joseph Myers <joseph@codesourcery.com>
8620 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
8622 [!FE_HAVE_ROUNDING_MODES]: And this code ....
8623 * include/fenv.h [!_ISOMAC]: ... to here.
8624 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
8625 (feraiseexcept): Likewise.
8626 * math/fromfp.h: Do not include <fenv_private.h>.
8627 * math/s_cexp_template.c: Likewise.
8628 * math/s_csin_template.c: Likewise.
8629 * math/s_csinh_template.c: Likewise.
8630 * math/s_ctan_template.c: Likewise.
8631 * math/s_ctanh_template.c: Likewise.
8632 * math/s_iseqsig_template.c: Likewise.
8633 * math/w_acos_compat.c: Likewise.
8634 * math/w_acosf_compat.c: Likewise.
8635 * math/w_acosl_compat.c: Likewise.
8636 * math/w_asin_compat.c: Likewise.
8637 * math/w_asinf_compat.c: Likewise.
8638 * math/w_asinl_compat.c: Likewise.
8639 * math/w_j0_compat.c: Likewise.
8640 * math/w_j0f_compat.c: Likewise.
8641 * math/w_j0l_compat.c: Likewise.
8642 * math/w_j1_compat.c: Likewise.
8643 * math/w_j1f_compat.c: Likewise.
8644 * math/w_j1l_compat.c: Likewise.
8645 * math/w_jn_compat.c: Likewise.
8646 * math/w_jnf_compat.c: Likewise.
8647 * math/w_log10_compat.c: Likewise.
8648 * math/w_log10f_compat.c: Likewise.
8649 * math/w_log10l_compat.c: Likewise.
8650 * math/w_log2_compat.c: Likewise.
8651 * math/w_log2f_compat.c: Likewise.
8652 * math/w_log2l_compat.c: Likewise.
8653 * math/w_log_compat.c: Likewise.
8654 * math/w_logf_compat.c: Likewise.
8655 * math/w_logl_compat.c: Likewise.
8656 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8657 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8658 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8659 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8660 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8661 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8662 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8663 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8664 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8665 * sysdeps/ieee754/k_standardl.c: Likewise.
8666 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8667 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8668 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8669 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8670 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8671 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8672 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8673 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8674 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8675 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8676 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8677 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8678 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8679 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8680 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8681 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8682 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8683 * math/w_ilogb_template.c: Include <fenv.h> instead of
8685 * math/w_llogb_template.c: Likewise.
8686 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8687 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8689 2018-09-03 Joseph Myers <joseph@codesourcery.com>
8691 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
8692 * math/fromfp.h: Include <fenv_private.h>.
8693 * math/math-narrow.h: Likewise.
8694 * math/s_cexp_template.c: Likewise.
8695 * math/s_csin_template.c: Likewise.
8696 * math/s_csinh_template.c: Likewise.
8697 * math/s_ctan_template.c: Likewise.
8698 * math/s_ctanh_template.c: Likewise.
8699 * math/s_iseqsig_template.c: Likewise.
8700 * math/w_acos_compat.c: Likewise.
8701 * math/w_acosf_compat.c: Likewise.
8702 * math/w_acosl_compat.c: Likewise.
8703 * math/w_asin_compat.c: Likewise.
8704 * math/w_asinf_compat.c: Likewise.
8705 * math/w_asinl_compat.c: Likewise.
8706 * math/w_ilogb_template.c: Likewise.
8707 * math/w_j0_compat.c: Likewise.
8708 * math/w_j0f_compat.c: Likewise.
8709 * math/w_j0l_compat.c: Likewise.
8710 * math/w_j1_compat.c: Likewise.
8711 * math/w_j1f_compat.c: Likewise.
8712 * math/w_j1l_compat.c: Likewise.
8713 * math/w_jn_compat.c: Likewise.
8714 * math/w_jnf_compat.c: Likewise.
8715 * math/w_llogb_template.c: Likewise.
8716 * math/w_log10_compat.c: Likewise.
8717 * math/w_log10f_compat.c: Likewise.
8718 * math/w_log10l_compat.c: Likewise.
8719 * math/w_log2_compat.c: Likewise.
8720 * math/w_log2f_compat.c: Likewise.
8721 * math/w_log2l_compat.c: Likewise.
8722 * math/w_log_compat.c: Likewise.
8723 * math/w_logf_compat.c: Likewise.
8724 * math/w_logl_compat.c: Likewise.
8725 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8726 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8727 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8728 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8729 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8730 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8731 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8732 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8733 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8734 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8735 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8736 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8737 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
8738 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
8739 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8740 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8741 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8742 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8743 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8744 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8745 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8746 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8747 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8748 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8749 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8750 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8751 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8752 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
8753 * sysdeps/ieee754/float128/float128_private.h: Likewise.
8754 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8755 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8756 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8757 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
8758 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8759 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8760 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8761 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8762 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8763 * sysdeps/ieee754/k_standardl.c: Likewise.
8764 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8765 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8766 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8767 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8768 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8769 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8770 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8771 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8772 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8773 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8774 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8775 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8776 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8777 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8778 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8779 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
8780 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8781 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
8782 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8783 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8784 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8785 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8786 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8787 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8788 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8789 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8790 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8791 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8792 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
8793 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8794 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8795 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8796 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8797 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8798 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8799 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8800 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8801 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8802 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8803 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8804 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
8805 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8806 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
8807 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8808 * sysdeps/riscv/rvd/s_finite.c: Likewise.
8809 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
8810 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
8811 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
8812 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
8813 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
8814 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
8815 * sysdeps/riscv/rvf/fegetround.c: Likewise.
8816 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
8817 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
8818 * sysdeps/riscv/rvf/fesetround.c: Likewise.
8819 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
8820 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8821 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8822 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8823 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8824 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8825 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8826 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8827 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8828 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8829 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8830 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8831 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8832 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8833 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8834 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8836 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8839 * include/stdio.h (__libc_fatal): Mention newline in comment.
8840 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
8841 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
8842 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8843 * nss/nsswitch.c (__nss_next2): Likewise.
8844 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
8845 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
8846 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
8847 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8848 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
8849 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
8850 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
8851 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
8852 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
8853 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
8854 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
8855 * sysdeps/unix/sysv/linux/netlink_assert_response.c
8856 (__netlink_assert_response): Likewise.
8858 2018-08-31 Joseph Myers <joseph@codesourcery.com>
8860 * conform/glibcconform.py: New file.
8861 * conform/list-header-symbols.py: Likewise.
8862 * conform/list-header-symbols.pl: Remove.
8863 * conform/Makefile (tests-special): Only add linknamespace tests
8865 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
8867 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
8870 * support/Makefile (libsupport-routines): Add
8871 support_copy_file_range and xcopy_file_range.
8872 * support/support.h: Include <sys/types.h>.
8873 (support_copy_file_range): New prototype.
8874 * support/support_copy_file_range.c: New file. Copied and
8875 modified from io/copy_file_range-compat.c.
8876 * support/test-container.c (copy_one_file): Call xcopy_file_rang
8877 instead of copy_file_range.
8878 * support/xcopy_file_range.c: New file.
8879 * support/xunistd.h (xcopy_file_range): New prototype.
8881 2018-08-30 Carlos O'Donell <carlos@redhat.com>
8883 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
8884 xpthread_create and xpthread_join.
8886 2018-08-30 Florian Weimer <fweimer@redhat.com>
8888 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
8890 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
8892 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
8895 2018-08-29 Joseph Myers <joseph@codesourcery.com>
8897 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
8898 and minus_oflow as non-finite.
8900 2018-08-28 Joseph Myers <joseph@codesourcery.com>
8902 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
8903 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
8904 moved to fenv_private.h except for ...
8905 (TOINT_INTRINSICS): Kept in math_private.h.
8906 (roundtoint): Likewise.
8907 (converttoint): Likewise.
8908 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
8909 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8910 * sysdeps/arm/math_private.h: Remove.
8911 * sysdeps/generic/fenv_private.h: New file. Contents moved from
8913 * sysdeps/generic/math_private.h: ... this file. Include
8914 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
8915 Include <fenv_private.h>. Remove functions and macros moved to
8917 * sysdeps/i386/fpu/math_private.h: Remove.
8918 * sysdeps/mips/math_private.h: Move to ....
8919 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
8920 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
8921 [__mips_hard_float] conditional. Include next <fenv_private.h>.
8922 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
8923 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8924 * sysdeps/powerpc/fpu/math_private.h: Do not include
8926 * sysdeps/riscv/rvf/math_private.h: Move to ....
8927 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
8928 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
8930 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
8931 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8932 * sysdeps/sparc/fpu/math_private.h: Remove.
8933 * sysdeps/i386/fpu/fenv_private.h: Move to ....
8934 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
8935 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
8937 * sysdeps/x86_64/fpu/math_private.h: Do not include
8938 <sysdeps/i386/fpu/fenv_private.h>.
8940 2018-08-28 Florian Weimer <fweimer@redhat.com>
8943 * posix/tst-regcomp-truncated.c: New file.
8944 * posix/Makefile (tests): Add it.
8945 (tst-regcomp-truncated.out): Depend on generated locales.
8947 2018-08-28 Florian Weimer <fweimer@redhat.com>
8949 * support/test-container.c (main): Treat unshare failure with
8950 EPERM as an unsupported test.
8952 2018-08-28 Florian Weimer <fweimer@redhat.com>
8955 nscd: Fix use-after-free in addgetnetgrentX and its callers.
8956 * nscd/netgroupcache.c
8957 (addgetnetgrentX): Add tofreep parameter. Do not free
8958 heap-allocated buffer.
8959 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
8960 (addgetnetgrentX_ignore): New function.
8961 (addgetnetgrent): Call it.
8962 (readdgetnetgrent): Likewise.
8964 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8966 * string/memmem.c: Use memcmp for first match.
8968 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
8971 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
8973 2018-08-27 DJ Delorie <dj@redhat.com>
8975 * support/Makefile (others): Don't list programs explicitly as a
8976 dependency of "others".
8978 2018-08-27 Joseph Myers <joseph@codesourcery.com>
8980 * sysdeps/generic/math-tests-trap-force.h: New file.
8981 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
8982 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
8983 * sysdeps/powerpc/math-tests.h: Remove file.
8984 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
8986 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
8987 Torvald Riegel <triegel@redhat.com>
8990 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
8991 Update r to include the set wake-request flag if waiters are
8992 remaining after spinning.
8994 2018-08-27 Joseph Myers <joseph@codesourcery.com>
8996 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
8998 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
9001 regex: fix uninitialized memory access
9002 I introduced this bug into gnulib in commit
9003 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
9004 eventually it was merged into glibc. The bug was found by
9005 project-repo <bugs@feusi.co> and reported here:
9006 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
9007 Diagnosis and draft fix reported by Assaf Gordon here:
9008 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
9009 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
9010 * posix/regex_internal.c (build_wcs_upper_buffer):
9011 Fix bug when mbrtowc returns 0.
9013 2018-08-24 Carlos O'Donell <carlos@redhat.com>
9015 * po/be.po: Update translation.
9017 2018-08-24 DJ Delorie <dj@delorie.com>
9019 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
9022 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9025 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
9026 create temporary files in source tree.
9028 2018-08-24 Joseph Myers <joseph@codesourcery.com>
9030 * sysdeps/generic/math-tests-trap.h: New file.
9031 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
9032 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
9033 * sysdeps/aarch64/math-tests.h: Remove file.
9034 * sysdeps/arm/math-tests.h: Likewise.
9035 * sysdeps/riscv/math-tests.h: Likewise.
9036 * sysdeps/aarch64/math-tests-trap.h: New file.
9037 * sysdeps/arm/math-tests-trap.h: Likewise.
9038 * sysdeps/riscv/math-tests-trap.h: Likewise.
9040 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
9042 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
9043 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
9044 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
9045 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
9046 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
9047 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
9048 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9049 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
9050 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
9051 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9052 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9053 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9054 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9055 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
9056 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
9057 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
9058 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9059 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9061 2018-08-23 Joseph Myers <joseph@codesourcery.com>
9063 * sysdeps/generic/math-tests-exceptions.h: New file.
9064 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
9065 (EXCEPTION_TESTS_float): Do not define here.
9066 (EXCEPTION_TESTS_double): Likewise.
9067 (EXCEPTION_TESTS_long_double): Likewise.
9068 (EXCEPTION_TESTS_float128): Likewise.
9069 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
9071 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
9072 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
9073 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
9074 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
9075 * sysdeps/mips/math-tests.h: Likewise.
9076 * sysdeps/nios2/math-tests.h: Likewise.
9077 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9078 (EXCEPTION_TESTS_float): Do not define here.
9079 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
9080 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
9081 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
9083 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9085 * NEWS: Move optimized sinf entry to 2.29.
9087 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9089 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
9091 2018-08-22 DJ Delorie <dj@redhat.com>
9093 * Makefile (testroot.pristine): New rules to initialize the
9094 test-in-container "testroot".
9095 * Makerules (all-testsuite): Add tests-container.
9096 * Rules (tests-expected): Add tests-container.
9097 (binaries-all-tests): Likewise.
9098 (tests-container): New, run these tests in the testroot container.
9099 * support/Makefile (others): Add *-container, support_paths.c,
9100 xmkdirp, and links-dso-program.
9101 * support/links-dso-program-c.c: New.
9102 * support/links-dso-program.cc: New.
9103 * support/test-container.c: New.
9104 * support/shell-container.c: New.
9105 * support/echo-container.c: New.
9106 * support/true-container.c: New.
9107 * support/xmkdirp.c: New.
9108 * support/xsymlink.c: New.
9109 * support/support_paths.c: New.
9110 * support/support.h: Add support paths prototypes.
9111 * support/xunistd.h: Add xmkdirp () and xsymlink ().
9113 * nss/tst-nss-test3.c: Convert to test-in-container.
9114 * nss/tst-nss-test3.root/: New.
9116 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
9118 regex: port Gnulib code to z/OS POSIX environment
9119 Problem reported by Arnold Robbins in:
9120 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
9121 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
9124 2018-08-22 Joseph Myers <joseph@codesourcery.com>
9126 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
9127 (ROUNDING_TESTS_double): Remove.
9128 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
9129 (ROUNDING_TESTS_double): Remove.
9130 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
9131 (ROUNDING_TESTS_double): Remove.
9132 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
9133 (ROUNDING_TESTS_float): Remove.
9134 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
9135 (ROUNDING_TESTS_float): Remove.
9136 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
9137 (ROUNDING_TESTS_float): Remove.
9138 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
9140 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9141 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9143 * sysdeps/generic/math-tests-rounding.h: New file.
9144 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
9145 (ROUNDING_TESTS_float): Do not define here.
9146 (ROUNDING_TESTS_double): Likewise.
9147 (ROUNDING_TESTS_long_double): Likewise.
9148 (ROUNDING_TESTS_float128): Likewise.
9149 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
9150 (ROUNDING_TESTS_double): Undefine before defining.
9151 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
9152 (ROUNDING_TESTS_double): Undefine before defining.
9153 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
9154 (ROUNDING_TESTS_double): Undefine before defining.
9155 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
9156 (ROUNDING_TESTS_float): Undefine before defining.
9157 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
9158 (ROUNDING_TESTS_float): Undefine before defining.
9159 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
9160 (ROUNDING_TESTS_float): Undefine before defining.
9161 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
9162 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
9164 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
9165 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
9166 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
9167 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9168 (ROUNDING_TESTS_float): Do not define here.
9169 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
9170 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
9171 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
9172 (ROUNDING_TESTS_float): Likewise.
9173 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
9174 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
9175 * sysdeps/mips/math-tests.h [__mips_soft_float]
9176 (ROUNDING_TESTS_float): Likewise.
9177 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
9178 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
9179 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
9180 (ROUNDING_TESTS_double): Likewise.
9181 (ROUNDING_TESTS_long_double): Likewise.
9183 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
9185 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
9186 (PF_XDP): New macro.
9187 (AF_XDP): New macro.
9188 (SOL_XDP): New macro.
9190 2018-08-21 Joseph Myers <joseph@codesourcery.com>
9192 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
9193 (TCP_INQ): Likewise.
9194 (TCP_CM_INQ): Likewise.
9195 (TCP_REPAIR_ON): Likewise.
9196 (TCP_REPAIR_OFF): Likewise.
9197 (TCP_REPAIR_OFF_NO_WP): Likewise.
9198 (struct tcp_zerocopy_receive): New type.
9200 2018-08-21 Florian Weimer <fweimer@redhat.com>
9202 * support/support.h (support_descriptor_supports_holes): Declare.
9203 * support/Makefile (libsupport-routines): Add
9204 support_descriptor_supports_holes.
9205 * support/support_descriptor_supports_holes.c: New file.
9206 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
9207 and stop testing if holes are not supported.
9208 * io/test-lfs.c (do_prepare): Likewise.
9209 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
9211 * timezone/tst-tzset.c (create_tz_file): Likewise.
9212 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
9214 (do_prepare): Set it.
9215 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
9217 2018-08-21 Florian Weimer <fweimer@redhat.com>
9220 * Makeconfig (+cflags): Do not sort (and deduplicate).
9222 2018-08-21 Florian Weimer <fweimer@redhat.com>
9224 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
9225 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
9227 2018-08-20 Florian Weimer <fweimer@redhat.com>
9229 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
9230 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
9232 2018-08-20 Joseph Myers <joseph@codesourcery.com>
9234 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
9235 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
9236 and ssi_arch members.
9238 * elf/elf.c (NT_VMCOREDD): New macro.
9239 (AT_MINSIGSTKSZ): Likewise.
9241 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9243 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
9244 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
9245 s_cosf-ppc64 and s_cosf-power8.
9246 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
9247 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9248 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9249 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
9251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
9252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
9253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
9254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
9255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
9256 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
9257 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
9259 2018-08-17 Florian Weimer <fweimer@redhat.com>
9261 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9263 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
9265 * malloc/malloc.c (_int_malloc): Additional binning code checks.
9267 2018-08-16 Florian Weimer <fweimer@redhat.com>
9269 * configure.ac: Add --with-nonshared-cflags option.
9270 * config.make.in (extra-nonshared-cflags): Set variable.
9271 * Makeconfig (CFLAGS-.oS): Use it.
9272 * manual/install.texi (Configuring and compiling): Document
9273 --with-nonshared-cflags.
9274 * configure: Regenerate.
9275 * INSTALL: Likewise.
9277 2018-08-16 Florian Weimer <fweimer@redhat.com>
9279 * Makeconfig (ASFLAGS): Always append required assembler flags.
9281 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
9283 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
9284 (malloc_consolidate): Likewise.
9286 2018-08-16 Pochang Chen <johnchen902@gmail.com>
9288 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
9290 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
9292 * benchtests/bench-strlen.c (do_test): Allocate buffers before
9295 * benchtests/bench-strlen.c: Print performance numbers in json.
9297 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9299 * sysdeps/powerpc/powerpc64/multiarch/Makefile
9300 (sysdep_routines): Build strcmp-power9 and strncmp-power9
9301 only for little endian.
9302 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9303 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
9304 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
9305 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
9306 Add check for little endian.
9307 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
9308 (__strcmp_power9): Add check for little endian.
9309 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
9310 Add check for little endian.
9311 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
9312 (__strncmp_power9): Add check for little endian.
9313 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
9314 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
9315 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
9316 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
9317 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
9319 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
9321 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
9322 [!STRLEN](STRLEN): Set to __strlen.
9323 * sysdeps/aarch64/multiarch/strlen.c: New file.
9324 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
9325 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
9326 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
9327 (__libc_ifunc_impl_list): Add strlen.
9328 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
9329 strlen_generic and strlen_asimd.
9331 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
9333 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
9334 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
9335 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
9337 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
9339 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
9341 2018-08-14 Florian Weimer <fweimer@redhat.com>
9344 * include/stdio.h (__vfxprintf): Declare.
9345 * stdio-common/fxprintf.c (__vfxprintf): New function.
9346 (__fxprintf): Call it.
9347 * misc/err.c (convert_and_print): Remove function.
9348 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
9349 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
9350 * misc/Makefile (tests): Add tst-warn-wide.
9351 * misc/tst-warn-wide.c: New file.
9353 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
9354 Szabolcs Nagy <szabolcs.nagy@arm.com>
9356 * NEWS: Mention sinf, cosf, sincosf.
9357 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
9358 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
9359 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
9360 constants rather than including generic sincosf.h.
9361 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
9362 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
9363 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
9364 (reduced_cos): Remove.
9365 (sinf_poly): New function.
9366 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
9368 2018-08-14 Florian Weimer <fweimer@redhat.com>
9372 * nss/nss_files/files-alias.c (get_next_alias): During :include:
9373 processing, bail out if no room, and close the stream before
9375 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
9376 (tst-nss-files-alias-leak): Link with libdl.
9377 (tst-nss-files-alias-leak.out): Depend on nss_files.
9379 * nss/tst-nss-files-alias-leak.c: New file.
9381 2018-08-14 Florian Weimer <fweimer@redhat.com>
9383 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
9384 server_user, stat_user.
9386 2018-08-13 Joseph Myers <joseph@codesourcery.com>
9388 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9390 (io_pgetevents): New syscall.
9393 * manual/install.texi (Configuring and compiling): Do not list
9394 tools used for testing pretty printers here.
9395 (Tools for Compilation): List Python, PExpect and GDB here.
9396 Update descriptions of uses of Perl and Python.
9397 * INSTALL: Regenerate.
9399 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9402 2018-08-13 Florian Weimer <fweimer@redhat.com>
9404 * misc/error.c (error): Add missing va_end call.
9405 (error_at_line): Likewise.
9407 2018-08-13 Florian Weimer <fweimer@redhat.com>
9409 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
9411 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
9413 * benchtests/scripts/benchout.schema.json (properties): Add
9416 * benchtests/bench-skeleton.c (main): Add duration and
9417 iterations attributes.
9419 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
9421 regex: Gnulib unibyte RRI uses bytes not chars
9422 Adjust the non-glibc code to agree with what Gawk needs for
9423 rational range interpretation (RRI) for regular expression ranges.
9424 In unibyte locales, Gawk wants ranges to use the underlying byte
9425 rather than the character code point. This change does not affect
9427 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
9428 In unibyte locales, use the byte value rather than
9429 running it through btowc.
9431 2018-08-10 Joseph Myers <joseph@codesourcery.com>
9433 * sysdeps/generic/math-tests-snan.h: New file.
9434 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
9435 (SNAN_TESTS_float): Do not define here.
9436 (SNAN_TESTS_double): Likewise.
9437 (SNAN_TESTS_long_double): Likewise.
9438 (SNAN_TESTS_float128): Likewise.
9439 * sysdeps/i386/fpu/math-tests-snan.h: New file.
9440 * sysdeps/i386/fpu/math-tests.h: Remove file.
9441 * sysdeps/ia64/math-tests-snan.h: New file.
9442 * sysdeps/ia64/math-tests.h: Remove file.
9443 * sysdeps/x86/math-tests.h: Likewise.
9444 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
9446 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9447 Szabolcs Nagy <szabolcs.nagy@arm.com>
9449 * math/Makefile: Add s_sincosf_data.c.
9450 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
9451 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
9452 (sincosf_poly): Likewise.
9453 (reduce_small): Likewise.
9454 (reduce_large): Likewise.
9455 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
9456 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
9457 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
9458 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
9460 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9461 Szabolcs Nagy <szabolcs.nagy@arm.com>
9463 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
9464 (converttoint): Use lround.
9465 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
9466 document the semantics when TOINT_INTRINSICS is set.
9467 (converttoint): Likewise.
9468 (TOINT_RINT): Remove.
9469 (TOINT_SHIFT): Remove.
9470 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
9473 2018-08-10 Florian Weimer <fweimer@redhat.com>
9476 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
9478 (__old_getdents64): Use getdents64. Convert entries without
9480 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
9481 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
9482 tst-readdir64-compat.
9484 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9486 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
9489 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9491 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
9492 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
9493 code to s390x-mcount.h and #include it.
9494 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
9495 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9498 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9500 * stdlib/Versions: Remove __fentry__.
9501 * sysdeps/i386/Versions: Add __fentry__.
9502 * sysdeps/x86_64/Versions: Add __fentry__.
9504 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9506 * sysdeps/s390/Makefile: Register the new tests.
9507 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
9508 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
9509 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
9510 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
9511 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
9512 * sysdeps/s390/tst-dl-runtime.c: New file.
9514 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9516 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9519 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9521 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9524 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9526 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9529 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9531 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9534 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9536 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9537 Use symbolic offsets for stack variables.
9539 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9541 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9542 Use symbolic offsets for stack variables.
9544 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9546 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9547 Use symbolic offsets for stack variables.
9549 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9551 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9552 Use symbolic offsets for stack variables.
9554 2018-08-09 Joseph Myers <joseph@codesourcery.com>
9556 * math/gen-libm-test.py: New file.
9557 * math/gen-libm-test.pl: Remove.
9558 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
9559 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
9561 ($(libm-test-c-noauto-obj)): Likewise.
9562 ($(libm-test-c-auto-obj)): Likewise.
9563 ($(libm-test-c-narrow-obj)): Likewise.
9564 (regen-ulps): Likewise.
9565 * math/README.libm-test: Update references to gen-libm-test.pl.
9566 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
9567 referencing gen-libm-test.pl.
9568 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
9569 * math/libm-test-support.c: Likewise.
9570 * math/libm-test-support.h: Likewise.
9571 * sysdeps/generic/libm-test-ulps: Likewise.
9573 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
9575 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
9578 2018-08-08 Joseph Myers <joseph@codesourcery.com>
9580 * math/libm-test-nextdown.inc (do_test): Move comment to ....
9581 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
9583 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
9585 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
9587 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
9588 __pthread_setspecific): Add hidden proto.
9589 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
9590 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
9592 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
9594 * benchtests/bench-string.h (buf1_size, buf2_size): New
9596 (init_sizes): New function.
9597 (test_init): Use it.
9598 (alloc_buf, exit_error): New functions.
9599 (alloc_bufs): Use ALLOC_BUF.
9600 (realloc_bufs): Remove.
9601 * benchtests/bench-memcmp.c (do_test): Adjust.
9602 * benchtests/bench-memset-large.c (do_test): Likewise.
9603 * benchtests/bench-memset-walk.c (do_test): Likewise.
9604 * benchtests/bench-memset.c (do_test): Likewise.
9605 * benchtests/bench-strncmp.c (do_test): Likewise.
9607 2018-08-06 Andreas Schwab <schwab@suse.de>
9609 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
9610 of CONST_THREAD_AREA.
9612 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
9614 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
9615 (STATE_SAVE_MASK): Likewise.
9616 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
9617 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
9618 (STATE_SAVE_MASK): Likewise.
9619 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
9620 instead of <cpu-features.h>.
9622 2018-08-03 DJ Delorie <dj@redhat.com>
9624 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
9625 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
9627 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
9629 2018-08-03 Joseph Myers <joseph@codesourcery.com>
9631 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
9633 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
9634 * math/libm-test-logb.inc (logb_test_data): Likewise.
9636 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
9638 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
9639 * string/strstr.c (AVAILABLE): Likewise.
9641 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
9643 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
9645 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
9646 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
9647 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
9649 2018-08-03 Carlos O'Donell <carlos@redhat.com>
9651 * po/be.po: Update translation.
9653 * po/be.po: Update translation.
9655 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
9657 * sysdeps/x86/cpu-features-offsets.sym
9658 (rtld_global_ro_offsetof): Removed.
9659 (CPU_FEATURES_SIZE): Likewise.
9660 (CPUID_OFFSET): Likewise.
9661 (CPUID_SIZE): Likewise.
9662 (CPUID_EAX_OFFSET): Likewise.
9663 (CPUID_EBX_OFFSET): Likewise.
9664 (CPUID_ECX_OFFSET): Likewise.
9665 (CPUID_EDX_OFFSET): Likewise.
9666 (FAMILY_OFFSET): Likewise.
9667 (MODEL_OFFSET): Likewise.
9668 (FEATURE_OFFSET): Likewise.
9669 (FEATURE_SIZ): Likewise.
9670 (COMMON_CPUID_INDEX_1): Likewise.
9671 (COMMON_CPUID_INDEX_7): Likewise.
9672 (FEATURE_INDEX_1): Likewise.
9673 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
9675 2018-08-02 Carlos O'Donell <carlos@redhat.com>
9677 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
9678 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
9679 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
9680 (install-locales): Depend on install-locale-archive.
9681 (install-locale-archive): Define.
9682 (install-locale-files): Define.
9683 (build-one-locale): Define macro.
9684 * manual/install.texi (Running make install): Document.
9685 * manual/INSTALL: Regenerate.
9687 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
9689 * benchtests/scripts/compare_strings.py: Import traceback.
9690 (parse_file): Pretty-print error.
9692 * NEWS: Mention the change.
9693 * elf/dl-tunables.list: Rename tune namespace to cpu.
9694 * sysdeps/powerpc/dl-tunables.list: Likewise.
9695 * sysdeps/x86/dl-tunables.list: Likewise.
9696 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
9698 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
9699 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
9700 * manual/README.tunables: Likewise.
9701 * manual/tunables.texi: Likewise.
9702 * sysdeps/powerpc/cpu-features.c: Likewise.
9703 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
9704 (init_cpu_features): Likewise.
9705 * sysdeps/x86/cpu-features.c: Likewise.
9706 * sysdeps/x86/cpu-features.h: Likewise.
9707 * sysdeps/x86/cpu-tunables.c: Likewise.
9708 * sysdeps/x86_64/Makefile: Likewise.
9709 * sysdeps/x86/dl-cet.c: Likewise.
9711 2018-08-02 Joseph Myers <joseph@codesourcery.com>
9714 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
9715 [__mips_hard_float].
9716 (FE_UNDERFLOW): Likewise.
9717 (FE_OVERFLOW): Likewise.
9718 (FE_DIVBYZERO): Likewise.
9719 (FE_INVALID): Likewise.
9720 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
9721 (FE_TOWARDZERO): Define only if [__mips_hard_float].
9722 (FE_UPWARD): Likewise.
9723 (FE_DOWNWARD): Likewise.
9724 (__FE_UNDEFINED): Define if [!__mips_hard_float]
9725 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
9726 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
9727 [__mips_hard_float].
9728 (FP_ROUNDMODE): Likewise.
9729 (FP_RND_NEAREST): Likewise.
9730 (FP_RND_ZERO): Likewise.
9731 (FP_RND_PINF): Likewise.
9732 (FP_RND_MINF): Likewise.
9733 (FP_EX_INVALID): Likewise.
9734 (FP_EX_OVERFLOW): Likewise.
9735 (FP_EX_UNDERFLOW): Likewise.
9736 (FP_EX_DIVZERO): Likewise.
9737 (FP_EX_INEXACT): Likewise.
9738 (FP_INIT_ROUNDMODE): Likewise.
9739 * sysdeps/mips/nofpu/fesetenv.c: New file.
9740 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
9742 2018-08-01 Joseph Myers <joseph@codesourcery.com>
9744 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
9745 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
9746 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
9747 conditional on [FE_UPWARD].
9749 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
9751 regex: fix memory leak in Gnulib
9752 Problem and fix reported by Assaf Gordon in:
9753 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
9754 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
9755 range_ends members too, as they are defined in 'struct
9756 re_charset_t' even if not _LIBC. This affects only Gnulib.
9758 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
9760 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
9762 (get_common_indices): This.
9763 (init_cpu_features): Updated.
9765 2018-08-01 Joseph Myers <joseph@codesourcery.com>
9767 * sysdeps/generic/math-tests-snan-payload.h: New file.
9768 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
9769 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
9770 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
9771 * sysdeps/generic/math-tests.h: Include
9772 <math-tests-snan-payload.h>.
9773 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
9774 * sysdeps/hppa/math-tests.h: Remove file.
9775 * sysdeps/mips/math-tests.h [!__mips_nan2008]
9776 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
9777 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
9780 * sysdeps/generic/math-tests-snan-cast.h: New file.
9781 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
9782 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
9783 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
9784 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
9786 2018-08-01 Carlos O'Donel <carlos@redhat.com>
9788 * version.h (RELEASE): Set to "development".
9789 (VERSION): Set to "2.28.9000".
9790 * NEWS (2.29): New section.
9792 * version.h (RELEASE): Set to "stable".
9793 (VERSION): Set to "2.28".
9794 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
9795 * NEWS: Add the list of bugs fixed in 2.28.
9797 * po/ca.po: Update to latest version.
9798 * po/cs.po: Likewise
9799 * po/da.po: Likewise
9800 * po/el.po: Likewise
9801 * po/eo.po: Likewise
9802 * po/es.po: Likewise
9803 * po/fi.po: Likewise
9804 * po/fr.po: Likewise
9805 * po/gl.po: Likewise
9806 * po/hu.po: Likewise
9807 * po/ia.po: Likewise
9808 * po/id.po: Likewise
9809 * po/it.po: Likewise
9810 * po/ja.po: Likewise
9811 * po/ko.po: Likewise
9812 * po/lt.po: Likewise
9813 * po/nb.po: Likewise
9814 * po/nl.po: Likewise
9815 * po/pt_BR.po: Likewise
9816 * po/ru.po: Likewise
9817 * po/rw.po: Likewise
9818 * po/sk.po: Likewise
9819 * po/sl.po: Likewise
9820 * po/tr.po: Likewise
9821 * po/zh_CN.po: Likewise
9822 * po/zh_TW.po: Likewise
9824 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9826 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
9828 (init): ... before initializing libpthread.
9830 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
9831 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
9832 (__mach_setup_tls): ... new function.
9833 (mach_setup_tls): New alias.
9834 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
9835 __mach_setup_thread.
9836 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
9837 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
9838 * mach/Versions [libc] (mach_setup_tls): Add symbol.
9839 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
9841 2018-07-31 Carlos O'Donell <carlos@redhat.com>
9843 * manual/install.texi: Update versions.
9844 * INSTALL: Regenerate.
9846 * manual/contrib.texi (Contributors): Update contributions.
9848 2018-07-31 Carlos O'Donell <carlos@redhat.com>
9850 * po/be.po: Update translations.
9852 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9854 * sysdeps/sh/libm-test-ulps: Update.
9856 2018-07-30 Carlos O'Donell <carlos@redhat.com>
9858 * po/bg.po: Update translations.
9859 * po/de.po: Likewise.
9860 * po/hr.po: Likewise.
9861 * po/pt_BR.po: Likewise.
9862 * po/sv.po: Likewise.
9863 * po/vi.po: Likewise.
9865 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
9868 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9869 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
9870 (CFLAGS-tst-cet-property-1.o): New.
9871 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
9872 ($(objpfx)tst-cet-property-2): Likewise.
9873 ($(objpfx)tst-cet-property-2.out): Likewise.
9874 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
9875 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
9876 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
9877 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
9878 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
9880 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
9883 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
9885 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
9887 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
9888 __sbrk): Do not set attribute_hidden.
9889 * sysdeps/mach/hurd/not-errno.h: New file.
9890 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9891 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
9893 2018-07-27 Carlos O'Donell <carlos@redhat.com>
9895 * po/uk.po: Update translations.
9896 * po/cs.po: Likewise.
9897 * po/pl.po: Likewise.
9899 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
9901 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
9902 parse beyond the note end.
9904 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9906 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
9907 kernel does not support OFD locks.
9908 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
9910 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9912 * sysdeps/mach/hurd/Versions (libc): Make __access and
9913 __access_noerrno external so they can override the ld symbols.
9914 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
9915 __writev, __open64, __access_noerrno extern so they can be overrided.
9916 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
9917 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9919 2018-07-26 Carlos O'Donell <carlos@redhat.com>
9921 * po/libc.pot: Regenerate.
9923 2018-07-26 Joseph Myers <joseph@codesourcery.com>
9925 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
9927 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9930 * sysdeps/x86/cpu-features.c (get_extended_indices): New
9932 (init_cpu_features): Call get_extended_indices for both Intel
9934 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
9935 Remove "for AMD" comment.
9937 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9940 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
9941 COMMON_CPUID_INDEX_80000001.
9943 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
9945 * string/tst-xbzero-opt.c (use_test_buffer): New function.
9946 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
9948 2018-07-26 Florian Weimer <fweimer@redhat.com>
9950 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
9951 aliases for symbols not in the implementation namespace.
9953 2018-07-25 Carlos O'Donell <carlos@redhat.com>
9956 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
9957 lowercase in LATIN script.
9958 * localedata/Makefile (test-input): Add en_US.UTF-8.
9959 * localedata/en_US.UTF-8.in: New file.
9960 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
9961 and restore old tests.
9962 * posix/tst-regexloc.c (do_test): Add back range expression test.
9964 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9966 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
9968 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9970 * nptl/threads.h: Move to ...
9971 * sysdeps/nptl/threads.h: ... here.
9972 * sysdeps/hurd/stdc-predef.h: New file.
9974 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9976 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9977 tst-cet-setcontext-1 if CET is enabled.
9978 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
9979 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
9981 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9983 * include/threads.h: Move to ...
9984 * sysdeps/nptl/threads.h: ... here.
9985 * sysdeps/htl/threads.h: New file.
9986 * conform/Makefile (linknamespace-libs-ISO11): Use
9987 static-thread-library instead of linking libpthread.
9988 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
9990 2018-07-25 Florian Weimer <fweimer@redhat.com>
9992 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
9993 nanoseconds into seconds.
9994 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
9995 (do_test): Likewise.
9996 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
9997 (do_test): Likewise. Avoid nanosecond overflow and spurious
9998 timeouts due to system load.
9999 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
10000 (child_wait): Increment it.
10001 (do_test): Wait as long as necessary until all expected threads
10004 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
10005 H.J. Lu <hongjiu.lu@intel.com>
10007 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
10009 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
10010 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
10011 (__push___start_context): New.
10012 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
10014 (__getcontext): Record the current shadow stack base. Save the
10015 caller's shadow stack pointer and base.
10016 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
10017 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
10018 (__push___start_context): New prototype.
10019 (__makecontext): Call __push___start_context to allocate a new
10020 shadow stack, push __start_context onto the new stack as well
10021 as the new shadow stack.
10022 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
10024 (__setcontext): Restore the target shadow stack.
10025 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
10027 (__swapcontext): Record the current shadow stack base. Save
10028 the caller's shadow stack pointer and base. Restore the target
10030 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10031 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
10032 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
10034 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10036 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
10037 tst-setcontext8 and tst-setcontext9.
10038 * stdlib/tst-setcontext6.c: New file.
10039 * stdlib/tst-setcontext7.c: Likewise.
10040 * stdlib/tst-setcontext8.c: Likewise.
10041 * stdlib/tst-setcontext9.c: Likewise.
10043 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10045 * stdlib/Makefile ((tests): Add tst-setcontext5.
10046 * stdlib/tst-setcontext5.c: New file.
10048 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10050 * stdlib/Makefile (tests): Add tst-setcontext4.
10051 * stdlib/tst-setcontext4.c: New file.
10053 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10055 * stdlib/Makefile (tests): Add tst-swapcontext1.
10056 * stdlib/tst-swapcontext1.c: New test.
10058 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10060 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
10061 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
10062 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
10063 and tst-cet-legacy-4c.
10064 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
10065 and tst-cet-legacy-mod-4.
10066 (CFLAGS-tst-cet-legacy-2.c): New.
10067 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
10068 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
10069 (CFLAGS-tst-cet-legacy-3.c): Likewise.
10070 (CFLAGS-tst-cet-legacy-4.c): Likewise.
10071 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
10072 ($(objpfx)tst-cet-legacy-1): Likewise.
10073 ($(objpfx)tst-cet-legacy-2): Likewise.
10074 ($(objpfx)tst-cet-legacy-2.out): Likewise.
10075 ($(objpfx)tst-cet-legacy-2a): Likewise.
10076 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
10077 ($(objpfx)tst-cet-legacy-4): Likewise.
10078 ($(objpfx)tst-cet-legacy-4.out): Likewise.
10079 ($(objpfx)tst-cet-legacy-4a): Likewise.
10080 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
10081 (tst-cet-legacy-4a-ENV): Likewise.
10082 ($(objpfx)tst-cet-legacy-4b): Likewise.
10083 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
10084 (tst-cet-legacy-4b-ENV): Likewise.
10085 ($(objpfx)tst-cet-legacy-4c): Likewise.
10086 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
10087 (tst-cet-legacy-4c-ENV): Likewise.
10088 * sysdeps/x86/tst-cet-legacy-1.c: New file.
10089 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
10090 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
10091 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
10092 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
10093 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
10094 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
10095 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
10096 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
10097 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
10098 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
10100 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10102 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10103 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10105 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10106 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10109 2018-07-25 Andreas Schwab <schwab@suse.de>
10112 * locale/weightwc.h (findidx): Handle the case where usrc is a
10113 prefix of cp but one character too short.
10115 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10117 * NEWS: Add ISO C threads addition.
10119 2018-07-24 Florian Weimer <fweimer@redhat.com>
10121 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10122 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
10123 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
10126 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10128 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
10129 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
10130 <sys/prctl.h> and <asm/prctl.h>.
10131 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
10132 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
10134 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
10135 ARCH_CET_LEGACY_BITMAP.
10136 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
10137 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
10138 * sysdeps/x86/libc-start.c: Include <startup.h>.
10140 2018-07-24 Florian Weimer <fweimer@redhat.com>
10142 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
10143 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
10145 2018-07-24 Rical Jasan <rj@2c3t.io>
10146 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10147 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10150 * manual/debug.texi: Update adjacent chapter name.
10151 * manual/probes.texi: Likewise.
10152 * manual/threads.texi (ISO C Threads): New section.
10153 (POSIX Threads): Convert to a section.
10155 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10156 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10159 * nptl/Makefile (tests): Add new test files.
10160 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
10161 * nptl/tst-cnd-basic.c: Likewise.
10162 * nptl/tst-cnd-broadcast.c: Likewise.
10163 * nptl/tst-cnd-timedwait.c: Likewise.
10164 * nptl/tst-mtx-basic.c: Likewise.
10165 * nptl/tst-mtx-recursive.c: Likewise.
10166 * nptl/tst-mtx-timedlock.c: Likewise.
10167 * nptl/tst-mtx-trylock.c: Likewise.
10168 * nptl/tst-thrd-basic.c: Likewise.
10169 * nptl/tst-thrd-detach.c: Likewise.
10170 * nptl/tst-thrd-sleep.c: Likewise.
10171 * nptl/tst-tss-basic.c: Likewise.
10173 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10176 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10177 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
10179 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10180 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10181 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10182 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10183 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10184 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10185 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10186 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10187 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10188 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10189 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10190 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
10197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10198 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10199 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10200 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10201 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10202 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10203 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10204 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10205 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10206 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
10207 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
10208 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
10209 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
10210 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
10212 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
10213 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
10214 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
10215 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
10216 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
10217 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
10218 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
10219 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
10220 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
10221 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
10222 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
10223 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
10225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
10226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10230 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
10231 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
10232 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
10233 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
10234 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
10235 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
10236 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
10237 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
10240 * conform/data/threads.h-data (thread_local): New macro.
10241 (TSS_DTOR_ITERATIONS): Likewise.
10243 (tss_dtor_t): Likewise.
10244 (tss_create): New function.
10245 (tss_get): Likewise.
10246 (tss_set): Likewise.
10247 (tss_delete): Likewise.
10248 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
10249 tss_get, and tss_set objects.
10250 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10251 * nptl/tss_create.c: New file.
10252 * nptl/tss_delete.c: Likewise.
10253 * nptl/tss_get.c: Likewise.
10254 * nptl/tss_set.c: Likewise.
10255 * sysdeps/nptl/threads.h (thread_local): New define.
10256 (TSS_DTOR_ITERATIONS): Likewise.
10257 (tss_t): New typedef.
10258 (tss_dtor_t): Likewise.
10259 (tss_create): New prototype.
10260 (tss_get): Likewise.
10261 (tss_set): Likewise.
10262 (tss_delete): Likewise.
10265 * conform/data/threads.h-data (cnd_t): New type.
10266 (cnd_init): New function.
10267 (cnd_signal): Likewise.
10268 (cnd_broadcast): Likewise.
10269 (cnd_wait): Likewise.
10270 (cnd_timedwait): Likewise.
10271 (cnd_destroy): Likewise.
10272 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
10273 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
10275 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10276 * nptl/cnd_broadcast.c: New file.
10277 * nptl/cnd_destroy.c: Likewise.
10278 * nptl/cnd_init.c: Likewise.
10279 * nptl/cnd_signal.c: Likewise.
10280 * nptl/cnd_timedwait.c: Likewise.
10281 * nptl/cnd_wait.c: Likewise.
10282 * sysdeps/nptl/threads.h (cnd_t): New type.
10283 (cnd_init): New prototype.
10284 (cnd_signa): Likewise.
10285 (cnd_broadcast): Likewise.
10286 (cnd_wait): Likewise.
10287 (cnd_timedwait): Likewise.
10288 (cnd_destroy): Likewise.
10291 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
10292 (once_flag): New type.
10293 (call_once): New function.
10294 * nptl/Makefile (libpthread-routines): Add call_once object.
10295 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
10296 * nptl/call_once.c: New file.
10297 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
10298 (once_flag): New type.
10299 (call_once): New prototype.
10302 * conform/data/threads.h-data (mtx_plain): New constant.
10303 (mtx_recursive): Likewise.
10304 (mtx_timed): Likewise.
10306 (mtx_init): New function.
10307 (mtx_lock): Likewise.
10308 (mtx_timedlock): Likewise.
10309 (mtx_trylock): Likewise.
10310 (mtx_unlock): Likewise.
10311 (mtx_destroy): Likewise.
10312 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
10313 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
10314 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
10315 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
10316 * nptl/mtx_destroy.c: New file.
10317 * nptl/mtx_init.c: Likewise.
10318 * nptl/mtx_lock.c: Likewise.
10319 * nptl/mtx_timedlock.c: Likewise.
10320 * nptl/mtx_trylock.c: Likewise.
10321 * nptl/mtx_unlock.c: Likewise.
10322 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
10323 (mtx_recursive): Likewise.
10324 (mtx_timed): Likewise.
10326 (mtx_init): New prototype.
10327 (mtx_lock): Likewise.
10328 (mtx_timedlock): Likewise.
10329 (mtx_trylock): Likewise.
10330 (mtx_unlock): Likewise.
10331 (mtx_destroy): Likewise.
10334 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
10335 (linknamespace-libs-ISO11): Add libpthread.a.
10336 * conform/data/threads.h-data: New file: add C11 thrd_* types and
10338 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
10339 * nptl/Makefile (headers): Add threads.h.
10340 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
10341 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
10343 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
10344 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
10345 thrd_join, thrd_sleep, and thrd_yield symbols.
10346 * nptl/descr.h (struct pthread): Add c11 field.
10347 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
10348 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
10349 routine with expected function prototype.
10350 (__pthread_create_2_1): Add C11 threads check based on attribute
10352 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
10353 * nptl/thrd_create.c: New file.
10354 * nptl/thrd_current.c: Likewise.
10355 * nptl/thrd_detach.c: Likewise.
10356 * nptl/thrd_equal.c: Likewise.
10357 * nptl/thrd_exit.c: Likewise.
10358 * nptl/thrd_join.c: Likewise.
10359 * nptl/thrd_priv.h: Likewise.
10360 * nptl/thrd_sleep.c: Likewise.
10361 * nptl/thrd_yield.c: Likewise.
10362 * include/threads.h: Likewise.
10364 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10366 * bits/indirect-return.h: New file.
10367 * misc/sys/cdefs.h (__glibc_has_attribute): New.
10368 * sysdeps/x86/bits/indirect-return.h: Likewise.
10369 * stdlib/Makefile (headers): Add bits/indirect-return.h.
10370 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
10371 (swapcontext): Add __INDIRECT_RETURN.
10372 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
10373 (prepare_test_buffer): Use it.
10375 2018-07-24 Andreas Schwab <schwab@suse.de>
10378 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
10379 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
10381 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10383 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
10384 Redefine if shadow stack is enabled.
10385 (SYSCALL_ERROR_LABEL): Likewise.
10386 (__vfork): Pop shadow stack and jump back to to caller directly
10387 when shadow stack is in use.
10388 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
10389 Redefine if shadow stack is enabled.
10390 (SYSCALL_ERROR_LABEL): Likewise.
10391 (__vfork): Pop shadow stack and jump back to to caller directly
10392 when shadow stack is in use.
10394 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10396 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
10399 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
10402 2018-07-20 Joseph Myers <joseph@codesourcery.com>
10404 * scripts/build-many-glibcs.py (Context.checkout): Default
10405 binutils version to 2.31 branch.
10407 2018-07-20 Zong Li <zong@andestech.com>
10409 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
10410 URL of gcc's tarball.
10412 2018-07-20 Florian Weimer <fweimer@redhat.com>
10415 * posix/regcomp.c (build_equiv_class): When comparing weights, do
10416 not compare an extra byte after the end of the weights.
10418 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
10420 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
10422 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
10424 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
10425 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
10426 * scripts/check-execstack.awk: Consider `xfail' variable containing a
10427 list of libraries whose stack executability is expected.
10428 * elf/Makefile ($(objpfx)check-execstack.out): Pass
10429 $(check-execstack-xfail) to check-execstack.awk through `xfail'
10431 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
10432 libc.so libpthread.so.
10434 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
10436 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
10438 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
10440 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
10442 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
10444 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10446 * benchtests/scripts/compare_bench.py (__main__): use the argparse
10447 library to improve command line parsing.
10448 (__main__): make schema file as optional parameter (--schema),
10449 defaulting to benchtests/scripts/benchout.schema.json.
10450 (main): move out of the parsing stuff to __main_ and leave it
10451 only as caller of main comparison functions.
10453 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
10455 * NEWS: Add a note for Intel CET status.
10456 * manual/install.texi: Likewise.
10457 * INSTALL: Regenerated.
10459 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
10462 * localedata/locales/oc_FR (mon): Rename to...
10463 (alt_mon): This, then update October (typo fix).
10464 (mon): New content (genitive case, month names preceded by
10468 * localedata/locales/oc_FR (abday): Update all items.
10469 (day): Update Wednesday and Saturday (typo fixes).
10470 (abmon): Update all items, except May.
10471 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
10472 (LC_IDENTIFICATION): Bump the revision number and date.
10473 Keep the "category" entries in alphabetic order.
10474 (LC_ADDRESS): Remove no longer needed comment.
10475 (LC_COLLATE): Use “copy "ca_ES"”.
10476 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
10479 2018-07-18 Joseph Myers <joseph@codesourcery.com>
10481 * grp/tst_fgetgrent.c: Include <unistd.h>.
10482 (main): Use mkstemp instead of tmpnam.
10483 * io/test-utime.c (main): Likewise.
10484 * posix/annexc.c (macrofile): Change to modifiable array.
10485 (main): Remove macrofile here.
10486 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10488 (check_header): Do not remove macrofile here.
10489 * posix/bug-getopt1.c: Include <stdlib.h>.
10490 (do_test): Use mkstemp instead of tmpnam.
10491 * posix/bug-getopt2.c: Include <stdlib.h>.
10492 (do_test): Use mkstemp instead of tmpnam.
10493 * posix/bug-getopt3.c: Include <stdlib.h>.
10494 (do_test): Use mkstemp instead of tmpnam.
10495 * posix/bug-getopt4.c: Include <stdlib.h>.
10496 (do_test): Use mkstemp instead of tmpnam.
10497 * posix/bug-getopt5.c: Include <stdlib.h>.
10498 (do_test): Use mkstemp instead of tmpnam.
10499 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
10500 (main): Use mkstemp instead of tmpnam.
10501 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
10502 (main): Use mkstemp instead of tmpnam.
10503 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
10504 (main): use mkstemp instead of tmpnam.
10505 * stdlib/isomac.c (macrofile): Change to modifiable array.
10506 (main): Remove macrofile here.
10507 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10509 (check_header): Do not remove macrofile here.
10511 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10513 * manual/tunables.texi: Document glibc.tune.x86_ibt and
10514 glibc.tune.x86_shstk.
10516 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10518 * NEWS: Mention --enable-cet.
10519 * manual/install.texi: Document --enable-cet.
10520 * INSTALL: Regenerated.
10522 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10524 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
10525 Add _CET_NOTRACK before indirect jump to jump table.
10527 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10529 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
10530 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10533 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10535 * sysdeps/i386/i686/multiarch/strcat-sse2.S
10536 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10539 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10541 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
10542 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10545 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10547 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
10548 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10551 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10553 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
10554 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10556 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
10558 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10560 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
10561 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10564 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10566 * sysdeps/i386/i686/multiarch/memset-sse2.S
10567 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10570 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10572 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
10573 indirect jump to jump table.
10575 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10577 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
10578 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10580 (MEMCPY): Likewise.
10582 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10584 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
10585 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10587 (MEMCPY): Likewise.
10589 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10591 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
10592 _CET_NOTRACK before indirect jump to jump table.
10594 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10596 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
10597 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10600 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10602 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
10603 indirect jump to jump table.
10605 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
10608 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
10609 (LOCALES): Likewise.
10610 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
10611 * localedata/locales/sah_RU: New file.
10612 * localedata/sah_RU.UTF-8.in: New file.
10614 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10616 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
10618 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
10619 _CET_ENDBR to indirect jump targets and adjust jump destination
10621 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
10623 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
10624 _CET_ENDBR to indirect jump targets and adjust jump destination
10626 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
10628 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
10629 _CET_ENDBR to indirect jump targets and adjust jump destination
10632 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10634 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
10637 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10639 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
10641 (_dl_tlsdesc_undefweak): Likewise.
10642 (_dl_tlsdesc_dynamic): Likewise.
10643 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
10644 (_dl_tlsdesc_resolve_rel): Likewise.
10645 (_dl_tlsdesc_resolve_rela): Likewise.
10646 (_dl_tlsdesc_resolve_hold): Likewise.
10647 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
10648 (_dl_tlsdesc_undefweak): Likewise.
10649 (_dl_tlsdesc_dynamic): Likewise.
10650 (_dl_tlsdesc_resolve_rela): Likewise.
10651 (_dl_tlsdesc_resolve_hold): Likewise.
10653 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10655 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
10657 * sysdeps/x86_64/crti.S (_init): Likewise.
10660 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
10663 * localedata/locales/os_RU (mon): Rename to...
10665 (mon): Import from CLDR (genitive case).
10667 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10669 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
10670 cet-tunables.h> when CET is enabled.
10672 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
10675 * configure.ac: Add --enable-cet.
10676 * configure: Regenerated.
10677 * elf/Makefille (all-built-dso): Add a comment.
10678 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
10679 Include <dl-prop.h>.
10680 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
10682 * elf/dl-open.c: Include <dl-prop.h>.
10683 (dl_open_worker): Call _dl_open_check.
10684 * elf/rtld.c: Include <dl-prop.h>.
10685 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
10687 * sysdeps/generic/dl-prop.h: New file.
10688 * sysdeps/i386/dl-cet.c: Likewise.
10689 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
10690 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
10691 * sysdeps/x86/cet-tunables.h: Likewise.
10692 * sysdeps/x86/check-cet.awk: Likewise.
10693 * sysdeps/x86/configure: Likewise.
10694 * sysdeps/x86/configure.ac: Likewise.
10695 * sysdeps/x86/dl-cet.c: Likewise.
10696 * sysdeps/x86/dl-procruntime.c: Likewise.
10697 * sysdeps/x86/dl-prop.h: Likewise.
10698 * sysdeps/x86/libc-start.h: Likewise.
10699 * sysdeps/x86/link_map.h: Likewise.
10700 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
10702 (_dl_runtime_profile): Likewise.
10703 (_dl_runtime_resolve_shstk): New.
10704 (_dl_runtime_profile_shstk): Likewise.
10705 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
10707 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
10708 (CFLAGS-.os): Likewise.
10709 (CFLAGS-.op): Likewise.
10710 (CFLAGS-.oS): Likewise.
10711 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
10713 (tests-special): Add $(objpfx)check-cet.out.
10714 (cet-built-dso): New.
10715 (+$(cet-built-dso:=.note)): Likewise.
10716 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
10717 ($(objpfx)check-cet.out): New.
10718 (generated): Add check-cet.out.
10719 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
10721 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
10722 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
10723 (init_cpu_features): Call get_cet_status to check CET status
10724 and update dl_x86_feature_1 with CET status. Call
10725 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
10726 (set_x86_shstk). Disable and lock CET in libc.a.
10727 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
10728 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
10729 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
10730 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
10731 (_CET_ENDBR): Define if not defined.
10732 (ENTRY): Add _CET_ENDBR.
10733 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
10735 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
10737 (_dl_runtime_profile): Likewise.
10739 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
10742 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
10743 restore r2 on longjmp.
10744 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
10746 Added rules to build test tst-setjmp-bug21895-static.
10747 Added module setjmp-bug21895 and rules to build a shared object from it.
10748 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
10749 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
10751 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
10753 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
10754 * benchtests/bench-strstr.c: Likewise.
10755 * string/memmem.c (FASTSEARCH): Define.
10756 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
10757 Add support for FASTSEARCH.
10758 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
10759 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
10760 (FASTSEARCH): Define.
10761 * string/test-strcasestr.c: Rename __strnlen to strnlen.
10762 * string/test-strstr.c: Likewise.
10764 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
10766 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
10767 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
10769 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
10770 H.J. Lu <hongjiu.lu@intel.com>
10772 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
10773 (__longjmp): Restore shadow stack pointer if shadow stack is
10774 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
10775 isn't defined for __longjmp_cancel.
10776 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
10777 (_setjmp): Save shadow stack pointer if shadow stack is enabled
10778 and SHADOW_STACK_POINTER_OFFSET is defined.
10779 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
10780 (setjmp): Save shadow stack pointer if shadow stack is enabled
10781 and SHADOW_STACK_POINTER_OFFSET is defined.
10782 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
10783 (__sigsetjmp): Save shadow stack pointer if shadow stack is
10784 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10785 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
10787 (____longjmp_chk): Restore shadow stack pointer if shadow stack
10788 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10789 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
10790 Remove jmp_buf-ssp.sym.
10791 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10793 (____longjmp_chk): Restore shadow stack pointer if shadow stack
10794 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10795 * sysdeps/x86/Makefile (gen-as-const-headers): Add
10797 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
10798 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
10799 (__longjmp): Restore shadow stack pointer if shadow stack is
10800 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
10801 isn't defined for __longjmp_cancel.
10802 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
10803 (__sigsetjmp): Save shadow stack pointer if shadow stack is
10804 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10806 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
10809 * nptl/pthread_create.c: Include <tls-setup.h>.
10810 (__pthread_create_2_1): Call tls_setup_tcbhead.
10811 * sysdeps/generic/tls-setup.h: New file.
10812 * sysdeps/x86/nptl/tls-setup.h: Likewise.
10813 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
10814 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
10816 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
10818 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
10819 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
10820 (X86_FEATURE_1_SHSTK): Likewise.
10821 (CET_ENABLED): Likewise.
10822 (IBT_ENABLED): Likewise.
10823 (SHSTK_ENABLED): Likewise.
10825 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
10828 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
10829 (LOCALES): Likewise.
10830 * localedata/dsb_DE.UTF-8.in: New file.
10831 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
10833 2018-07-12 Florian Weimer <fweimer@redhat.com>
10835 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
10836 __mprotect, not mprotect.
10838 2018-07-11 Florian Weimer <fweimer@redhat.com>
10840 * io/Makefile (headers): Add bits/statx.h.
10842 2018-07-10 Mike FABIAN <mfabian@redhat.com>
10844 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
10845 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
10847 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
10848 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
10851 2018-07-10 Florian Weimer <fweimer@redhat.com>
10853 * io/Makefile (routines): Add statx.
10854 (tests-internal): Add tst-statx.
10855 * io/Versions (GLIBC_2.28): Export statx.
10856 * io/bits/statx.h: New file.
10857 * io/sys/stat.h [__USE_GNU]: Include it.
10858 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
10859 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
10861 * io/statx.c: New file.
10862 * io/statx_generic.: Likewise.
10863 * io/tst-statx.: Likewise.
10864 * include/bits/statx.h: Likewise.
10865 * sysdeps/unix/sysv/linux/kernel-features.h
10866 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
10867 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10868 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
10869 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
10871 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10872 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
10873 * sysdeps/unix/sysv/linux/statx.c: New file.
10874 * manual/filesys.texi: Note that statx is undocumented.
10875 * sysdeps/**/libc*.abilist: Update.
10877 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10879 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
10880 a kernel issue which lead to test failure in some cases.
10882 2018-07-10 Florian Weimer <fweimer@redhat.com>
10885 * posix/regexec.c (check_node_accept_bytes): When comparing
10886 weights, do not compare an extra byte after the end of the
10889 2018-07-10 Florian Weimer <fweimer@redhat.com>
10891 * libio/readline.c: Fix copyright year.
10892 * libio/tst-readline.c Likewise.
10893 * nss/tst-nss-files-hosts-getent.c: Likewise.
10895 2018-07-06 Florian Weimer <fweimer@redhat.com>
10898 * nss/nss_files/files-XXX.c (internal_getent): Use
10899 __libc_readline_unlocked. Seek back to the start of the line if
10900 parsing failes with ERANGE.
10901 (get_contents_ret, get_contents): Remove.
10902 * nss/tst-nss-files-hosts-getent.c: New file.
10903 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
10904 (tst-nss-files-hosts-getent): Link with -ldl.
10906 2018-07-06 Florian Weimer <fweimer@redhat.com>
10908 * include/stdio.h (__libc_readline_unlocked): Declare.
10909 (__ftello64, __fseeko64): Declare aliases.
10910 * libio/readline.c: New file.
10911 * libio/tst-readline.c: Likewise.
10912 (routines): Add readline.
10913 (tests-internal): Add tst-readlime.
10914 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
10915 __libc_readline_unlocked.
10916 * libio/fseeko.c (__fseeko): Rename from fseeko.
10917 (fseeko): Add alias.
10918 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
10919 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
10920 (fseeko64): Add alias.
10921 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
10922 * libio/ftello64.c (__ftello64): Rename from ftello64.
10923 (ftello64): Add alias.
10925 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10927 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
10930 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10932 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
10933 Use dl_hwcap without masking.
10934 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
10935 Remove HWCAP_CPUID.
10937 2018-07-06 Florian Weimer <fweimer@redhat.com>
10939 * conform/conformtest.pl (checknamespace): Escape literal braces
10940 in regular expressions.
10942 2018-07-06 Amit Pawar <amit.pawar@amd.com>
10944 * sysdeps/x86/cpu-features.c (get_common_indeces):
10945 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
10946 * sysdeps/x86/cpu-features.c (init_cpu_features):
10947 AVX_Fast_Unaligned_Load is disabled for Excavator core.
10949 2018-07-05 Florian Weimer <fweimer@redhat.com>
10951 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
10953 (CFLAGS-elf-init.oS): Likewise.
10955 2018-07-05 Florian Weimer <fweimer@redhat.com>
10956 Carlos O'Donell <carlos@redhat.com>
10958 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
10959 $(no-stack-protector). stack_chk_fail_local.c can be compiled
10960 with stack protector enabled because there is no risk of infinite
10963 2018-07-05 Maciej W. Rozycki <macro@mips.com>
10967 * libc-abis (ABSOLUTE): New ABI.
10968 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
10969 * NEWS: Mention the new ABI.
10971 2018-07-05 Florian Weimer <fweimer@redhat.com>
10974 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
10975 (RENAME_WHITEOUT): Define.
10976 [__USE_GNU] (renameat2): Declare.
10977 * stdio-common/Makefile (routines): Add renameat2.
10978 (tests): Add tst-renameat2.
10979 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
10980 * stdio-common/renameat2.c: New file.
10981 * stdio-common/tst-renameat2.c: Likewise.
10982 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
10983 * manual/filesys.texi (Temporary Files): Note that renameat2 is
10985 * sysdeps/unix/sysv/linux/kernel-features.h
10986 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
10987 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10988 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10989 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10990 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10991 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10992 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
10993 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10994 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
10995 * include/stdio.h (__renameat): Add alias for renameat.
10996 * stdio-common/renameat.c (__renameat): Rename from renameat.
10997 Add hidden definition and alias.
10998 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
10999 * sysdeps/mach/hurd/renameat.c: Likewise.
11000 * sysdeps/**/libc*.abilist: Add renameat2.
11002 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11004 * posix/bug-regex33.c: Fix build after regex sync.
11006 2018-07-04 Carlos O'Donell <carlos@redhat.com>
11009 * localedata/tst-langinfo-setlocale.c: New file.
11010 * localedata/tst-langinfo-setlocale-static.c: New file.
11011 * localedata/tst-langinfo-newlocale.c: New file.
11012 * localedata/tst-langinfo-newlocale-static.c: New file.
11013 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
11014 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
11015 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
11016 (tests-static): Remove tst-langinfo-static. Add
11017 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
11018 (tests-special): Remove $(objpfx)tst-langinfo.out,
11019 $(objpfx)tst-langinfo-static.out. Add
11020 $(objpfx)tst-langinfo-setlocale.out,
11021 $(objpfx)tst-langinfo-newlocale.out,
11022 $(objpfx)tst-langinfo-setlocale-static.out,
11023 $(objpfx)tst-langinfo-newlocale-static.out.
11024 ($(objpfx)tst-langinfo.out): Remove.
11025 ($(objpfx)tst-langinfo-static.out): Remove.
11026 ($(objpfx)tst-langinfo-newlocale.out): New target.
11027 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
11028 (test-xfail-tst-langinfo-newlocale-static): Add.
11029 ($(objpfx)tst-langinfo-setlocale.out): New target.
11030 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
11031 * localedata/tst-langinfo.c: Call test_locale.
11032 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
11035 2018-07-04 Florian Weimer <fweimer@redhat.com>
11037 testrun.sh: Implement --tool=strace, --tool=valgrind
11038 * Makefile (testrun-script): Define variable.
11039 (testrun.sh): Use variable.
11040 * manual/install.texi (Tools for Compilation): make 4.0 or later
11042 * configure.ac: Check for make 4.0 or later.
11043 * INSTALL: Regenerate.
11044 * configure: Likewise.
11046 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11052 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
11053 * posix/PCRE.tests: Remove invalid test.
11054 * posix/bug-regex28.c: Fix expected values for used syntax.
11055 * posix/bug-regex37.c: New file.
11056 * posix/bug-regex38.c: Likewise.
11057 * posix/regcomp.c: Sync with gnulib.
11058 * posix/regex.c: Likewise.
11059 * posix/regex.h: Likewise.
11060 * posix/regex_internal.c: Likewise.
11061 * posix/regex_internal.h: Likewise.
11062 * posix/regexec.c: Likewise.
11064 2018-06-26 Mike FABIAN <mfabian@redhat.com>
11067 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
11068 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
11069 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
11070 * localedata/unicode-gen/PropList.txt: likewise.
11071 * localedata/unicode-gen/UnicodeData.txt: likewise.
11072 * localedata/charmaps/UTF-8: Regenerate.
11073 * localedata/locales/i18n_ctype: likewise.
11074 * localedata/locales/tr_TR: likewise.
11075 * localedata/locales/translit_circle: likewise.
11076 * localedata/locales/translit_cjk_compat: likewise.
11077 * localedata/locales/translit_combining: likewise.
11078 * localedata/locales/translit_compat: likewise.
11079 * localedata/locales/translit_font: likewise.
11080 * localedata/locales/translit_fraction: likewise.
11082 2018-07-03 Florian Weimer <fweimer@redhat.com>
11085 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
11086 * stdio-common/tst-printf.sh: Adjust expected output.
11087 * LICENSES: Update.
11089 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11091 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
11094 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11096 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
11097 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
11098 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
11099 * stdio-common/tst-printfsz-islongdouble.c: New file.
11100 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
11101 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
11102 [subdir == stdio-common] (routines): Add ieee128-printf_size.
11103 [subdir == stdio-common] (tests-internal): Add
11104 test-printf-size-ieee128, and test-printf-size-ibm128.
11105 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
11106 (CFLAGS-test-printf-size-ibm128.c): New variables.
11107 [subdir == stdio-common] (tests-special): Add
11108 $(objpfx)test-printf-size-ieee128.out and
11109 $(objpfx)test-printf-size-ibm128.out.
11110 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
11111 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
11112 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
11113 __printf_sizeieee128.
11114 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
11116 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
11118 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
11121 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11123 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
11124 (exp2f_inline): Likewise.
11125 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
11126 (__math_uflowf): Likewise.
11127 (__math_may_uflowf): Likewise.
11128 (__math_divzerof): Likewise.
11129 (__math_invalidf): Likewise.
11130 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
11131 (__math_oflowf): Likewise.
11132 (__math_uflowf): Likewise.
11133 (__math_may_uflowf): Likewise.
11134 (__math_divzerof): Likewise.
11135 (__math_invalidf): Likewise.
11137 2018-06-29 DJ Delorie <dj@redhat.com>
11138 Carlos O'Donell <carlos@redhat.com>
11141 * include/libc-symbols.h: Comment the freeres framework.
11142 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
11143 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
11144 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
11145 * dlfcn/dlerror.c: Include libc-symbols.h
11146 (__dlerror_main_freeres): New function.
11147 * dlfcn/dlfreeres.c: New file.
11148 * dlfcn/sdlfreeres.c: New file.
11149 * include/dlfcn.h: Declare __dlerror_main_freeres.
11150 * malloc/set-freeres.c: Declare __libdl_freeres, and
11151 __libpthread_freeres.
11152 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
11153 the releavant libraries are loaded.
11154 * malloc/thread-freeres.c: Add comments.
11155 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
11156 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
11157 * nptl/allocatestack.c (__nptl_free_stacks): New function.
11158 (__free_stacks): Rename to...
11159 (free_stacks): ...this. Mark static.
11160 (queue_stack): Call free_stacks.
11161 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
11162 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
11163 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
11164 ptr_freeres element from struct.
11165 (pthread_functions): Remove .ptr_freeres from struct initializer.
11166 [SHARED] (nptl_freeres): Remove.
11167 * nptl/nptlfreeres.c: New file.
11169 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
11170 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
11172 (__free_stacks): Rename to...
11173 (__nptl_stacks_freeres): ...this.
11174 (__shm_directory_freeres): Declare.
11175 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
11176 (__nptl_unwind_freeres): ...this.
11177 * resolv/res-close.c: Add comment.
11178 * resolv/resolv_conf.c: Include libc-symbols.h.
11179 * string/strerror_l.c: Include libc-symbols.h.
11180 * sunrpc/rpc_thread.c: Include libc-symbols.h.
11181 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
11182 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
11183 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
11185 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11187 * stdlib/tst-strfmon_l.c: Add tests for long double.
11189 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
11192 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
11193 * localedata/locales/dsb_DE: New file.
11195 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11198 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
11200 (alt_mon): New entry, import from CLDR (nominative case).
11202 2018-06-29 Sylvain Lesage <severo@rednegra.net>
11205 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
11207 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
11209 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11210 Use vector registers.
11212 * sysdeps/aarch64/multiarch/memmove_falkor.S
11213 (__memcpy_falkor): Use vector registers.
11215 2018-06-29 Martin Sebor <msebor@redhat.com>
11217 * manual/stdio.texi (Customizing Printf): Mention interaction
11218 with GCC built-ins.
11220 2018-06-29 Maciej W. Rozycki <macro@mips.com>
11223 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
11224 `st_value' is 0 if `st_shndx' is SHN_ABS.
11225 * elf/tst-absolute-zero.c: New file.
11226 * elf/tst-absolute-zero-lib.c: New file.
11227 * elf/tst-absolute-zero-lib.lds: New file.
11228 * elf/Makefile (tests): Add `tst-absolute-zero'.
11229 (modules-names): Add `tst-absolute-zero-lib'.
11230 (LDLIBS-tst-absolute-zero-lib.so): New variable.
11231 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
11232 ($(objpfx)tst-absolute-zero: New dependency.
11234 2018-06-29 Zack Weinberg <zackw@panix.com>
11236 * configure.ac: New command-line option --disable-crypt.
11237 Force --disable-nss-crypt when --disable-crypt is given, with a
11238 warning if it was explicitly enabled.
11239 * configure: Regenerate.
11240 * config.make.in: New boolean substitution variable $(build-crypt).
11241 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
11242 when $(build-crypt).
11243 * manual/install.texi: Document --disable-crypt.
11244 * INSTALL: Regenerate.
11246 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
11247 which is never set.
11248 * conform/Makefile: Only include libcrypt.a in
11249 linknamespace-libs-xsi and linknamespace-libs-XPG4
11250 when $(build-crypt).
11251 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
11252 USE_CRYPT to 1 when $(build-crypt).
11253 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
11254 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
11255 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
11257 2018-06-29 Zack Weinberg <zackw@panix.com>
11259 * crypt/crypt.h, posix/unistd.h: Update comments and
11260 prototypes for crypt and crypt_r.
11262 * manual/crypt.texi (Cryptographic Functions): New initial
11264 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
11265 (Unpredictable Bytes): Improve initial exposition. Clarify error
11266 behavior of getentropy and getrandom.
11267 * manual/examples/genpass.c: Generate a salt using getentropy
11268 instead of the current time. Use hash $5$ (SHA-2-256).
11269 * manual/examples/testpass.c: Demonstrate validation against
11270 hashes generated with three different one-way functions.
11272 * manual/intro.texi: crypt.texi does not need an overview
11275 * manual/nss.texi, manual/memory.texi, manual/socket.texi
11276 * manual/terminal.texi: Consistently refer to "passphrases"
11277 * instead of "passwords", and to the "user database" instead
11278 * of the "password database".
11279 * manual/users.texi: Similarly. Add notes about how actual
11280 passphrase hashes are now stored in the shadow database.
11281 Remove 20-year-old junk todo note.
11283 2018-06-29 Zack Weinberg <zackw@panix.com>
11285 * manual/crypt.texi: Use a normal top-level @node declaration.
11286 Move most of the introductory text to the 'crypt' section.
11287 Move the example programs below the @deftypefun for 'crypt_r'.
11288 Move the 'getpass' section...
11289 * manual/terminal.texi: ...here.
11291 2018-06-29 Zack Weinberg <zackw@panix.com>
11292 Florian Weimer <fweimer@redhat.com>
11294 * posix/unistd.h: Do not declare encrypt.
11295 (_XOPEN_CRYPT): Remove macro definition.
11296 (crypt): Declare only for _USE_MISC.
11297 * stdlib/stdlib.h: Do not declare setkey.
11298 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
11299 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
11301 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
11302 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
11303 into compat symbols. Don't define initial_perm if it's not
11305 * crypt/cert.c: Link explicitly with the expected versions for
11306 setkey and encrypt. If they are not available at all, mark
11307 the test as unsupported.
11309 * sunrpc/des_crypt.c: Unconditionally block linkage with
11310 cbc_crypt and ecb_crypt for new binaries.
11311 * sunrpc/des_soft.c: Unconditionally block linkage with
11312 des_setparity for new binaries.
11314 * manual/crypt.texi: Remove the entire "DES Encryption"
11315 section. Also remove the paragraph talking about FIPS 140-2
11316 from the introduction.
11317 * manual/string.texi (strfry, memfrob): Revise. Recommend use
11318 of libgcrypt for "real" encryption, not DES.
11319 * manual/conf.texi (Constants for Sysconf): Mention that
11320 _XOPEN_CRYPT is no longer impelemented.
11322 * conform/data/unistd.h-data: Remove crypt function declaration.
11324 2018-06-29 Florian Weimer <fweimer@redhat.com>
11327 * malloc/hooks.c: Update comments on restoring of dumped heaps.
11328 (disallow_malloc_check): Remove variable.
11329 (__malloc_check_init): Adjust.
11330 (malloc_set_state): Update comment.
11331 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
11334 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11337 * localedata/locales/ast_ES (mon): Rename to...
11339 (mon): Import from CLDR (genitive case).
11341 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
11342 Jakub Sitnicki <jkbs@redhat.com>
11345 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
11346 on NLM_F_DUMP_INTR.
11348 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
11350 * manual/llio.texi: Remove spurious space.
11352 2018-06-28 Florian Weimer <fweimer@redhat.com>
11355 * time/bits/types/struct_timespec.h: Change header inclusion guard to
11358 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11360 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
11361 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
11362 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
11363 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
11364 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
11365 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
11366 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
11368 2018-06-27 Maciej W. Rozycki <macro@mips.com>
11371 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
11372 Copy and null-terminate entries that are not terminated, in
11373 addition to empty ones.
11375 2018-06-27 Florian Weimer <fweimer@redhat.com>
11378 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
11379 (extend_alloca_account): Remove.
11380 * manual/stdio.texi (Variable Arguments Output): Update comment.
11382 2018-06-27 Joseph Myers <joseph@codesourcery.com>
11384 * nptl/sockperf.c: Remove file.
11386 2018-06-27 Florian Weimer <fweimer@redhat.com>
11389 * elf/dl-deps.c (_dl_map_object_deps): Use struct
11390 scratch_buffer instead of extend_alloca.
11392 2018-06-27 Florian Weimer <fweimer@redhat.com>
11395 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
11396 scratch_buffer instead of extend_alloca. Update comments.
11398 2018-06-27 Florian Weimer <fweimer@redhat.com>
11401 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
11402 instead of extend_alloca.
11404 2018-06-26 Joseph Myers <joseph@codesourcery.com>
11407 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
11408 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
11410 * scripts/test-installation.pl: Put temporary files in build
11411 directory, not /tmp.
11412 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
11413 (CFLAGS-bug4.c): Likewise.
11414 (CFLAGS-bug5.c): Likewise.
11415 (CFLAGS-test-fseek.c): Likewise.
11416 (CFLAGS-test-popen.c): Likewise.
11417 (CFLAGS-test_rdwr.c): Likewise.
11418 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
11420 * stdio-common/bug4.c (main): Likewise.
11421 * stdio-common/bug5.c (main): Likewise.
11422 * stdio-common/test-fseek.c (TESTFILE): Likewise.
11423 * stdio-common/test-popen.c (do_test): Likewise.
11424 * stdio-common/test_rdwr.c (main): Likewise.
11426 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
11428 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
11429 (sem_open): Set sem.newsem.pad to zero for valgrind.
11431 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11434 * NEWS: Mention fcntl64 addition.
11435 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
11436 * login/utmp_file.c: Likewise.
11437 * sysdeps/posix/fdopendir.c: Likewise.
11438 * sysdeps/posix/opendir.c: Likewise.
11439 * sysdeps/unix/pt-fcntl.c: Likewise.
11440 * include/fcntl.h (__libc_fcntl64, __fcntl64,
11441 __fcntl64_nocancel_adjusted): New prototype.
11442 (__fcntl_nocancel_adjusted): Remove prototype.
11443 * io/Makefile (routines): Add fcntl64.
11444 (CFLAGS-fcntl64.c): New rule.
11445 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
11446 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
11447 * io/fcntl.h (fcntl64): Add prototype and redirect if
11448 __USE_FILE_OFFSET64 is defined.
11449 * io/fcntl64.c: New file.
11450 * manual/llio.text: Add a note for which commands fcntl acts a
11451 cancellation point.
11452 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
11453 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
11454 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
11456 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
11457 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
11459 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
11460 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
11461 to __fcntl64_nocancel.
11462 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
11463 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
11464 to __fcntl64_nocancel.
11465 * sysdeps/generic/not-cancel.h: Likewise.
11466 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
11467 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
11468 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11469 (fcntl64): New symbol.
11470 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11471 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11472 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11475 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11476 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11477 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11478 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11479 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11480 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
11481 fcntl64): Likewise.
11482 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11483 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
11484 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11485 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11486 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11487 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11488 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11489 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11490 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11495 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11496 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11497 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11499 2018-06-26 Florian Weimer <fweimer@redhat.com>
11501 Run thread shutdown functions in an explicit order.
11502 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
11504 (__libc_thread_freeres): Call thread shutdown functions
11506 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
11507 * include/string.h (__strerror_thread_freeres): Declare.
11508 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
11509 arena_thread_freeres. No longer static. Remove thread shutdown
11511 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
11513 * resolv/res-close.c (__res_thread_freeres): Renamed from
11514 res_thread_freeres. No longer static. Remove thread shutdown
11516 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
11517 * resolv/resolv_conf.c (freeres): Remove incorrect section
11518 attribute and use libc_freeres_fn.
11519 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
11520 strerror_thread_freeres. No longer static. Remove thread
11521 shutdown hook registration.
11522 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
11523 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
11524 shutdown hook registration.
11525 * Makerules (shlib.lds): Do not provide section boundary symbols
11526 for __libc_thread_subfreeres.
11527 * manual/memory.texi (Basic Allocation): Update comment.
11529 2018-06-26 Florian Weimer <fweimer@redhat.com>
11531 Remove always-defined _RPC_THREAD_SAFE_ macro.
11532 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
11533 Do not define _RPC_THREAD_SAFE_.
11534 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
11536 * sunrpc/clnt_perr.c: Likewise.
11537 * sunrpc/clnt_raw.c: Likewise.
11538 * sunrpc/clnt_simp.c: Likewise.
11539 * sunrpc/key_call.c: Likewise.
11540 * sunrpc/rpc_common.c: Likewise.
11541 * sunrpc/rpc_main.c: Likewise.
11542 * sunrpc/rpc_thread.c: Likewise.
11543 * sunrpc/svc.c: Likewise.
11544 * sunrpc/svc_raw.c: Likewise.
11545 * sunrpc/svc_simple.c: Likewise.
11546 * sumrpc/svcauth_des.c: Likewise.
11548 2018-06-26 Florian Weimer <fweimer@redhat.com>
11550 * libio/Makefile (tests-internal): Add tst-vtables,
11551 tst-vtables-interposed.
11552 * libio/tst-vtables.c: New file.
11553 * libio/tst-vtables-common.c: Likewise.
11554 * libio/tst-vtables-interposed.c: Likewise.
11556 2018-06-26 Florian Weimer <fweimer@redhat.com>
11558 * support/support_test_main.c (support_test_main): Only call
11559 setvbuf if not disables.
11560 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
11561 * support/test-driver.h (struct test_config): Add no_setvbuf member.
11563 2018-06-26 Florian Weimer <fweimer@redhat.com>
11566 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
11568 2018-06-25 Florian Weimer <fweimer@redhat.com>
11571 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11572 Use struct scratch_buffer instead of extend_alloca.
11574 2018-06-25 Florian Weimer <fweimer@redhat.com>
11577 * nss/getent.c (initgroups_keys): Use dynarray instead of
11580 2018-06-25 Florian Weimer <fweimer@redhat.com>
11583 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
11584 Use struct scratch_buffer instead of extend_alloca.
11586 2018-06-25 Florian Weimer <fweimer@redhat.com>
11589 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
11590 back to malloc directly, without stack allocations.
11592 2018-06-25 Florian Weimer <fweimer@redhat.com>
11595 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
11598 2018-06-25 Florian Weimer <fweimer@redhat.com>
11601 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
11603 * nscd/hstcache.c (addhstbyX): Likewise.
11604 * nscd/pwdcache.c (addpwbyX): Likewise.
11605 * nscd/servicescache.c (addservbyX): Likewise.
11607 2018-06-25 Florian Weimer <fweimer@redhat.com>
11610 * nscd/connections.c (read_cmdline): New function.
11611 (restart): Use it. Update comment.
11613 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
11616 * localedata/locales/csb_PL (mon): Rename to...
11618 (abmon): Rename to...
11619 (ab_alt_mon): This.
11620 (mon): Add with proper genitive forms, copy from Wikipedia.
11623 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
11626 * localedata/locales/csb_PL (mon): Fix typos:
11627 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
11628 (yesstr): Add, value is "jo".
11629 (nostr): Add, value is "nié".
11631 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11633 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
11634 all log1p and significand functions on m680x0.
11635 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
11636 of s_significand.c..
11637 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
11638 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
11639 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
11640 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
11641 s_log1p.c and include it..
11643 2018-06-21 Vincent Chen <vincentc@andestech.com>
11645 * elf/elf.h (R_NDS32_NONE): New define.
11646 (R_NDS32_32_RELA): Likewise.
11647 (R_NDS32_COPY): Likewise.
11648 (R_NDS32_GLOB_DAT): Likewise.
11649 (R_NDS32_JUMP_SLOT): Likewise.
11650 (R_NDS32_RELATIVE): Likewise.
11651 (R_NDS32_TLS_TPOFF): Likewise.
11652 (R_NDS32_TLS_DESC): Likewise.
11654 2018-06-21 Mark Wielaard <mark@klomp.org>
11656 * elf/elf.h (R_BPF_MAP_FD): Removed.
11657 (R_BPF_64_64, R_BPF_64_32): New.
11659 2018-06-21 Florian Weimer <fweimer@redhat.com>
11662 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
11663 Renamed from libc_feholdsetround_ctx.
11664 (default_libc_feresetround_ctx): Renamed from
11665 libc_feresetround_ctx.
11666 (default_libc_feholdsetround_noex_ctx): Renamed from
11667 libc_feholdsetround_noex_ctx.
11668 (default_libc_feresetround_noex_ctx): Renamed from
11669 libc_feresetround_noex_ctx.
11670 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
11671 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
11672 forwardning to the old implementations under the new names.
11673 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
11674 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
11675 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
11676 (libc_feresetround_ctx): Forward to default implements for i386
11677 and MATH_SET_BOTH_ROUNDING_MODES.
11678 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
11679 Add -DMATH_SET_BOTH_ROUNDING_MODES.
11681 2018-06-20 Joseph Myers <joseph@codesourcery.com>
11683 * string/tst-cmp.c: Include <libc-diag.h>.
11684 (strncmp_max): Disable -Wstringop-overflow= around call to
11686 (strncasecmp_max): Disable -Wstringop-overflow= around call to
11689 * string/bug-strpbrk1.c: Include <libc-diag.h>.
11690 (main): Disable -Wunused-value around call to strpbrk.
11691 * string/bug-strspn1.c: Include <libc-diag.h>.
11692 (main): Disable -Wunused-value around call to strspn.
11694 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11695 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11697 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
11698 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
11700 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11702 * math/Makefile (libm-calls): Move s_significandF to...
11703 (gen-libm-calls): ... here.
11704 * math/s_significand_template.c: New file.
11705 * math/s_significand.c: Removed.
11706 * math/s_significandf.c: Removed.
11707 * math/s_significandl.c: Removed.
11708 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
11709 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
11711 * math/e_exp2_template.c (declare_mgen_finite_alias,
11712 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
11713 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
11714 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
11716 2018-06-20 Florian Weimer <fweimer@redhat.com>
11718 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
11720 2018-06-19 Joseph Myers <joseph@codesourcery.com>
11723 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
11724 floating-point number to strtod functions rather than possibly
11725 negating result of those functions.
11726 * stdio-common/tst-scanf-round.c: New file.
11727 * stdio-common/Makefile (tests): Add tst-scanf-round.
11728 ($(objpfx)tst-scanf-round): Depend on $(libm).
11730 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
11732 * sysdeps/mach/hurd/localplt.data: Move to...
11733 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
11734 R_386_GLOB_DAT like on Linux i386.
11736 2018-06-18 Joseph Myers <joseph@codesourcery.com>
11738 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
11739 (SHM_STAT_ANY): New macro.
11740 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
11741 (SHM_STAT_ANY): Likewise.
11742 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
11743 (SHM_STAT_ANY): Likewise.
11744 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
11745 (SHM_STAT_ANY): Likewise.
11746 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
11747 (SHM_STAT_ANY): Likewise.
11748 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
11749 (SHM_STAT_ANY): Likewise.
11750 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
11751 (SHM_STAT_ANY): Likewise.
11752 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
11753 (SHM_STAT_ANY): Likewise.
11754 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
11755 (SHM_STAT_ANY): Likewise.
11756 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
11757 (SHM_STAT_ANY): Likewise.
11758 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
11759 (SHM_STAT_ANY): Likewise.
11760 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
11761 (SHM_STAT_ANY): Likewise.
11763 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
11764 (SEM_STAT_ANY): New macro.
11765 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
11766 (SEM_STAT_ANY): Likewise.
11767 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
11768 (SEM_STAT_ANY): Likewise.
11769 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
11770 (SEM_STAT_ANY): Likewise.
11771 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
11772 (SEM_STAT_ANY): Likewise.
11773 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
11774 (SEM_STAT_ANY): Likewise.
11775 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
11776 (SEM_STAT_ANY): Likewise.
11777 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
11778 (SEM_STAT_ANY): Likewise.
11779 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
11780 (SEM_STAT_ANY): Likewise.
11781 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
11782 (SEM_STAT_ANY): Likewise.
11784 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
11785 (MSG_STAT_ANY): New macro.
11786 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
11787 (MSG_STAT_ANY): Likewise.
11788 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
11789 (MSG_STAT_ANY): Likewise.
11790 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
11791 (MSG_STAT_ANY): Likewise.
11792 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
11793 (MSG_STAT_ANY): Likewise.
11794 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
11795 (MSG_STAT_ANY): Likewise.
11796 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
11797 (MSG_STAT_ANY): Likewise.
11798 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
11799 (MSG_STAT_ANY): Likewise.
11800 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
11801 (MSG_STAT_ANY): Likewise.
11802 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
11803 (MSG_STAT_ANY): Likewise.
11805 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11806 (MAP_TYPE): Change value to 0x2b.
11808 2018-06-18 Florian Weimer <fweimer@redhat.com>
11811 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
11812 socket with SOCK_CLOEXEC.
11814 2018-06-18 Joseph Myers <joseph@codesourcery.com>
11817 * sysdeps/powerpc/powerpc64/le/Makefile
11818 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
11819 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
11820 (gnulib-tests): Also add $(f128-loader-link) for
11821 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
11823 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
11825 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
11826 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
11828 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
11829 (sendfile64): New strong alias.
11830 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
11831 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
11832 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
11833 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
11835 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
11836 ___pthread_get_cleanup_stack.
11837 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
11838 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
11839 * mach/shortcut.awk: Make syscall stubs include
11840 <mach-shortcuts-hidden.h> and add hidden definition.
11841 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
11842 (__mach_msg): Add hidden prototype.
11843 * mach/msg.c: Include <mach.h>.
11844 (__mach_msg): Add hidden definition.
11845 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
11846 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
11847 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
11848 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
11849 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
11850 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
11851 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
11852 prototype and definition.
11853 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
11854 hidden target for _hurd_self_sigstate.
11856 2018-06-15 Joseph Myers <joseph@codesourcery.com>
11859 * stdlib/tst-strtod-nan-sign-main.c: New file.
11860 * stdlib/tst-strtod-nan-sign.c: Likewise.
11861 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
11862 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
11863 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
11864 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
11865 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
11867 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
11870 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
11873 2018-06-14 Florian Weimer <fweimer@redhat.com>
11876 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
11877 that the result stays within the ISO-8859-1 range.
11878 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
11879 characters are defined in IBM273.
11881 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
11883 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
11884 __mach_task_self): Remove attribute_hidden.
11886 2018-06-14 Joseph Myers <joseph@codesourcery.com>
11888 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
11889 ignore -Wrestrict for one test.
11891 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
11892 Szabolcs Nagy <szabolcs.nagy@arm.com>
11894 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
11896 2018-06-14 Florian Weimer <fweimer@redhat.com>
11898 * scripts/update-abilist.sh: Accept empty list of files to patch.
11900 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
11902 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
11903 test-xfail-check-abi-libmachuser): Add.
11904 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
11905 __libc_read and __libc_write to __read and __write.
11906 * sysdeps/hurd/include/hurd/port.h: New file.
11907 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
11908 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
11909 __thread_switch, __evc_wait): Move declarations to...
11910 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
11912 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
11913 use PLT to call _hurd_self_sigstate.
11915 2018-06-13 Joseph Myers <joseph@codesourcery.com>
11918 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
11919 MAX_EXP as overflowing.
11920 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
11922 (round_str): Output also whether result overflows in each rounding
11924 * stdlib/tst-strtod-round-data: Add more tests.
11925 * stdlib/tst-strtod-round-data.h: Regenerated.
11926 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
11927 (TEST): Handle extra arguments for overflow flags.
11928 (struct test_overflow): New type.
11929 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
11930 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
11931 (test_in_one_mode): Take argument with overflow information.
11932 (do_test): Update calls to test_in_one_mode.
11934 2018-06-12 Carlos O'Donell <carlos@redhat.com>
11936 * elf/dl-load (_dl_dst_substitute): Correct comment.
11937 (_dl_dst_count): Likewise.
11939 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
11940 lll_futex_timed_wait.
11942 2018-06-12 Joseph Myers <joseph@codesourcery.com>
11945 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
11947 * math/test-nan-const.c: New file.
11948 * math/Makefile (tests): Add test-nan-const.
11949 (CFLAGS-test-nan-const.c): New variable.
11951 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11953 * benchtests/scripts/compare_strings.py (process_results): Add
11954 funcs argument. Compare only functions which are selected.
11955 (main): Check if base function is among selected functions.
11956 Pass selected functions to process_results.
11957 (__main__): Add -f/--functions argument.
11959 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
11960 Hongbo Zhang <hongbo.zhang@linaro.org>
11962 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
11963 __memcpy_falkor for phecda core.
11964 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
11965 __memmove_falkor for phecda core.
11966 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
11967 __memset_falkor for phecda core.
11968 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
11970 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
11971 macro to identify phecda core.
11973 2018-06-12 Carlos O'Donell <carlos@redhat.com>
11974 Andreas Schwab <schwab@suse.de>
11975 Dmitry V. Levin <ldv@altlinux.org>
11976 Florian Weimer <fweimer@redhat.com>
11983 * elf/dl-dst.h: Remove DL_DST_COUNT.
11984 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
11985 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
11986 (is_dst): Comment. Support ELF gABI.
11987 (_dl_dst_count): Comment. Simplify and count DSTs.
11988 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
11989 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
11992 2018-06-12 Zack Weinberg <zackw@panix.com>
11994 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
11995 * sysdeps/unix/sysv/linux/dl-sysdep.c
11996 Include not-cancel.h. Use __close_nocancel instead of __close,
11997 __open64_nocancel instead of __open, __read_nocancel instead of
11998 __libc_read, and __write_nocancel instead of __libc_write.
12000 * csu/check_fds.c (check_one_fd)
12001 * sysdeps/posix/fdopendir.c (__fdopendir)
12002 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
12003 instead of __fcntl and/or __libc_fcntl.
12005 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
12006 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
12007 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
12008 Use __open64_nocancel instead of __open_nocancel.
12010 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
12011 hidden_proto declarations to the end and issue them if either
12012 IS_IN(libc) or IS_IN(rtld).
12013 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
12014 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
12015 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
12016 read_nocancel, waitpid_nocancel, write_nocancel.
12018 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
12019 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
12020 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
12022 * nptl/pt-fcntl.c: New file.
12023 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
12024 (libpthread-routines): Add pt-fcntl.
12025 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
12026 (__libc_fcntl): Remove attribute_hidden.
12027 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
12028 __fcntl_nocancel_adjusted, not fcntl_common.
12029 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
12030 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
12031 to fcntl_nocancel.c.
12032 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
12033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
12034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12035 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
12037 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
12038 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
12039 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
12040 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
12041 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
12042 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
12043 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
12044 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
12045 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
12046 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
12047 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
12048 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
12049 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
12050 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
12051 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
12052 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
12053 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
12054 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
12055 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
12056 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
12058 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
12059 libpthread-routines.
12060 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
12063 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
12064 __libc_read, and __write instead of __libc_write. Define
12065 __open64 in addition to __open.
12067 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12071 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
12072 to _private_tm[3] and add __glibc_reserved2.
12073 Add _Static_assert of offset of __private_ss == 0x30.
12074 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
12075 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
12077 2018-06-12 Florian Weimer <fweimer@redhat.com>
12079 x86: Make strncmp usable from rtld.
12080 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
12081 __strncmp_ia32 if in libc (and not in rtld).
12082 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
12083 strncmp if not in libc (and not to __strncmp_sse2).
12085 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
12088 * localedata/locales/gd_GB (mon): Rename to...
12090 (mon): Import from CLDR (genitive case).
12091 * localedata/locales/hsb_DE (mon): Rename to...
12093 (mon): Import from CLDR (genitive case).
12094 * localedata/locales/wa_BE (mon): Rename to...
12096 (mon): Add, fill with the proper genitive forms, but CLDR data
12097 is incomplete; completed according to the comments in this file.
12098 (d_t_fmt): Do not use "di" before the month name, no longer needed.
12100 * localedata/locales/wa_BE (country_name): Reword
12101 "Beljike" -> "Beldjike".
12103 2018-06-11 Joseph Myers <joseph@codesourcery.com>
12106 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
12107 cases of non-finite arguments.
12108 * math/libm-test-fma.inc (fma_test_data): Add more tests.
12110 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
12113 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
12115 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12118 * include/unistd.h (__execvpex): New prototype.
12119 * posix/Makefile (tests): Add tst-spawn4.
12120 (tests-internal): Add tst-spawn4-compat.
12121 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
12122 * posix/tst-spawn4-compat.c: New file.
12123 * posix/tst-spawn4.c: Likewise.
12124 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
12125 binaries as shell scripts.
12126 * sysdeps/posix/spawni.c (__spawni): Likewise.
12128 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
12131 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
12132 ($(all-built-dso:=.dynsym): New target.
12133 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
12134 ($(objpfx)check-initfini.out): New target.
12135 (generated): Add check-initfini.out.
12136 * scripts/check-initfini.awk: New file.
12137 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
12139 * sysdeps/alpha/crti.S (_init): Mark as hidden.
12141 * sysdeps/arm/crti.S (_init): Mark as hidden.
12143 * sysdeps/hppa/crti.S (_init): Mark as hidden.
12145 * sysdeps/i386/crti.S (_init): Mark as hidden.
12147 * sysdeps/ia64/crti.S (_init): Mark as hidden.
12149 * sysdeps/m68k/crti.S (_init): Mark as hidden.
12151 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
12153 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
12155 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
12157 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
12159 * sysdeps/nios2/crti.S (_init): Mark as hidden.
12161 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
12163 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
12165 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
12167 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
12169 * sysdeps/sh/crti.S (_init): Mark as hidden.
12171 * sysdeps/sparc/crti.S (_init): Mark as hidden.
12173 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
12176 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12178 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
12179 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
12180 and TF redirection to KFtype and KF only when the default
12181 long double type is not the IEEE 128-bit floating point type.
12183 2018-06-05 Joseph Myers <joseph@codesourcery.com>
12185 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
12187 (HWCAP_USCAT): Likewise.
12188 (HWCAP_ILRCPC): Likewise.
12189 (HWCAP_FLAGM): Likewise.
12190 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12192 (_dl_aarch64_cap_flags): Add new flag names.
12194 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
12195 (MAP_FIXED_NOREPLACE): New macro.
12196 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
12197 (MAP_FIXED_NOREPLACE): Likewise.
12198 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
12199 (MAP_FIXED_NOREPLACE): Likewise.
12200 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12201 (MAP_FIXED_NOREPLACE): Likewise.
12202 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
12203 (MAP_FIXED_NOREPLACE): Likewise.
12204 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
12205 (MAP_FIXED_NOREPLACE): Likewise.
12206 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
12207 (MAP_FIXED_NOREPLACE): Likewise.
12208 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
12209 (MAP_FIXED_NOREPLACE): Likewise.
12210 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
12211 (MAP_FIXED_NOREPLACE): Likewise.
12212 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
12213 (MAP_FIXED_NOREPLACE): Likewise.
12214 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
12215 (MAP_FIXED_NOREPLACE): Likewise.
12216 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
12217 (MAP_FIXED_NOREPLACE): Likewise.
12218 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
12219 (MAP_FIXED_NOREPLACE): Likewise.
12220 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
12221 (MAP_FIXED_NOREPLACE): Likewise.
12222 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
12223 (MAP_FIXED_NOREPLACE): Likewise.
12225 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12228 2018-06-04 Joseph Myers <joseph@codesourcery.com>
12230 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12233 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12235 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
12237 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
12239 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12241 * benchtests/scripts/compare_string.py: (process_results) Catch
12242 exception in non-existent base_func and catch exception in
12243 non-existent attribute.
12244 (parse_file) Catch exception if input file does not exist.
12246 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12248 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
12249 options to avoid diff calculation and omit header, respectively.
12250 (main): process --no-diff and --no-header
12252 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12253 H.J. Lu <hongjiu.lu@intel.com>
12255 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12256 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
12258 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12259 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
12260 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
12261 and __wcsncmp_sse2.
12262 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
12263 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
12264 AVX unaligned load is fast and vzeroupper is preferred.
12265 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
12266 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
12267 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
12268 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
12269 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
12270 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
12271 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
12272 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
12273 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
12274 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
12277 2018-06-01 Florian Weimer <fweimer@redhat.com>
12279 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
12280 configuring with --disable-multi-arch, building with
12281 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
12284 2018-06-01 Florian Weimer <fweimer@redhat.com>
12286 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
12287 results from building with “-march=x86-64 -mtune=generic
12288 -mfpmath=sse” and running on a Haswell-era CPU.
12290 2018-06-01 Joseph Myers <joseph@codesourcery.com>
12293 * soft-fp/sqrttf2.c: Remove file.
12294 * soft-fp/sqrtdf2.c: Move to ....
12295 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
12297 (__sqrtdf2): Make conditional on
12298 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12300 * soft-fp/sqrtsf2.c: Move to ....
12301 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
12303 (__sqrtsf2): Make conditional on
12304 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12306 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
12307 (gcc-double-routines): Remove sqrtdf2.
12308 (gcc-quad-routines): Remove sqrttf2.
12309 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12310 Do not filter out sqrtsf2 and sqrtdf2.
12311 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12312 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
12314 2018-06-01 Florian Weimer <fweimer@redhat.com>
12316 * sysdeps/generic/libcidn.abilist: Remove file.
12318 2018-06-01 Florian Weimer <fweimer@redhat.com>
12321 * libio/strfile.h (struct _IO_str_fields): Rename members to
12322 discourage their use and add comment.
12323 (_IO_STR_DYNAMIC): Remove unused macro.
12324 * libio/strops.c (_IO_str_init_static_internal): Do not use
12325 callback pointers. Call malloc and free.
12326 (_IO_str_overflow): Do not use callback pointers. Call malloc
12328 (enlarge_userbuf): Likewise.
12329 (_IO_str_finish): Call free.
12330 * libio/wstrops.c (_IO_wstr_init_static): Initialize
12331 _allocate_buffer_unused.
12332 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
12334 (enlarge_userbuf): Likewise.
12335 (_IO_wstr_finish): Call free.
12336 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
12337 _allocate_buffer_unused, _free_buffer_unused.
12338 * libio/memstream.c (__open_memstream): Likewise.
12339 * libio/vasprintf.c (_IO_vasprintf): Likewise.
12340 * libio/wmemstream.c (open_wmemstream): Likewise.
12342 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
12344 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
12347 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12349 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
12350 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
12351 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
12353 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
12355 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
12357 2018-05-29 Florian Weimer <fweimer@redhat.com>
12359 * support/Makefile (libsupport-routines): Add
12360 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
12361 xpthread_barrierattr_setpshared.
12362 * support/xpthread_barrierattr_destroy.c: New file.
12363 * support/xpthread_barrierattr_init.c: Likewise.
12364 * support/xpthread_barrierattr_setpshared.c: Likewise.
12366 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
12369 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
12370 _r_debug and update DT_DEBUG for debugger.
12372 2018-05-29 Florian Weimer <fweimer@redhat.com>
12374 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
12375 (tst-strtod5i.out): Likewise.
12377 2018-05-25 Joseph Myers <joseph@codesourcery.com>
12379 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
12380 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
12381 (sparc64-quad-routines): New variable. Moved from ....
12382 [$(subdir) = soft-fp] (sysdep_routines): Add
12383 $(sparc64-quad-routines). Moved from ....
12384 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
12385 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
12386 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
12388 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
12389 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
12390 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
12391 * sysdeps/sparc/sparc64/qp_add.c: ... here.
12392 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
12393 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
12394 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
12395 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
12396 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
12397 * sysdeps/sparc/sparc64/qp_div.c: ... here.
12398 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
12399 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
12400 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
12401 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
12402 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
12403 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
12404 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
12405 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
12406 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
12407 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
12408 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
12409 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
12410 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
12411 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
12412 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
12413 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
12414 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
12415 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
12416 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
12417 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
12418 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
12419 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
12420 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
12421 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
12422 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
12423 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
12424 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
12425 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
12426 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
12427 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
12428 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
12429 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
12430 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
12431 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
12432 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
12433 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
12434 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
12435 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
12436 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
12437 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
12438 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
12439 * sysdeps/sparc/sparc64/qp_util.c: ... here.
12440 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
12441 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
12442 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
12443 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
12444 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
12445 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
12447 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
12448 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
12449 (sparc32-quad-routines): New variable. Moved from ....
12450 [$(subdir) = soft-fp] (sysdep_routines): Add
12451 $(sparc32-quad-routines). Moved from ....
12452 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
12453 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
12455 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
12456 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
12457 * sysdeps/sparc/sparc32/q_add.c: ... here.
12458 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
12459 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
12460 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
12461 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
12462 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
12463 * sysdeps/sparc/sparc32/q_div.c: ... here.
12464 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
12465 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
12466 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
12467 * sysdeps/sparc/sparc32/q_feq.c: ... here.
12468 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
12469 * sysdeps/sparc/sparc32/q_fge.c: ... here.
12470 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
12471 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
12472 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
12473 * sysdeps/sparc/sparc32/q_fle.c: ... here.
12474 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
12475 * sysdeps/sparc/sparc32/q_flt.c: ... here.
12476 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
12477 * sysdeps/sparc/sparc32/q_fne.c: ... here.
12478 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
12479 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
12480 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
12481 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
12482 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
12483 * sysdeps/sparc/sparc32/q_mul.c: ... here.
12484 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
12485 * sysdeps/sparc/sparc32/q_neg.c: ... here.
12486 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
12487 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
12488 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
12489 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
12490 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
12491 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
12492 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
12493 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
12494 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
12495 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
12496 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
12497 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
12498 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
12499 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
12500 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
12501 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
12502 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
12503 * sysdeps/sparc/sparc32/q_sub.c: ... here.
12504 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
12505 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
12506 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
12507 * sysdeps/sparc/sparc32/q_util.c: ... here.
12508 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
12509 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
12510 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
12511 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
12513 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12514 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12516 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
12517 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
12518 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
12519 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
12521 2018-05-24 Joseph Myers <joseph@codesourcery.com>
12523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
12525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12527 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
12528 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
12530 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12533 * math/math.h [C++] (iseqsig): Fix parameter type for the long
12536 2018-05-23 Joseph Myers <joseph@codesourcery.com>
12538 * sysdeps/sh/Implies: Remove sh/soft-fp.
12539 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
12540 * sysdeps/sh/sfp-machine.h: ... here.
12542 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
12544 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12545 (__mempcpy_erms): Skip zero length.
12546 (__memmove_erms): Likewise.
12547 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12548 (__memset_erms): Likewise.
12550 2018-05-23 Joseph Myers <joseph@codesourcery.com>
12552 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
12553 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12554 Add functions moved from ....
12555 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
12556 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
12557 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
12559 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
12560 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
12561 * sysdeps/alpha/e_sqrtl.c: ... here.
12562 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
12563 * sysdeps/alpha/local-soft-fp.h: ... here.
12564 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
12565 * sysdeps/alpha/ots_add.c: ... here.
12566 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
12567 * sysdeps/alpha/ots_cmp.c: ... here.
12568 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
12569 * sysdeps/alpha/ots_cmpe.c: ... here.
12570 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
12571 * sysdeps/alpha/ots_cvtqux.c: ... here.
12572 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
12573 * sysdeps/alpha/ots_cvtqx.c: ... here.
12574 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
12575 * sysdeps/alpha/ots_cvttx.c: ... here.
12576 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
12577 * sysdeps/alpha/ots_cvtxq.c: ... here.
12578 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
12579 * sysdeps/alpha/ots_cvtxt.c: ... here.
12580 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
12581 * sysdeps/alpha/ots_div.c: ... here.
12582 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
12583 * sysdeps/alpha/ots_mul.c: ... here.
12584 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
12585 * sysdeps/alpha/ots_nintxq.c: ... here.
12586 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
12587 * sysdeps/alpha/ots_sub.c: ... here.
12588 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
12589 * sysdeps/alpha/sfp-machine.h: ... here.
12591 2018-05-23 Florian Weimer <fweimer@redhat.com>
12599 Switch to extern IDNA implementation (libidn2).
12600 * libidn: Remove subdirectory.
12601 * LICENSES: Do not mention licensing conditions for the removed
12603 * config.h.in (HAVE_LIBIDN): Remove.
12604 * include/dlfcn.h (__libc_dlopen): Update comment.
12605 * include/idna.h: Remove file.
12606 * inet/Makefile (routines): Add idna.
12607 (tests-static, tests-internal): Add tst-idna_name_classify.
12608 (LOCALES): Generate locales for tests.
12609 (tst-idna_name_classify.out): Depend on generated locales.
12610 * inet/idna_name_classify.c: New file.
12611 * inet/tst-idna_name_classify.c: Likewise.
12612 * inet/net-internal.h (__idna_to_dns_encoding)
12613 (__idna_from_dns_encoding): Declare.
12614 * inet/net-internal.h (enum idna_name_classification): Define.
12615 (__idna_name_classify): Declare.
12616 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
12617 __idna_from_dns_encoding.
12618 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
12619 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
12620 name as a fallback in case of encoding errors.
12621 (getnameinfo): Use DEPRECATED_NI_IDN.
12622 * inet/idna.c: New file.
12623 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
12624 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
12625 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
12626 (modules-names): Add tst-no-libidn2.
12627 (extra-test-objs): Add tst-no-libidn2.os.
12628 (LDFLAGS-tst-no-libidn2.so): Set soname.
12629 (LOCALES): Set, and generate locales.
12630 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
12631 (tst-resolv-ai_idn-latin1): Likewise.
12632 (tst-resolv-ai_idn-nolibidn2): Likewise.
12633 (tst-resolv-ai_idn.out): Depend on locales.
12634 (tst-resolv-ai_idn-latin1.out): Depend on locales.
12635 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
12637 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
12638 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
12639 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
12640 * resolv/tst-resolv-ai_idn.c: New file.
12641 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
12642 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
12643 * resolv/tst-no-libidn2.c: Likewise.
12644 * support/support_format_addrinfo.c (format_ai_flags): Do not
12645 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
12646 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
12647 (gaih_inet): Call __idna_to_dns_encoding and
12648 __idna_from_dns_encoding, and use the original (punycode) name if
12649 __idna_from_dns_encoding fails due to an encoding error.
12650 (getaddrinfo): Use DEPRECATED_AI_IDN.
12651 * sysdeps/unix/inet/Subdirs (libidn): Remove.
12652 * sysdeps/unix/inet/configure: Remove file.
12653 * sysdeps/unix/inet/configure.ac: Likewise.
12655 2018-05-23 Florian Weimer <fweimer@redhat.com>
12657 Implement allocate_once.
12658 * include/allocate_once.h: New file.
12659 * misc/allocate_once.c: Likewise.
12660 * misc/tst-allocate_once.c: Likewise.
12661 * misc/Makefile (routines): Add allocate_once.
12662 (tests-internal): Add tst-allocate_once.
12663 (generated): Add tst-allocate_once.mtrace,
12664 tst-allocate_once-mem.out.
12665 (tests-special): Add tst-allocate_once-mem.out.
12666 (tst-allocate_once-ENV): Set MALLOC_TRACE.
12667 (tst-allocate_once-mem.out): Call mtrace.
12668 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
12670 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
12673 * string/test-memcpy.c (do_test1): New function.
12674 (test_main): Call it.
12676 2018-05-23 Andreas Schwab <schwab@suse.de>
12680 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
12681 (L(preloop_large)): Save initial destination pointer in %r11 and
12682 use it instead of %rax after the loop.
12683 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
12685 2018-05-22 Joseph Myers <joseph@codesourcery.com>
12687 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
12688 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
12689 -I../soft-fp. Moved from ....
12690 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
12691 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
12692 * sysdeps/aarch64/e_sqrtl.c: ... here.
12693 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
12694 * sysdeps/aarch64/sfp-machine.h: ... here.
12696 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
12697 -Wmaybe-uninitialized around access to fq[0].
12698 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12702 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
12703 aliases for non-libc case of versioned symbols.
12704 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
12705 (llseek): Define as compat symbol if
12706 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
12708 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
12709 Make into a compat symbol, disabled for minimum symbol version
12710 GLIBC_2.28 and later.
12711 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
12713 2018-05-22 Florian Weimer <fweimer@redhat.com>
12715 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
12716 not add -mpreferred-stack-boundary=4.
12717 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
12718 (stack-align-test-flags): Likewise.
12719 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
12721 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
12722 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
12723 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
12724 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
12725 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
12726 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
12727 (CFLAGS-tst-align2.c): Likewise.
12729 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
12731 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
12732 (index_arch_Prefer_FSRM): Likewise.
12733 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
12734 Also check Prefer_FSRM.
12735 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
12736 Also return OPTIMIZE (erms) for Prefer_FSRM.
12738 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
12740 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
12741 (index_cpu_FSRM): Likewise.
12742 (reg_FSRM): Likewise.
12744 2018-05-18 Joseph Myers <joseph@codesourcery.com>
12746 * math/gen-tgmath-tests.py: Import sys.
12747 (Tests.__init__): Initialize macros_seen.
12748 (Tests.add_tests): Add macro to macros_seen. Only generate tests
12749 if requested to do so for this macro.
12750 (Tests.add_all_tests): Take argument for macro for which to
12752 (Tests.check_macro_list): New function.
12753 (main): Handle check-list argument and argument specifying macro
12754 for which to generate tests.
12755 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
12756 [PYTHON] (tgmath3-macro-tests): Likewise.
12757 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
12758 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
12759 not test-tgmath3.c.
12760 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
12761 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
12763 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
12764 [PYTHON] ($(foreach
12765 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
12767 [PYTHON] (tests-special): Add
12768 $(objpfx)test-tgmath3-macro-list.out.
12769 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
12771 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
12772 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
12776 * time/tzset.c (SECSPERDAY): Cast to time_t.
12777 * time/tst-y2039.c: New file.
12778 * time/Makefile (tests): Add tst-y2039.
12780 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12782 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12783 (PREFETCH_ONE_SET): Remove duplicate line.
12785 2018-05-17 Florian Weimer <fweimer@redhat.com>
12787 * sysdeps/generic/math-type-macros-double.h: Include
12788 <math-nan-payload-double.h> after <libm-alias-double.h>.
12789 * sysdeps/generic/math-type-macros-float.h: Include
12790 <math-nan-payload-float.h> after <libm-alias-float.h>.
12791 * sysdeps/generic/math-type-macros-float128.h: Include
12792 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
12793 * sysdeps/generic/math-type-macros-ldouble.h: Include
12794 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
12796 2018-05-17 Andreas Schwab <schwab@suse.de>
12798 * resolv/res_send.c (__res_context_send): Don't set errno when
12799 returing error after malloc failure.
12801 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
12803 * nptl/allocatestack.c (allocate_stack): Remove the
12804 !__ASSUME_PRIVATE_FUTEX paths.
12805 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
12806 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12808 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
12809 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12810 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12811 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12812 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
12813 !__ASSUME_PRIVATE_FUTEX path.
12814 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
12815 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
12816 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
12817 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
12818 !__ASSUME_PRIVATE_FUTEX macros.
12819 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12820 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
12821 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
12822 * sysdeps/unix/sysv/linux/kernel-features.h
12823 (__ASSUME_PRIVATE_FUTEX): Removed.
12825 2018-05-17 Joseph Myers <joseph@codesourcery.com>
12827 * math/Makefile (libm-narrow-fns): Add div.
12828 (libm-test-funcs-narrow): Likewise.
12829 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
12830 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
12831 * math/gen-auto-libm-tests.c (test_functions): Add div.
12832 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
12833 (NARROW_DIV_ROUND_TO_ODD): Likewise.
12834 (NARROW_DIV_TRIVIAL): Likewise.
12835 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
12837 (__ddivl): Likewise.
12838 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
12840 (CFLAGS-nldbl-ddiv.c): New variable.
12841 (CFLAGS-nldbl-fdiv.c): Likewise.
12842 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12844 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
12846 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
12847 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
12848 * math/auto-libm-test-in: Add tests of div.
12849 * math/auto-libm-test-out-narrow-div: New generated file.
12850 * math/libm-test-narrow-div.inc: New file.
12851 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
12852 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
12853 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
12854 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
12855 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
12856 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
12857 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
12858 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
12859 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
12860 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
12861 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
12862 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
12863 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
12864 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
12865 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
12866 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
12867 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
12868 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
12869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12870 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12871 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12872 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12873 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12874 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12875 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12876 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12877 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12878 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12879 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12880 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12881 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12882 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12887 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12888 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12889 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12890 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12891 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12892 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12893 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12894 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12896 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12899 * nscd/nscd-client.h (sendfileall): Remove prototype.
12900 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
12901 (handle_request): Use writeall instead of sendfileall.
12902 * nscd/aicache.c (addhstaiX): Likewise.
12903 * nscd/grpcache.c (cache_addgr): Likewise.
12904 * nscd/hstcache.c (cache_addhst): Likewise.
12905 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12906 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
12907 * nscd/pwdcache.c (cache_addpw): Likewise.
12908 * nscd/servicescache.c (cache_addserv): Likewise.
12909 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
12910 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
12911 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
12914 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
12916 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
12917 Include <string/strncat.c>.
12918 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
12920 (__GI___strncat): New hidden alias.
12922 2018-05-16 Joseph Myers <joseph@codesourcery.com>
12924 * sysdeps/mips/mips32/libm-test-ulps: Update.
12925 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12927 2018-05-16 Florian Weimer <fweimer@redhat.com>
12929 * support/Makefile (libsupport-routines): Add support_quote_blob,
12930 support_test_compare_blob.
12931 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
12932 * support/check.h (TEST_COMPARE_BLOB): Define.
12933 (support_test_compare_blob): Declare.
12934 * support/support.h (support_quote_blob): Declare.
12935 * support/support_quote_blob.c: New file.
12936 * support/support_test_compare_blob.c: Likewise.
12937 * support/tst-support_quote_blob.c: Likewise.
12938 * support/tst-test_compare_blob.c: Likewise.
12940 2018-05-16 Florian Weimer <fweimer@redhat.com>
12942 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
12943 of <strtod_nan_double.h>.
12944 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
12945 instead of SET_MANTISSA.
12946 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
12947 of include <strtod_nan_float.h>.
12948 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
12949 instead of <strtod_nan_ldouble.h>.
12950 * stdlib/strtod_nan_double.h: Move to ...
12951 * sysdeps/generic/math-nan-payload-double.h: ... here.
12952 (FLOAT): Remove definition.
12953 (SET_MANTISSA): Rename to ...
12954 (SET_NAN_PAYLOAD): ... this.
12955 * stdlib/strtod_nan_float.h: Move to ...
12956 * sysdeps/generic/math-nan-payload-float.h: ... here.
12957 (FLOAT): Remove definition.
12958 (SET_MANTISSA): Rename to ...
12959 (SET_NAN_PAYLOAD): ... this.
12960 * sysdeps/generic/math-type-macros-double.h: Include
12961 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
12962 instead of <math-svid-compat.h>.
12963 * sysdeps/generic/math-type-macros-float.h: Include
12964 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
12965 instead of <math-svid-compat.h>.
12966 * sysdeps/generic/math-type-macros-float128.h: Include
12967 <math-nan-payload-float128.h>.
12968 * sysdeps/generic/math-type-macros-ldouble.h: Include
12969 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
12970 instead of <math-svid-compat.h>.
12971 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
12972 check for definition.
12973 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
12974 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
12975 Include <ieee754_float128.h>.
12976 (FLOAT): Remove definition.
12977 (SET_MANTISSA): Rename to ...
12978 (SET_NAN_PAYLOAD): ... this.
12979 * sysdeps/ieee754/float128/strtof128_nan.c: Include
12980 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
12981 Do not include <float128_private.h>.
12982 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
12983 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
12984 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
12985 (FLOAT): Remove definition.
12986 (SET_MANTISSA): Rename to ...
12987 (SET_NAN_PAYLOAD): ... this.
12988 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
12989 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
12990 (FLOAT): Remove definition.
12991 (SET_MANTISSA): Rename to ...
12992 (SET_NAN_PAYLOAD): ... this.
12993 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
12994 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
12995 (FLOAT): Remove definition.
12996 (SET_MANTISSA): Rename to ...
12997 (SET_NAN_PAYLOAD): ... this.
12998 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
12999 of "../stdlib/strtod_nan_double.h".
13000 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
13001 of "../stdlib/strtod_nan_float.h".
13002 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
13003 instead of "../stdlib/strtod_nan_ldouble.h".
13004 * manual/arith.texi (Parsing of Floats): Adjust comment.
13006 2018-05-16 Joseph Myers <joseph@codesourcery.com>
13008 * math/Makefile (libm-narrow-fns): Add mul.
13009 (libm-test-funcs-narrow): Likewise.
13010 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
13011 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
13012 * math/gen-auto-libm-tests.c (test_functions): Add mul.
13013 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
13014 (NARROW_MUL_ROUND_TO_ODD): Likewise.
13015 (NARROW_MUL_TRIVIAL): Likewise.
13016 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
13017 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
13019 (__dmull): Likewise.
13020 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
13022 (CFLAGS-nldbl-dmul.c): New variable.
13023 (CFLAGS-nldbl-fmul.c): Likewise.
13024 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13026 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
13028 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
13029 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
13030 * math/auto-libm-test-in: Add tests of mul.
13031 * math/auto-libm-test-out-narrow-mul: New generated file.
13032 * math/libm-test-narrow-mul.inc: New file.
13033 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
13034 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
13035 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
13036 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
13037 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
13038 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
13039 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
13040 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
13041 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
13042 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
13043 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
13044 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
13045 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
13046 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
13047 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
13048 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
13049 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
13050 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
13051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13052 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13053 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13054 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13055 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13056 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13057 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13058 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13059 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13060 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13061 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13062 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13063 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13064 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13069 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13070 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13071 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13072 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13073 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13074 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13075 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13076 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13078 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13080 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
13081 with *%eax in call.
13083 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13085 * sysdeps/i386/ldsodefs.h: Removed.
13086 * sysdeps/x86_64/ldsodefs.h: Moved to ...
13087 * sysdeps/x86/ldsodefs.h: This.
13088 (La_i86_regs): New.
13089 (La_i86_retval): Likewise.
13090 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
13091 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
13093 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13095 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
13098 2018-05-13 Alan Modra <amodra@gmail.com>
13100 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
13101 R_PARISC_TLS_DTPOFF32 reloc addend.
13103 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13105 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
13106 * math/math.h: Restrict the prototype definition for the functions
13107 issignaling(_Float128) and iszero(_Float128); and template
13108 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
13109 __HAVE_FLOAT128_UNLIKE_LDBL.
13110 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
13111 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
13112 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
13113 __f128() constants; define the type _Float128 as long double;
13114 and reuse long double in __CFLOAT128.
13116 2018-05-11 Joseph Myers <joseph@codesourcery.com>
13118 * sysdeps/generic/math_private.h: Do not include
13120 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
13122 * math/fromfp.h: Include <math-barriers.h>.
13123 * math/math-narrow.h: Likewise.
13124 * math/s_nextafter.c: Likewise.
13125 * math/s_nexttowardf.c: Likewise.
13126 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
13127 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
13128 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
13129 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
13130 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13131 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13132 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13133 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13134 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13135 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13136 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13137 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13138 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13139 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13140 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13141 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13142 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13143 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13144 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13145 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13146 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13147 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13148 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13149 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13150 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13151 * sysdeps/ieee754/k_standardl.c: Likewise.
13152 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13153 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13154 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13155 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13156 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13157 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13158 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13159 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13160 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13161 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13162 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13163 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13164 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13165 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13166 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13167 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13168 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13169 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13170 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13171 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13172 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
13173 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
13175 2018-05-11 Florian Weimer <fweimer@redhat.com>
13177 Use 64-bit epoch values in the time zone file parser.
13178 * include/time.h (internal_time_t): Define.
13179 (__tzfile_compute): Use it.
13180 * time/tzfile.c (struct leap): Use internal_time_t for epoch
13182 (transitions): Switch to internal_time_t.
13183 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
13185 (__tzfile_compute): Use internal_time_t for timer argument. Check
13186 for truncation before calling __offtime.
13188 2018-05-11 Florian Weimer <fweimer@redhat.com>
13191 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
13192 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
13194 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
13195 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
13196 export without --enable-obsolete-rpc.
13197 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
13198 symbol. This should not have been exported, ever.
13200 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
13203 * localedata/locales/gd_GB (abmon): Fix typo in May:
13204 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
13206 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13208 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
13209 Use multiple registers to copy data in loop tail.
13211 * sysdeps/aarch64/multiarch/memmove_falkor.S
13212 (__memmove_falkor): Use multiple registers to move data in
13215 2018-05-10 Joseph Myers <joseph@codesourcery.com>
13217 * math/math-underflow.h: New file.
13218 * sysdeps/generic/math_private.h: Do not include <float.h>.
13219 (fabs_tg): Remove macro. Moved to math-underflow.h.
13220 (min_of_type_f): Likewise.
13221 (min_of_type_): Likewise.
13222 (min_of_type_l): Likewise.
13223 (min_of_type_f128): Likewise.
13224 (min_of_type): Likewise.
13225 (math_check_force_underflow): Likewise.
13226 (math_check_force_underflow_nonneg): Likewise.
13227 (math_check_force_underflow_complex): Likewise.
13228 * math/e_exp2_template.c: Include <math-underflow.h>.
13229 * math/k_casinh_template.c: Likewise.
13230 * math/s_catan_template.c: Likewise.
13231 * math/s_catanh_template.c: Likewise.
13232 * math/s_ccosh_template.c: Likewise.
13233 * math/s_cexp_template.c: Likewise.
13234 * math/s_clog10_template.c: Likewise.
13235 * math/s_clog_template.c: Likewise.
13236 * math/s_csin_template.c: Likewise.
13237 * math/s_csinh_template.c: Likewise.
13238 * math/s_csqrt_template.c: Likewise.
13239 * math/s_ctan_template.c: Likewise.
13240 * math/s_ctanh_template.c: Likewise.
13241 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13242 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13243 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13244 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13245 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13246 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13247 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13248 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13249 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13250 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13251 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13252 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13253 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13254 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13255 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13256 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13257 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13258 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13259 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13260 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13261 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13262 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13263 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13264 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13265 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13266 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13267 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13268 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13269 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13270 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13271 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13272 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13273 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13274 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13275 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13276 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13277 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13278 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13279 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13280 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13281 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13282 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13283 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13284 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13285 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13286 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13287 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13288 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13289 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13290 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13291 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13292 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13293 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13294 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13295 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13296 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13297 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13298 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13299 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13300 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13301 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13302 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13303 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13304 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13305 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13306 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13307 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13308 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13309 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13310 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13311 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13312 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13313 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13314 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
13315 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13316 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13317 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13318 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13319 * sysdeps/x86/fpu/powl_helper.c: Likewise.
13320 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
13321 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
13322 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13323 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
13324 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
13326 2018-05-09 Joseph Myers <joseph@codesourcery.com>
13328 * sysdeps/generic/math-barriers.h: New file.
13329 * sysdeps/generic/math_private.h [!math_opt_barrier]
13330 (math_opt_barrier): Move to math-barriers.h.
13331 [!math_opt_barrier] (math_force_eval): Likewise.
13332 * sysdeps/aarch64/fpu/math-barriers.h: New file.
13333 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
13335 (math_force_eval): Likewise.
13336 * sysdeps/alpha/fpu/math-barriers.h: New file.
13337 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
13339 (math_force_eval): Likewise.
13340 * sysdeps/x86/fpu/math-barriers.h: New file.
13341 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
13343 (math_force_eval): Likewise.
13344 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
13345 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
13346 multiple-include guard for rename.
13347 * sysdeps/powerpc/fpu/math-barriers.h: New file.
13348 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
13350 (math_force_eval): Likewise.
13352 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
13356 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
13358 * stdlib/Makefile (test-bz22786): New test.
13359 * stdlib/test-bz22786.c: New test.
13361 2018-05-09 Joseph Myers <joseph@codesourcery.com>
13363 * include/math-narrow-eval.h: New file. Contents moved from ....
13364 * sysdeps/generic/math_private.h: ... here.
13365 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
13366 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
13367 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
13368 * stdlib/strtod_l.c: Likewise.
13369 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
13370 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
13371 * sysdeps/i386/fpu/s_fdim.c: Likewise.
13372 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13373 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13374 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13375 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13376 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13377 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13378 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
13379 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13380 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
13381 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13382 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13383 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13384 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13385 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13386 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13387 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13388 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13389 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13390 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13391 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13392 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13393 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13394 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13395 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13396 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13397 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13399 2018-05-08 Andreas Schwab <schwab@suse.de>
13401 * sysdeps/nptl/internaltypes.h: Fix comment.
13403 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
13405 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13406 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
13409 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
13411 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
13412 of I into loop header.
13413 * benchtests/bench-memmove-walk.c
13414 (test_main): Likewise.
13416 2018-05-07 Alexandre Oliva <oliva@gnu.org>
13419 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
13420 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
13422 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13425 * elf/dl-load.c (open_verify): Fix stack overflow.
13426 * elf/Makefile (tst-big-note): New test.
13427 * elf/tst-big-note-lib.S: New.
13428 * elf/tst-big-note.c: New.
13430 2018-05-04 Joseph Myers <joseph@codesourcery.com>
13432 * scripts/abilist.awk: Ignore absolute symbols.
13433 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
13434 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
13435 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
13436 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
13437 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
13438 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
13439 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13440 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
13441 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
13442 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
13443 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
13444 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
13445 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13446 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
13447 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
13448 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13449 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
13450 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
13451 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13452 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
13453 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
13454 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
13455 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
13456 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
13457 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
13458 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13459 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
13460 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
13461 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13462 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
13463 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
13464 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13465 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
13466 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
13467 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
13468 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
13469 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
13470 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
13471 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13472 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
13473 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
13474 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13475 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
13476 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
13477 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13478 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
13479 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
13480 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
13481 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
13482 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
13483 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
13484 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13485 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
13486 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
13487 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13488 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
13489 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
13490 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13491 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
13492 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
13493 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
13494 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
13495 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
13496 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
13497 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13498 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
13499 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
13500 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13501 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
13502 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
13503 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13504 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
13505 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
13506 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
13507 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
13508 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
13509 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
13510 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13511 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
13512 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
13513 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13514 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
13515 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
13516 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13517 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
13518 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
13519 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
13520 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
13521 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
13522 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
13523 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13524 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
13526 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
13527 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13528 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
13529 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
13530 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13531 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
13532 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
13533 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
13534 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
13535 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
13536 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
13537 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13538 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
13540 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
13541 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13542 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
13543 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
13544 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13545 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
13546 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
13547 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
13548 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
13549 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
13550 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
13551 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13552 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
13553 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
13554 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13555 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
13556 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
13557 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13558 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
13559 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
13560 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
13561 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
13562 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
13563 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
13564 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13565 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13566 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13568 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
13569 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
13570 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
13571 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
13572 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13573 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
13574 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
13575 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
13576 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
13577 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
13578 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
13579 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
13580 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
13581 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
13582 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
13583 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
13584 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
13585 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
13586 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13587 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13589 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
13590 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
13591 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
13592 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13593 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
13594 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
13595 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
13596 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
13597 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
13598 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13599 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13600 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
13601 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13602 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13603 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
13604 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13605 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
13606 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
13607 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13608 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
13609 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
13610 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13611 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
13612 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
13613 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
13614 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
13615 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
13616 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
13617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
13618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
13622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
13623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
13624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
13625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
13626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
13628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
13630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
13631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
13633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
13634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
13642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
13644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
13646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
13647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
13652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
13653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
13654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
13658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
13659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
13665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
13667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
13668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
13669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
13671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
13673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
13675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
13676 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
13677 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
13679 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
13680 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13681 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
13682 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
13683 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13684 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
13685 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
13686 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
13687 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
13688 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
13689 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
13690 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
13691 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13692 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13694 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13695 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
13696 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
13697 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13698 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
13699 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
13700 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
13701 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
13702 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
13703 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
13704 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13705 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13707 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13708 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
13709 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
13710 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13711 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
13712 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
13713 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
13714 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
13715 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
13716 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
13717 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13718 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
13719 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
13720 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13721 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
13722 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
13723 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13724 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
13725 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
13726 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
13727 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
13728 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
13729 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
13730 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13731 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
13733 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
13734 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13735 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
13736 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
13737 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13738 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
13739 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
13740 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
13741 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
13742 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
13743 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
13744 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13745 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
13747 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
13748 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13749 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
13750 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
13751 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13752 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
13753 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
13754 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
13755 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
13756 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
13757 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
13758 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13759 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
13760 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
13761 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13762 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
13763 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
13764 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13765 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
13766 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
13767 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
13768 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
13769 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
13770 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
13771 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
13772 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13773 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
13774 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
13775 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13776 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
13777 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
13778 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13779 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
13780 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
13781 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
13782 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
13783 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
13784 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
13786 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
13789 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
13790 Use atomic_load_acquire to load __tid.
13792 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13794 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
13795 Restore the pointer into %rdx, after syscall and use %rdx,
13796 instead of %rsi, to restore context.
13798 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13800 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
13801 Pop the pointer into %rdx after syscall and use %rdx, instead
13802 of %rsi, to restore context.
13804 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13806 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
13807 handlers after setjmp.
13808 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
13810 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
13811 <libc-pointer-arith.h>.
13812 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
13813 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
13814 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
13815 _JUMP_BUF_SIGSET_BITS_PER_WORD.
13816 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
13817 * sysdeps/x86/__longjmp_cancel.S: New file.
13818 * sysdeps/x86/longjmp.c: Likewise.
13819 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
13821 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13823 * NEWS: Add ustat.h deprecation entry.
13824 * bits/ustat.h: Remove file.
13825 * misc/sys/ustat.h: Likewise.
13826 * misc/ustat.h: Likewise.
13827 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
13828 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
13829 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
13830 compatibility mode.
13831 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
13832 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
13833 generic Linux implementation.
13835 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13837 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
13838 * math/w_expl_compat.c: Likewise.
13839 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
13841 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
13843 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
13845 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13847 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
13848 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
13849 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
13851 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
13852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13853 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13854 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
13855 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
13858 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13860 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
13862 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
13863 * math/w_asin_template.c: Likewise.
13864 * math/w_atanh_template.c: Likewise.
13866 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13868 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
13869 to powerpc/powerpc64/be for big-endian.
13870 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
13873 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
13874 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
13875 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
13876 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
13877 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
13878 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
13879 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
13880 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
13881 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
13882 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13883 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
13884 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
13885 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
13886 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
13887 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
13888 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
13889 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
13890 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
13891 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
13892 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
13893 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
13894 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13895 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
13896 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
13897 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
13898 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13899 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
13900 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
13901 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
13902 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
13903 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
13904 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
13906 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
13907 adjusted to imply powerpc64 and older processors on powerpc64/be.
13908 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
13909 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
13910 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
13911 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
13912 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
13913 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
13914 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
13915 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
13916 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
13917 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
13918 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
13919 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
13920 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
13921 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
13922 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
13923 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
13924 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
13925 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
13926 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
13927 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
13928 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
13929 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
13930 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
13931 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
13932 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
13933 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
13934 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
13935 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
13936 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
13937 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
13938 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
13940 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
13941 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
13942 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
13943 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
13945 * sysdeps/powerpc/powerpc64/be/Implies: New file.
13946 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
13947 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
13948 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
13950 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
13951 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
13952 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
13953 * sysdeps/powerpc/powerpc64le/configure: Likewise.
13954 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
13955 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
13956 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
13957 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
13958 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
13959 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
13960 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
13962 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
13963 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
13964 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
13965 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
13966 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
13967 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
13968 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
13969 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
13970 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
13971 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
13972 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
13974 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
13975 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
13976 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
13977 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
13978 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
13979 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
13980 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
13981 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
13982 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
13983 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
13984 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
13985 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
13987 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
13988 and adjusted to imply olders processors.
13989 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
13990 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
13991 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
13992 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
13993 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
13994 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
13995 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
13996 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
13997 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
13998 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
13999 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
14001 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
14003 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
14004 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
14006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
14008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
14009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
14011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
14013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
14015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
14017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
14018 powerpc64 and adjusted.
14019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
14020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
14021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
14024 2018-04-27 Joseph Myers <joseph@codesourcery.com>
14026 * sysdeps/tile: Remove.
14027 * sysdeps/unix/sysv/linux/tile: Likewise.
14028 * README (tilegx-*-linux-gnu): Remove from list of supported
14030 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
14031 contribution of support for generic Linux kernel syscall
14033 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
14034 tilegx configurations.
14035 (Config.install_linux_headers): Do not handle tile.
14036 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
14038 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
14039 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
14040 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14041 conditional undefine and redefine.
14042 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
14044 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14045 conditional undefine and redefine.
14047 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
14049 * signal/tst-sigaction.c: New file to test BZ #23069.
14050 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
14052 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14055 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
14056 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
14057 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
14058 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
14060 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14062 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
14063 _DIRENT_MATCHES_DIRENT64 is not defined.
14064 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
14065 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
14067 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
14068 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
14070 2018-04-25 Joseph Myers <joseph@codesourcery.com>
14072 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
14073 version to GCC 8 branch.
14075 2018-04-24 Joseph Myers <joseph@codesourcery.com>
14077 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
14078 (check_no_hidden): Use type of original function when declaring
14081 * sysdeps/unix/sysv/linux/sys/ptrace.h
14082 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
14083 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
14084 (struct __ptrace_seccomp_metadata): New type.
14085 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14086 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14087 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
14088 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14089 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
14090 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14091 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14092 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14093 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
14094 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14095 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
14096 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14097 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
14098 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14099 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
14100 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14102 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14104 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
14106 * dirent/versionsort.c (versionsort): Likewise.
14107 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
14108 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
14109 * dirent/versionsort64.c (versionsort64): Likewise.
14110 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
14111 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
14112 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
14113 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
14114 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
14115 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
14116 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
14117 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
14118 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
14119 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
14120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
14121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
14122 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
14123 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
14125 2018-04-23 Joseph Myers <joseph@codesourcery.com>
14127 * elf/elf.h (NT_PPC_PKEY): New macro.
14129 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
14132 * localedata/locales/hr_HR: fix thousands_sep and
14135 2018-04-20 Joseph Myers <joseph@codesourcery.com>
14137 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
14138 (XTABS): Define to TAB3.
14140 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14142 * sysdeps/hppa/fpu/libm-test-ulps: Update.
14144 * dirent/scandir-tail-common.c: New file.
14145 * dirent/scandir-tail.c: Use scandir-tail-common.c.
14146 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
14147 * dirent/scandir.c: Use scandir-tail-common.c.
14148 * dirent/scandirat.c: Likewise.
14149 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
14150 * dirent/scandir64.c (scandir64): Always build and alias to scandir
14151 if _DIRENT_MATCHES_DIRENT64 is defined.
14152 * dirent/scandirat64.c (scandirat64): Likewise.
14153 * include/dirent.h (__scandir_tail): Only define iff
14154 _DIRENT_MATCHES_DIRENT64 is not defined.
14155 (__scandir64_tail): Define regardless.
14156 (__scandirat, scandirat64): Remove libc_hidden_proto.
14157 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
14158 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
14159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
14160 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
14161 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14162 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
14163 * sysdeps/unix/sysv/linux/scandir64.c: New file.
14165 2018-04-20 Joseph Myers <joseph@codesourcery.com>
14167 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
14169 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
14171 (_dl_aarch64_cap_flags): Add asimdfhm.
14173 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
14175 * sysdeps/nios2/libm-test-ulps: Update.
14177 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14179 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
14180 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
14182 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
14184 (_DIRENT_MATCHES_DIRENT64): Undef
14185 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
14186 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
14187 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
14188 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
14189 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
14190 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
14191 use getdents64 syscalls as base.
14192 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
14193 symbol if required.
14194 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
14195 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
14196 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
14197 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
14198 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
14199 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
14200 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
14201 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
14202 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14203 (__get_clockfreq_via_proc_openprom): Use __getdents64.
14204 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
14206 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14208 * scripts/test_printers_common.py (init_test): Disable lock elision.
14210 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14212 * math/test-tgmath.c (count_double, count_float,
14213 count_ldouble, count_cdouble, count_cfloat,
14214 count_cldouble): Use volatile int.
14216 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
14218 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
14219 (conformtest-xfail-conds): Add i386-gnu.
14220 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
14222 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
14223 ipc_perm.cuid, ipc_perm.cgid): Likewise.
14224 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
14225 msqid_ds.msg_lrpid): Likewise.
14226 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
14228 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
14229 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
14230 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
14231 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
14233 (struct statvfs64): Likewise.
14234 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
14236 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
14237 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
14238 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
14239 instead of wait_queue.
14240 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
14241 instead of vm_area_struct.
14242 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
14243 struct sched_param definition to it.
14244 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14245 * bits/types/struct_sched_param.h: New file.
14246 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
14247 <bits/types/struct_sched_param.h> instead of <sched.h>.
14248 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
14249 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
14250 generic version but include <bits/pthreadtypes.h> to make struct
14251 sigevent's sigev_notify_attributes field a pthread_attr_t*.
14252 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
14254 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
14255 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
14256 [__USE_XOPEN] (OFDEL): New macro.
14257 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
14258 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
14259 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
14261 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
14262 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
14263 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
14265 * sysdeps/i386/sys/ucontext.h: Likewise.
14266 * sysdeps/m68k/sys/ucontext.h: Likewise.
14267 * sysdeps/mips/sys/ucontext.h: Likewise.
14268 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
14269 * sysdeps/mach/hurd/i386/Makefile
14270 (test-xfail-POSIX/fcntl.h/conform): Add.
14271 (test-xfail-POSIX/signal.h/conform): Add.
14272 (test-xfail-POSIX/semaphore.h/conform): Add.
14273 (test-xfail-POSIX/regex.h/conform): Add.
14274 (test-xfail-POSIX/aio.h/conform): Add.
14275 (test-xfail-POSIX/mqueue.h/conform): Add.
14276 (test-xfail-POSIX/sys/types.h/conform): Add.
14277 (test-xfail-UNIX98/fcntl.h/conform): Add.
14278 (test-xfail-UNIX98/netdb.h/conform): Add.
14279 (test-xfail-UNIX98/signal.h/conform): Add.
14280 (test-xfail-UNIX98/semaphore.h/conform): Add.
14281 (test-xfail-UNIX98/regex.h/conform): Add.
14282 (test-xfail-UNIX98/aio.h/conform): Add.
14283 (test-xfail-UNIX98/ftw.h/conform): Add.
14284 (test-xfail-UNIX98/mqueue.h/conform): Add.
14285 (test-xfail-UNIX98/netinet/in.h/conform): Add.
14286 (test-xfail-UNIX98/sys/wait.h/conform): Add.
14287 (test-xfail-UNIX98/sys/sem.h/conform): Add.
14288 (test-xfail-UNIX98/sys/uio.h/conform): Add.
14289 (test-xfail-UNIX98/sys/socket.h/conform): Add.
14290 (test-xfail-UNIX98/sys/types.h/conform): Add.
14291 (test-xfail-UNIX98/stdlib.h/conform): Add.
14292 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
14293 (test-xfail-POSIX2008/fcntl.h/conform): Add.
14294 (test-xfail-POSIX2008/netdb.h/conform): Add.
14295 (test-xfail-POSIX2008/signal.h/conform): Add.
14296 (test-xfail-POSIX2008/semaphore.h/conform): Add.
14297 (test-xfail-POSIX2008/regex.h/conform): Add.
14298 (test-xfail-POSIX2008/aio.h/conform): Add.
14299 (test-xfail-POSIX2008/mqueue.h/conform): Add.
14300 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
14301 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
14302 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
14303 (test-xfail-POSIX2008/sys/types.h/conform): Add.
14304 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
14305 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
14306 (test-xfail-XOPEN2K/netdb.h/conform): Add.
14307 (test-xfail-XOPEN2K/signal.h/conform): Add.
14308 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
14309 (test-xfail-XOPEN2K/regex.h/conform): Add.
14310 (test-xfail-XOPEN2K/aio.h/conform): Add.
14311 (test-xfail-XOPEN2K/ftw.h/conform): Add.
14312 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
14313 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
14314 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
14315 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
14316 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
14317 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
14318 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
14319 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
14320 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
14321 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
14322 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
14323 (test-xfail-XOPEN2K8/signal.h/conform): Add.
14324 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
14325 (test-xfail-XOPEN2K8/regex.h/conform): Add.
14326 (test-xfail-XOPEN2K8/aio.h/conform): Add.
14327 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
14328 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
14329 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
14330 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
14331 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
14332 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
14333 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
14334 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
14335 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
14336 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
14337 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
14339 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
14340 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
14342 2018-04-18 Joseph Myers <joseph@codesourcery.com>
14344 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
14345 --enable-obsolete for powerpc-linux-gnuspe.
14347 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14349 * conform/data/sys/un.h-data: Allow sun_ prefix.
14350 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
14352 * sysdeps/mach/include/mach.h: Likewise.
14353 * sysdeps/mach/include/mach/mig_support.h: Likewise.
14354 * sysdeps/mach/include/mach_error.h: Likewise.
14356 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14358 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
14359 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
14360 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
14361 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
14363 2018-04-16 Andreas Schwab <schwab@suse.de>
14366 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
14368 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
14370 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
14371 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
14373 2018-04-12 DJ Delorie <dj@redhat.com>
14375 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14378 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
14380 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
14381 (struct kernel_sigaction): Use the same definition on 31bit as is used
14384 2018-04-09 Florian Weimer <fweimer@redhat.com>
14387 * resolv/res_send.c (send_dg): Use designated initializers instead
14388 of assignment to zero-initialize other fields of struct mmsghdr.
14390 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14392 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
14393 __READDIR_ALIAS): Undefine after usage.
14394 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
14395 __READDIR_R_ALIAS): Likewise.
14396 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
14397 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
14398 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
14399 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
14400 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
14401 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
14402 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14403 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14404 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
14405 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
14406 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
14407 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
14408 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14409 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
14410 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
14411 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
14412 * sysdeps/unix/sysv/linux/readdir.c: New file.
14413 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
14414 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
14415 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
14417 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
14419 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
14421 * manual/charset.texi (Converting a Character): Fix typo.
14423 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14425 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14427 * sysdeps/arm/libm-test-ulps: Update.
14429 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
14430 as base implementation.
14431 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14432 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14433 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14434 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14435 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14436 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
14437 remove unrequired definitions and update comments.
14438 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
14439 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
14440 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
14441 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
14442 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
14443 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
14444 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
14445 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
14446 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
14447 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
14448 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
14449 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14450 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14451 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
14452 and RESET_SA_RESTORER hooks.
14454 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
14456 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14458 2018-04-05 Florian Weimer <fweimer@redhat.com>
14460 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
14461 integer overflow, memory leak on error, and indeterminate errno
14462 value. Add a null wide character to terminate the result string.
14463 * manual/charset.texi (Converting a Character): Mention embedded
14464 null bytes in the mbrtowc input string. Explain what happens in
14465 the -2 result case. Do not claim that mbrtowc is simple or
14466 obvious to use. Adjust the description of the code example. Use
14467 @code, not @var, for concrete variables.
14469 2018-04-05 Florian Weimer <fweimer@redhat.com>
14471 * manual/examples/mbstouwcs.c: New file.
14472 * manual/charset.texi (Converting a Character): Include it.
14474 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14476 * include/dirent.h (dirfd): Add hidden proto.
14477 * dirent/dirfd.c (dirfd): Add hidden def.
14478 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
14479 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
14481 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14483 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
14484 sin, cos and sincos to 1 ULP.
14486 2018-04-04 Maciej W. Rozycki <macro@mips.com>
14489 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
14491 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
14492 * elf/tst-absolute-sym.c: New file.
14493 * elf/tst-absolute-sym-lib.c: New file.
14494 * elf/tst-absolute-sym-lib.lds: New file.
14495 * elf/Makefile (tests): Add `tst-absolute-sym'.
14496 (modules-names): Add `tst-absolute-sym-lib'.
14497 (LDLIBS-tst-absolute-sym-lib.so): New variable.
14498 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
14499 ($(objpfx)tst-absolute-sym): New dependency.
14502 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
14504 (SYMBOL_ADDRESS): New macro.
14505 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
14506 SYMBOL_ADDRESS for symbol address calculation.
14507 * elf/dl-runtime.c (_dl_fixup): Likewise.
14508 (_dl_profile_fixup): Likewise.
14509 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
14510 * elf/rtld.c (dl_main): Likewise.
14511 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
14512 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
14513 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
14514 (elf_machine_rela): Likewise.
14515 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
14516 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
14517 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14518 (elf_machine_rela): Likewise.
14519 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14520 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
14521 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
14522 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
14524 (elf_machine_reloc): Likewise.
14525 (elf_machine_got_rel): Likewise.
14526 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
14527 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
14528 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14530 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14532 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
14533 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14535 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14537 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14538 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14540 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14542 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
14543 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14545 2018-04-04 Zack Weinberg <zackw@panix.com>
14547 * sysdeps/generic/internal-signals.h: Include signal.h,
14548 sigsetops.h, and stdbool.h.
14549 (__libc_signal_block_all): Actually block all signals.
14550 (__libc_signal_block_app): Likewise.
14551 (__libc_signal_restore_set): Actually restore the signal mask.
14553 2018-04-04 Florian Weimer <fweimer@redhat.com>
14555 inet: Actually build and run tst-deadline.
14556 * inet/Makefile (tests-internal): Add tst-deadline and do not
14557 overwrite the variable.
14558 (tests-static-internal): Remove variable.
14560 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
14563 * bits/uio-ext.h (RWF_APPEND): New.
14564 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
14565 * manual/llio.texi: Document RWF_APPEND.
14566 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
14567 (RWF_SUPPORTED): Add RWF_APPEND.
14569 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14572 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
14573 check for internal nptl signals.
14574 * nptl/sigaction.c (__sigaction): Likewise.
14575 * signal/sigaddset.c (sigaddset): Likewise.
14576 * signal/sigdelset.c (sigdelset): Likewise.
14577 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
14578 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
14580 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
14581 to filter out internal nptl signals.
14582 * signal/tst-sigset.c (do_test): Check ech signal indidually and
14583 also check realtime signals using standard macros.
14584 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
14585 __is_internal_signal, __libc_signal_block_all,
14586 __libc_signal_block_app, __libc_signal_restore_set): New functions.
14587 * sysdeps/nptl/sigfillset.c: Remove file.
14588 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
14589 Change return to bool.
14590 (__clear_internal_signals): Remove SIGTIMER clean since it is
14591 equal to SIGCANEL on Linux.
14592 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
14593 signal set was constructed using standard functions.
14595 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14597 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
14598 ifname is too long.
14599 * hurd/hurdsig.c (interrupted_reply_port_location): Use
14600 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
14601 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
14603 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
14604 * signal/sigaddset.c: Include <sigsetopts.h>.
14605 * signal/sigdelset.c: Likewise.
14607 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14609 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
14611 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
14612 logic as sin and cos.
14614 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14616 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
14617 inputs. Return correct sign.
14618 (do_sincos): Remove small input check before do_sin, let do_sin set
14623 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14625 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
14626 (do_cos_slow): Likewise.
14627 (do_sin_slow): Likewise.
14628 (reduce_and_compute): Likewise.
14633 (sloww1): Likewise.
14634 (sloww2): Likewise.
14636 (bslow1): Likewise.
14637 (bslow2): Likewise.
14638 (cslow2): Likewise.
14640 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14642 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
14643 (do_cos): Remove corp parameter and calculations.
14644 (do_sin): Likewise.
14645 (do_sincos): Remove cor variable.
14646 (__sin): Use do_sincos for huge inputs.
14648 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
14649 (reduce_and_compute_sincos): Remove unused function.
14651 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14653 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
14654 reduce_sincos, improve accuracy to 136 bits.
14655 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
14656 (__sin): Use improved reduction and simplified do_sincos calculation.
14658 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
14660 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14662 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
14663 (do_sincos_2): Likewise.
14664 (__sin): Remove middle range reduction case.
14666 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
14669 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14671 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
14672 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
14675 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
14677 2018-04-03 Joseph Myers <joseph@codesourcery.com>
14679 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14682 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14684 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
14685 Remove definitions.
14686 (opendir_oflags): Use O_DIRECTORY regardless.
14687 (__opendir, __opendirat): Remove need_isdir_precheck usage.
14688 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
14690 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14692 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
14693 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
14695 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
14696 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
14697 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
14698 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
14699 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
14700 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
14702 * htl/Makefile: Bump licence to LGPL 2.1+.
14703 * htl/alloca_cutoff.c: Likewise.
14704 * htl/cthreads-compat.c: Likewise.
14705 * htl/lockfile.c: Likewise.
14706 * htl/pt-alloc.c: Likewise.
14707 * htl/pt-cancel.c: Likewise.
14708 * htl/pt-cleanup.c: Likewise.
14709 * htl/pt-create.c: Likewise.
14710 * htl/pt-dealloc.c: Likewise.
14711 * htl/pt-detach.c: Likewise.
14712 * htl/pt-exit.c: Likewise.
14713 * htl/pt-getattr.c: Likewise.
14714 * htl/pt-initialize.c: Likewise.
14715 * htl/pt-internal.h: Likewise.
14716 * htl/pt-join.c: Likewise.
14717 * htl/pt-self.c: Likewise.
14718 * htl/pt-setcancelstate.c: Likewise.
14719 * htl/pt-setcanceltype.c: Likewise.
14720 * htl/pt-sigmask.c: Likewise.
14721 * htl/pt-spin-inlines.c: Likewise.
14722 * htl/pt-testcancel.c: Likewise.
14723 * htl/pt-yield.c: Likewise.
14724 * htl/tests/test-1.c: Likewise.
14725 * htl/tests/test-10.c: Likewise.
14726 * htl/tests/test-11.c: Likewise.
14727 * htl/tests/test-12.c: Likewise.
14728 * htl/tests/test-13.c: Likewise.
14729 * htl/tests/test-14.c: Likewise.
14730 * htl/tests/test-15.c: Likewise.
14731 * htl/tests/test-16.c: Likewise.
14732 * htl/tests/test-17.c: Likewise.
14733 * htl/tests/test-2.c: Likewise.
14734 * htl/tests/test-3.c: Likewise.
14735 * htl/tests/test-4.c: Likewise.
14736 * htl/tests/test-5.c: Likewise.
14737 * htl/tests/test-6.c: Likewise.
14738 * htl/tests/test-7.c: Likewise.
14739 * htl/tests/test-8.c: Likewise.
14740 * htl/tests/test-9.c: Likewise.
14741 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
14742 * sysdeps/htl/bits/cancelation.h: Likewise.
14743 * sysdeps/htl/bits/pthread-np.h: Likewise.
14744 * sysdeps/htl/bits/pthread.h: Likewise.
14745 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
14746 * sysdeps/htl/bits/semaphore.h: Likewise.
14747 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
14748 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
14749 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
14750 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
14751 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
14752 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
14753 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
14754 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
14755 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
14756 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
14757 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
14758 * sysdeps/htl/old_pt-atfork.c: Likewise.
14759 * sysdeps/htl/pt-atfork.c: Likewise.
14760 * sysdeps/htl/pt-attr-destroy.c: Likewise.
14761 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
14762 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
14763 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
14764 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
14765 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
14766 * sysdeps/htl/pt-attr-getscope.c: Likewise.
14767 * sysdeps/htl/pt-attr-getstack.c: Likewise.
14768 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
14769 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
14770 * sysdeps/htl/pt-attr-init.c: Likewise.
14771 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
14772 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
14773 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
14774 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
14775 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
14776 * sysdeps/htl/pt-attr-setscope.c: Likewise.
14777 * sysdeps/htl/pt-attr-setstack.c: Likewise.
14778 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
14779 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
14780 * sysdeps/htl/pt-attr.c: Likewise.
14781 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
14782 * sysdeps/htl/pt-barrier-init.c: Likewise.
14783 * sysdeps/htl/pt-barrier-wait.c: Likewise.
14784 * sysdeps/htl/pt-barrier.c: Likewise.
14785 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
14786 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
14787 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
14788 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
14789 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
14790 * sysdeps/htl/pt-cond-destroy.c: Likewise.
14791 * sysdeps/htl/pt-cond-init.c: Likewise.
14792 * sysdeps/htl/pt-cond-signal.c: Likewise.
14793 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
14794 * sysdeps/htl/pt-cond-wait.c: Likewise.
14795 * sysdeps/htl/pt-cond.c: Likewise.
14796 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
14797 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
14798 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
14799 * sysdeps/htl/pt-condattr-init.c: Likewise.
14800 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
14801 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
14802 * sysdeps/htl/pt-destroy-specific.c: Likewise.
14803 * sysdeps/htl/pt-equal.c: Likewise.
14804 * sysdeps/htl/pt-getconcurrency.c: Likewise.
14805 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
14806 * sysdeps/htl/pt-getschedparam.c: Likewise.
14807 * sysdeps/htl/pt-getspecific.c: Likewise.
14808 * sysdeps/htl/pt-init-specific.c: Likewise.
14809 * sysdeps/htl/pt-key-create.c: Likewise.
14810 * sysdeps/htl/pt-key-delete.c: Likewise.
14811 * sysdeps/htl/pt-key.h: Likewise.
14812 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
14813 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
14814 * sysdeps/htl/pt-mutex-init.c: Likewise.
14815 * sysdeps/htl/pt-mutex-lock.c: Likewise.
14816 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
14817 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
14818 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
14819 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
14820 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
14821 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
14822 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
14823 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
14824 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
14825 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
14826 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
14827 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
14828 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
14829 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
14830 * sysdeps/htl/pt-mutexattr.c: Likewise.
14831 * sysdeps/htl/pt-once.c: Likewise.
14832 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
14833 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
14834 * sysdeps/htl/pt-rwlock-init.c: Likewise.
14835 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
14836 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
14837 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
14838 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
14839 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
14840 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
14841 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
14842 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
14843 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
14844 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
14845 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
14846 * sysdeps/htl/pt-setconcurrency.c: Likewise.
14847 * sysdeps/htl/pt-setschedparam.c: Likewise.
14848 * sysdeps/htl/pt-setschedprio.c: Likewise.
14849 * sysdeps/htl/pt-setspecific.c: Likewise.
14850 * sysdeps/htl/pt-spin.c: Likewise.
14851 * sysdeps/htl/pt-startup.c: Likewise.
14852 * sysdeps/htl/pthread.h: Likewise.
14853 * sysdeps/htl/sem-close.c: Likewise.
14854 * sysdeps/htl/sem-destroy.c: Likewise.
14855 * sysdeps/htl/sem-getvalue.c: Likewise.
14856 * sysdeps/htl/sem-init.c: Likewise.
14857 * sysdeps/htl/sem-open.c: Likewise.
14858 * sysdeps/htl/sem-post.c: Likewise.
14859 * sysdeps/htl/sem-timedwait.c: Likewise.
14860 * sysdeps/htl/sem-trywait.c: Likewise.
14861 * sysdeps/htl/sem-unlink.c: Likewise.
14862 * sysdeps/htl/sem-wait.c: Likewise.
14863 * sysdeps/hurd/htl/pt-kill.c: Likewise.
14864 * sysdeps/i386/htl/pt-machdep.h: Likewise.
14865 * sysdeps/mach/htl/pt-block.c: Likewise.
14866 * sysdeps/mach/htl/pt-spin.c: Likewise.
14867 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
14868 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
14869 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
14870 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
14871 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
14872 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
14873 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
14874 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
14875 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
14876 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
14877 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
14878 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
14879 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
14880 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
14881 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
14882 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
14883 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
14884 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
14885 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
14886 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
14887 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
14888 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
14889 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
14890 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
14891 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
14892 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
14893 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
14894 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
14895 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
14896 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
14897 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
14898 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
14899 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
14900 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
14901 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
14902 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
14903 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
14904 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
14905 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
14906 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
14907 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
14908 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
14909 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
14911 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
14912 * README: Remove the mention of out-of-tree patches needed for
14915 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
14916 (UTIME_NOW, UTIME_OMIT): Define macros.
14918 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
14919 instead of pthread_detach.
14920 (__cthread_fork): Call __pthread_create instead of pthread_create.
14921 (__cthread_keycreate): Call __pthread_key_create instead of
14922 pthread_key_create.
14923 (__cthread_getspecific): Call __pthread_getspecific instead of
14924 pthread_getspecific.
14925 (__cthread_setspecific): Call __pthread_setspecific instead of
14926 pthread_setspecific.
14927 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
14928 __pthread_mutex_unlock instead of pthread_mutex_lock and
14929 pthread_mutex_unlock.
14930 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
14931 ___pthread_get_cleanup_stack.
14932 (__pthread_get_cleanup_stack): New strong alias.
14933 * htl/pt-create.c: Include <pthreadP.h>.
14934 (entry_point): Call __pthread_exit instead of pthread_exit.
14935 (pthread_create): Rename to __pthread_create.
14936 (pthread_create): New strong alias.
14937 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
14938 (pthread_detach): New strong alias.
14939 (__pthread_detach): Call __pthread_cond_broadcast instead of
14940 pthread_cond_broadcast.
14941 * htl/pt-exit.c: Include <pthreadP.h>.
14942 (__pthread_exit): Call __pthread_setcancelstate and
14943 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
14944 __pthread_get_cleanup_stack.
14945 * htl/pt-testcancel.c: Include <pthreadP.h>.
14946 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
14947 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
14948 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
14949 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
14950 pthread_attr_getstacksize.
14951 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
14952 Rename to __pthread_attr_getstackaddr.
14953 (pthread_attr_getstackaddr): New strong alias.
14954 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
14955 Rename to __pthread_attr_getstacksize.
14956 (pthread_attr_getstacksize): New strong alias.
14957 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
14958 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
14959 (pthread_attr_setstack): New strong alias.
14960 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
14961 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
14962 pthread_attr_getstacksize, pthread_attr_setstacksize and
14963 pthread_attr_setstackaddr.
14964 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
14965 Rename to __pthread_attr_setstackaddr.
14966 (pthread_attr_setstackaddr): New strong alias.
14967 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
14968 Rename to __pthread_attr_setstacksize.
14969 (pthread_attr_setstacksize): New strong alias.
14970 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
14971 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
14973 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
14974 (__pthread_key_create): New hidden def.
14975 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
14976 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
14977 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
14978 __pthread_exit, __pthread_key_create, __pthread_getspecific,
14979 __pthread_setspecific, __pthread_setcancelstate,
14980 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
14981 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
14982 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
14984 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
14985 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
14986 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
14987 (pthread_attr_setstackaddr): New strong alias.
14988 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
14989 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
14990 (pthread_attr_setstacksize): New strong alias.
14991 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
14992 (call_exit): Call __pthread_exit instead of pthread_exit.
14993 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
14994 (_pthread_mutex_init): New hidden definition.
14995 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
14996 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
14997 instead of pthread_attr_init and pthread_attr_setstack.
14999 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
15000 __vm_deallocate instead of vm_allocate and vm_deallocate.
15001 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
15003 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
15005 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
15007 * hurd/siginfo.c: Include <libioP.h>.
15008 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
15009 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
15011 * mach/devstream.c: Include <libioP.h>.
15012 (dealloc_ref): Call __mach_port_deallocate instead of
15013 mach_port_deallocate.
15014 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
15015 Call __mach_port_deallocate instead of mach_port_deallocate.
15016 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
15018 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
15020 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
15021 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
15022 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
15024 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
15026 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
15027 instead of sysconf.
15028 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
15029 __clock_gettime instead of clock_gettime.
15030 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
15031 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
15032 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
15033 * sysdeps/unix/bsd/stty.c (stty): Likewise.
15034 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
15036 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
15037 __clock_gettime and __nanosleep instead of clock_gettime and
15039 * hurd/catch-signal.c (hurd_catch_signal): Rename to
15040 __hurd_catch_signal.
15041 (hurd_catch_signal): New strong alias.
15042 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
15043 __hurd_catch_signal instead of hurd_catch_signal.
15044 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
15045 * hurd/hurdexec.c (_hurd_init): Add hidden def.
15046 * hurd/hurdinit.c (_hurd_init): Add hidden def.
15047 * hurd/hurdsig.c: Include <mach/mig_support.h>.
15048 (_hurd_thread_sigstate): Add hidden def.
15049 (_hurd_internal_post_signal): Use __mutex_unlock instead of
15051 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
15052 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
15053 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
15054 __hurd_file_name_path_lookup.
15055 (hurd_file_name_path_lookup): New strong alias.
15056 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
15057 hurd_file_name_path_lookup.
15058 * mach/errstring.c (mach_error_type): Add hidden def.
15059 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
15060 * mach/mutex-init.c (__mutex_init): Add hidden def.
15061 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
15062 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
15063 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
15064 * sysdeps/mach/hurd/getcwd.c
15065 (_hurd_canonicalize_directory_name_internal): Rename to
15066 __hurd_canonicalize_directory_name_internal.
15067 (_hurd_canonicalize_directory_name_internal): New strong alias.
15068 (__canonicalize_directory_name_internal, __getcwd): Call
15069 __hurd_canonicalize_directory_name_internal instead of
15070 _hurd_canonicalize_directory_name_internal.
15071 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
15072 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
15074 * sysdeps/hurd/include/hurd.h: New file.
15075 * sysdeps/hurd/include/hurd/fd.h: New file.
15076 * sysdeps/hurd/include/hurd/signal.h: New file.
15077 * sysdeps/mach/include/lock-intern.h: New file.
15078 * sysdeps/mach/include/mach.h: New file.
15079 * sysdeps/mach/include/mach/mig_support.h: New file.
15080 * sysdeps/mach/include/mach_error.h: New file.
15081 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
15083 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
15084 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
15085 _HEADER_H_HIDDEN_DEF macro.
15086 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
15087 _hurd_fd_error_signal): Add hidden prototype.
15088 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
15090 * libio/iolibio.h (_IO_puts): New hidden prototype.
15091 * libio/ioputs.c (_IO_puts): New hidden def.
15092 * sysdeps/mach/hurd/localplt.data: New file.
15094 2018-04-02 Agustina Arzille <avarzille@riseup.net>
15095 Amos Jeffries <squid3@treenet.co.nz>
15096 David Michael <fedora.dm0@gmail.com>
15097 Marco Gerards <marco@gnu.org>
15098 Marcus Brinkmann <marcus@gnu.org>
15099 Neal H. Walfield <neal@gnu.org>
15100 Pino Toscano <toscano.pino@tiscali.it>
15101 Richard Braun <rbraun@sceen.net>
15102 Roland McGrath <roland@gnu.org>
15103 Samuel Thibault <samuel.thibault@ens-lyon.org>
15104 Thomas DiModica <ricinwich@yahoo.com>
15105 Thomas Schwinge <tschwinge@gnu.org>
15107 * htl: New directory.
15108 * sysdeps/htl: New directory.
15109 * sysdeps/hurd/htl: New directory.
15110 * sysdeps/i386/htl: New directory.
15111 * sysdeps/mach/htl: New directory.
15112 * sysdeps/mach/hurd/htl: New directory.
15113 * sysdeps/mach/hurd/i386/htl: New directory.
15114 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
15115 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
15116 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
15118 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15120 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
15121 signals in thread created for runing timers.
15123 2018-04-01 Florian Weimer <fweimer@redhat.com>
15125 * support/support_format_addrinfo.c (support_format_addrinfo):
15126 Include unknown error number in formatted result.
15128 2018-03-29 Florian Weimer <fweimer@redhat.com>
15130 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
15133 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15135 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
15136 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
15137 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15138 (__ASSUME_CLONE_BACKWARDS): Define.
15140 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
15143 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
15144 early when linux sentinel value is set.
15146 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15148 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
15150 2018-03-27 Andreas Schwab <schwab@suse.de>
15153 * resolv/res_send.c (__res_context_send): Return ENOMEM if
15154 allocation of private copy of nsaddr_list fails.
15156 2018-03-26 Joseph Myers <joseph@codesourcery.com>
15159 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
15160 * sysdeps/unix/sysv/linux/umount.c: ... here.
15161 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
15162 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
15163 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
15164 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
15165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
15166 * sysdeps/unix/sysv/linux/umount.S: Likewise.
15167 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
15169 2018-03-26 Andreas Schwab <schwab@suse.de>
15171 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
15172 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
15173 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
15174 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
15175 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
15176 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
15177 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
15178 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
15179 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
15180 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
15181 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
15182 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
15183 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
15184 (R_RISCV_NUM): Define.
15186 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15188 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
15189 TLS declaration of errno.
15190 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
15192 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
15193 (ARCH_SETUP_TLS): Likewise.
15194 * sysdeps/mach/hurd/libc-start.h: New file copied from
15195 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
15196 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
15197 instead of __libc_setup_tls.
15198 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
15199 __libc_setup_tls before initializing libpthread and running _hurd_init
15200 which starts the signal thread.
15201 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
15203 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15205 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
15208 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
15209 after it is defined.
15211 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
15212 Max Horn <max@quendi.de>
15216 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
15218 * string/test-memmove.c (do_test2): New testcase.
15220 2018-03-22 Joseph Myers <joseph@codesourcery.com>
15222 * sysdeps/generic/frame.h: Remove file.
15223 * sysdeps/arm/frame.h: Likewise.
15224 * sysdeps/hppa/frame.h: Likewise.
15225 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
15227 (GET_FRAME): Likewise.
15228 (GET_STACK): Likewise.
15229 (CALL_SIGHANDLER): Likewise.
15230 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
15232 (GET_FRAME): Likewise.
15233 (GET_STACK): Likewise.
15234 (CALL_SIGHANDLER): Likewise.
15235 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
15236 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15237 (GET_FRAME): Likewise.
15238 (GET_STACK): Likewise.
15239 (CALL_SIGHANDLER): Likewise.
15240 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
15241 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15242 (GET_FRAME): Likewise.
15243 (GET_STACK): Likewise.
15244 (ADVANCE_STACK_FRAME): Likewise.
15245 (CALL_SIGHANDLER): Likewise.
15246 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
15247 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15248 (GET_FRAME): Likewise.
15249 (GET_STACK): Likewise.
15250 (CALL_SIGHANDLER): Likewise.
15251 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
15252 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15253 (GET_FRAME): Likewise.
15254 (GET_STACK): Likewise.
15255 (CALL_SIGHANDLER): Likewise.
15256 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
15257 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15258 (GET_FRAME): Likewise.
15259 (GET_STACK): Likewise.
15260 (CALL_SIGHANDLER): Likewise.
15261 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
15262 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15263 (GET_FRAME): Likewise.
15264 (GET_STACK): Likewise.
15265 (CALL_SIGHANDLER): Likewise.
15266 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
15267 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15268 (GET_FRAME): Likewise.
15269 (GET_STACK): Likewise.
15270 (CALL_SIGHANDLER): Likewise.
15271 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
15272 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15273 (GET_FRAME): Likewise.
15274 (GET_STACK): Likewise.
15275 (CALL_SIGHANDLER): Likewise.
15276 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
15277 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15278 (GET_FRAME): Likewise.
15279 (GET_STACK): Likewise.
15280 (CALL_SIGHANDLER): Likewise.
15281 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
15282 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15283 (GET_FRAME): Likewise.
15284 (GET_STACK): Likewise.
15285 (CALL_SIGHANDLER): Likewise.
15286 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
15287 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15288 (GET_FRAME): Likewise.
15289 (GET_STACK): Likewise.
15290 (CALL_SIGHANDLER): Likewise.
15291 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
15292 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15293 (FIRST_FRAME_POINTER): Likewise.
15294 (ADVANCE_STACK_FRAME): Likewise.
15295 (GET_STACK): Likewise.
15296 (GET_FRAME): Likewise.
15297 (CALL_SIGHANDLER): Likewise.
15298 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
15299 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15300 (ADVANCE_STACK_FRAME): Likewise.
15301 (GET_STACK): Likewise.
15302 (GET_FRAME): Likewise.
15303 (CALL_SIGHANDLER): Likewise.
15304 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
15305 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15306 (GET_FRAME): Likewise.
15307 (GET_STACK): Likewise.
15308 (CALL_SIGHANDLER): Likewise.
15309 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
15310 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15311 (GET_FRAME): Likewise.
15312 (GET_STACK): Likewise.
15313 (CALL_SIGHANDLER): Likewise.
15315 2018-03-21 Joseph Myers <joseph@codesourcery.com>
15317 * sysdeps/x86_64/backtrace.c: Move to ....
15318 * debug/backtrace.c: ... here.
15319 * sysdeps/aarch64/backtrace.c: Remove file.
15320 * sysdeps/alpha/backtrace.c: Likewise.
15321 * sysdeps/hppa/backtrace.c: Likewise.
15322 * sysdeps/ia64/backtrace.c: Likewise.
15323 * sysdeps/mips/backtrace.c: Likewise.
15324 * sysdeps/nios2/backtrace.c: Likewise.
15325 * sysdeps/riscv/backtrace.c: Likewise.
15326 * sysdeps/sh/backtrace.c: Likewise.
15327 * sysdeps/tile/backtrace.c: Likewise.
15329 2018-03-20 Joseph Myers <joseph@codesourcery.com>
15332 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
15335 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
15338 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
15339 possibly overflowing computations.
15341 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
15343 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
15344 values from Linux-specific section now that it is in the GNU section.
15345 * sysdeps/gnu/errlist.c: Regenerate.
15347 2018-03-20 Joseph Myers <joseph@codesourcery.com>
15349 * math/Makefile (libm-narrow-fns): Add sub.
15350 (libm-test-funcs-narrow): Likewise.
15351 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
15352 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
15353 * math/gen-auto-libm-tests.c (test_functions): Add sub.
15354 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
15355 (NARROW_SUB_ROUND_TO_ODD): Likewise.
15356 (NARROW_SUB_TRIVIAL): Likewise.
15357 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
15359 (__dsubl): Likewise.
15360 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
15362 (CFLAGS-nldbl-dsub.c): New variable.
15363 (CFLAGS-nldbl-fsub.c): Likewise.
15364 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15366 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
15368 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
15369 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
15370 * math/auto-libm-test-in: Add tests of sub.
15371 * math/auto-libm-test-out-narrow-sub: New generated file.
15372 * math/libm-test-narrow-sub.inc: New file.
15373 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
15374 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
15375 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
15376 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
15377 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
15378 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
15379 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
15380 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
15381 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
15382 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
15383 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
15384 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
15385 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
15386 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
15387 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
15388 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
15389 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
15390 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
15391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15392 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15393 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15394 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15395 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15396 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15397 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15398 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15399 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15400 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15401 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15402 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15403 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15404 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15409 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15410 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15411 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15412 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15413 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15414 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15415 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
15416 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
15417 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15418 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15420 2018-03-19 Joseph Myers <joseph@codesourcery.com>
15423 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
15425 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
15427 * benchtests/bench-timing.h (attribute_hidden): Undefine.
15429 2018-03-18 Richard Braun <rbraun@sceen.net>
15431 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
15434 2018-03-18 Agustina Arzille <avarzille@riseup.net>
15436 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
15437 (__libc_cleanup_fct): Define function.
15438 (__libc_cleanup_region_start, __libc_cleanup_region_end,
15439 __libc_cleanup_end): Rewrite implementation using
15440 __attribute__ ((__cleanup__)).
15441 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
15442 * hurd/Makefile (routines): Add hurdlock.
15443 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
15445 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
15446 * hurd/hurdpid.c: Include <lowlevellock.h>
15447 (_S_msg_proc_newids): Use lll_wait to synchronize.
15448 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
15449 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
15450 * mach/Makefile (lock-headers): Remove machine-lock.h.
15451 * mach/lock-intern.h: Include <lowlevellock.h> instead of
15453 (__spin_lock_t): New type.
15454 (__SPIN_LOCK_INITIALIZER): New macro.
15455 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
15456 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
15457 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
15458 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
15459 (__mutex_init): Initialize with lll.
15460 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
15461 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
15463 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15464 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
15465 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
15466 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
15467 (__setpgid): Use lll for synchronization.
15468 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
15469 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
15470 instead of <cthreads.h>.
15471 (_IO_lock_inexpensive): New macro
15472 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
15473 (__libc_lock_self0): New declaration.
15474 (__libc_lock_owner_self): New macro.
15475 (__libc_key_t): Remove type.
15476 (_LIBC_LOCK_INITIALIZER): New macro.
15477 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
15478 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
15479 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
15480 __libc_lock_define_initialized_recursive,
15481 __rtld_lock_define_initialized_recursive,
15482 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
15483 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
15484 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
15485 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
15486 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
15487 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
15488 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
15490 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
15491 * hurd/hurdlock.c: New file.
15492 * hurd/hurdlock.h: New file.
15493 * mach/lowlevellock.h: New file
15495 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15497 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
15498 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
15499 when opening a symlink with O_NOFOLLOW.
15500 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
15501 path when flags contains O_NOFOLLOW.
15502 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
15503 if flags contains O_DIRECTORY and the result is a directory.
15504 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
15505 oneself when the pointer given in D is nul (as set by ext2fs).
15506 * sysdeps/mach/hurd/mlockall.c: New file.
15507 * sysdeps/mach/hurd/munlockall.c: New file.
15509 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15511 * hurd/hurdsig.c: Include <pthread.h>.
15512 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
15513 get the signal thread stack layout.
15514 * hurd/Makefile (headers): Remove threadvar.h.
15515 (inline-headers): Remove threadvar.h.
15516 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
15517 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
15518 __hurd_threadvar_max, __hurd_errno_location.
15519 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
15520 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
15521 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
15522 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
15523 unless TLS is not initialized yet, in which case we do not need a
15524 critical section yet anyway.
15525 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
15527 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
15529 (__hurd_threadvar_index): Remove enum.
15530 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
15531 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
15533 (__hurd_reply_port0): New variable declaration.
15534 (__hurd_local_reply_port): New macro.
15535 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
15536 (interrupted_reply_port_location): Add thread_t parameter. Use it
15537 with THREAD_TCB to access thread-local variables.
15538 (_hurdsig_abort_rpcs): Pass ss->thread to
15539 interrupted_reply_port_location.
15540 (_hurd_internal_post_signal): Likewise.
15541 (_hurdsig_init): Use presence of cthread_fork instead of
15542 __hurd_threadvar_stack_mask to start signal thread by hand.
15543 Remove signal thread threadvar initialization.
15544 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
15545 * hurd/sigunwind.c: Include <hurd/threadvar.h>
15546 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
15548 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
15550 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
15551 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
15552 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
15553 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
15554 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
15555 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
15556 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
15558 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
15559 <hurd/threadvar.h>.
15560 [IS_IN(rtld)] (rtld_errno): New variable.
15561 [IS_IN(rtld)] (__errno_location): New weak function.
15562 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
15563 * sysdeps/mach/hurd/errno.c: Remove file.
15564 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
15565 (__fork): Remove THREADVAR_SPACE macro and its use.
15566 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
15568 (init): Do not initialize threadvar.
15569 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
15571 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
15572 __hurd_local_reply_port instead of threadvar.
15573 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
15574 _hurd_sigstate fields.
15575 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
15576 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
15577 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
15578 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
15579 instead of threadvar.
15580 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
15581 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
15582 (use_threadvar, global_reply_port): Remove variables.
15583 (__hurd_reply_port0): New variable.
15584 (__mig_get_reply_port): Use __hurd_local_reply_port and
15585 __hurd_reply_port0 instead of threadvar.
15586 (__mig_dealloc_reply_port): Likewise.
15587 (__mig_init): Do not initialize threadvar.
15588 * sysdeps/mach/hurd/profil.c: Fix comment.
15589 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
15590 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
15591 cthread_keycreate, cthread_getspecific, cthread_setspecific to
15592 __cthread_fork, __cthread_detach, __pthread_getattr_np,
15593 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
15594 __cthread_setspecific.
15595 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
15596 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
15597 __cthread_t instead of cthread_fork, cthread_detach,
15598 pthread_getattr_np, pthread_attr_getstack.
15599 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
15600 __cthread_keycreate.
15601 (cthread_getspecific): Rename to __cthread_getspecific.
15602 (cthread_setspecific): Rename to __cthread_setspecific.
15603 (__libc_getspecific): Use __cthread_getspecific instead of
15604 cthread_getspecific.
15605 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
15606 __cthread_keycreate instead of cthread_keycreate.
15607 (__libc_setspecific): Use __cthread_setspecific instead of
15608 cthread_setspecific.
15609 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
15611 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
15612 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
15613 testing whether it is defined.
15615 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15617 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
15619 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
15620 * sysdeps/mach/i386/thread_state.h
15621 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
15623 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
15625 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
15627 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
15628 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
15630 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
15632 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
15633 descriptor instead of creating a new one.
15634 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
15636 * mach/setup-thread.c: Include <ldsodefs.h>.
15637 (__mach_setup_thread): Call _dl_allocate_tls, pass
15638 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
15639 MACHINE_THREAD_STATE_FLAVOR, before getting
15640 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
15641 MACHINE_THREAD_STATE_FLAVOR with the result.
15642 * hurd/hurdfault.c (_hurdsig_fault_init): Call
15643 MACHINE_THREAD_STATE_FIX_NEW.
15644 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
15645 too. Add original thread parameter.
15647 2018-03-16 Joseph Myers <joseph@codesourcery.com>
15649 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
15650 Remove inline function.
15652 * sysdeps/i386/fpu/libm-test-ulps: Update.
15653 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
15655 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
15657 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
15660 2018-03-15 Joseph Myers <joseph@codesourcery.com>
15662 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
15663 (__sincos_code): Remove define and undefine.
15664 [__FAST_MATH__] (__sincos): Remove inline function.
15665 [__FAST_MATH__] (__sincosf): Remove inline function.
15666 [__FAST_MATH__] (__sincosl): Remove inline function.
15667 (__atan2l): Remove inline functions.
15668 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
15669 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
15671 (floor): Remove inline function.
15673 [__FAST_MATH__] (__ldexp_code): Remove macro.
15674 [__FAST_MATH__] (ldexp): Remove inline function.
15675 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
15676 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
15677 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
15678 [__USE_ISOC99] (__lrint_code): Remove macro.
15679 [__USE_ISOC99] (__llrint_code): Likewise.
15680 [__USE_ISOC99] (lrintf): Remove inline function.
15681 [__USE_ISOC99] (lrint): Likewise.
15682 [__USE_ISOC99] (lrintl): Likewise.
15683 [__USE_ISOC99] (llrint): Likewise.
15684 [__USE_ISOC99] (llrintf): Likewise.
15685 [__USE_ISOC99] (llrintl): Likewise.
15687 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15689 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
15690 (__ieee754_sqrtf): Remove.
15691 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
15692 (__ieee754_sqrtf): Remove.
15693 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
15694 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
15695 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
15696 (__ieee754_sqrtf): Remove.
15697 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
15698 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
15701 (__ieee754_sqrt): Remove.
15702 (__ieee754_sqrtf): Remove.
15703 (__ieee754_sqrtl): Remove.
15704 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
15705 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
15706 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
15707 (__ieee754_sqrtf): Remove.
15708 (__ieee754_sqrtl): Remove.
15710 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15712 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
15713 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
15714 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15715 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
15716 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
15717 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15718 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15719 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15721 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
15722 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
15723 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
15724 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
15725 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
15726 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
15727 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
15728 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
15729 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
15730 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
15731 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
15732 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
15733 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
15734 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
15735 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
15736 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15737 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15738 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
15739 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
15740 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
15741 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15742 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15743 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
15744 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
15745 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
15746 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
15747 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15748 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15749 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
15750 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
15751 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
15752 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
15753 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
15754 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
15755 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
15756 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15757 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
15758 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
15759 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
15760 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
15762 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15764 * include/math.h (sqrt): Declare with asm redirect.
15767 (sqrtf128): Likewise.
15768 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
15769 nonlib and libnldbl with -fmath-errno.
15770 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
15771 * math/w_sqrt_template.c: Likewise.
15772 * math/w_sqrtf_compat.c: Likewise.
15773 * math/w_sqrtl_compat.c: Likewise.
15774 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
15775 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
15776 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
15779 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15781 * benchtests/Makefile: Define _ISOMAC.
15782 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
15783 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
15784 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
15785 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
15786 * benchtests/bench-timing.h: Define attribute_hidden.
15788 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
15790 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
15793 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15796 * localedata/locales/cs_CZ (mon): Rename to...
15798 (mon): Import from CLDR (genitive case).
15800 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15803 * localedata/locales/el_CY (abmon): Rename to...
15804 (ab_alt_mon): This.
15805 (abmon): Import from CLDR (abbreviated genitive case).
15806 * localedata/locales/el_GR (abmon): Rename to...
15807 (ab_alt_mon): This.
15808 (abmon): Import from CLDR (abbreviated genitive case).
15810 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15813 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
15815 2018-03-15 Robert Buj <robert.buj@gmail.com>
15818 * localedata/locales/ca_ES (abmon): Rename to...
15819 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
15820 (mon): Rename to...
15822 (abmon): Import from CLDR (genitive case, month names preceded by
15825 (abday): Synchronize with CLDR.
15826 (d_t_fmt): Likewise.
15830 (LC_TIME): Improve indentation.
15831 (LC_TELEPHONE): Likewise.
15832 (LC_NAME): Likewise.
15833 (LC_ADDRESS): Likewise.
15835 2018-03-14 Joseph Myers <joseph@codesourcery.com>
15837 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
15838 (lrintf): Remove definitions used only with old GCC.
15839 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
15840 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
15841 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
15842 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
15843 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
15844 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
15845 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
15846 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
15847 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
15848 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
15849 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
15850 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
15851 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
15852 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
15853 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
15854 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
15855 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
15856 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
15857 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
15858 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
15859 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
15860 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
15861 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
15862 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
15863 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
15864 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
15865 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
15866 [__FAST_MATH__] (__M_SQRT2): Remove macro.
15868 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
15870 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
15871 instruction to unbreak builds with binutils 2.26 and older.
15873 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
15875 * sysdeps/aarch64/strncmp.S (count): New macro.
15876 (strncmp): Store misaligned length in SRC1 in COUNT.
15877 (mutual_align): Adjust.
15878 (misaligned8): Load dword at a time when it is safe.
15880 2018-03-12 Zack Weinberg <zackw@panix.com>
15884 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
15885 if the _IO_EOF_SEEN bit is already set; update commentary.
15886 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
15887 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
15889 * support/support_openpty.c, support/tty.h: New files.
15890 * support/Makefile (libsupport-routines): Add support_openpty.
15892 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
15894 * libio/Makefile (tests): Add tst-fgetc-after-eof.
15895 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
15897 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
15899 * po/pt_BR.po: Update translations.
15901 2018-03-12 David Michael <fedora.dm0@gmail.com>
15903 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
15904 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
15905 get a port to the startup server.
15907 2018-03-11 Zack Weinberg <zackw@panix.com>
15909 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
15910 before nldbl-compat.h.
15912 2018-03-10 Zack Weinberg <zackw@panix.com>
15914 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
15915 math.h or math_private.h.
15917 * sysdeps/alpha/fpu/s_isnan.c
15918 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
15919 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
15920 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
15921 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
15922 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
15923 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
15924 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
15925 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
15926 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
15927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
15928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
15929 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
15930 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
15931 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
15932 Include math_private.h.
15934 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
15935 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
15936 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
15937 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
15938 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
15939 * sysdeps/powerpc/power7/fpu/s_logb.c:
15940 Include math.h and math_private.h.
15942 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
15943 uses of $at in .set noat / .set at.
15945 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
15947 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
15948 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
15949 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
15950 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
15953 2018-03-09 Florian Weimer <fweimer@redhat.com>
15955 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
15958 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
15961 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
15962 Add nop before __startcontext, add explaining comments.
15964 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15967 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
15969 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
15970 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
15971 Do not build hardware transactional code for __SPE__.
15972 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15973 (__lll_trylock_elision): Likewise.
15974 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
15975 (__lll_unlock_elision): Likewise.
15977 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
15978 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
15979 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
15980 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
15981 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
15982 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
15983 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
15984 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
15985 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
15986 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
15987 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
15988 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
15989 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
15990 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
15991 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
15992 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
15993 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
15994 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
15995 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
15996 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
15997 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
15998 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15999 (__ASSUME_CLONE_BACKWARDS): Define.
16000 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
16001 __clone2 if __NR_clone2 is defined.
16002 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16003 (__ASSUME_CLONE_BACKWARDS): Likewise.
16004 * sysdeps/unix/sysv/linux/i386/kernel-features.h
16005 (__ASSUME_CLONE_BACKWARDS): Likewise.
16006 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16007 (__ASSUME_CLONE2): Likewise.
16008 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16009 (__ASSUME_CLONE_BACKWARDS3): Likewise.
16010 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
16011 variants and the define architecture can use.
16012 (__ASSUME_CLONE_DEFAULT): Define as default.
16013 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16014 (__ASSUME_CLONE_BACKWARDS): Likewise.
16015 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16016 (__ASSUME_CLONE_BACKWARDS): Likewise.
16017 * sysdeps/unix/sysv/linux/s390/kernel-features.h
16018 (__ASSUME_CLONE_BACKWARDS2): Likewise.
16020 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
16022 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
16024 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
16027 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
16028 (do_test_limit): Likewise.
16030 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
16031 for every implementation.
16032 (do_test): Likewise.
16034 * benchtests/bench-strncmp.c: Convert output to json.
16036 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16038 * io/futimens.c: Add missing start-of-file descriptive comment.
16039 * io/utime.c: Likewise.
16040 * misc/futimesat.c: Likewise.
16041 * misc/utimes.c: Likewise.
16042 * sysdeps/mach/hurd/futimesat.c: Likewise.
16043 * sysdeps/mach/hurd/utimes.c: Likewise.
16044 * sysdeps/posix/utime.c: Likewise.
16045 * sysdeps/posix/utimes.c: Likewise.
16046 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
16047 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16048 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
16049 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
16051 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16053 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
16055 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
16056 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
16057 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
16058 (__futimens): Move implementation to...
16059 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
16060 utime_tvalue_from_tspec): ... new helper functions.
16061 (hurd_futimens): New function.
16062 * sysdeps/mach/hurd/futimesat.c: New file.
16063 * sysdeps/mach/hurd/utimensat.c: New file.
16065 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
16067 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
16068 UTIME_OMIT): New macros.
16069 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
16070 before reverting to converting time spec to time value and calling
16072 * sysdeps/mach/hurd/utime-helper.c: New file.
16073 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
16074 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
16075 reverting to utime_tvalue_from_tval and __file_utimes.
16076 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
16077 (__lutimes): Just call hurd_futimens after lookup.
16078 * sysdeps/mach/hurd/utimes.c: Likewise.
16080 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16082 * bits/sigaction.h: Add include guard.
16083 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
16084 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
16085 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
16086 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
16087 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
16088 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
16089 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
16090 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
16091 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
16093 2018-03-05 Joseph Myers <joseph@codesourcery.com>
16095 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
16096 -Wmaybe-uninitialized for -Os.
16097 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
16100 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16102 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
16103 __INO_T_MATCHES_INO64_T is defined.
16104 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
16105 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
16107 * dirent/alphasort64.c: Likewise.
16108 * dirent/scandir.c: Likewise.
16109 * dirent/scandir64-tail.c: Likewise.
16110 * dirent/scandir64.c: Likewise.
16111 * dirent/scandirat.c: Likewise.
16112 * dirent/scandirat64.c: Likewise.
16113 * dirent/versionsort.c: Likewise.
16114 * dirent/versionsort64.c: Likewise.
16115 * include/dirent.h: Likewise.
16117 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
16118 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
16119 for socketpair endpoint.
16120 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
16121 WRITE_BUFFER_SIZE as buffer size for sending socket.
16122 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
16123 issue on system where send is implemented with sendto syscall.
16124 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
16125 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
16126 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
16127 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
16130 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
16131 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
16132 sa_restorer for vDSO case.
16133 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
16135 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16137 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
16138 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
16139 * hurd/hurd/ioctl.h: Include <mach/port.h>
16140 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
16141 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
16142 <mach/mach_types.h> and <mach/message.h>.
16143 (headers): Move mach/param.h to bits/mach/param.h.
16144 * sysdeps/mach/i386/mach/param.h: Move file to ...
16145 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
16146 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
16148 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
16149 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
16150 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
16151 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
16152 trivial, for C++ conformity.
16153 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
16154 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
16155 Process mig output through $(migheadersed).
16156 * hurd/Makefile (migheadersed): Define variable.
16157 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
16158 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
16160 * hurd/hurd.h: Include <bits/types/sigset_t.h>
16161 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
16162 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
16163 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
16164 <bits/types/sigset_t.h>.
16165 [!defined __USE_GNU]: Do not #error out.
16166 (struct hurd_sigstate): Use _NSIG instead of NSIG.
16167 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
16168 Include <stddef.h> and <bits/types/sigset_t.h>
16169 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
16170 instead of sighandler_t.
16171 * stdlib/errno.h (error_t): Move definition to...
16172 * bits/types/error_t.h: ... new header.
16173 * stdlib/Makefile (headers): Add bits/types/error_t.h.
16174 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
16175 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
16176 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
16177 * hurd/hurd.h: Include <bits/types/error_t.h>
16178 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
16179 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
16180 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
16181 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
16182 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
16183 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
16184 * sysdeps/mach/hurd/futimens.c: New file.
16186 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
16189 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
16190 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
16191 * nscd/gai.c (__nss_hosts_database): Readd definition.
16192 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
16193 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
16194 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
16196 2018-03-02 Joseph Myers <joseph@codesourcery.com>
16198 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
16199 (ifunc_one): Likewise.
16201 2018-03-01 DJ Delorie <dj@delorie.com>
16204 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
16207 2018-03-01 Maciej W. Rozycki <macro@mips.com>
16209 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
16210 `match_pid' parameter.
16211 (td_ta_thr_iter): Update accordingly.
16213 2018-03-01 Florian Weimer <fweimer@redhat.com>
16215 * nptl/Makefile (install-lib-ldscripts): Remove.
16216 (install): Remove rule.
16217 ($(inst_libdir)/libpthread.so): Likewise.
16219 2018-03-01 Mike FABIAN <mfabian@redhat.com>
16222 * localedata/locales/an_ES: update month and day names,
16223 improve d_fmt, improve postal_fmt, add country_post,
16226 2018-03-01 Mike FABIAN <mfabian@redhat.com>
16228 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
16229 Ukrainian instead of Bulgarian.
16231 2018-03-01 Florian Weimer <fweimer@redhat.com>
16233 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
16236 2018-03-01 Florian Weimer <fweimer@redhat.com>
16238 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
16239 * nptl/Makefile (routines): Add pthread_atfork.
16240 (static-only-routines): Set to pthread_atfork.
16241 (libpthread-routines): Remove pthread_atfork.
16242 (libpthread-static-only-routines): Remove.
16243 (install): Update comment.
16244 (libpthread.so): Do not install libpthread_nonshared.a.
16245 (tests): Do not link with libpthread_nonshared.a.
16246 (generated): Remove libpthread_nonshared.a.
16247 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
16248 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
16249 with libpthread_nonshared.a.
16251 2018-02-28 Joseph Myers <joseph@codesourcery.com>
16254 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
16255 (libc_feholdexcept_setroundf128): New macro.
16256 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
16259 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
16261 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
16262 * include/inttypes.h: New file.
16264 2018-02-27 Joseph Myers <joseph@codesourcery.com>
16266 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
16267 -Os in two more places.
16269 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16271 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
16272 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
16273 be sorted correctly at the moment because of a bug.
16275 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16277 [BZ #22550] - es_ES locale (and other es_* locales): collation should
16278 treat ñ as a primary different character, sync the collation
16279 for Spanish with CLDR.
16280 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
16281 * localedata/Makefile: Add new test files.
16282 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
16283 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
16285 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
16286 * localedata/am_ET.UTF-8.in: New test file.
16287 * localedata/az_AZ.UTF-8.in: Likewise.
16288 * localedata/be_BY.UTF-8.in: Likewise.
16289 * localedata/ber_DZ.UTF-8.in: Likewise.
16290 * localedata/ber_MA.UTF-8.in: Likewise.
16291 * localedata/bg_BG.UTF-8.in: Likewise.
16292 * localedata/br_FR.UTF-8.in: Likewise.
16293 * localedata/cmn_TW.UTF-8.in: Likewise.
16294 * localedata/crh_UA.UTF-8.in: Likewise.
16295 * localedata/csb_PL.UTF-8.in: Likewise.
16296 * localedata/cv_RU.UTF-8.in: Likewise.
16297 * localedata/cy_GB.UTF-8.in: Likewise.
16298 * localedata/dz_BT.UTF-8.in: Likewise.
16299 * localedata/eo.UTF-8.in: Likewise.
16300 * localedata/es_ES.UTF-8.in: Likewise.
16301 * localedata/fa_IR.UTF-8.in: Likewise.
16302 * localedata/fi_FI.UTF-8.in: Likewise.
16303 * localedata/fil_PH.UTF-8.in: Likewise.
16304 * localedata/fur_IT.UTF-8.in: Likewise.
16305 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
16306 * localedata/ha_NG.UTF-8.in: Likewise.
16307 * localedata/ig_NG.UTF-8.in: Likewise.
16308 * localedata/ik_CA.UTF-8.in: Likewise.
16309 * localedata/kk_KZ.UTF-8.in: Likewise.
16310 * localedata/ku_TR.UTF-8.in: Likewise.
16311 * localedata/ky_KG.UTF-8.in: Likewise.
16312 * localedata/ln_CD.UTF-8.in: Likewise.
16313 * localedata/mi_NZ.UTF-8.in: Likewise.
16314 * localedata/ml_IN.UTF-8.in: Likewise.
16315 * localedata/mn_MN.UTF-8.in: Likewise.
16316 * localedata/mr_IN.UTF-8.in: Likewise.
16317 * localedata/mt_MT.UTF-8.in: Likewise.
16318 * localedata/nb_NO.UTF-8.in: Likewise.
16319 * localedata/om_KE.UTF-8.in: Likewise.
16320 * localedata/os_RU.UTF-8.in: Likewise.
16321 * localedata/ps_AF.UTF-8.in: Likewise.
16322 * localedata/ro_RO.UTF-8.in: Likewise.
16323 * localedata/ru_RU.UTF-8.in: Likewise.
16324 * localedata/sc_IT.UTF-8.in: Likewise.
16325 * localedata/se_NO.UTF-8.in: Likewise.
16326 * localedata/sq_AL.UTF-8.in: Likewise.
16327 * localedata/sv_SE.UTF-8.in: Likewise.
16328 * localedata/szl_PL.UTF-8.in: Likewise.
16329 * localedata/tg_TJ.UTF-8.in: Likewise.
16330 * localedata/tk_TM.UTF-8.in: Likewise.
16331 * localedata/tt_RU.UTF-8.in: Likewise.
16332 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
16333 * localedata/ug_CN.UTF-8.in: Likewise.
16334 * localedata/uz_UZ.UTF-8.in: Likewise.
16335 * localedata/vi_VN.UTF-8.in: Likewise.
16336 * localedata/yi_US.UTF-8.in: Likewise.
16337 * localedata/yo_NG.UTF-8.in: Likewise.
16338 * localedata/zh_CN.UTF-8.in: Likewise.
16339 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
16340 file and fix bugs in the collation.
16341 * localedata/locales/az_AZ: Likewise.
16342 * localedata/locales/be_BY: Likewise.
16343 * localedata/locales/ber_DZ: Likewise.
16344 * localedata/locales/ber_MA: Likewise.
16345 * localedata/locales/bg_BG: Likewise.
16346 * localedata/locales/br_FR: Likewise.
16347 * localedata/locales/br_FR@euro: Likewise.
16348 * localedata/locales/ca_ES: Likewise.
16349 * localedata/locales/cns11643_stroke: Likewise.
16350 * localedata/locales/crh_UA: Likewise.
16351 * localedata/locales/cs_CZ: Likewise.
16352 * localedata/locales/csb_PL: Likewise.
16353 * localedata/locales/cv_RU: Likewise.
16354 * localedata/locales/cy_GB: Likewise.
16355 * localedata/locales/da_DK: Likewise.
16356 * localedata/locales/dz_BT: Likewise.
16357 * localedata/locales/en_CA: Likewise.
16358 * localedata/locales/eo: Likewise.
16359 * localedata/locales/es_CU: Likewise.
16360 * localedata/locales/es_EC: Likewise.
16361 * localedata/locales/es_ES: Likewise.
16362 * localedata/locales/es_US: Likewise.
16363 * localedata/locales/et_EE: Likewise.
16364 * localedata/locales/fa_IR: Likewise.
16365 * localedata/locales/fi_FI: Likewise.
16366 * localedata/locales/fil_PH: Likewise.
16367 * localedata/locales/fur_IT: Likewise.
16368 * localedata/locales/gez_ER@abegede: Likewise.
16369 * localedata/locales/ha_NG: Likewise.
16370 * localedata/locales/hr_HR: Likewise.
16371 * localedata/locales/hsb_DE: Likewise.
16372 * localedata/locales/hu_HU: Likewise.
16373 * localedata/locales/ig_NG: Likewise.
16374 * localedata/locales/ik_CA: Likewise.
16375 * localedata/locales/is_IS: Likewise.
16376 * localedata/locales/iso14651_t1_pinyin: Likewise.
16377 * localedata/locales/kk_KZ: Likewise.
16378 * localedata/locales/ku_TR: Likewise.
16379 * localedata/locales/ky_KG: Likewise.
16380 * localedata/locales/ln_CD: Likewise.
16381 * localedata/locales/lt_LT: Likewise.
16382 * localedata/locales/lv_LV: Likewise.
16383 * localedata/locales/mi_NZ: Likewise.
16384 * localedata/locales/ml_IN: Likewise.
16385 * localedata/locales/mn_MN: Likewise.
16386 * localedata/locales/mr_IN: Likewise.
16387 * localedata/locales/mt_MT: Likewise.
16388 * localedata/locales/nb_NO: Likewise.
16389 * localedata/locales/om_KE: Likewise.
16390 * localedata/locales/os_RU: Likewise.
16391 * localedata/locales/pl_PL: Likewise.
16392 * localedata/locales/ps_AF: Likewise.
16393 * localedata/locales/ro_RO: Likewise.
16394 * localedata/locales/ru_RU: Likewise.
16395 * localedata/locales/ru_UA: Likewise.
16396 * localedata/locales/sc_IT: Likewise.
16397 * localedata/locales/se_NO: Likewise.
16398 * localedata/locales/si_LK: Likewise.
16399 * localedata/locales/sq_AL: Likewise.
16400 * localedata/locales/sv_FI: Likewise.
16401 * localedata/locales/sv_FI@euro: Likewise.
16402 * localedata/locales/sv_SE: Likewise.
16403 * localedata/locales/szl_PL: Likewise.
16404 * localedata/locales/tg_TJ: Likewise.
16405 * localedata/locales/ti_ER: Likewise.
16406 * localedata/locales/tk_TM: Likewise.
16407 * localedata/locales/tl_PH: Likewise.
16408 * localedata/locales/tr_TR: Likewise.
16409 * localedata/locales/tt_RU: Likewise.
16410 * localedata/locales/tt_RU@iqtelif: Likewise.
16411 * localedata/locales/ug_CN: Likewise.
16412 * localedata/locales/uk_UA: Likewise.
16413 * localedata/locales/uz_UZ: Likewise.
16414 * localedata/locales/uz_UZ@cyrillic: Likewise.
16415 * localedata/locales/vi_VN: Likewise.
16416 * localedata/locales/yi_US: Likewise.
16417 * localedata/locales/yo_NG: Likewise.
16419 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16421 * gen-locales.mk: Make test files which contain @ modifiers in their
16423 * localedata/gen-locale.sh: Likewise.
16425 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16427 * posix/tst-fnmatch.input: Fix results for range expressions
16429 * posix/tst-regexloc.c: Do not use a range expression for
16430 de_DE.ISO-8859-1 locale.
16432 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16434 * posix/bug-regex5.c: Fix test case because with the new
16435 iso14651_t1_common file, the da_DK locale now has 6 collating elements
16436 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
16439 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16441 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
16442 downloaded from ISO, the collation order of @-. and space has changed.
16443 Therefore, this test file needed to be adapted.
16444 * localedata/fr_CA.UTF-8.in: Likewise.
16445 * localedata/fr_FR.UTF-8.in: Likewise.
16446 * localedata/uk_UA.UTF-8.in: Likewise.
16448 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16450 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
16451 order of ȥ in the new iso14651_t1_common file.
16452 * localedata/pl_PL.UTF-8.in: Likewise.
16454 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16456 * localedata/locales/iso14651_t1_common: Add sections for various
16457 scripts to the iso14651_t1_common file.
16459 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16461 * localedata/locales/iso14651_t1_common: Use the code point of a
16462 character in the fourth collation level instead of IGNORE for all
16463 entries which have IGNORE on all 4 levels.
16465 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16467 * localedata/locales/iso14651_t1_common: Add some convenient collation
16468 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
16469 rules similar to those in CLDR.
16471 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16473 * localedata/locales/iso14651_t1_common: The new version of this
16474 file downloaded from ISO contained several syntax errors which
16475 are fixed by this patch.
16477 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16479 * localedata/locales/iso14651_t1_common: replace all <U.....>
16480 with <U000.....> because glibc understands only 4 digit or 8 digit
16482 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16484 * localedata/locales/iso14651_t1_common: Necessary changes
16485 to make the file downloaded from ISO usable by glibc.
16487 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16490 * localedata/locales/iso14651_t1_common: Update file to
16491 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
16493 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16495 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
16496 of <nptl/pthreadP.h>
16497 (thread_attr_compare): Move function to...
16498 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
16499 * sysdeps/nptl/timer_routines.h: ... new header.
16500 * sysdeps/mach/hurd/gai_misc.h: New file.
16502 2018-02-26 Joseph Myers <joseph@codesourcery.com>
16504 * string/strcoll_l.c: Include <libc-diag.h>.
16505 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
16506 declarations of seq1 and seq2.
16509 * stdlib/atoi.c (atoi): Use libc_hidden_def.
16510 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
16512 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
16516 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
16517 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
16518 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
16519 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
16520 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
16521 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
16523 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16525 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
16526 macros used in __ptrace_request.
16528 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
16531 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
16533 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
16534 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
16535 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
16538 2018-02-23 Joseph Myers <joseph@codesourcery.com>
16541 * ctype/ctype.c (tolower): Use libc_hidden_def.
16542 (toupper): Likewise.
16543 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
16544 [!_ISOMAC] (toupper): Likewise.
16546 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16548 * localedata/Makefile: Remove --quiet argument when
16551 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16554 * localedata/locales/pt_BR (LC_TIME): use / instead of -
16556 * localedata/locales/pt_PT (LC_TIME): likewise
16558 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16561 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
16562 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
16563 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
16565 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16567 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16569 * nptl/Makefile (routines): Remove unregister-atfork.
16570 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
16571 (fork_handler_alloc): Remove function.
16572 (fork_handlers, fork_handler_init): New variables.
16573 (__fork_lock): Rename to atfork_lock.
16574 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
16575 to use a dynamic array to add/remove atfork handlers.
16576 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
16577 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
16578 Remove declaration.
16579 (fork_handler): Remove next, refcntr, and need_signal member.
16580 (__run_fork_handler_type): New enum.
16581 (__run_fork_handlers): New prototype.
16582 * nptl/register-atfork.c: Remove file.
16583 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
16585 * sysdeps/nptl/nptl-signals.h: Move to ...
16586 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
16588 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
16589 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
16590 unnecessary check for SIGTIMER.
16591 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
16592 remove unnecessary removal of SIGTIMER.
16593 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
16594 include-signals.h rename.
16595 * nptl/pthreadP.h: Likewise.
16596 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
16597 __is_internal_signal instead of __nptl_is_internal_signal.
16599 2018-02-22 Andrew Waterman <andrew@sifive.com>
16602 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
16603 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
16604 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
16605 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
16607 2018-02-22 DJ Delorie <dj@delorie.com>
16609 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
16611 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
16613 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
16614 do_misaligned, not misaligned8.
16616 2018-02-22 Steve Ellcey <sellcey@cavium.com>
16618 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
16619 Add memcpy_thunderx2.
16620 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
16622 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
16623 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
16624 and IS_THUNDERX2PA checks.
16625 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
16626 Use macro to set name appropriately.
16627 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
16628 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
16629 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
16631 (IS_THUNDERX2): New macro.
16633 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
16635 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16637 2018-02-21 Zack Weinberg <zackw@panix.com>
16639 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
16640 Define here, unconditionally.
16641 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
16642 * libio/libioP.h: Remove #if 0 blocks.
16643 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
16644 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
16645 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
16647 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
16648 Assume weak_alias is always defined.
16650 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
16651 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
16652 Remove #if 0 and #ifdef TODO blocks.
16653 Assume text_set_element is always defined.
16655 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
16656 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
16657 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
16659 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
16660 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
16661 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
16662 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
16663 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
16664 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
16665 Reformat bit flags for _flags field to make occupancy clearer.
16667 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
16668 Keep definitions consistent with those in libio/libio.h.
16670 * libio/libio.h (_IO_file_flags): Remove macro.
16671 All uses changed to _flags.
16673 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
16674 (__HAVE_COLUMN, _IO_BE): Don't define.
16675 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
16676 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
16677 * libio/libioP.h (EOF): Don't define.
16678 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
16679 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
16680 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
16681 testing _IO_UNIFIED_JUMPTABLES.
16683 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
16684 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
16685 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
16686 (_IO_size_t): Delete; all uses changed to size_t.
16687 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
16688 (_IO_off_t): Delete; all uses changed to off_t.
16689 (_IO_off64_t): Delete; all uses changed to off64_t.
16690 (_IO_pid_t): Delete; all uses changed to pid_t.
16691 (_IO_uid_t): Delete; all uses changed to uid_t.
16692 (_IO_wint_t): Delete; all uses changed to wint_t.
16693 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
16694 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
16695 (_IO_cookie_io_functions_t): Delete; all uses changed to
16696 cookie_io_functions_t.
16697 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
16698 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
16699 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
16700 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
16702 * libio/iofopncook.c: Remove unnecessary forward declarations.
16703 * libio/iolibio.h: Correct outdated commentary.
16704 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
16705 * stdio-common/fxprintf.c (__fxprintf_nocancel):
16706 Remove unnecessary casts.
16707 * stdio-common/getline.c: Use _IO_getdelim directly.
16708 Don't redefine ssize_t.
16709 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
16710 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
16711 Remove outdated comments.
16712 * stdio-common/vfscanf.c: Don't redefine va_list.
16714 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
16715 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
16716 Remove preprocessor conditionals on _LIBC and __USE_GNU,
16717 which are always true, and __cplusplus, which is always false.
16719 2018-02-21 Joseph Myers <joseph@codesourcery.com>
16723 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
16724 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
16725 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
16726 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
16728 [!_ISOMAC] (putc_unlocked): Likewise.
16729 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
16730 define inline if [__USE_EXTERN_INLINES].
16731 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
16736 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
16737 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
16738 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
16739 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
16740 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
16742 * time/tzfile.c (__tzfile_read): Likewise.
16744 2018-02-21 Mike FABIAN <mfabian@redhat.com>
16747 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
16749 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
16751 * io/fcntl.h: Fix a typo in a comment.
16753 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
16756 * include/features.h: Add _ISOC11_SOURCE to test for whether to
16757 define _DEFAULT_SOURCE.
16758 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
16760 2018-02-21 Florian Weimer <fweimer@redhat.com>
16763 * elf/cache.c (save_cache): Call fsync on temporary file before
16765 (save_aux_cache): Call fdatasync on temporary file before renaming
16768 2018-02-21 Florian Weimer <fweimer@redhat.com>
16771 * include/caller.h: Remove file.
16772 * elf/dl-caller.c: Likewise.
16773 * elf/Makefile (dl-routines): Remove dl-caller.
16774 (shared-only-routines): Do not add dl-caller.
16775 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
16777 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
16779 (dl_open_worker): Do not call __check_caller.
16780 (_dl_open): Do not set caller_dl_open member.
16781 * elf/rtld.c (_rtld_global_ro): Do not initialize
16782 _dl_check_caller member.
16783 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
16784 _dl_check_caller member.
16785 (_dl_check_caller): Remove declaration.
16786 * sysdeps/unix/sysv/linux/dl-execstack.c
16787 (_dl_make_stack_executable): Do not call __check_caller.
16789 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
16791 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
16792 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
16794 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
16796 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
16799 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
16802 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
16803 of 199606L, 200112L, and 200809L.
16804 (_XOPEN_SOURCE): Document special values of 600 and 700.
16805 (_ISOC11_SOURCE): Document macro.
16806 (_ATFILE_SOURCE): Likewise.
16807 (_FORTIFY_SOURCE): Likewise.
16809 2018-02-19 Joseph Myers <joseph@codesourcery.com>
16813 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
16814 and define as weak alias of __ferror_unlocked. Use
16816 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
16818 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
16819 function if [__USE_EXTERN_INLINES].
16820 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
16823 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
16826 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
16828 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
16831 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
16832 the GLIBC_2.1 version.
16834 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
16837 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
16838 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
16839 intl/tst-gettext-de.po from po/de.po by removing the
16840 POT-Creation-Date line.
16841 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
16843 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
16846 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16848 * mach/Makefile (headers): Add mach/param.h.
16849 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
16850 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
16851 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
16852 (__ptsname_r): Move implementation to...
16853 (__ptsname_internal): ... new function. Add filling the STP
16856 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
16858 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
16861 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
16863 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
16866 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
16868 * nptl/Makefile (tst-mutex8-ENV): Delete.
16869 * nptl/tst-mutex8.c (check_type):
16870 Add runtime check if mutex will be elided.
16872 2018-02-15 Joseph Myers <joseph@codesourcery.com>
16876 * manual/install.texi (Configuring and compiling): Describe
16877 passing CC and CFLAGS on configure command line, not as
16878 environment variables. Use @code markup on those variables.
16879 Specify what options go in CC and what go in CFLAGS. Note the
16880 requirement to compile with optimization.
16881 * INSTALL: Regenerated.
16884 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
16885 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
16886 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
16887 __sigprocmask instead of sigprocmask.
16888 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
16890 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
16891 __sigsetjmp and sigprocmask.
16894 * include/argz.h (argz_next): Use libc_hidden_proto.
16895 (__argz_next): Likewise.
16896 * string-argz-next.c (__argz_next): Use libc_hidden_def.
16897 (argz_next): Use libc_hidden_weak.
16900 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
16902 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
16906 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
16908 * libio/iofputs.c (fputs): Use libc_hidden_weak.
16912 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
16913 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
16914 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
16915 (__feof_unlocked): New declaration, and inline function if
16916 [__USE_EXTERN_INLINES].
16917 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
16918 instead of feof_unlocked.
16919 * intl/localealias.c [_LIBC] (FEOF): Likewise.
16920 * nss/nsswitch.c (nss_parse_file): Likewise.
16921 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
16923 * time/getdate.c (__getdate_r): Likewise.
16924 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
16925 Define as macro to call __feof_unlocked.
16927 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16929 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
16931 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16933 * math/Makefile: Remove mpexp.c and mplog.c
16934 * sysdeps/i386/fpu/mpexp.c: Delete file.
16935 * sysdeps/i386/fpu/mplog.c: Likewise.
16936 * sysdeps/ia64/fpu/mpexp.c: Likewise.
16937 * sysdeps/ia64/fpu/mplog.c: Likewise.
16938 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
16939 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
16940 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
16941 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16942 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
16943 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
16944 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
16945 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
16946 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
16947 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16948 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
16949 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
16950 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16951 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
16952 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
16953 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16955 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
16957 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16959 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16961 * sysdeps/sh/libm-test-ulps: Update.
16963 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16965 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
16968 2018-02-12 Zack Weinberg <zackw@panix.com>
16971 * posix/sys/types.h: Don't include sys/sysmacros.h.
16972 * misc/sys/sysmacros.h: Remove the conditional deprecation
16973 warnings for the macros defined by this header.
16975 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16977 * manual/probes.texi: Remove slowexp probes.
16978 * math/Makefile: Remove slowexp.
16979 * sysdeps/generic/math_private.h (__slowexp): Remove.
16980 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
16981 document error bounds.
16982 * sysdeps/i386/fpu/slowexp.c: Remove.
16983 * sysdeps/ia64/fpu/slowexp.c: Remove.
16984 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
16985 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
16986 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
16987 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
16988 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
16989 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
16990 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
16991 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
16992 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
16993 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
16994 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
16996 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
16999 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
17000 * benchtests/pow-inputs: Update comment for slow path cases.
17001 * manual/probes.texi (slowpow_p10): Delete removed probe.
17002 (slowpow_p10): Likewise.
17003 * math/Makefile: Remove halfulp.c and slowpow.c.
17004 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
17005 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
17006 (__halfulp): Remove.
17007 (__slowpow): Remove.
17008 * sysdeps/i386/fpu/halfulp.c: Delete file.
17009 * sysdeps/i386/fpu/slowpow.c: Likewise.
17010 * sysdeps/ia64/fpu/halfulp.c: Likewise.
17011 * sysdeps/ia64/fpu/slowpow.c: Likewise.
17012 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
17013 improve comments and add error analysis.
17014 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
17015 (power1): Remove function:
17016 (log1): Remove error argument, add error analysis.
17017 (my_log2): Remove function.
17018 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
17019 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17020 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
17021 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
17022 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
17023 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
17024 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
17025 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
17026 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
17027 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
17028 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
17029 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17030 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
17031 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17033 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
17035 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
17036 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
17038 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
17041 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
17042 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
17043 and PTRACE_SETHBPREGS.
17045 2018-02-10 Zack Weinberg <zackw@panix.com>
17048 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
17050 * malloc/tst-malloc-stats-cancellation.c: New test case.
17051 * malloc/Makefile: Add new test case.
17053 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
17055 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
17057 2018-02-10 Joseph Myers <joseph@codesourcery.com>
17059 * math/Makefile (libm-narrow-fns): Add add.
17060 (libm-test-funcs-narrow): Likewise.
17061 * math/Versions (GLIBC_2.28): Add narrowing add functions.
17062 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
17063 * math/gen-auto-libm-tests.c (test_functions): Add add.
17064 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
17065 (NARROW_ADD_ROUND_TO_ODD): Likewise.
17066 (NARROW_ADD_TRIVIAL): Likewise.
17067 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
17069 (__daddl): Likewise.
17070 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
17072 (CFLAGS-nldbl-dadd.c): New variable.
17073 (CFLAGS-nldbl-fadd.c): Likewise.
17074 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17076 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
17078 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
17079 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
17080 * math/auto-libm-test-in: Add tests of add.
17081 * math/auto-libm-test-out-narrow-add: New generated file.
17082 * math/libm-test-narrow-add.inc: New file.
17083 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17084 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
17085 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
17086 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
17087 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
17088 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
17089 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
17090 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
17091 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
17092 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
17093 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
17094 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
17095 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
17096 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
17097 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
17098 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
17099 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
17100 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
17101 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17102 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17103 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17104 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17105 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17106 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17107 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17108 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17109 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17110 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17111 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17112 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17113 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17114 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17119 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17120 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17121 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17122 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17123 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17124 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17125 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17126 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17127 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17128 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17130 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
17131 (f128-pairs): New variable.
17132 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
17133 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
17135 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
17136 Also make tests add $(f128-loader-link) to gnulib-tests.
17138 2018-02-09 DJ Delorie <dj@redhat.com>
17141 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
17142 64-bit ELF type for 64-bit ELF objects.
17144 2018-02-09 Joseph Myers <joseph@codesourcery.com>
17146 * math/libm-test-driver.c (snan_tests_arg): New variable.
17147 * math/libm-test-support.h (snan_tests_arg): New declaration.
17148 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
17150 * math/Makefile (test-type-pairs): New variable.
17151 (test-type-pairs-f64xf128-yes): Likewise.
17152 (tests): Add test-narrow-macros.
17153 (libm-test-funcs-narrow): New variable.
17154 (libm-test-c-narrow): Likewise.
17155 (generated): Add $(libm-test-c-narrow).
17156 (libm-tests-base-narrow): New variable.
17157 (libm-tests-narrow): Likewise.
17158 (libm-tests): Add $(libm-tests-narrow).
17159 (libm-tests-for-type): Handle $(libm-tests-narrow).
17160 (libm-test-c-narrow-obj): New variable.
17161 ($(libm-test-c-narrow-obj)): New rule.
17162 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
17163 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
17164 $(o-iterator) to set dependencies and CFLAGS.
17165 * math/gen-auto-libm-tests.c: Document use for narrowing
17167 (output_for_one_input_case): Take argument NARROW.
17168 (generate_output): Likewise. Update call to
17169 output_for_one_input_case.
17170 (main): Take --narrow option. Update call to generate_output.
17171 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
17172 (apply_lit): Update call to _apply_lit.
17173 (apply_arglit): New function.
17174 (parse_args): Handle "a" arguments.
17175 (parse_auto_input): Handle format names using ":".
17176 * math/README.libm-test: Document "a" parameter type.
17177 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
17178 (ARG_TYPE_TRUE_MIN): Likewise.
17179 (ARG_TYPE_MAX): Likwise.
17180 (ARG_MIN_EXP): Likewise.
17181 (ARG_MAX_EXP): Likewise.
17182 (ARG_MANT_DIG): Likewise.
17183 (TEST_COND_arg_ibm128): Likewise.
17184 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
17185 (TEST_COND_arg_fmt): New macro.
17186 (init_max_error): Update prototype.
17187 * math/libm-test-support.c (test_ibm128): New variable.
17188 (init_max_error): Take argument testing_ibm128 and set test_ibm128
17189 instead of using [TEST_COND_ibm128] conditional.
17190 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
17191 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
17192 [TEST_NARROW] (TEST_MSG): New definition.
17193 (arg_plus_zero): New macro.
17194 (arg_minus_zero): Likewise.
17195 (arg_plus_infty): Likewise.
17196 (arg_minus_infty): Likewise.
17197 (arg_qnan_value_pl): Likewise.
17198 (arg_qnan_value): Likewise.
17199 (arg_snan_value_pl): Likewise.
17200 (arg_snan_value): Likewise.
17201 (arg_max_value): Likewise.
17202 (arg_min_value): Likewise.
17203 (arg_min_subnorm_value): Likewise.
17204 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
17205 (RUN_TEST_LOOP_aa_f): New macro.
17206 (TEST_SUFF): New macro.
17207 (TEST_SUFF_STR): Likewise.
17208 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
17209 (TEST_COND_any_ibm128): New macro.
17210 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
17211 this_func. Update call to init_max_error.
17212 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
17213 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
17214 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
17215 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
17216 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
17217 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
17218 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
17219 * math/test-math-scalar.h (TEST_NARROW): Likewise.
17220 * math/test-math-vector.h (TEST_NARROW): Likewise.
17221 * math/test-arg-double.h: New file.
17222 * math/test-arg-float128.h: Likewise.
17223 * math/test-arg-float32x.h: Likewise.
17224 * math/test-arg-float64.h: Likewise.
17225 * math/test-arg-float64x.h: Likewise.
17226 * math/test-arg-ldouble.h: Likewise.
17227 * math/test-math-narrow.h: Likewise.
17228 * math/test-narrow-macros.c: Likewise.
17229 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
17230 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
17231 test-narrow-macros-ldbl-64.
17232 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
17234 * math/bits/mathcalls-narrow.h: New file.
17235 * include/bits/mathcalls-narrow.h: Likewise.
17236 * math/math-narrow.h: Likewise.
17237 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
17238 (__MATHCALL_NARROW_ARGS_2): Likewise.
17239 (__MATHCALL_NARROW_ARGS_3): Likewise.
17240 (__MATHCALL_NARROW_NORMAL): Likewise.
17241 (__MATHCALL_NARROW_REDIR): Likewise.
17242 (__MATHCALL_NARROW): Likewise.
17243 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
17244 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
17246 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
17247 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
17248 (libm-narrow-fns): New variable.
17249 (libm-narrow-types-basic): Likewise.
17250 (libm-narrow-types-ldouble-yes): Likewise.
17251 (libm-narrow-types-float128-yes): Likewise.
17252 (libm-narrow-types-float128-alias-yes): Likewise.
17253 (libm-narrow-types): Likewise.
17254 (libm-routines): Add narrowing functions.
17255 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
17256 (libc_feholdexcept_setroundf128): New macro.
17257 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
17258 * sysdeps/ieee754/float128/float128_private.h: Include
17259 <math/math-narrow.h>.
17260 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
17261 Undefine and redefine.
17262 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
17263 (libm_alias_float_ldouble): Undefine and redefine.
17264 (libm_alias_double_ldouble): Likewise.
17266 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
17268 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
17270 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
17273 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
17275 * manual/creature.texi: Convert references to gcc.info to gcc.
17276 * manual/stdio.texi: Likewise.
17277 * manual/string.texi: Likewise.
17279 2018-02-07 Joseph Myers <joseph@codesourcery.com>
17282 * posix/bits/types.h (__int_least8_t): New typedef.
17283 (__uint_least8_t): Likewise.
17284 (__int_least16_t): Likewise.
17285 (__uint_least16_t): Likewise.
17286 (__int_least32_t): Likewise.
17287 (__uint_least32_t): Likewise.
17288 (__int_least64_t): Likewise.
17289 (__uint_least64_t): Likewise.
17290 * sysdeps/generic/stdint.h (int_least8_t): Define using
17292 (int_least16_t): Define using __int_least16_t.
17293 (int_least32_t): Define using __int_least32_t.
17294 (int_least64_t): Define using __int_least64_t.
17295 (uint_least8_t): Define using __uint_least8_t.
17296 (uint_least16_t): Define using __uint_least16_t.
17297 (uint_least32_t): Define using __uint_least32_t.
17298 (uint_least64_t): Define using __uint_least64_t.
17299 * wcsmbs/uchar.h: Include <bits/types.h>.
17300 (char16_t): Define using __uint_least16_t conditional only on
17302 (char32_t): Define using __uint_least32_t conditional only on
17304 * wcsmbs/test-char-types.c: New file.
17305 * wcsmbs/Makefile (tests): Add test-char-types.
17307 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
17310 2018-02-07 Zack Weinberg <zackw@panix.com>
17312 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
17313 Delete all contents except for definitions of _G_HAVE_MMAP and
17314 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
17315 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
17316 sysdeps/unix/sysv/linux/_G_config.h. Make same content
17319 * libio/libio.h: Don't include bits/_G_config.h here.
17320 Include stddef.h with __need_wchar_t defined. Include
17321 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
17322 Define _IO_iconv_t here, directly.
17323 Don't define _IO_HAVE_ST_BLKSIZE.
17324 * libio/libioP.h: Include _G_config.h here. Move include of
17325 shlib-compat.h up with rest of includes. Simplify conditionals
17326 controlling definition of _IO_JUMPS_OFFSET.
17328 * csu/init.c: Remove always-true #if around entire file.
17329 Don't include stdio.h. Set _IO_stdin_used to hardwired
17330 constant 0x20001, and update commentary.
17331 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
17332 Replace all uses of _G_va_list with __gnuc_va_list.
17333 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
17334 instead of #if _IO_HAVE_ST_BLKSIZE.
17335 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
17336 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
17339 * libio/bits/libio.h: Move back to libio/libio.h and adjust
17340 multiple-include guard to match.
17341 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
17343 Remove preprocessor conditionals that are always true and/or
17344 redundant to other preprocessor conditionals in the same nest.
17345 Include shlib-compat.h unconditionally.
17346 Error out if _LIBC is not defined, or if _ISOMAC is defined,
17347 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
17348 defined after including stdio.h.
17349 Use __BEGIN_DECLS/__END_DECLS.
17351 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
17352 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
17353 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
17355 2018-02-07 Zack Weinberg <zackw@panix.com>
17357 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
17358 New single-type headers split from _G_config.h.
17359 * libio/bits/types/cookie_io_functions_t.h
17360 * libio/bits/types/struct_FILE.h
17361 New single-type headers split from libio.h.
17363 * libio/Makefile: Install the above new headers. Don't install
17364 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
17366 * libio/_G_config.h, libio/libio.h: Delete file.
17368 * libio/bits/libio.h: Remove improper-inclusion guard.
17369 Include stdio.h and don't repeat anything that it does.
17370 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
17371 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
17372 __io_read_fn as cookie_read_function_t,
17373 __io_write_fn as cookie_write_function_t,
17374 __io_seek_fn as cookie_seek_function_t,
17375 __io_close_fn as cookie_close_function_t,
17376 and _IO_cookie_io_functions_t as cookie_io_functions_t.
17377 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
17378 here, in the "compatibility defines" section. Remove an #if 0
17379 block. Use the "body" macros from bits/types/struct_FILE.h to
17380 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
17381 and _IO_ferror_unlocked.
17382 Move prototypes of __uflow and __overflow...
17384 * libio/stdio.h: ...here. Don't include bits/libio.h.
17385 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
17386 directly from stdarg.h. Include bits/types/__fpos_t.h,
17387 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
17388 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
17389 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
17390 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
17391 cookie_io_functions_t, not _IO_cookie_io_functions_t;
17392 __ssize_t, not _IO_ssize_t. Unconditionally define
17393 BUFSIZ as 8192 and EOF as (-1).
17395 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
17396 macros from bits/types/struct_FILE.h instead of _IO_* macros
17397 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
17398 instead of _IO_ssize_t.
17399 * libio/bits/stdio2.h: Similarly.
17401 * libio/iolibio.h: Add multiple-include guard.
17402 Include bits/libio.h after stdio.h.
17403 * libio/libioP.h: Add multiple-include guard.
17404 Include stdio.h and bits/libio.h before iolibio.h.
17406 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
17407 * include/bits/types/cookie_io_functions_t.h
17408 * include/bits/types/struct_FILE.h: New wrappers.
17410 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
17411 Get definitions of _G_fpos_t and _G_fpos64_t from
17412 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
17413 respectively. Remove improper-inclusion guards.
17415 * conform/data/stdio.h-data: Update expectations of va_list.
17416 * scripts/check-installed-headers.sh: Remove special case for
17417 libio.h and _G_config.h.
17419 2018-02-07 Joseph Myers <joseph@codesourcery.com>
17423 * include/sys/sysmacros.h [!_ISOMAC]
17424 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
17425 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
17426 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
17427 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
17429 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
17430 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
17432 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
17433 Undefine and redefine to add use __gnu_dev_ prefix.
17434 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
17436 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
17437 and define as hidden inline function.
17438 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
17440 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
17442 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
17443 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
17444 (gnu_dev_minor): Likewise.
17445 (gnu_dev_makedev): Likewise.
17446 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
17448 * posix/wordexp.c (exec_comm_child): Likewise.
17449 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
17450 instead of minor and __gnu_dev_major instead of major.
17451 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
17452 __gnu_dev_major instead of major.
17453 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
17454 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
17455 instead of gnu_dev_minor.
17456 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
17457 (SLAVE_P): Likewise.
17458 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
17459 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
17463 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
17465 * locale/weightwc.h (findidx): Likewise.
17467 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
17469 * manual/probes.texi (slowlog): Delete documentation of removed probe.
17470 (slowlog_inexact): Likewise
17471 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
17472 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
17474 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
17477 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
17478 missing second underscore to parameter name.
17480 2018-02-06 Joseph Myers <joseph@codesourcery.com>
17486 * bits/byteswap.h: Update file comment. Do not include
17487 <bits/byteswap-16.h>.
17488 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
17490 (__bswap_16): Define as inline function.
17491 (__bswap_constant_32): Reformat definition.
17492 (__bswap_32): Always define as inline function, not macro, using
17493 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
17494 otherwise __bswap_constant_32.
17495 (__bswap_constant_64): Reformat definition. Do not use
17496 __extension__ here.
17497 (__bswap_64): Always define as inline function, not macro. Use
17498 __extension__ on function definition. Use __builtin_bswap64 if
17499 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
17500 * string/test-endian-file-scope.c: New file.
17501 * string/test-endian-sign-conversion.c: Likewise.
17502 * string/Makefile (headers): Remove bits/byteswap-16.h.
17503 (tests): Add test-endian-file-scope and
17504 test-endian-sign-conversion.
17505 (CFLAGS-test-endian-sign-conversion.c): New variable.
17506 * bits/byteswap-16.h: Remove file.
17507 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
17508 * sysdeps/ia64/bits/byteswap.h: Likewise.
17509 * sysdeps/m68k/bits/byteswap.h: Likewise.
17510 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17511 * sysdeps/s390/bits/byteswap.h: Likewise.
17512 * sysdeps/tile/bits/byteswap.h: Likewise.
17513 * sysdeps/x86/bits/byteswap-16.h: Likewise.
17514 * sysdeps/x86/bits/byteswap.h: Likewise.
17517 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
17518 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
17519 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
17520 199901L] (__restrict): Define to restrict.
17523 * string/testcopy.c: Include <support/support.h>. Do not include
17524 <malloc.h>. Use <support/test-driver.c>.
17525 (main): Rename to do_test. Make static. Use xmalloc instead of
17529 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
17530 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
17531 (SSIZE_MAX): Define to INT_MAX.
17532 * posix/test-ssize-max.c: New file.
17533 * posix/Makefile (tests): Add test-ssize-max.
17536 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
17537 <support/support.h>. Do not include <malloc.h>.
17538 (query_auxv): Use xmalloc instead of malloc.
17541 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
17542 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
17545 2018-02-06 Florian Weimer <fweimer@redhat.com>
17548 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17549 Use scratch_buffer instead of extend_alloca.
17551 2018-02-06 Zack Weinberg <zackw@panix.com>
17553 * libio/stdio.h: Don't define getc or putc as macros.
17554 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
17555 not _IO_getc and _IO_putc.
17557 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
17558 * stdio-common/tstgetln.c: Don't redefine ssize_t.
17560 2018-02-06 Joseph Myers <joseph@codesourcery.com>
17562 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
17563 (TCP_FASTOPEN_NO_COOKIE): Likewise.
17565 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
17568 * elf/elf.h (NT_PRFPREG): New macro.
17569 (NT_S390_VXRS_LOW): Likewise.
17570 (NT_S390_VXRS_HIGH): Likewise.
17571 (NT_S390_GS_CB): Likewise.
17572 (NT_S390_GS_BC): Likewise.
17573 (NT_S390_RI_CB): Likewise.
17575 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
17576 (MAP_SYNC): New macro.
17577 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
17579 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
17580 (MAP_SYNC): Likewise.
17581 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
17582 (MAP_SYNC): Likewise.
17583 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
17584 (MAP_SYNC): Likewise.
17585 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
17586 (MAP_SYNC): Likewise.
17587 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
17588 (MAP_SYNC): Likewise.
17589 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
17590 (MAP_SYNC): Likewise.
17591 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
17593 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
17596 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
17597 (MAP_SHARED_VALIDATE): New macro.
17598 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
17599 (MAP_SHARED_VALIDATE): Likewise.
17601 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17603 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
17604 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
17605 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
17607 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17609 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
17610 (DT_NUM): Updated to 35.
17612 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17614 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
17615 __builtin_expect with __glibc_likely and __glibc_unlikely.
17616 (elf_machine_rela): Likewise.
17617 (elf_machine_lazy_rel): Likewise.
17619 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17621 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
17622 __builtin_expect with __glibc_likely and __glibc_unlikely.
17623 (elf_machine_lazy_rel): Likewise.
17625 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17628 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
17630 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
17632 2018-02-05 Andreas Schwab <schwab@suse.de>
17635 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
17638 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17640 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
17641 not check against PTHREAD_STACK_MIN.
17643 2018-02-02 Sean McKean <smckean83@gmail.com>
17646 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
17648 2018-02-02 Florian Weimer <fweimer@redhat.com>
17651 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
17652 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
17653 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
17654 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
17655 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
17656 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
17657 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
17658 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
17659 * manual/llio.texi (Scatter-Gather): Mention offset -1.
17660 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
17661 * misc/tst-preadvwritev2.c (do_test): Call it.
17662 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
17664 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
17666 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
17668 * benchtests/bench-memcmp.c: Print json instead of plain text.
17670 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
17673 2018-02-01 Joseph Myers <joseph@codesourcery.com>
17675 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
17677 (s390_sthyi): New syscall.
17679 * sysdeps/generic/ldbl-classify-compat.h: New file.
17680 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
17681 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
17682 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
17683 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
17684 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
17685 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
17686 * sysdeps/ieee754/dbl-64/s_finite.c: Include
17687 <ldbl-classify-compat.h>.
17688 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17689 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
17690 <ldbl-classify-compat.h>.
17691 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17692 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
17693 <ldbl-classify-compat.h>.
17694 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17695 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
17696 <ldbl-classify-compat.h>.
17697 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17698 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
17699 <ldbl-classify-compat.h>.
17700 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17701 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
17702 <ldbl-classify-compat.h>.
17703 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17704 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
17705 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
17706 * sysdeps/m68k/coldfire/math_private.h: Remove file.
17707 * sysdeps/microblaze/math_private.h: Likewise.
17708 * sysdeps/nios2/math_private.h: Likewise.
17709 * sysdeps/sh/math_private.h: Likewise.
17711 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
17712 * sysdeps/m68k/coldfire/math_private.h: ... here.
17713 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
17714 * sysdeps/tile/math_private.h: Likewise.
17715 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
17717 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
17720 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
17722 (libc_fetestexcept): Likewise.
17723 (libc_feupdateenv_test): Likewise.
17724 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
17725 (libc_fetestexcept): Likewise.
17726 (libc_feupdateenv_test): Likewise.
17727 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
17728 (libc_fetestexcept): Likewise.
17729 (libc_feupdateenv_test): Likewise.
17730 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
17731 (libc_fetestexcept): Likewise.
17732 (libc_feupdateenv_test): Likewise.
17734 * sysdeps/generic/math_private.h
17735 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
17736 New inline function.
17737 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
17740 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
17741 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
17742 * sysdeps/generic/math_private.h
17743 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
17745 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
17747 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
17749 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
17751 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
17753 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
17755 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
17756 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
17757 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
17758 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
17759 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
17760 (__fegetenv): Likewise.
17761 (fesetenv): Likewise.
17762 (__fesetenv): Likewise.
17763 (feupdateenv): Likewise.
17764 (__feupdateenv): Likewise.
17765 (fegetround): Likewise.
17766 (__fegetround): Likewise.
17767 (fesetround): Likewise.
17768 (__fesetround): Likewise.
17770 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
17771 (feraiseexcept): New macro.
17772 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
17773 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
17775 (__feraiseexcept): Likewise.
17776 (feclearexcept): Likewise.
17777 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
17778 (__feraiseexcept): Likewise.
17779 (feclearexcept): Likewise.
17780 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
17781 (__feraiseexcept): Likewise.
17782 (feclearexcept): Likewise.
17783 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
17784 (__feraiseexcept): Likewise.
17785 (feclearexcept): Likewise.
17786 (fetestexcept): Likewise.
17788 * sysdeps/m68k/coldfire/math-tests.h: New file.
17790 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
17791 * sysdeps/m68k/bits/fenv.h: ... here.
17792 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
17794 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
17796 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
17798 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
17800 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
17802 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
17804 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
17805 (__FE_UNDEFINED): New enum constant.
17806 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
17808 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
17810 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
17812 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
17813 to match generic bits/fenv.h.
17814 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
17817 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
17819 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
17820 * soft-fp/half.h (union _FP_UNION_H): Likewise.
17821 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
17822 * soft-fp/single.h (union _FP_UNION_S): Likewise.
17824 2018-02-01 Carlos O'Donell <carlos@redhat.com>
17825 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
17826 Joseph Myers <joseph@codesourcery.com>
17829 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
17830 (__log1p): Disable -Wmaybe-uninitialized for -Os around
17831 computation using c.
17832 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
17833 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
17834 computation using c.
17836 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
17838 * version.h (RELEASE): Set to "development".
17839 (VERSION): Set to "2.27.9000".
17840 * NEWS (2.28): New section.
17842 * version.h (RELEASE): Set to "stable".
17843 (VERSION): Set to "2.27".
17844 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
17846 * NEWS: Add the list of bugs fixed in 2.27.
17848 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17850 * stdlib/test-atexit-race-common.c (do_test): Check stack size
17851 against PTHREAD_STACK_MIN.
17853 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
17855 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
17857 (Rafal Luzynski, Andreas Schwab): Update.
17859 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
17862 * NEWS: List the languages which actually use the alternative
17863 months feature in this release. Also explain that "alt_mon" and
17864 "ab_alt_mon" are optional.
17866 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
17869 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
17871 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
17873 * manual/install.texi (Tools for Compilation): Update the newest
17874 versions of gcc, binutils, texinfo, gawk, bison, and sed.
17875 * INSTALL: Regenerated.
17877 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17879 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
17880 instead of __builtin_expect.
17882 2018-01-30 Florian Weimer <fweimer@redhat.com>
17884 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
17886 * nss/tst-nss-getpwent.c (do_test): Likewise.
17888 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
17891 * localedata/locales/hr_HR (mon): Rename to...
17893 (mon): Import from CLDR (genitive case).
17894 (d_t_fmt): Update the comment.
17896 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
17898 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
17899 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
17900 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
17902 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17904 * mach/Versions: Fix version when __mach_host_self_ was added.
17905 * hurd/Versions: Fix version when _hurd_exec_paths was added.
17906 * sysdeps/mach/hurd/i386/ld.abilist: New file.
17907 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
17908 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
17909 * sysdeps/mach/hurd/i386/libc.abilist: New file.
17910 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
17911 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
17912 * sysdeps/mach/hurd/i386/libm.abilist: New file.
17913 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
17914 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
17915 * sysdeps/mach/hurd/i386/librt.abilist: New file.
17916 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
17917 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
17918 || to respect codestyle.
17919 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
17920 (do_test_bz20181): Rename accordingly.
17921 * malloc/malloc.c: Include <assert.h>.
17922 (assert): Do not define.
17923 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
17924 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
17925 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
17926 * sysdeps/mach/hurd/hp-timing.h: New file.
17927 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
17929 2018-01-29 Darius Rad <darius@bluespec.com>
17931 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
17933 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
17935 * sysdeps/init_array/crti.S (.section .init_array): Add
17936 PREINIT_FUNCTION when defined.
17937 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
17938 * config.h.in: Regenerate.
17939 * manual/platform.texi: Add RISC-V documenation for
17940 __riscv_flush_icache.
17941 * sysdeps/riscv/__longjmp.S: New file.
17942 * sysdeps/riscv/backtrace.c: Likewise.
17943 * sysdeps/riscv/bits/endian.h: Likewise.
17944 * sysdeps/riscv/bits/setjmp.h: Likewise.
17945 * sysdeps/riscv/bits/wordsize.h: Likewise.
17946 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
17947 * sysdeps/riscv/bsd-setjmp.c: Likewise.
17948 * sysdeps/riscv/dl-trampoline.S: Likewise.
17949 * sysdeps/riscv/gccframe.h: Likewise.
17950 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
17951 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
17952 * sysdeps/riscv/machine-gmon.h: Likewise.
17953 * sysdeps/riscv/memusage.h: Likewise.
17954 * sysdeps/riscv/setjmp.S: Likewise.
17955 * sysdeps/riscv/sys/asm.h: Likewise.
17956 * sysdeps/riscv/tls-macros.h: Likewise.
17957 * sysdeps/riscv/dl-tls.h: New file.
17958 * sysdeps/riscv/libc-tls.c: Likewise.
17959 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
17960 * sysdeps/riscv/nptl/tls.h: Likewise.
17961 * sysdeps/riscv/stackinfo.h: Likewise.
17962 * sysdeps/riscv/bits/fenv.h: New file.
17963 * sysdeps/riscv/e_sqrtl.c: Likewise.
17964 * sysdeps/riscv/fpu_control.h: Likewise.
17965 * sysdeps/riscv/math-tests.h: Likewise.
17966 * sysdeps/riscv/nofpu/Implies: Likewise.
17967 * sysdeps/riscv/sfp-machine.h: Likewise.
17968 * sysdeps/riscv/tininess.h: Likewise.
17969 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
17970 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
17971 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
17972 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
17973 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
17974 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
17975 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
17976 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
17977 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
17978 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
17979 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
17980 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
17981 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
17982 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
17983 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
17984 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
17985 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
17986 * sysdeps/riscv/rvd/s_finite.c: Likewise.
17987 * sysdeps/riscv/rvd/s_fma.c: Likewise.
17988 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
17989 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
17990 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
17991 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
17992 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
17993 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
17994 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
17995 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
17996 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
17997 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
17998 * sysdeps/riscv/rvf/fegetround.c: Likewise.
17999 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
18000 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
18001 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
18002 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
18003 * sysdeps/riscv/rvf/fesetround.c: Likewise.
18004 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
18005 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
18006 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
18007 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
18008 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
18009 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
18010 * sysdeps/riscv/rvf/math_private.h: Likewise.
18011 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
18012 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
18013 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
18014 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
18015 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
18016 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
18017 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
18018 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
18019 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
18020 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
18021 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
18022 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
18023 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
18024 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
18025 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
18026 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
18027 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
18028 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
18029 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
18030 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
18031 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
18032 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
18033 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
18034 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
18035 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
18036 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
18037 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
18038 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
18039 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
18040 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
18041 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
18042 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
18043 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
18044 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
18045 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
18046 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
18047 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
18048 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
18049 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
18050 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
18051 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
18052 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
18053 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
18054 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
18055 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
18056 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
18057 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
18058 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
18059 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
18060 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
18061 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
18062 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
18063 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
18064 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
18065 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
18066 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
18067 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
18068 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
18069 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
18070 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
18071 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18072 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18073 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18074 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18075 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18076 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18077 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18078 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
18079 * sysdeps/riscv/Implies: New file.
18080 * sysdeps/riscv/Makefile: Likewise.
18081 * sysdeps/riscv/configure: Likewise.
18082 * sysdeps/riscv/configure.ac: Likewise.
18083 * sysdeps/riscv/nptl/Makefile: Likewise.
18084 * sysdeps/riscv/preconfigure: Likewise.
18085 * sysdeps/riscv/rv64/Implies-after: Likewise.
18086 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
18087 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
18088 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
18089 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
18090 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
18091 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
18092 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
18093 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
18094 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
18095 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
18096 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
18097 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
18098 (Config): Likewise.
18100 2018-01-29 Florian Weimer <fweimer@redhat.com>
18103 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
18104 libnsl_hidden_proto.
18105 * include/rpcsvc/yp.h (yp_xdrall): Declare with
18106 libnsl_hidden_proto.
18107 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
18108 * nis/Makefile (libnsl-routines): Add nss-default only for
18109 build-obsolete-nsl.
18110 * nis/nis_defaults.c (__nis_default_ttl): Add
18111 libnsl_hidden_nolink_def.
18112 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
18114 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
18115 * nis/ypclnt.c (yp_maplist): Likewise.
18117 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
18119 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18120 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
18122 2018-01-29 Joseph Myers <joseph@codesourcery.com>
18124 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
18125 clean -dxfq for git updates when replacing sources.
18127 * scripts/build-many-glibcs.py (Config.build_gcc): Use
18128 --disable-libcilkrts unconditionally, not just for the final GCC
18131 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
18134 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18137 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
18140 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18143 * localedata/locales/be_BY (mon): Rename to...
18144 (alt_mon): This, then synchronize with CLDR (nominative case).
18145 (abmon): Rename to...
18146 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
18147 (mon): Import from CLDR (genitive case).
18149 * localedata/locales/be_BY@latin (mon): Rename to...
18151 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
18153 * localedata/locales/be_BY@latin (lang_name): Reworded to
18154 "biełaruskaja mova".
18156 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18159 * localedata/locales/el_CY (mon): Renamed to...
18161 (mon): Import from CLDR (genitive case).
18162 * localedata/locales/el_GR: Likewise.
18164 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18167 * localedata/locales/ru_RU (mon): Rename to...
18169 (abmon): Rename to...
18170 (ab_alt_mon): This.
18171 (mon): Import from CLDR (genitive case).
18172 (abmon): Copy from the old content except the 5th month which is
18173 now in the genitive case, even when abbreviated.
18174 * localedata/locales/ru_UA: Likewise.
18175 * time/tst-strptime.c (day_tests): Add an actual example of
18176 a difference between %b and %Ob in Russian.
18178 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18180 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
18181 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
18183 * resolv/res-close.c: Include <stdlib.h>.
18184 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
18185 <sys/wait.h>, <time.h>, <sys/uio.h>.
18186 (NOT_CANCEL_H): Add inclusion guard.
18187 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
18188 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
18189 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
18191 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
18192 vm_address_t * to ElfW(Addr) * for dl_main parameter.
18193 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
18195 * sysdeps/pthread/timer_create.c (timer_create): Do not use
18196 timer_ptr2id to cast struct timer_node * to void *.
18197 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
18198 --disable-libcilkrts to gcc configure.
18199 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
18200 and make them the default for now.
18201 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
18202 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
18203 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
18204 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
18205 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
18207 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
18208 __task_terminate would ever return successfully.
18209 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
18211 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
18212 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
18213 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
18214 critical section to make code simpler and avoid warning.
18215 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
18216 critical section to make code simpler and avoid warning.
18217 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
18218 const char * instead of char *.
18219 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
18220 __hurd_file_name_split, hurd_file_name_split,
18221 __hurd_directory_name_split, hurd_directory_name_split,
18222 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
18223 hurd_file_name_path_lookup): Make lookup function parameter take a
18224 const char *name instead of char *name.
18225 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
18226 __hurd_directory_name_split): Likewise.
18227 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
18228 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
18229 * sysdeps/mach/hurd/check_native.c: New file.
18230 * sysdeps/mach/hurd/check_pf.c: New file.
18231 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
18232 (__freeifaddrs): Define macro to freeifaddrs.
18233 * sysdeps/mach/hurd/libhurduser.abilist: New file.
18234 * sysdeps/mach/libmachuser.abilist: New file.
18235 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
18236 (do_test_bz20181): Rename accordingly.
18237 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
18238 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
18240 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
18241 version only if __USE_EXTERN_INLINES is defined.
18242 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
18243 __hurd_sockfail): Likewise.
18244 (_hurd_fd_get): Always declare functions, and provide inline versions
18245 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
18246 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
18247 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
18248 _hurd_port_set): Always declare functions, and provide inline versions
18249 only if __USE_EXTERN_INLINES and _LIBC are defined and
18251 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
18252 _hurd_critical_section_unlock): Likewise.
18253 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
18254 * __hurd_threadvar_location): Likewise.
18255 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
18256 _hurd_userlink_clear): Likewise.
18257 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
18258 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
18259 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
18260 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
18261 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
18262 __spin_lock_locked): Likewise.
18263 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
18264 __spin_lock_locked): Likewise.
18265 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
18266 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
18267 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
18268 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
18269 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
18270 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
18271 _POSIX_NO_TRUNC): Define to 0.
18272 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
18273 check size against PTHREAD_STACK_MIN.
18274 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
18275 IS_IN(libpthread)]: Include <sigsetops.h>.
18276 * mach/Makefile (user-interfaces): Add mach/gnumach.
18277 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
18278 * sysdeps/mach/configure (mach_interface_list): Regenerate.
18279 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
18280 instead of invalid -1.
18281 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
18282 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
18283 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
18286 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
18288 * hurd/fcntl-internal.h: New file.
18290 2018-01-27 James Clarke <jrtc27@jrtc27.com>
18292 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18294 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18296 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
18299 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
18300 Build only shared objects.
18302 2018-01-26 Carlos O'Donell <carlos@redhat.com>
18304 * README: Update for hppa.
18306 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18308 * sysdeps/sparc/fpu/libm-test-ulps: Update
18309 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
18311 2018-01-26 Carlos O'Donell <carlos@redhat.com>
18315 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18318 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18319 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18320 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18321 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18324 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18327 * bits/types/__cancel_jmp_buf_tag.h: New file.
18328 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18329 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18330 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18331 * nptl/Makefile (headers): Add
18332 bits/types/__cancel_jmp_buf_tag.h.
18333 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18334 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18335 * sysdeps/nptl/pthread.h: Include
18336 <bits/types/__cancel_jmp_buf_tag.h>.
18337 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18339 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18341 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
18344 * localedata/locales/uk_UA (mon): Renamed to...
18346 (alt_digits): "0" removed and then renamed to...
18348 (date_fmt): Definition changed not to use the alternative
18351 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
18353 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
18354 FLAG_RISCV_FLOAT_ABI_DOUBLE.
18355 * elf/elf.h (EF_RISCV_RVC): New define.
18356 (EF_RISCV_FLOAT_ABI): Likewise.
18357 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
18358 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
18359 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
18360 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
18361 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
18363 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
18365 2018-01-25 Andreas Schwab <schwab@suse.de>
18367 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
18369 * sysdeps/gnu/configure: Regenerate.
18370 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
18371 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18373 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
18374 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
18375 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
18376 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
18377 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
18379 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
18381 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
18382 URL, and run autoconf, make it the default for now.
18384 2018-01-24 Joseph Myers <joseph@codesourcery.com>
18386 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18387 soft-float ColdFire configuration.
18389 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
18390 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
18391 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
18393 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
18396 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
18398 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
18400 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
18403 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
18404 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
18405 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
18408 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
18411 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
18412 Rename to __reserved and add comment.
18413 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
18414 Rename to __reserved.
18416 2018-01-24 Joseph Myers <joseph@codesourcery.com>
18418 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18419 i686-gnu configurations.
18420 (Context.run_builds): Include mig, gnumach and hurd in components
18422 (Context.checkout): Add mig, gnumach and hurd to components.
18423 (Context.checkout_tar): Add URL mappings for mig, gnumach and
18425 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
18426 (Config.build): Install gnumach headers, build mig and install
18427 hurd headers for 'gnu' OS.
18428 (Config.install_gnumach_headers): New function.
18429 (Config.install_hurd_headers): Likewise.
18430 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
18431 when building for 'gnu' OS.
18433 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
18435 * manual/tunables.texi (Hardware Capability Tunables): Fix
18438 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
18440 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
18441 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
18442 (ALTMON_11, ALTMON_12): Improve documentation.
18443 * manual/time.texi (strftime): Likewise.
18445 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18448 * localedata/locales/pl_PL: Alternative month names added,
18449 primary month names are genitive now.
18450 * time/tst-strptime.c (day_tests): Actually use a genitive case
18451 of a month name in Polish language.
18453 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18456 * manual/locale.texi: Document ALTMON_1..12 constants for
18457 nl_langinfo. Specify when to use ALTMON instead of MON.
18458 * manual/time.texi (strftime, strptime): Document GNU extension
18459 permitting O modifier with %B and %b. Specify when to use
18462 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18465 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
18466 names, define them as the same as abbreviated month names explicitly.
18467 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
18468 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
18469 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
18470 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
18471 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
18472 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
18473 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
18474 _NL_WABALTMON_12): New enum constants.
18475 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
18476 wab_alt_mon, and ab_alt_mon_defined members.
18477 (time_output): Output ab_alt_mon and wab_alt_mon members.
18478 (time_read): Read them, initialize them as copies of abmon and wabmon
18479 respectively if they are missing, initialize ab_alt_mon_defined.
18480 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
18481 * locale/programs/locfile-kw.h: Regenerate.
18482 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
18483 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
18485 * time/strftime_l.c (a_altmonth, aam_len): New macros.
18486 [!COMPILE_WIDE] (ABALTMON_1): New macro.
18487 (__strftime_internal): Handle %Ob and %Oh formats.
18488 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
18489 (__strptime_internal): Handle %Ob and %Oh formats.
18490 * time/tst-strptime.c (day_tests): Add more tests to parse different
18491 forms of month names including the new %Ob format specifier.
18493 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18496 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
18497 define them as the same as primary full month names explicitly.
18498 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
18499 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
18500 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
18501 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
18502 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
18503 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
18504 _NL_WALTMON_12): New enum constants.
18505 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
18506 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
18508 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
18509 walt_mon, and alt_mon_defined members.
18510 (time_output): Output alt_mon and walt_mon members.
18511 (time_read): Read them, initialize them as copies of mon and wmon
18512 respectively if they are missing, initialize alt_mon_defined.
18513 * locale/programs/locfile-kw.gperf (alt_mon): Define.
18514 * locale/programs/locfile-kw.h: Regenerate.
18515 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
18516 * localedata/tst-langinfo.c (map): Add tests for the new constants
18517 ALTMON_1 .. ALTMON_12.
18518 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
18520 * time/strftime_l.c (f_altmonth): New macro.
18521 (__strftime_internal): Handle %OB format.
18522 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
18523 (__strptime_internal): Handle %OB format.
18524 * time/tst-strptime.c (day_tests): Add tests to parse different forms
18525 of month names including the new %OB format specifier.
18527 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18530 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
18531 from ABORT_TRANSACTION.
18532 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
18533 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
18534 ABORT_TRANSACTION_IMPL): Likewise.
18535 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
18536 Linux code, but remove the code that aborts transactions.
18538 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18540 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
18542 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
18544 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
18545 in date: "2004-14-09" should be "2004-09-14".
18546 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
18547 "2003-15-09" should be "2003-09-15".
18549 2018-01-18 Arjun Shankar <arjun@redhat.com>
18555 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
18557 (_int_memalign): check for integer overflow before calling
18559 * malloc/tst-malloc-too-large.c: New test.
18560 * malloc/Makefile: Add tst-malloc-too-large.
18562 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
18564 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
18565 in date: "2017-24-07" should be "2017-07-24".
18566 * localedata/locales/mai_IN: Likewise.
18567 * localedata/locales/mai_NP: Likewise.
18569 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
18571 * po/ru.po: Update translations.
18573 2018-01-17 Joseph Myers <joseph@codesourcery.com>
18576 * sysdeps/hppa/backtrace.c: New file.
18578 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
18581 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
18582 align La_x86_64_retval to VEC_SIZE.
18584 2018-01-16 Joseph Myers <joseph@codesourcery.com>
18586 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
18587 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
18589 2018-01-16 Florian Weimer <fweimer@redhat.com>
18591 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
18592 Move tst-thread-exit-clobber ...
18593 [$(CXX)] (tests-unsupported): ... to here.
18595 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
18597 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
18598 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
18599 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
18600 (_dl_aarch64_cap_flags): Update.
18601 (_DL_HWCAP_COUNT): Update.
18603 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
18605 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
18606 (_DL_HWCAP_LAST): Remove.
18607 (_DL_HWCAP_COUNT): Move to ...
18608 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
18609 (_DL_HWCAP_COUNT): ... here.
18611 2018-01-16 Florian Weimer <fweimer@redhat.com>
18613 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
18614 mode with GNU extensions.
18616 2018-01-15 Alan Hayward <alan.hayward@arm.com>
18618 * elf/elf.h (NT_ARM_SVE): Define.
18620 2018-01-15 Florian Weimer <fweimer@redhat.com>
18623 * nptl/tst-minstack-throw.cc: New file.
18624 * nptl/Makefile (tests): Add tst-minstack-throw.
18625 (LDLIBS-tst-minstack-throw): Link with libstdc++.
18626 [!CXX] (tests-unsupported): Add tst-minstack-throw.
18628 2018-01-15 Joseph Myers <joseph@codesourcery.com>
18630 * scripts/build-many-glibcs.py (Context.checkout): Default
18631 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
18634 2018-01-13 Carlos O'Donell <carlos@redhat.com>
18637 * elf/elf.h (DF_1_STUB): Define.
18638 (DF_1_PIE): Define.
18640 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18643 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
18644 Do not add 0.5 to integer or out-of-range arguments.
18646 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
18648 * po/bg.po: Update translations.
18649 * po/cs.po: Likewise.
18650 * po/de.po: Likewise.
18651 * po/ko.po: Likewise.
18652 * po/pl.po: Likewise.
18653 * po/sv.po: Likewise.
18654 * po/uk.po: Likewise.
18655 * po/vi.po: Likewise.
18657 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18659 * aarch64/start.S (_start): Use __wrap_main.
18660 (__wrap_main): New local symbol.
18662 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
18666 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
18667 generic_getcwd if the path returned by getcwd syscall is not absolute.
18668 * io/tst-getcwd-abspath.c: New test.
18669 * io/Makefile (tests): Add tst-getcwd-abspath.
18671 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
18673 * malloc/malloc.c (malloc_consolidate): Add size check.
18675 2018-01-12 Florian Weimer <fweimer@redhat.com>
18677 * support/write_message.c (write_message): Preserve errno.
18678 * support/check.c (print_failure): Likewise.
18679 * support/support_test_verify_impl.c (support_test_verify_impl):
18681 * support/support_test_compare_failure.c
18682 (support_test_compare_failure): Likewise.
18684 2018-01-12 Florian Weimer <fweimer@redhat.com>
18687 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
18688 Prevent installation of libnsl.so.
18689 (libnsl-inhibit-o): Do not build (or install) static libraries.
18691 2018-01-12 Egmont Koblinger <egmont@gmail.com>
18694 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
18695 before the day number which may produce a double space.
18696 (date_fmt): Likewise.
18698 2018-01-12 Joseph Myers <joseph@codesourcery.com>
18700 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
18701 instead of fegetenv.
18703 2018-01-11 Joseph Myers <joseph@codesourcery.com>
18706 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
18707 comment to say exceptions are discarded.
18708 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
18710 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
18713 2018-01-11 Florian Weimer <fweimer@redhat.com>
18715 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
18718 2018-01-11 Florian Weimer <fweimer@redhat.com>
18721 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
18722 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
18724 2018-01-10 Joseph Myers <joseph@codesourcery.com>
18727 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
18728 negative arguments in test for NaN or infinity argument.
18730 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
18732 * po/libc.pot: Regenerate.
18734 2018-01-10 Florian Weimer <fweimer@redhat.com>
18737 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
18738 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
18740 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18742 * hurd/hurd/fd.h: Include <fcntl.h>
18743 (__hurd_at_flags): New function.
18744 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
18745 with call to __hurd_at_flags.
18746 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
18747 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
18749 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
18750 (__access_noerrno): Use __faccessat_common instead of access_common.
18751 (__access): Likewise.
18752 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
18753 with a call to __faccessat.
18754 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
18755 (__faccessat_common): ... this. Move implementation of __access into it when
18756 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
18757 reauthenticate_cwdir_at helper to implement AT mechanism.
18758 (__faccessat_noerrno): New function, just calls __faccessat_common.
18759 (__faccessat): New function, just calls __faccessat_common.
18760 (faccessat): Define weak alias.
18762 2018-01-10 Joseph Myers <joseph@codesourcery.com>
18765 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18766 (CFLAGS-s_fmaxmagl.c): New variable.
18767 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
18770 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
18771 long int for arguments of possibly overflowing addition or
18773 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18775 2018-01-09 Joseph Myers <joseph@codesourcery.com>
18778 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18779 (CFLAGS-e_remainderl.c): New variable.
18782 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
18784 (CFLAGS-s_cacoshl.c): Likewise.
18785 (CFLAGS-s_casinhl.c): Likewise.
18786 (CFLAGS-s_catanl.c): Likewise.
18787 (CFLAGS-s_catanhl.c): Likewise.
18788 (CFLAGS-s_cexpl.c): Likewise.
18789 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
18790 (CFLAGS-s_csinhl.c): Likewise.
18791 (CFLAGS-s_clogl.c): Likewise.
18792 (CFLAGS-s_clog10l.c): Likewise.
18793 (CFLAGS-s_csinl.c): Likewise.
18794 (CFLAGS-s_csqrtl.c): Likewise.
18796 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
18797 2017-01-09 Svante Signell <svante.signell@gmail.com>
18799 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
18800 (_hurd_exec_paths): New function.
18801 * hurd/hurd.h (_hurd_exec): Deprecate function.
18802 (_hurd_exec_paths): Declare function.
18803 * hurd/Versions: Export _hurd_exec_paths.
18804 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
18805 (__execve): Use __getcwd to build absolute path, and use
18806 _hurd_exec_paths instead of _hurd_exec.
18807 * sysdeps/mach/hurd/spawni.c: Likewise.
18808 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
18811 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
18813 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
18814 test instead of failing in case of ENOENT returned by posix_openpt.
18816 2018-01-08 Florian Weimer <fweimer@redhat.com>
18818 resolv: Support binary labels in test framework.
18819 * support/resolv_test.c (struct to_be_freed): Remove.
18820 (struct compressed_name): New.
18821 (allocate_compressed_name, ascii_tolower)
18822 (compare_compressed_name): New functions.
18823 (struct resolv_response_builder): Update type of
18824 compression_offsets for use with tsearch. Rempve to_be_freed.
18825 (response_push_pointer_to_free): Remove function.
18826 (resolv_response_add_name): Rewrite using struct compressed_name
18827 and tsearch instead of hsearch_r.
18828 (response_builder_allocate): Remove initialization of
18829 compression_offsets.
18830 (response_builder_free): Update for removal of to_be_freed. Use
18831 tdestroy instead of hdestroy_r.
18832 * resolv/Makefile (tests): Add tst-resolv-binary.
18833 (tst-resolv-binary): Link with -lresolv -lpthread.
18835 2018-01-08 Florian Weimer <fweimer@redhat.com>
18837 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
18838 time. Pass positive flag instead of negative flag to
18839 support_test_compare_failure.
18840 (support_test_compare_failure): Change negative parameter to
18842 * support/support_test_compare_failure.c (report)
18843 (support_test_compare_failure): Likewise.
18844 * support/tst-test_compare.c (return_ssize_t, return_int): New.
18845 (do_test): Check int/size_t, ssize_t/size_t comparisons.
18847 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
18850 * nptl/descr.h (stackblock, stackblock_size): Update comments.
18851 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
18852 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
18854 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
18856 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
18858 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18859 Add s_sincosf-sse2 and s_sincosf-fma.
18860 (CFLAGS-s_sincosf-fma.c): New.
18861 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
18862 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
18863 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
18864 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
18865 __sincosf is defined.
18867 2018-01-08 Florian Weimer <fweimer@redhat.com>
18869 * nptl/tst-thread-exit-clobber.cc: New file.
18870 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
18872 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
18873 (tests): Add tst-thread-exit-clobber.
18874 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
18876 2018-01-08 Florian Weimer <fweimer@redhat.com>
18878 * support/check.h (support_static_assert): Define.
18879 (TEST_COMPARE): Use it.
18881 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
18883 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
18884 [!__RLIM_T_MATCHES_RLIM64_T]
18885 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
18886 __getrlimit64. Add libc_hidden_weak.
18888 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
18890 * elf/elf.h (R_RISCV_NONE): New define.
18891 (R_RISCV_32): Likewise.
18892 (R_RISCV_64): Likewise.
18893 (R_RISCV_RELATIVE): Likewise.
18894 (R_RISCV_COPY): Likewise.
18895 (R_RISCV_JUMP_SLOT): Likewise.
18896 (R_RISCV_TLS_DTPMOD32): Likewise.
18897 (R_RISCV_TLS_DTPMOD64): Likewise.
18898 (R_RISCV_TLS_DTPREL32): Likewise.
18899 (R_RISCV_TLS_DTPREL64): Likewise.
18900 (R_RISCV_TLS_TPREL32): Likewise.
18901 (R_RISCV_TLS_TPREL64): Likewise.
18902 * Makerules (make-link-multidir): Make directories before linking into
18904 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
18906 (VDSO_HASH_LINUX_4_15): Likewise.
18907 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
18908 in subdirectories of lib.
18909 * nptl/Makefile (/librt.so): Always depend on
18910 "$(shared-thread-library)".
18912 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18914 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
18915 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
18916 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
18918 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
18919 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
18921 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
18922 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
18923 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
18924 * sysdeps/gnu/glob-lstat-compat.c: New file.
18925 * sysdeps/gnu/glob64-lstat-compat.c: New file.
18926 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
18928 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18930 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
18931 Reserve 16 chars to reloc_addr before calling _itoa_word.
18933 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18936 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
18937 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
18939 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
18940 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
18942 * resource/tst-getrlimit.c: Add copyright header.
18944 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18945 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18947 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18948 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
18949 Define __GI_getrlimit64 as weak alias of __getrlimit64.
18950 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
18952 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18953 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
18954 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
18955 RLIM64_INFINITY): Fix values to match the kernel ones.
18956 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
18957 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
18958 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
18959 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
18960 getrlimit64@@GLIBC_2_27.
18961 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
18963 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
18964 getrlimit, setrlimit, getrlimit64 and setrlimit64.
18965 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
18966 setrlimit, getrlimit64 and setrlimit64.
18968 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18971 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
18972 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
18974 2018-01-04 Joseph Myers <joseph@codesourcery.com>
18976 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
18977 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
18978 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
18980 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18984 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
18985 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
18989 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
18990 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
18991 * sysdeps/alpha/fpu/s_floor.c: Likewise.
18992 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
18994 2018-01-04 Florian Weimer <fweimer@redhat.com>
18997 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
18998 Align the stack before calling exit.
18999 * stdlib/tst-makecontext-align.c: New file.
19000 * stdlib/Makefile (tests): Add tst-makecontext-align.
19002 2018-01-04 Florian Weimer <fweimer@redhat.com>
19004 Add support for calling dlvsym from libc.so.
19005 * include/dlfcn.h (__libc_dlvsym): Declare.
19006 * elf/Makefile (tests-static-internal): Add
19007 tst-libc_dlvsym-static.
19008 (tests-internal): Add tst-libc_dlvsym.
19009 (modules-names): Add tst-libc_dlvsym-dso.
19010 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
19011 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
19012 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
19013 object tst-libc_dlvsym-dso.so needs to be built before running
19015 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
19016 * elf/Versions: Export __libc_dlvsym.
19017 * elf/dl-libc.c (struct do_dlvsym_args): New.
19018 (do_dlvsym, __libc_dlvsym): New functions.
19019 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
19020 (_dl_open_hook2): New variable.
19021 (__libc_register_dl_open_hook): Set it.
19022 * elf/tst-libc_dlvsym-dso.c: New file.
19023 * elf/tst-libc_dlvsym-static.c: Likewise.
19024 * elf/tst-libc_dlvsym.c: Likewise.
19025 * elf/tst-libc_dlvsym.h: Likewise.
19027 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19029 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
19030 include <sys/mount.h>.
19032 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
19034 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
19035 Add __NO_MATH_ERRNO__ check.
19037 2018-01-02 Joseph Myers <joseph@codesourcery.com>
19039 * sysdeps/mips/mips32/libm-test-ulps: Update.
19040 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19042 2018-01-02 Florian Weimer <fweimer@redhat.com>
19044 * misc/tst-pselect.c: Add copyright header.
19046 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
19048 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
19050 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
19052 (settrlimit): Rename into setrlimit.
19053 (__sttrlimit): Rename into __setrlimit.
19055 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
19056 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
19057 never defined in that case.
19059 2018-01-02 Joseph Myers <joseph@codesourcery.com>
19061 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
19063 * sysdeps/arm/libm-test-ulps: Update.
19065 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
19066 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
19068 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19070 * NEWS: Add cosf and sincosf to list of optimized functions.
19072 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
19075 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
19076 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
19077 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
19078 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
19080 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
19083 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
19085 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
19086 making a copy of it.
19088 2018-01-01 Joseph Myers <joseph@codesourcery.com>
19090 * manual/texinfo.tex: Update to version 2017-12-26.21 with
19091 trailing whitespace removed.
19092 * scripts/config.guess: Update to version 2018-01-01.
19093 * scripts/config.sub: Update to version 2018-01-01.
19094 * scripts/move-if-change: Update from gnulib.
19096 * NEWS: Update copyright dates.
19097 * catgets/gencat.c (print_version): Likewise.
19098 * csu/version.c (banner): Likewise.
19099 * debug/catchsegv.sh: Likewise.
19100 * debug/pcprofiledump.c (print_version): Likewise.
19101 * debug/xtrace.sh (do_version): Likewise.
19102 * elf/ldconfig.c (print_version): Likewise.
19103 * elf/ldd.bash.in: Likewise.
19104 * elf/pldd.c (print_version): Likewise.
19105 * elf/sotruss.sh: Likewise.
19106 * elf/sprof.c (print_version): Likewise.
19107 * iconv/iconv_prog.c (print_version): Likewise.
19108 * iconv/iconvconfig.c (print_version): Likewise.
19109 * locale/programs/locale.c (print_version): Likewise.
19110 * locale/programs/localedef.c (print_version): Likewise.
19111 * login/programs/pt_chown.c (print_version): Likewise.
19112 * malloc/memusage.sh (do_version): Likewise.
19113 * malloc/memusagestat.c (print_version): Likewise.
19114 * malloc/mtrace.pl: Likewise.
19115 * manual/libc.texinfo: Likewise.
19116 * nptl/version.c (banner): Likewise.
19117 * nscd/nscd.c (print_version): Likewise.
19118 * nss/getent.c (print_version): Likewise.
19119 * nss/makedb.c (print_version): Likewise.
19120 * posix/getconf.c (main): Likewise.
19121 * scripts/test-installation.pl: Likewise.
19122 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19124 * All files with FSF copyright notices: Update copyright dates
19125 using scripts/update-copyrights.
19126 * locale/programs/charmap-kw.h: Regenerated.
19127 * locale/programs/locfile-kw.h: Likewise.
19129 2017-12-31 Zack Weinberg <zackw@panix.com>
19131 * libio/bits/libio-ldbl.h: Correct check for improper
19132 inclusion. Add own multiple include guard.
19134 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
19135 Dmitry V. Levin <ldv@altlinux.org>
19139 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
19140 string token expansion. Check for NULL pointer or empty string possibly
19141 returned by expand_dynamic_string_token.
19142 (decompose_rpath): Check for empty path after dynamic string
19145 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
19148 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
19150 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
19151 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
19152 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
19153 and PTRACE_SYSCALL.
19154 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
19155 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19156 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19157 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19158 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19159 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19161 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
19162 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19163 __ptrace_peeksiginfo_flags, ptrace): Move to ...
19164 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
19165 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19166 bits/ptrace-shared.h.
19167 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
19168 <bits/ptrace-shared.h>.
19169 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19170 __ptrace_peeksiginfo_flags, ptrace): Remove.
19171 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19172 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19173 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19174 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19175 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19177 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19180 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
19181 end of the loop. Improve comments.
19183 2017-12-29 Zack Weinberg <zackw@panix.com>
19186 * manual/errno.texi (Checking for Errors): Explicitly say that errno
19187 might be set on success.
19189 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19192 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
19193 is unchanged on success.
19195 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
19197 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
19199 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
19200 expand_dynamic_string_token): Likewise.
19201 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
19204 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
19207 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
19208 is set and name contains ':', and all code depending on these checks.
19210 2017-12-24 Zack Weinberg <zackw@panix.com>
19212 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
19213 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
19215 * libio/libio.h: Rename the original version of this file to
19216 libio/bits/libio.h. Error out if not included by stdio.h or the
19218 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
19219 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
19220 if not included by bits/libio.h or the stub _G_config.h.
19221 * sysdeps/unix/sysv/linux/_G_config.h: Move to
19222 sysdeps/unix/sysv/linux/bits. Error out if not included by
19223 bits/libio.h or the stub _G_config.h.
19224 * libio/stdio.h: Include bits/libio.h, not libio.h.
19225 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
19226 well as libio.h and _G_config.h.
19228 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
19229 * libio/strfile.h, stdio-common/vfscanf.c
19230 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
19231 Include stdio.h, not _G_config.h nor libio.h.
19232 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
19233 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
19235 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
19237 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
19240 * stdlib/getrandom.c (getrandom): Fix comment.
19241 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
19243 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
19246 * manual/arith.texi (strtoul): Fix a typo.
19249 * manual/arith.texi (finite): Fix the description of the return
19252 2017-12-22 Eric Blake <ebb9@byu.net>
19254 Avoid gcc warnings on cygwin
19255 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
19256 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
19257 Avoid unused variable.
19259 2017-12-22 Florian Weimer <fweimer@redhat.com>
19261 * io/Makefile (routines): Add copy_file_range.
19262 (tests): Add tst-copy_file_range.
19263 (tests-static, tests-internal): Add tst-copy_file_range-compat.
19264 * io/Versions (GLIBC_2.27): Export copy_file_range.
19265 * io/copy_file_range-compat.c: New file.
19266 * io/copy_file_range.c: Likewise.
19267 * io/tst-copy_file_range-compat.c: Likewise.
19268 * io/tst-copy_file_range.c: Likewise.
19269 * manual/llio.texi (Copying File Data): New section.
19270 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
19271 * support/Makefile (libsupport-routines): Add support-xfstat,
19272 xftruncate, xlseek.
19273 * support/support-xfstat.c: New file.
19274 * support/xftruncate.c: Likewise.
19275 * support/xlseek.c: Likewise.
19276 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
19277 * sysdeps/unix/sysv/linux/**.abilist: Update.
19278 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
19280 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
19282 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19283 disable-multi-arch variant to aarch64-linux-gnu.
19285 2017-12-20 Joseph Myers <joseph@codesourcery.com>
19287 * manual/texinfo.tex: Update to version 2017-12-18.20 with
19288 trailing whitespace removed.
19289 * scripts/config.guess: Update to version 2017-12-17.
19290 * scripts/config.sub: Update to version 2017-11-23.
19291 * scripts/install-sh: Update to version 2017-09-23.17.
19292 * scripts/move-if-change: Update to version 2017-09-13 06:45.
19294 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19296 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
19297 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19298 * sysdeps/tile/_mcount.S (__mcount): Likewise.
19299 * sysdeps/tile/crti.S (_init, _fini): Likewise.
19300 * sysdeps/tile/crtn.S: Likewise.
19301 * sysdeps/tile/dl-start.S (_start): Likewise.
19302 * sysdeps/tile/dl-trampoline.S: Likewise.
19303 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
19304 * sysdeps/tile/start.S (_start): Likewise.
19305 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
19306 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
19307 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
19308 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
19309 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
19310 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
19311 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
19313 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
19315 * sysdeps/tile/preconfigure: Remove tilegx folder.
19316 * sysdeps/tile/tilegx/Implies: Move definitions to ...
19317 * sysdeps/tile/Implies: ... here.
19318 * sysdeps/tile/tilegx/Makefile: Move rules to ...
19319 * sysdeps/tile/Makefile: ... here.
19320 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
19321 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
19322 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
19323 * sysdeps/tile/bits/wordsize.h: ... here.
19324 * sysdeps/tile/tilegx/*: Move to ...
19325 * sysdeps/tile/*: ... here.
19326 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
19327 * sysdeps/tile/tilegx32/Implies: ... here.
19328 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
19329 * sysdeps/tile/tilegx64/Implies: ... here.
19330 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
19332 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
19333 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
19334 * sysdeps/unix/sysv/linux/tile/*: ... here.
19335 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
19336 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
19337 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
19338 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
19340 * README: Remove tilepro-*-linux-gnu from supported architecture.
19341 * scripts/build-many-glibcs.py: Likewise.
19342 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19343 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
19344 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
19345 elf_machine_matches_host, elf_machine_dynamic,
19346 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
19347 howto, elf_machine_rela): Likewise.
19348 * sysdeps/tile/dl-start.S (_start): Likewise.
19349 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
19350 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
19351 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
19352 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
19353 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
19354 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
19356 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
19357 * sysdeps/tile/preconfigure: Likewise.
19358 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
19359 POINTER_CHK_GUARD): Likewise.
19360 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
19361 * sysdeps/tile/start.S (_start): Likewise.
19362 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
19364 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
19365 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
19367 * sysdeps/unix/sysv/linux/tile/bits/environments.h
19368 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
19369 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
19371 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
19372 * sysdeps/tile/tilepro/Implies: Remove file.
19373 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
19374 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
19375 * sysdeps/tile/tilepro/memchr.c: Likewise.
19376 * sysdeps/tile/tilepro/memcpy.S: Likewise.
19377 * sysdeps/tile/tilepro/memset.c: Likewise.
19378 * sysdeps/tile/tilepro/memusage.h: Likewise.
19379 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
19380 * sysdeps/tile/tilepro/strchr.c: Likewise.
19381 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
19382 * sysdeps/tile/tilepro/strlen.c: Likewise.
19383 * sysdeps/tile/tilepro/strrchr.c: Likewise.
19384 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
19385 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
19386 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
19387 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
19388 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
19389 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
19391 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
19392 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19393 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
19394 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
19395 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19396 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
19397 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
19398 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
19399 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
19400 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
19401 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
19402 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
19403 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
19404 tilepro mention in comment.
19406 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
19407 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
19408 * nptl/pthread_join_common.c: New file: common function used on
19409 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
19410 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
19411 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
19412 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
19413 (cleanup): Move definition to pthread_join_common.c.
19414 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
19415 Remove superflous checks.
19416 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
19419 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
19421 * sysdeps/aarch64/libm-test-ulps: Update.
19423 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19425 * sysdeps/aarch64/memset.S (MEMSET): Define.
19427 2017-12-20 Florian Weimer <fweimer@redhat.com>
19430 nptl: Provide full implementation of pthread_self in libc.so.
19431 * nptl/Makefile (routines): Add pthread_self.
19432 (libpthread-routines): Replace pthread_self with
19433 compat-pthread_self.
19434 * nptl/forward.c (pthread_self): Remove.
19435 * nptl/nptl-init.c (pthread_functions): Do not initialize
19437 * nptl/pthread_self.c (pthread_self): Remove weak alias.
19438 * nptl/compat-pthread_self.c: New file.
19439 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
19440 Remove ptr_pthread_self.
19442 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
19444 * posix/regcomp.c: Fix spelling in comments.
19445 * posix/regex.h: Likewise.
19446 * posix/regex_internal.c: Likewise.
19447 * posix/regexec.c: Likewise.
19449 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
19452 * math/Makefile [C++] (tests): Add test for iseqsig.
19453 * math/math.h [C++] (iseqsig): New implementation, which does
19454 not rely on __MATH_TG/__builtin_types_compatible_p.
19455 * math/test-math-iseqsig.cc: New file.
19456 * sysdeps/powerpc/powerpc64le/Makefile
19457 (CFLAGS-test-math-iseqsig.cc): New variable.
19459 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
19461 * elf/dl-load.c (is_trusted_path): Remove.
19462 (fillin_rpath): Remove check_trusted argument and its use,
19463 all callers changed.
19465 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19468 * Makeconfig (link-pie-before-libc): Replace -pie with
19469 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
19470 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
19471 (tst-dlopen-aout-no-pie): New.
19472 (LDFLAGS-tst-prelink): Removed.
19473 (tst-prelink-no-pie): New.
19474 (LDFLAGS-tst-main1): Removed.
19475 (tst-main1-no-pie): New.
19476 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
19477 (tst-gmon-no-pie): New.
19479 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19481 * manual/install.texi: Document that --enable-static-pie
19483 * INSTALL: Regenerated.
19485 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
19488 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
19491 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19495 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19497 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19499 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19501 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19502 <errno.h>. Include "eexp.tbl".
19503 (half): New constant.
19505 (__ieee754_exp): Rewrite.
19506 (__slowexp): Remove prototype.
19507 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19508 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19509 * sysdeps/i386/fpu/slowexp.c: Likewise.
19510 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19511 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19512 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19513 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19514 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19515 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19516 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19518 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19519 (CPPFLAGS-slowexp.c): Remove variable.
19520 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19521 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
19522 (CFLAGS-slowexp-fma.c): Remove variable.
19523 (CFLAGS-slowexp-fma4.c): Likewise.
19524 (CFLAGS-slowexp-avx.c): Likewise.
19525 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
19527 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
19528 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
19529 * math/Makefile (type-double-routines): Remove slowexp.
19530 * manual/probes.texi (slowexp_p6): Remove.
19531 (slowexp_p32): Likewise.
19533 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19535 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
19538 * lib/glob.c (glob): Do not pass NULL to mempcpy.
19540 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19542 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19544 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19546 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19547 <errno.h>. Include "eexp.tbl".
19548 (half): New constant.
19550 (__ieee754_exp): Rewrite.
19551 (__slowexp): Remove prototype.
19552 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19553 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19554 * sysdeps/i386/fpu/slowexp.c: Likewise.
19555 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19556 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19557 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19558 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19559 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19560 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19561 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19563 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19564 (CPPFLAGS-slowexp.c): Remove variable.
19565 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19566 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
19567 (CFLAGS-slowexp-fma.c): Remove variable.
19568 (CFLAGS-slowexp-fma4.c): Likewise.
19569 (CFLAGS-slowexp-avx.c): Likewise.
19570 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
19572 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
19573 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
19574 * math/Makefile (type-double-routines): Remove slowexp.
19575 * manual/probes.texi (slowexp_p6): Remove.
19576 (slowexp_p32): Likewise.
19578 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19579 James Clarke <jrtc27@jrtc27.com>
19582 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
19585 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19588 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
19591 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19594 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19595 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19596 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19597 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19600 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19603 * bits/types/__cancel_jmp_buf_tag.h: New file.
19604 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19605 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19606 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19607 * nptl/Makefile (headers): Add
19608 bits/types/__cancel_jmp_buf_tag.h.
19609 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19610 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19611 * sysdeps/nptl/pthread.h: Include
19612 <bits/types/__cancel_jmp_buf_tag.h>.
19613 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19615 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19617 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
19619 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19620 --enable-static-pie variants to x86_64, x32 and i686.
19622 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19625 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
19626 argument for attrubutes. All callers changed.
19627 (__inline_mathop1): Likewise. All callers changed.
19628 (__inline_mathop): Likewise. All callers changed.
19629 [__USE_MISC] (scalbn): Use __inline_forward instead of
19630 __inline_forward_c.
19631 [__USE_ISOC99] (scalbln): Likewise.
19632 [__USE_ISOC99] (nearbyint): Likewise.
19633 [__USE_ISOC99] (lrint): Likewise.
19634 [__USE_MISC] (scalbnf): Likewise.
19635 [__USE_ISOC99] (scalblnf): Likewise.
19636 [__USE_ISOC99] (nearbyintf): Likewise.
19637 [__USE_ISOC99] (lrintf): Likewise.
19638 [__USE_MISC] (scalbnl): Likewise.
19639 [__USE_ISOC99] (scalblnl): Likewise.
19640 [__USE_ISOC99] (nearbyintl): Likewise.
19641 [__USE_ISOC99] (lrintl): Likewise.
19642 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
19643 __inline_mathop and __m81_defun changed.
19645 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
19646 CPU or FPU for ARM hard-float configurations.
19648 2017-12-18 Joseph Myers <joseph@codesourcery.com>
19650 * nptl/tst-attr3.c: Include <libc-diag.h>.
19651 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
19653 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
19655 * string/tester.c (test_strncat): Also disable -Warray-bounds
19656 warnings for two tests.
19658 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
19661 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
19662 $(cc-pie-default) == yes.
19663 * config.make.in (cc-pie-default): New.
19664 * configure.ac (libc_cv_pie_default): Renamed to ...
19665 (libc_cv_cc_pie_default): This.
19666 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
19667 * configure: Regenerated.
19669 2017-12-18 Florian Weimer <fweimer@redhat.com>
19672 ld.so: Harden dl-libc/libdl hooks.
19673 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
19674 (rtld_active): New function.
19675 * dlfcn/dladdr.c (__dladdr): Call it.
19676 * dlfcn/dladdr1.c (__dladdr1): Likewise.
19677 * dlfcn/dlclose.c (__dlcose): Likewise.
19678 * dlfcn/dlerror.c (__dlerror): Likewise.
19679 * dlfcn/dlinfo.c (__dlinfo): Likewise.
19680 * dlfcn/dlmopen.c (__dlmopen): Likewise.
19681 * dlfcn/dlopen.c (__dlopen): Likewise.
19682 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
19683 * dlfcn/dlsym.c (__dlsym): Likewise.
19684 * dlfcn/dlvsym.c (__dlvsym): Likewise.
19685 * libio/vtables.c (_IO_vtable_check): Likewise.
19686 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
19687 (__libc_dlclose): Likewise.
19688 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
19691 2017-12-18 Joseph Myers <joseph@codesourcery.com>
19694 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
19695 buffers for readlink input and output.
19697 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
19700 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
19701 inhibit_stack_protector.
19704 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
19705 inhibit_stack_protector.
19707 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
19710 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
19711 code and invocation.
19713 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
19715 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
19717 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
19720 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
19722 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19724 * sysdeps/s390/fpu/libm-test-ulps: Update.
19726 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19730 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19732 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
19733 constants to s_sincosf.h file.
19734 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19735 * sysdeps/ieee754/flt-32/s_sincosf.c: New
19737 * sysdeps/ieee754/flt-32/s_sincosf.h:
19740 2017-12-12 Carlos O'Donell <carlos@redhat.com>
19743 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
19746 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
19749 * INSTALL: Regenerated.
19750 * Makeconfig (real-static-start-installed-name): New.
19751 (pic-default): Updated for --enable-static-pie.
19752 (pie-default): New for --enable-static-pie.
19753 (default-pie-ldflag): Likewise.
19754 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
19755 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
19756 Replace $(static-start-installed-name) with
19757 $(real-static-start-installed-name).
19758 (+prectorT): Updated for --enable-static-pie.
19759 (+postctorT): Likewise.
19760 (CFLAGS-.o): Add $(pie-default).
19761 (CFLAGS-.op): Likewise.
19762 * NEWS: Mention --enable-static-pie.
19763 * config.h.in (ENABLE_STATIC_PIE): New.
19764 * configure.ac (--enable-static-pie): New configure option.
19765 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
19766 (have-static-pie): Likewise.
19767 Enable static PIE if linker supports --no-dynamic-linker.
19768 (ENABLE_STATIC_PIE): New AC_DEFINE.
19769 (enable-static-pie): New LIBC_CONFIG_VAR.
19770 * configure: Regenerated.
19771 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
19772 gr$(start-installed-name) for --enable-static-pie.
19773 (extra-objs): Likewise.
19774 (install-lib): Likewise.
19775 (extra-objs): Add static-reloc.o and static-reloc.os
19776 ($(objpfx)$(start-installed-name)): Also depend on
19777 $(objpfx)static-reloc.o.
19778 ($(objpfx)r$(start-installed-name)): New.
19779 ($(objpfx)g$(start-installed-name)): Also depend on
19780 $(objpfx)static-reloc.os.
19781 ($(objpfx)gr$(start-installed-name)): New.
19782 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
19784 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
19786 * csu/static-reloc.c: New file.
19787 * elf/Makefile (routines): Add dl-reloc-static-pie.
19788 (elide-routines.os): Likewise.
19789 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
19790 (tst-tls1-static-non-pie-no-pie): New.
19791 * elf/dl-reloc-static-pie.c: New file.
19792 * elf/dl-support.c (_dl_get_dl_main_map): New function.
19793 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
19794 STATIC_PIE_BOOTSTRAP.
19795 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
19796 * gmon/Makefile (tests): Add tst-gmon-static-pie.
19797 (tests-static): Likewise.
19798 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
19799 (tst-gmon-static-no-pie): New.
19800 (CFLAGS-tst-gmon-static-pie.c): Likewise.
19801 (CRT-tst-gmon-static-pie): Likewise.
19802 (tst-gmon-static-pie-ENV): Likewise.
19803 (tests-special): Likewise.
19804 ($(objpfx)tst-gmon-static-pie.out): Likewise.
19805 (clean-tst-gmon-static-pie-data): Likewise.
19806 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
19807 * gmon/tst-gmon-static-pie.c: New file.
19808 * manual/install.texi: Document --enable-static-pie.
19809 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
19810 (_dl_get_dl_main_map): Likewise.
19811 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
19812 * sysdeps/x86_64/configure.ac: Likewise.
19813 * sysdeps/i386/configure: Regenerated.
19814 * sysdeps/x86_64/configure: Likewise.
19815 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
19816 (ASFLAGS-.op): Likewise.
19818 2017-12-15 Joseph Myers <joseph@codesourcery.com>
19820 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
19821 * posix/tst-mmap-offset.c (fname): Use /tmp.
19822 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
19824 2017-12-15 Steve Ellcey <sellcey@cavium.com>
19826 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
19828 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
19830 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
19833 2017-12-15 Joseph Myers <joseph@codesourcery.com>
19835 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
19836 --with-float=hard for arm-linux-gnueabihf configurations.
19839 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
19840 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
19841 ($(mo-installed)): Use $(objpfx)%.mo.
19842 (realclean): Remove rule.
19844 * po/Makefile (linguas): Remove rule and dependencies.
19845 (linguas.mo): Likewise.
19846 (.PHONY): Do not depend on linguas and linguas.mo.
19847 (podir): Remove variable.
19848 (pofiles): Likewise.
19849 [$(pofiles)] (%.po): Remove rule.
19851 * sysdeps/sparc/sparc32/Makefile
19852 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
19853 start-of-line whitespace in argument of echo.
19854 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
19855 with whitespace. Generate __wrap_.udiv alias.
19856 * sysdeps/sparc/sparc32/rem.S: Regenerated.
19857 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19858 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19859 * sysdeps/sparc/sparc32/urem.S: Likewise.
19861 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19863 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
19864 for aligned inputs.
19866 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
19868 * benchtests/bench-strcmp.c: Print output in JSON format.
19870 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
19872 2017-12-14 Florian Weimer <fweimer@redhat.com>
19876 * elf/dl-load.c (_dl_init_paths): Compute number of components in
19877 the expanded path string.
19879 2017-12-14 Florian Weimer <fweimer@redhat.com>
19883 * elf/dl-load.c (system_dirs): Update comment.
19884 (nsystem_dirs_len): Use array_length.
19885 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
19887 2017-12-14 Florian Weimer <fweimer@redhat.com>
19889 Simplify compiling most of support/ outside of glibc.
19890 * support/check_addrinfo.c: Include <string.h>.
19891 * support/check_dns_packet.c: Likewise.
19892 * support/check_hostent.c: Likewise.
19893 * support/support_can_chroot.c: Include <support/xunistd.h>.
19894 * support/support_format_addrinfo.c: Include <stdlib.h>
19895 * support/support_format_dns_packet.c: Include <stdbool.h>.
19896 * support/support_format_hostent.c: Include <stdlib.h>.
19897 * support/support_format_netent.c: Likewise.
19898 * support/support_write_string.c: Include <support/xunistd.h>.
19899 * support/xdlfcn.c: Include <stddef.h>.
19901 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
19903 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
19905 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19906 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19908 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19909 (sysdeps_routines): Add memset-niagara7.
19910 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
19912 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
19914 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
19915 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19916 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
19917 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
19918 Add niagara7 option.
19919 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
19922 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19923 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
19924 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
19926 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
19928 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
19929 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
19930 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19931 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
19932 and __memmove_niagara7.
19933 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
19934 Add niagara7 option.
19935 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
19936 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
19937 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
19938 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
19939 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
19941 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
19943 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
19944 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
19945 * sysdeps/sparc/sparc64/memmove.S: Likewise.
19946 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
19948 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
19949 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
19950 _dl_sparc_cap_flags array.
19951 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
19953 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
19955 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
19956 time whenever possible.
19958 2017-12-12 Carlos O'Donell <carlos@redhat.com>
19960 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
19961 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
19963 2017-12-12 Joseph Myers <joseph@codesourcery.com>
19965 * soft-fp/fmadf4.c: Move to ....
19966 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
19967 * soft-fp/fmasf4.c: Move to ....
19968 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
19969 * soft-fp/fmatf4.c: Move to ....
19970 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
19971 * sysdeps/ieee754/soft-fp/Makefile: New file.
19972 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
19973 * sysdeps/arm/preconfigure: Regenerated.
19974 * sysdeps/arm/nofpu/Implies: New file.
19975 * sysdeps/arm/s_fma.c: Remove file.
19976 * sysdeps/arm/s_fmaf.c: Likewise.
19977 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
19978 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
19979 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
19980 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
19981 * sysdeps/microblaze/s_fma.c: Remove file.
19982 * sysdeps/microblaze/s_fmaf.c: Likewise.
19983 * sysdeps/mips/mips32/nofpu/Implies: New file.
19984 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
19985 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
19986 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
19987 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
19988 * sysdeps/mips/ieee754/s_fma.c: Remove file.
19989 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
19990 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
19992 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
19993 * sysdeps/nios2/s_fma.c: Remove file.
19994 * sysdeps/nios2/s_fmaf.c: Likewise.
19995 * sysdeps/sh/nofpu/Implies: New file.
19996 * sysdeps/sh/s_fma.c: Remove file.
19997 * sysdeps/sh/s_fmaf.c: Likewise.
19998 * sysdeps/tile/Implies: Add ieee754/soft-fp.
19999 * sysdeps/tile/s_fma.c: Remove file.
20000 * sysdeps/tile/s_fmaf.c: Likewise.
20002 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
20004 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20005 Add s_cosf-sse2 and s_cosf-fma.
20006 (CFLAGS-s_cosf-fma.c): New.
20007 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
20008 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
20009 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
20011 2017-12-12 Steve Ellcey <sellcey@cavium.com>
20013 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
20015 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20017 * libio/Makefile (tests): Add tst-bz22415.
20018 (tst-bz22415-ENV): New rule.
20019 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
20020 (tests-special): Add tst-bz22415-mem.out.
20021 ($(objpfx)tst-bz22415-mem.out): New rule.
20022 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
20023 in case of a successful seek operation.
20024 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20025 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
20026 buffer is required.
20027 * libio/tst-bz22415.c: New test.
20029 * sysdeps/ia64/fpu/libm-test-ulps: Update.
20031 2017-12-12 James Clarke <jrtc27@jrtc27.com>
20033 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
20034 __IPC_64 to 0 to avoid IPC_64 being set.
20036 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20039 * math/bits/mathcalls.h (nextafter): Remove const.
20040 (nexttoward): Likewise.
20042 2017-12-12 Joseph Myers <joseph@codesourcery.com>
20044 * configure.ac (--with-fp): Remove configure option.
20045 (with_fp_cond): New variable.
20046 (libc_cv_with_fp): New configure test. Use this variable instead
20048 * configure: Regenerated.
20049 * config.make.in (with-fp): Use @libc_cv_with_fp@.
20050 * manual/install.texi (Configuring and compiling): Remove
20052 * INSTALL: Regenerated.
20053 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
20054 * sysdeps/mips/preconfigure (with_fp_cond): Define.
20055 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
20056 * sysdeps/sh/preconfigure (with_fp_cond): Define.
20057 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
20058 use --without-fp to configure glibc.
20060 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
20062 * manual/locale.texi (nl_langinfo): Fix a typo.
20064 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
20067 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
20069 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20071 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
20072 (CFLAGS-argp-parse.c): Likewise.
20073 (CFLAGS-argp-fmtstream.c): Likewise.
20074 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
20075 (CPPFLAGS-sha512-crypt.c): Likewise.
20076 (CPPFLAGS-md5-crypt.c): Likewise.
20077 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
20078 (CFLAGS-stack_chk_fail_local.c): Likewise.
20079 (CFLAGS-backtrace.c): Likewise.
20080 (CFLAGS-sprintf_chk.c): Likewise.
20081 (CFLAGS-snprintf_chk.c): Likewise.
20082 (CFLAGS-vsprintf_chk.c): Likewise.
20083 (CFLAGS-vsnprintf_chk.c): Likewise.
20084 (CFLAGS-asprintf_chk.c): Likewise.
20085 (CFLAGS-vasprintf_chk.c): Likewise.
20086 (CFLAGS-obprintf_chk.c): Likewise.
20087 (CFLAGS-dprintf_chk.c): Likewise.
20088 (CFLAGS-vdprintf_chk.c): Likewise.
20089 (CFLAGS-printf_chk.c): Likewise.
20090 (CFLAGS-fprintf_chk.c): Likewise.
20091 (CFLAGS-vprintf_chk.c): Likewise.
20092 (CFLAGS-vfprintf_chk.c): Likewise.
20093 (CFLAGS-gets_chk.c): Likewise.
20094 (CFLAGS-fgets_chk.c): Likewise.
20095 (CFLAGS-fgets_u_chk.c): Likewise.
20096 (CFLAGS-fread_chk.c): Likewise.
20097 (CFLAGS-fread_u_chk.c): Likewise.
20098 (CFLAGS-swprintf_chk.c): Likewise.
20099 (CFLAGS-vswprintf_chk.c): Likewise.
20100 (CFLAGS-wprintf_chk.c): Likewise.
20101 (CFLAGS-fwprintf_chk.c): Likewise.
20102 (CFLAGS-vwprintf_chk.c): Likewise.
20103 (CFLAGS-vfwprintf_chk.c): Likewise.
20104 (CFLAGS-fgetws_chk.c): Likewise.
20105 (CFLAGS-fgetws_u_chk.c): Likewise.
20106 (CFLAGS-read_chk.c): Likewise.
20107 (CFLAGS-pread_chk.c): Likewise.
20108 (CFLAGS-pread64_chk.c): Likewise.
20109 (CFLAGS-recv_chk.c): Likewise.
20110 (CFLAGS-recvfrom_chk.c): Likewise.
20111 (CFLAGS-tst-longjmp_chk.c): Likewise.
20112 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
20113 (CFLAGS-tst-longjmp_chk2.c): Likewise.
20114 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
20115 (CFLAGS-tst-longjmp_chk3.c): Likewise.
20116 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
20117 (CFLAGS-tst-chk1.c): Likewise.
20118 (CFLAGS-tst-chk2.c): Likewise.
20119 (CFLAGS-tst-chk3.c): Likewise.
20120 (CFLAGS-tst-chk4.cc): Likewise.
20121 (CFLAGS-tst-chk5.cc): Likewise.
20122 (CFLAGS-tst-chk6.cc): Likewise.
20123 (CFLAGS-tst-lfschk1.c): Likewise.
20124 (CFLAGS-tst-lfschk2.c): Likewise.
20125 (CFLAGS-tst-lfschk3.c): Likewise.
20126 (CFLAGS-tst-lfschk4.cc): Likewise.
20127 (CFLAGS-tst-lfschk5.cc): Likewise.
20128 (CFLAGS-tst-lfschk6.cc): Likewise.
20129 (CFLAGS-tst-ssp-1.c): Likewise.
20130 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
20131 (CFLAGS-scandir64.c): Likewise.
20132 (CFLAGS-scandir-tail.c): Likewise.
20133 (CFLAGS-scandir64-tail.c): Likewise.
20134 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
20135 (CFLAGS-dl-tunables.c): Likewise.
20136 (CFLAGS-dl-runtime.c): Likewise.
20137 (CFLAGS-dl-lookup.c): Likewise.
20138 (CFLAGS-dl-iterate-phdr.c): Likewise.
20139 (CFLAGS-vismain.c): Likewise.
20140 (CFLAGS-tst-linkall-static.c): Likewise.
20141 (CFLAGS-tst-linkall-static.c): Likewise.
20142 (CPPFLAGS-dl-load.c): Likewise.
20143 (CFLAGS-ldconfig.c): Likewise.
20144 (CFLAGS-dl-cache.c): Likewise.
20145 (CFLAGS-cache.c): Likewise.
20146 (CFLAGS-rtld.c): Likewise.
20147 (CFLAGS-multiload.c): Likewise.
20148 (CFLAGS-filtmod1.c): Likewise.
20149 (CFLAGS-tst-align.c): Likewise.
20150 (CFLAGS-tst-align2.c): Likewise.
20151 (CFLAGS-tst-alignmod.c): Likewise.
20152 (CFLAGS-tst-alignmod2.c): Likewise.
20153 (CPPFLAGS-tst-execstack.c): Likewise.
20154 (CFLAGS-tst-ptrguard1-static.c): Likewise.
20155 (CFLAGS-tst-latepthreadmod.c): Likewise.
20156 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
20157 (CFLAGS-getgrnam_r.c): Likewise.
20158 (CFLAGS-getgrent_r.c): Likewise.
20159 (CFLAGS-getgrent.c): Likewise.
20160 (CFLAGS-fgetgrent.c): Likewise.
20161 (CFLAGS-fgetgrent_r.c): Likewise.
20162 (CFLAGS-putgrent.c): Likewise.
20163 (CFLAGS-initgroups.c): Likewise.
20164 (CFLAGS-getgrgid.c): Likewise.
20165 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
20166 (CFLAGS-getsgent.c): Likewise.
20167 (CFLAGS-fgetsgent.c): Likewise.
20168 (CFLAGS-fgetsgent_r.c): Likewise.
20169 (CFLAGS-putsgent.c): Likewise.
20170 (CFLAGS-getsgnam.c): Likewise.
20171 (CFLAGS-getsgnam_r.c): Likewise.
20172 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
20173 (CFLAGS-iconv_charmap.c): Likewise.
20174 (CFLAGS-dummy-repertoire.c): Likewise.
20175 (CFLAGS-charmap.c): Likewise.
20176 (CFLAGS-linereader.c): Likewise.
20177 (CFLAGS-simple-hash.c): Likewise.
20178 (CFLAGS-gconv_conf.c): Likewise.
20179 (CFLAGS-iconvconfig.c): Likewise.
20180 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20181 (CFLAGS-gethstbyad.c): Likewise.
20182 (CFLAGS-gethstbynm_r.c): Likewise.
20183 (CFLAGS-gethstbynm.c): Likewise.
20184 (CFLAGS-gethstbynm2_r.c): Likewise.
20185 (CFLAGS-gethstbynm2.c): Likewise.
20186 (CFLAGS-gethstent_r.c): Likewise.
20187 (CFLAGS-gethstent.c): Likewise.
20188 (CFLAGS-rcmd.c): Likewise.
20189 (CFLAGS-getnetbynm_r.c): Likewise.
20190 (CFLAGS-getnetbynm.c): Likewise.
20191 (CFLAGS-getnetbyad_r.c): Likewise.
20192 (CFLAGS-getnetbyad.c): Likewise.
20193 (CFLAGS-getnetent_r.c): Likewise.
20194 (CFLAGS-getnetent.c): Likewise.
20195 (CFLAGS-getaliasent_r.c): Likewise.
20196 (CFLAGS-getaliasent.c): Likewise.
20197 (CFLAGS-getrpcent_r.c): Likewise.
20198 (CFLAGS-getrpcent.c): Likewise.
20199 (CFLAGS-getservent_r.c): Likewise.
20200 (CFLAGS-getservent.c): Likewise.
20201 (CFLAGS-getprtent_r.c): Likewise.
20202 (CFLAGS-getprtent.c): Likewise.
20203 (CFLAGS-either_ntoh.c): Likewise.
20204 (CFLAGS-either_hton.c): Likewise.
20205 (CFLAGS-getnetgrent.c): Likewise.
20206 (CFLAGS-getnetgrent_r.c): Likewise.
20207 (CFLAGS-tst-checks-posix.c): Likewise.
20208 (CFLAGS-tst-sockaddr.c): Likewise.
20209 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
20210 (CFLAGS-tst-translit.c): Likewise.
20211 (CFLAGS-tst-gettext2.c): Likewise.
20212 (CFLAGS-tst-codeset.c): Likewise.
20213 (CFLAGS-tst-gettext3.c): Likewise.
20214 (CFLAGS-tst-gettext4.c): Likewise.
20215 (CFLAGS-tst-gettext5.c): Likewise.
20216 (CFLAGS-tst-gettext6.c): Likewise.
20217 * io/Makefile (CFLAGS-open.c): Likewise.
20218 (CFLAGS-open64.c): Likewise.
20219 (CFLAGS-creat.c): Likewise.
20220 (CFLAGS-creat64.c): Likewise.
20221 (CFLAGS-fcntl.c): Likewise.
20222 (CFLAGS-poll.c): Likewise.
20223 (CFLAGS-ppoll.c): Likewise.
20224 (CFLAGS-lockf.c): Likewise.
20225 (CFLAGS-statfs.c): Likewise.
20226 (CFLAGS-fstatfs.c): Likewise.
20227 (CFLAGS-statvfs.c): Likewise.
20228 (CFLAGS-fstatvfs.c): Likewise.
20229 (CFLAGS-fts.c): Likewise.
20230 (CFLAGS-fts64.c): Likewise.
20231 (CFLAGS-ftw.c): Likewise.
20232 (CFLAGS-ftw64.c): Likewise.
20233 (CFLAGS-lockf.c): Likewise.
20234 (CFLAGS-posix_fallocate.c): Likewise.
20235 (CFLAGS-posix_fallocate64.c): Likewise.
20236 (CFLAGS-fallocate.c): Likewise.
20237 (CFLAGS-fallocate64.c): Likewise.
20238 (CFLAGS-read.c): Likewise.
20239 (CFLAGS-write.c): Likewise.
20240 (CFLAGS-test-stat.c): Likewise.
20241 (CFLAGS-test-lfs.c): Likewise.
20242 * libio/Makefile (CFLAGS-fileops.c): Likewise.
20243 (CFLAGS-fputc.c): Likewise.
20244 (CFLAGS-fputwc.c): Likewise.
20245 (CFLAGS-freopen64.c): Likewise.
20246 (CFLAGS-freopen.c): Likewise.
20247 (CFLAGS-fseek.c): Likewise.
20248 (CFLAGS-fseeko64.c): Likewise.
20249 (CFLAGS-fseeko.c): Likewise.
20250 (CFLAGS-ftello64.c): Likewise.
20251 (CFLAGS-ftello.c): Likewise.
20252 (CFLAGS-fwide.c): Likewise.
20253 (CFLAGS-genops.c): Likewise.
20254 (CFLAGS-getc.c): Likewise.
20255 (CFLAGS-getchar.c): Likewise.
20256 (CFLAGS-getwc.c): Likewise.
20257 (CFLAGS-getwchar.c): Likewise.
20258 (CFLAGS-iofclose.c): Likewise.
20259 (CFLAGS-iofflush.c): Likewise.
20260 (CFLAGS-iofgetpos64.c): Likewise.
20261 (CFLAGS-iofgetpos.c): Likewise.
20262 (CFLAGS-iofgets.c): Likewise.
20263 (CFLAGS-iofgetws.c): Likewise.
20264 (CFLAGS-iofputs.c): Likewise.
20265 (CFLAGS-iofputws.c): Likewise.
20266 (CFLAGS-iofread.c): Likewise.
20267 (CFLAGS-iofsetpos64.c): Likewise.
20268 (CFLAGS-iofsetpos.c): Likewise.
20269 (CFLAGS-ioftell.c): Likewise.
20270 (CFLAGS-iofwrite.c): Likewise.
20271 (CFLAGS-iogetdelim.c): Likewise.
20272 (CFLAGS-iogetline.c): Likewise.
20273 (CFLAGS-iogets.c): Likewise.
20274 (CFLAGS-iogetwline.c): Likewise.
20275 (CFLAGS-ioputs.c): Likewise.
20276 (CFLAGS-ioseekoff.c): Likewise.
20277 (CFLAGS-ioseekpos.c): Likewise.
20278 (CFLAGS-iosetbuffer.c): Likewise.
20279 (CFLAGS-iosetvbuf.c): Likewise.
20280 (CFLAGS-ioungetc.c): Likewise.
20281 (CFLAGS-ioungetwc.c): Likewise.
20282 (CFLAGS-oldfileops.c): Likewise.
20283 (CFLAGS-oldiofclose.c): Likewise.
20284 (CFLAGS-oldiofgetpos64.c): Likewise.
20285 (CFLAGS-oldiofgetpos.c): Likewise.
20286 (CFLAGS-oldiofsetpos64.c): Likewise.
20287 (CFLAGS-oldiofsetpos.c): Likewise.
20288 (CFLAGS-peekc.c): Likewise.
20289 (CFLAGS-putc.c): Likewise.
20290 (CFLAGS-putchar.c): Likewise.
20291 (CFLAGS-putwc.c): Likewise.
20292 (CFLAGS-putwchar.c): Likewise.
20293 (CFLAGS-rewind.c): Likewise.
20294 (CFLAGS-wfileops.c): Likewise.
20295 (CFLAGS-wgenops.c): Likewise.
20296 (CFLAGS-oldiofopen.c): Likewise.
20297 (CFLAGS-iofopen.c): Likewise.
20298 (CFLAGS-iofopen64.c): Likewise.
20299 (CFLAGS-oldtmpfile.c): Likewise.
20300 (CFLAGS-tst_putwc.c): Likewise.
20301 * locale/Makefile (CFLAGS-md5.c): Likewise.
20302 (CFLAGS-charmap.c): Likewise.
20303 (CFLAGS-locfile.c): Likewise.
20304 (CFLAGS-charmap-dir.c): Likewise.
20305 * login/Makefile (CFLAGS-grantpt.c): Likewise.
20306 (CFLAGS-getpt.c): Likewise.
20307 (CFLAGS-pt_chown.c): Likewise.
20308 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
20309 (CFLAGS-obstack.c): Likewise.
20310 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
20311 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
20312 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
20313 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
20314 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
20315 (CFLAGS-test-tgmath.c): Likewise.
20316 (CFLAGS-test-tgmath2.c): Likewise.
20317 (CFLAGS-test-tgmath-ret.c): Likewise.
20318 (CFLAGS-test-powl.c): Likewise.
20319 (CFLAGS-test-snan.c): Likewise.
20320 (CFLAGS-test-signgam-finite.c): Likewise.
20321 (CFLAGS-test-signgam-finite-c99.c): Likewise.
20322 (CFLAGS-test-signgam-finite-c11.c): Likewise.
20323 (CFLAGS-test-signgam-uchar.c): Likewise.
20324 (CFLAGS-test-signgam-uchar-init.c): Likewise.
20325 (CFLAGS-test-signgam-uchar-static.c): Likewise.
20326 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
20327 (CFLAGS-test-signgam-uint.c): Likewise.
20328 (CFLAGS-test-signgam-uint-init.c): Likewise.
20329 (CFLAGS-test-signgam-uint-static.c): Likewise.
20330 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
20331 (CFLAGS-test-signgam-ullong.c): Likewise.
20332 (CFLAGS-test-signgam-ullong-init.c): Likewise.
20333 (CFLAGS-test-signgam-ullong-static.c): Likewise.
20334 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
20335 (CFLAGS-test-math-cxx11.cc): Likewise.
20336 (CFLAGS-test-math-isinff.cc): Likewise.
20337 (CFLAGS-test-math-iszero.cc): Likewise.
20338 (CFLAGS-test-math-issignaling.cc): Likewise.
20339 (CFLAGS-test-math-iscanonical.cc): Likewise.
20340 (CFLAGS-test-iszero-excess-precision.c): Likewise.
20341 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
20342 (CFLAGS-test-flt-eval-method.c): Likewise.
20343 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
20344 (CFLAGS-test-finite-macros.c): Likewise.
20345 * misc/Makefile (CFLAGS-select.c): Likewise.
20346 (CFLAGS-tsearch.c): Likewise.
20347 (CFLAGS-lsearch.c): Likewise.
20348 (CFLAGS-pselect.c): Likewise.
20349 (CFLAGS-readv.c): Likewise.
20350 (CFLAGS-writev.c): Likewise.
20351 (CFLAGS-preadv.c): Likewise.
20352 (CFLAGS-preadv64.c): Likewise.
20353 (CFLAGS-pwritev.c): Likewise.
20354 (CFLAGS-pwritev64.c): Likewise.
20355 (CFLAGS-preadv2.c): Likewise.
20356 (CFLAGS-preadv64v2.c): Likewise.
20357 (CFLAGS-pwritev2.c): Likewise.
20358 (CFLAGS-pwritev64v2.c): Likewise.
20359 (CFLAGS-usleep.c): Likewise.
20360 (CFLAGS-syslog.c): Likewise.
20361 (CFLAGS-error.c): Likewise.
20362 (CFLAGS-getpass.c): Likewise.
20363 (CFLAGS-mkstemp.c): Likewise.
20364 (CFLAGS-mkstemp64.c): Likewise.
20365 (CFLAGS-getsysstats.c): Likewise.
20366 (CFLAGS-getusershell.c): Likewise.
20367 (CFLAGS-err.c): Likewise.
20368 (CFLAGS-tst-tsearch.c): Likewise.
20369 (CFLAGS-msync.c): Likewise.
20370 (CFLAGS-fdatasync.c): Likewise.
20371 (CFLAGS-fsync.c): Likewise.
20372 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
20373 (CFLAGS-unwind.c): Likewise.
20374 (CFLAGS-unwind-forcedunwind.c): Likewise.
20375 (CFLAGS-pthread_cancel.c): Likewise.
20376 (CFLAGS-pthread_setcancelstate.c): Likewise.
20377 (CFLAGS-pthread_setcanceltype.c): Likewise.
20378 (CFLAGS-cancellation.c): Likewise.
20379 (CFLAGS-libc-cancellation.c): Likewise.
20380 (CFLAGS-pthread_exit.c): Likewise.
20381 (CFLAGS-forward.c): Likewise.
20382 (CFLAGS-pthread_testcancel.c): Likewise.
20383 (CFLAGS-pthread_join.c): Likewise.
20384 (CFLAGS-pthread_timedjoin.c): Likewise.
20385 (CFLAGS-pthread_once.c): Likewise.
20386 (CFLAGS-pthread_cond_wait.c): Likewise.
20387 (CFLAGS-sem_wait.c): Likewise.
20388 (CFLAGS-sem_timedwait.c): Likewise.
20389 (CFLAGS-fcntl.c): Likewise.
20390 (CFLAGS-lockf.c): Likewise.
20391 (CFLAGS-pread.c): Likewise.
20392 (CFLAGS-pread64.c): Likewise.
20393 (CFLAGS-pwrite.c): Likewise.
20394 (CFLAGS-pwrite64.c): Likewise.
20395 (CFLAGS-wait.c): Likewise.
20396 (CFLAGS-waitpid.c): Likewise.
20397 (CFLAGS-sigwait.c): Likewise.
20398 (CFLAGS-msgrcv.c): Likewise.
20399 (CFLAGS-msgsnd.c): Likewise.
20400 (CFLAGS-tcdrain.c): Likewise.
20401 (CFLAGS-open.c): Likewise.
20402 (CFLAGS-open64.c): Likewise.
20403 (CFLAGS-pause.c): Likewise.
20404 (CFLAGS-recv.c): Likewise.
20405 (CFLAGS-send.c): Likewise.
20406 (CFLAGS-accept.c): Likewise.
20407 (CFLAGS-sendto.c): Likewise.
20408 (CFLAGS-connect.c): Likewise.
20409 (CFLAGS-recvfrom.c): Likewise.
20410 (CFLAGS-recvmsg.c): Likewise.
20411 (CFLAGS-sendmsg.c): Likewise.
20412 (CFLAGS-close.c): Likewise.
20413 (CFLAGS-read.c): Likewise.
20414 (CFLAGS-write.c): Likewise.
20415 (CFLAGS-nanosleep.c): Likewise.
20416 (CFLAGS-sigsuspend.c): Likewise.
20417 (CFLAGS-msync.c): Likewise.
20418 (CFLAGS-fdatasync.c): Likewise.
20419 (CFLAGS-fsync.c): Likewise.
20420 (CFLAGS-pt-system.c): Likewise.
20421 (CFLAGS-tst-cleanup2.c): Likewise.
20422 (CFLAGS-tst-cleanupx2.c): Likewise.
20423 (CFLAGS-flockfile.c): Likewise.
20424 (CFLAGS-ftrylockfile.c): Likewise.
20425 (CFLAGS-funlockfile.c): Likewise.
20426 (CFLAGS-tst-initializers1.c): Likewise.
20427 (CFLAGS-tst-initializers1-c89.c): Likewise.
20428 (CFLAGS-tst-initializers1-c99.c): Likewise.
20429 (CFLAGS-tst-initializers1-c11.c): Likewise.
20430 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
20431 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
20432 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
20433 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
20434 (CFLAGS-nscd_getgr_r.c): Likewise.
20435 (CFLAGS-nscd_gethst_r.c): Likewise.
20436 (CFLAGS-nscd_getai.c): Likewise.
20437 (CFLAGS-nscd_initgroups.c): Likewise.
20438 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
20439 (CFLAGS-pause.c): Likewise.
20440 (CFLAGS-pread.c): Likewise.
20441 (CFLAGS-pread64.c): Likewise.
20442 (CFLAGS-pwrite.c): Likewise.
20443 (CFLAGS-pwrite64.c): Likewise.
20444 (CFLAGS-sleep.c): Likewise.
20445 (CFLAGS-wait.c): Likewise.
20446 (CFLAGS-waitid.c): Likewise.
20447 (CFLAGS-waitpid.c): Likewise.
20448 (CFLAGS-getopt.c): Likewise.
20449 (CFLAGS-wordexp.c): Likewise.
20450 (CFLAGS-sysconf.c): Likewise.
20451 (CFLAGS-pathconf.c): Likewise.
20452 (CFLAGS-fpathconf.c): Likewise.
20453 (CFLAGS-spawn.c): Likewise.
20454 (CFLAGS-spawnp.c): Likewise.
20455 (CFLAGS-spawni.c): Likewise.
20456 (CFLAGS-glob.c): Likewise.
20457 (CFLAGS-glob64.c): Likewise.
20458 (CFLAGS-getconf.c): Likewise.
20459 (CFLAGS-nanosleep.c): Likewise.
20460 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
20461 (CFLAGS-getpwent.c): Likewise.
20462 (CFLAGS-getpw.c): Likewise.
20463 (CFLAGS-fgetpwent_r.c): Likewise.
20464 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
20465 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
20466 (CFLAGS-mq_timedreceive.c): Likewise.
20467 (CFLAGS-mq_timedsend.c): Likewise.
20468 (CFLAGS-clock_nanosleep.c): Likewise.
20469 (CFLAGS-librt-cancellation.c): Likewise.
20470 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
20471 (CFLAGS-getspent.c): Likewise.
20472 (CFLAGS-fgetspent.c): Likewise.
20473 (CFLAGS-fgetspent_r.c): Likewise.
20474 (CFLAGS-putspent.c): Likewise.
20475 (CFLAGS-getspnam.c): Likewise.
20476 (CFLAGS-getspnam_r.c): Likewise.
20477 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
20478 (CFLAGS-sigsuspend.c): Likewise.
20479 (CFLAGS-sigtimedwait.c): Likewise.
20480 (CFLAGS-sigwait.c): Likewise.
20481 (CFLAGS-sigwaitinfo.c): Likewise.
20482 (CFLAGS-sigreturn.c): Likewise.
20483 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
20484 (CFLAGS-vfwprintf.c): Likewise.
20485 (CFLAGS-tmpfile.c): Likewise.
20486 (CFLAGS-tmpfile64.c): Likewise.
20487 (CFLAGS-tempname.c): Likewise.
20488 (CFLAGS-psignal.c): Likewise.
20489 (CFLAGS-vprintf.c): Likewise.
20490 (CFLAGS-cuserid.c): Likewise.
20491 (CFLAGS-errlist.c): Likewise.
20492 (CFLAGS-siglist.c): Likewise.
20493 (CFLAGS-scanf15.c): Likewise.
20494 (CFLAGS-scanf17.c): Likewise.
20495 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
20496 (CFLAGS-msort.c): Likewise.
20497 (CFLAGS-qsort.c): Likewise.
20498 (CFLAGS-system.c): Likewise.
20499 (CFLAGS-fmtmsg.c): Likewise.
20500 (CFLAGS-strfmon.c): Likewise.
20501 (CFLAGS-strfmon_l.c): Likewise.
20502 (CFLAGS-strfromd.c): Likewise.
20503 (CFLAGS-strfromf.c): Likewise.
20504 (CFLAGS-strfroml.c): Likewise.
20505 (CFLAGS-tst-bsearch.c): Likewise.
20506 (CFLAGS-tst-qsort.c): Likewise.
20507 (CFLAGS-tst-makecontext2.c): Likewise.
20508 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
20509 (CFLAGS-xnlm_prot.c): Likewise.
20510 (CFLAGS-xrstat.c): Likewise.
20511 (CFLAGS-xyppasswd.c): Likewise.
20512 (CFLAGS-xklm_prot.c): Likewise.
20513 (CFLAGS-xrex.c): Likewise.
20514 (CFLAGS-xsm_inter.c): Likewise.
20515 (CFLAGS-xmount.c): Likewise.
20516 (CFLAGS-xrusers.c): Likewise.
20517 (CFLAGS-xspray.c): Likewise.
20518 (CFLAGS-xnfs_prot.c): Likewise.
20519 (CFLAGS-xrquota.c): Likewise.
20520 (CFLAGS-xkey_prot.c): Likewise.
20521 (CFLAGS-auth_unix.c): Likewise.
20522 (CFLAGS-key_call.c): Likewise.
20523 (CFLAGS-pmap_rmt.c): Likewise.
20524 (CFLAGS-clnt_perr.c): Likewise.
20525 (CFLAGS-openchild.c): Likewise.
20526 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
20527 (CFLAGS-msgsnd.c): Likewise.
20528 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
20529 * time/Makefile (CFLAGS-tzfile.c): Likewise.
20530 (CFLAGS-tzset.c): Likewise.
20531 (CFLAGS-getdate.c): Likewise.
20532 (CFLAGS-test_time.c): Likewise.
20533 (CPPFLAGS-tst-tzname.c): Likewise.
20534 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
20535 (CFLAGS-zic.c): Likewise.
20536 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
20537 (CFLAGS-wcswidth.c): Likewise.
20538 (CFLAGS-wcstol.c): Likewise.
20539 (CFLAGS-wcstoul.c): Likewise.
20540 (CFLAGS-wcstoll.c): Likewise.
20541 (CFLAGS-wcstoull.c): Likewise.
20542 (CFLAGS-wcstod.c): Likewise.
20543 (CFLAGS-wcstold.c): Likewise.
20544 (CFLAGS-wcstof128.c): Likewise.
20545 (CFLAGS-wcstof.c): Likewise.
20546 (CFLAGS-wcstol_l.c): Likewise.
20547 (CFLAGS-wcstoul_l.c): Likewise.
20548 (CFLAGS-wcstoll_l.c): Likewise.
20549 (CFLAGS-wcstoull_l.c): Likewise.
20550 (CFLAGS-wcstod_l.c): Likewise.
20551 (CFLAGS-wcstold_l.c): Likewise.
20552 (CFLAGS-wcstof128_l.c): Likewise.
20553 (CFLAGS-wcstof_l.c): Likewise.
20554 (CPPFLAGS-tst-wchar-h.c): Likewise.
20555 (CPPFLAGS-wcstold_l.c): Likewise.
20557 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
20559 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
20561 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20562 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20564 * manual/tunables.texi (Hardware Capability Tunables): Document
20565 glibc.tune.cached_memopt.
20566 * sysdeps/powerpc/cpu-features.c: New file.
20567 * sysdeps/powerpc/cpu-features.h: New file.
20568 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
20569 _dl_powerpc_cpu_features.
20570 * sysdeps/powerpc/dl-tunables.list: New file.
20571 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
20572 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
20573 (INIT_ARCH): Initialize use_aligned_memopt.
20574 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
20575 IS_IN(rtld))]: Restrict dl_platform_init availability and
20576 initialize CPU features used by tunables.
20577 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
20578 Add memcpy-power8-cached.
20579 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
20580 __memcpy_power8_cached.
20581 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
20582 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
20585 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20587 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
20588 (CFLAGS-noinl-tester.c): Likewise.
20589 (CFLAGS-tst-strlen.c): Likewise.
20590 (CFLAGS-stratcliff.c): Likewise.
20591 (CFLAGS-test-ffs.c): Likewise.
20592 (CFLAGS-tst-inlcall.c): Likewise.
20593 (CFLAGS-tst-xbzero-opt.c): Likewise.
20594 (CFLAGS-memcpy.c): Likewise.
20595 (CFLAGS-wordcopy.c): Likewise.
20597 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20599 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
20600 Store r15 on stack and add cfi rule.
20601 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
20604 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
20607 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
20610 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
20612 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20613 Add s_sinf-sse2 and s_sinf-fma.
20614 (CFLAGS-s_sinf-fma.c): New.
20615 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
20616 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
20617 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
20619 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
20621 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
20623 2017-12-07 Joseph Myers <joseph@codesourcery.com>
20626 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
20627 part of result to imaginary part of argument if it is zero and the
20628 real part of the argument is not finite.
20629 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
20630 of result to real part of argument if it is zero and the imaginary
20631 part of the argument is not finite.
20633 2017-12-07 Mike FABIAN <mfabian@redhat.com>
20636 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
20637 and to the list of locales to be built for testing.
20638 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
20639 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
20640 and build the collation rules upon that.
20642 2017-12-07 Joseph Myers <joseph@codesourcery.com>
20644 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
20645 * manual/math.texi (Mathematics): Document support for _Float32.
20646 * math/Makefile (test-types): Add float32.
20647 * math/Versions (GLIBC_2.27): Add _Float32 functions.
20648 * stdlib/Versions (GLIBC_2.27): Likewise.
20649 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20650 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20651 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20652 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20653 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20654 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20655 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20656 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20657 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20658 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20659 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20660 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20661 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20662 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20663 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20664 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20665 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20666 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20667 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20668 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20669 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20670 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
20672 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20673 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20674 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20675 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20676 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
20690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20694 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20695 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20696 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20697 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20698 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20699 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20700 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20701 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20702 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20703 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20704 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20706 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20708 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20710 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20712 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20713 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20714 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20715 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20716 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20717 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20718 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20719 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20721 2017-12-06 Joseph Myers <joseph@codesourcery.com>
20723 * stdlib/strtof.c: Include <bits/floatn.h>
20724 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
20725 and later undefine as macro. Define as weak alias if
20727 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
20728 and later undefine as macro. Define as weak alias if
20730 * stdlib/strtof_l.c: Include <bits/floatn.h>
20731 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
20732 and later undefine as macro. Define as weak alias if
20734 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
20735 and later undefine as macro. Define as weak alias if
20738 * stdlib/strfromf.c: Include <bits/floatn.h>.
20739 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
20740 and later undefine as macro and define as weak alias.
20742 * math/test-float32.h: New file.
20744 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
20745 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
20746 (libm_alias_float_other_r): Create f32 alias.
20747 (libm_alias_float_r): Use semicolon before call to
20748 libm_alias_float_other_r.
20750 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
20751 second argument to libm_alias_float_other.
20752 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
20753 second argument to libm_alias_float_other.
20754 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
20755 argument to libm_alias_float_other.
20758 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
20759 real part of result for argument 0 + i * NaN.
20760 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
20761 results for tests of 0 + i * NaN.
20763 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20765 * sysdeps/alpha/fpu/libm-test-ulps: Update.
20767 2017-12-06 David S. Miller <davem@davemloft.net>
20769 * sysdeps/sparc/fpu/libm-test-ulps: Update
20770 exp_{downward,towardzero,upward} ulps.
20772 2017-12-06 Joseph Myers <joseph@codesourcery.com>
20774 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
20777 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
20779 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
20781 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
20783 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
20786 2017-12-06 Mike FABIAN <mfabian@redhat.com>
20789 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
20790 and to the list of locales to be built for testing.
20791 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
20792 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
20793 and build the collation rules upon that.
20795 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20797 * NEWS: Add sinf to list of optimized functions.
20799 2017-12-06 Joseph Myers <joseph@codesourcery.com>
20801 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
20802 (__HAVE_FLOAT32X): Likewise.
20803 * manual/math.texi (Mathematics): Document support for _Float64
20805 * math/Makefile (test-types): Add float64 and float32x.
20806 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
20808 * stdlib/Versions (GLIBC_2.27): Likewise.
20809 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20810 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20811 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20812 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20813 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20814 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20815 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20816 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20817 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20818 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20819 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20820 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20821 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20822 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20823 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20824 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20825 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20826 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20827 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20828 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20829 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20830 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
20832 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20833 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20834 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20835 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20836 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
20849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20853 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20854 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20855 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20856 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20857 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20858 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20859 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20860 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20861 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20862 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20865 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20867 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20869 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20871 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20872 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20873 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20874 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20875 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20876 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20877 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20878 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20880 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20882 * bits/floatn-common.h: Include <bits/long-double.h>.
20883 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20884 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
20885 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20886 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
20887 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20888 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
20889 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20890 (__builtin_huge_valf64): Use __builtin_huge_vall.
20891 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20892 (__builtin_inff64): Use __builtin_infl.
20893 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20894 (__builtin_nanf64): Use __builtin_nanl.
20895 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20896 (__builtin_nansf64): Use __builtin_nansl.
20898 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
20899 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20900 Carlos O'Donnell <carlos@redhat.com>
20902 * elf/dl-tunables.list: Add elision parameters.
20903 * manual/tunables.texi: Add entries about elision tunable.
20904 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
20905 Add callback functions to dynamically enable/disable elision.
20906 Add multiple callbacks functions to set elision parameters.
20907 Deleted __libc_enable_secure check.
20908 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
20909 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
20910 * configure: Regenerated.
20911 * configure.ac: Option enable_lock_elision was deleted.
20912 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
20913 * config.make.in: Remove references to enable_lock_elision.
20914 * manual/install.texi: Elision configure option was removed.
20915 * INSTALL: Regenerated to remove enable_lock_elision.
20917 Disable elision so it can verify error case for destroying a mutex.
20918 * sysdeps/powerpc/nptl/elide.h:
20919 Cleanup ENABLE_LOCK_ELISION check.
20920 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
20921 * sysdeps/s390/configure: Regenerated.
20922 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
20923 * nptl/tst-mutex8.c:
20924 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
20925 * sysdeps/powerpc/powerpc32/sysdep.h:
20926 Deleted all ENABLE_LOCK_ELISION checks.
20927 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20928 * sysdeps/powerpc/sysdep.h: Likewise.
20929 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
20930 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
20931 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20932 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20933 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20934 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
20935 enable-lock-elision.
20937 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20939 * stdlib/strtod.c: Include <bits/floatn.h>.
20940 (BUILD_DOUBLE): New macro.
20941 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20942 (strtof64): Define and later undefine as macro. Define as weak
20943 alias if [!USE_WIDE_CHAR].
20944 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20945 (wcstof64): Define and later undefine as macro. Define as weak
20946 alias if [USE_WIDE_CHAR].
20947 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20948 (strtof32x): Define and later undefine as macro. Define as weak
20949 alias if [!USE_WIDE_CHAR].
20950 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20951 (wcstof32x): Define and later undefine as macro. Define as weak
20952 alias if [USE_WIDE_CHAR].
20953 * stdlib/strtod_l.c: Include <bits/floatn.h>.
20954 (BUILD_DOUBLE): New macro.
20955 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20956 (strtof64_l): Define and later undefine as macro. Define as weak
20957 alias if [!USE_WIDE_CHAR].
20958 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20959 (wcstof64_l): Define and later undefine as macro. Define as weak
20960 alias if [USE_WIDE_CHAR].
20961 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20962 (strtof32x_l): Define and later undefine as macro. Define as weak
20963 alias if [!USE_WIDE_CHAR].
20964 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20965 (wcstof32x_l): Define and later undefine as macro. Define as weak
20966 alias if [USE_WIDE_CHAR].
20968 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20970 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
20971 (reduced): Use ones as double instead of integer.
20973 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
20975 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
20977 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20979 * stdlib/strfromd.c: Include <bits/floatn.h>.
20980 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
20981 and later undefine as macro and define as weak alias.
20982 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
20985 * math/test-float32x.h: New file.
20986 * math/test-float64.h: Likewise.
20988 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
20989 (libm_alias_double_other_r_f64): New macro.
20990 (libm_alias_double_other_r_f32x): Likewise.
20991 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20992 libm_alias_double_other_r_f32x.
20993 (libm_alias_double_r): Use semicolon before call to
20994 libm_alias_double_other_r.
20995 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
20997 (libm_alias_double_other_r_f64): New macro.
20998 (libm_alias_double_other_r_f32x): Likewise.
20999 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21000 libm_alias_double_other_r_f32x.
21002 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
21004 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
21006 (SINF_FUNC): Likewise. Replace floor with simple casts.
21008 2017-12-05 Mike FABIAN <mfabian@redhat.com>
21011 * localedata/Makefile: Add et_EE.UTF-8 to test-input
21012 and to the list of locales to be built for testing.
21013 * localedata/et_EE.UTF-8.in: New file for testing the collation.
21014 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
21015 and build the collation rules upon that.
21017 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
21019 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
21020 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
21021 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
21022 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
21023 instead of __insn__xxx.
21024 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
21025 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
21026 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
21027 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
21028 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
21029 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
21031 2017-12-05 Florian Weimer <fweimer@redhat.com>
21033 Linux: Implement interfaces for memory protection keys
21034 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
21036 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
21037 * support/xunistd.h (xsysconf): Declare.
21038 * support/xraise.c: New file.
21039 * support/xsigaction.c: Likewise.
21040 * support/xsignal.c: Likewise.
21041 * support/xsysconf.c: Likewise.
21042 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
21043 pkey_set, pkey_get, pkey_mprotect.
21044 [misc] (tests): Add tst-pkey.
21045 (tst-pkey): Link with -lpthread.
21046 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
21047 pkey_free, pkey_set, pkey_get, pkey_mprotect.
21048 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
21049 (PKEY_DISABLE_WRITE): Define.
21050 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
21052 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
21053 (SEGV_PKUERR): Add.
21054 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
21055 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
21056 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
21057 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
21059 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
21060 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
21061 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
21062 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
21063 * sysdeps/unix/sysv/linux/**.abilist: Update.
21065 2017-12-05 Florian Weimer <fweimer@redhat.com>
21067 * support/tst-test_compare.c (subprocess): Use long long instead
21068 of long argument for consistent type width across 32-bit and
21069 64-bit architectures.
21070 (do_test): Adjust expected output.
21072 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21074 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
21075 (cosf): Define using libm_alias_float.
21076 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
21077 (fabsf): Define using libm_alias_float.
21078 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
21079 (fmaf): Define using libm_alias_float.
21080 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
21081 (rintf): Define using libm_alias_float.
21082 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
21083 (sinf): Define using libm_alias_float.
21084 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
21085 <libm-alias-float.h>.
21086 (modff): Define using libm_alias_float.
21087 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
21088 <libm-alias-float.h>.
21089 (logbf): Define using libm_alias_float.
21090 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
21091 <libm-alias-float.h>.
21092 (ceilf): Define using libm_alias_float.
21093 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21094 <libm-alias-float.h>.
21095 (copysignf): Define using libm_alias_float.
21096 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
21097 <libm-alias-float.h>.
21098 (floorf): Define using libm_alias_float.
21099 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
21100 <libm-alias-float.h>.
21101 (llrintf): Define using libm_alias_float.
21102 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
21103 <libm-alias-float.h>.
21104 (llroundf): Define using libm_alias_float.
21105 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21106 <libm-alias-float.h>.
21107 (lrintf): Define using libm_alias_float.
21108 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21109 <libm-alias-float.h>.
21110 (lroundf): Define using libm_alias_float.
21111 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
21112 <libm-alias-float.h>.
21113 (nearbyintf): Define using libm_alias_float.
21114 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
21115 <libm-alias-float.h>.
21116 (rintf): Define using libm_alias_float.
21117 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
21118 <libm-alias-float.h>.
21119 (roundf): Define using libm_alias_float.
21120 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
21121 <libm-alias-float.h>.
21122 (truncf): Define using libm_alias_float.
21123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
21124 Include <libm-alias-float.h>.
21125 (ceilf): Define using libm_alias_float.
21126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
21127 Include <libm-alias-float.h>.
21128 (copysignf): Define using libm_alias_float.
21129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
21130 Include <libm-alias-float.h>.
21131 (floorf): Define using libm_alias_float.
21132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
21133 Include <libm-alias-float.h>.
21134 (llrintf): Define using libm_alias_float.
21135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
21136 Include <libm-alias-float.h>.
21137 (llroundf): Define using libm_alias_float.
21138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
21139 Include <libm-alias-float.h>.
21140 (logbf): Define using libm_alias_float.
21141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
21142 Include <libm-alias-float.h>.
21143 (lrintf): Define using libm_alias_float.
21144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
21145 Include <libm-alias-float.h>.
21146 (lroundf): Define using libm_alias_float.
21147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
21148 Include <libm-alias-float.h>.
21149 (modff): Define using libm_alias_float.
21150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
21151 Include <libm-alias-float.h>.
21152 (roundf): Define using libm_alias_float.
21153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
21154 Include <libm-alias-float.h>.
21155 (truncf): Define using libm_alias_float.
21156 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
21157 <libm-alias-float.h>.
21158 (llrintf): Define using libm_alias_float.
21159 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21160 <libm-alias-float.h>.
21161 (llroundf): Define using libm_alias_float.
21162 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
21163 <libm-alias-float.h>.
21164 (ceilf): Define using libm_alias_float.
21165 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
21166 <libm-alias-float.h>.
21167 (floorf): Define using libm_alias_float.
21168 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21169 <libm-alias-float.h>.
21170 (llroundf): Define using libm_alias_float.
21171 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21172 <libm-alias-float.h>.
21173 (lroundf): Define using libm_alias_float.
21174 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
21175 <libm-alias-float.h>.
21176 (roundf): Define using libm_alias_float.
21177 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
21178 <libm-alias-float.h>.
21179 (truncf): Define using libm_alias_float.
21180 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21181 <libm-alias-float.h>.
21182 (copysignf): Define using libm_alias_float.
21183 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
21184 <libm-alias-float.h>.
21185 (llrintf): Define using libm_alias_float.
21186 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21187 <libm-alias-float.h>.
21188 (llroundf): Define using libm_alias_float.
21189 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21190 <libm-alias-float.h>.
21191 (lrintf): Define using libm_alias_float.
21192 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21193 <libm-alias-float.h>.
21194 (lroundf): Define using libm_alias_float.
21195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
21196 <libm-alias-float.h>.
21197 (ceilf): Define using libm_alias_float.
21198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
21199 <libm-alias-float.h>.
21200 (copysignf): Define using libm_alias_float.
21201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
21202 <libm-alias-float.h>.
21203 (cosf): Define using libm_alias_float.
21204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
21205 <libm-alias-float.h>.
21206 (floorf): Define using libm_alias_float.
21207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
21208 <libm-alias-float.h>.
21209 (llrintf): Define using libm_alias_float.
21210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
21211 <libm-alias-float.h>.
21212 (llroundf): Define using libm_alias_float.
21213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
21214 <libm-alias-float.h>.
21215 (logbf): Define using libm_alias_float.
21216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
21217 <libm-alias-float.h>.
21218 (modff): Define using libm_alias_float.
21219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
21220 <libm-alias-float.h>.
21221 (roundf): Define using libm_alias_float.
21222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
21223 <libm-alias-float.h>.
21224 (sinf): Define using libm_alias_float.
21225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
21226 <libm-alias-float.h>.
21227 (truncf): Define using libm_alias_float.
21228 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
21229 <libm-alias-float.h>.
21230 (ceilf): Define using libm_alias_float.
21231 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21232 <libm-alias-float.h>.
21233 (copysignf): Define using libm_alias_float.
21234 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
21235 <libm-alias-float.h>.
21236 (floorf): Define using libm_alias_float.
21237 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21238 <libm-alias-float.h>.
21239 (llrintf): Define using libm_alias_float.
21240 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
21241 <libm-alias-float.h>.
21242 (llroundf): Define using libm_alias_float.
21243 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
21244 <libm-alias-float.h>.
21245 (nearbyintf): Define using libm_alias_float.
21246 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
21247 <libm-alias-float.h>.
21248 (rintf): Define using libm_alias_float.
21249 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
21250 <libm-alias-float.h>.
21251 (roundf): Define using libm_alias_float.
21252 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
21253 <libm-alias-float.h>.
21254 (truncf): Define using libm_alias_float.
21255 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
21256 <libm-alias-float.h>.
21257 (ceilf): Define using libm_alias_float.
21258 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
21259 <libm-alias-float.h>.
21260 (floorf): Define using libm_alias_float.
21261 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21262 <libm-alias-float.h>.
21263 (llroundf): Define using libm_alias_float.
21264 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
21265 <libm-alias-float.h>.
21266 (roundf): Define using libm_alias_float.
21267 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
21268 <libm-alias-float.h>.
21269 (truncf): Define using libm_alias_float.
21270 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21271 <libm-alias-float.h>.
21272 (copysignf): Define using libm_alias_float.
21273 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21274 <libm-alias-float.h>.
21275 (llrintf): Define using libm_alias_float.
21276 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21277 <libm-alias-float.h>.
21278 (llroundf): Define using libm_alias_float.
21279 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
21280 <libm-alias-float.h>.
21281 (cosf): Define using libm_alias_float.
21282 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21283 <libm-alias-float.h>.
21284 (llrintf): Define using libm_alias_float.
21285 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21286 <libm-alias-float.h>.
21287 (llroundf): Define using libm_alias_float.
21288 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
21289 <libm-alias-float.h>.
21290 (sinf): Define using libm_alias_float.
21292 2017-12-04 Florian Weimer <fweimer@redhat.com>
21294 * support/check.h (TEST_COMPARE): Define.
21295 (support_test_compare_failure): Declare.
21296 * support/Makefile (libsupport-routines): Add
21297 support_test_compare_failure.
21298 (tests): Add tst-test_compare.
21299 * support /support_test_compare_failure.c: New file.
21300 * support/tst-test_compare.c: Likewise.
21302 2017-12-04 Mike FABIAN <mfabian@redhat.com>
21305 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
21306 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
21307 available, this rewrite of the collation rules does reproduce
21308 the test file in the same order.
21310 2017-12-04 Mike FABIAN <mfabian@redhat.com>
21313 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
21314 digraphs in the month and day names. Using single code points for
21315 digraphs is deprecated. While there are dedicated Unicode
21316 codepoints, for the digraphs, these are included for backwards
21317 compatibility and modern texts use a sequence of Basic Latin
21318 characters. See: https://www.unicode.org/faq/ligature_digraph.html
21319 This makes the month and day names agree exactly with CLDR now,
21320 CLDR does not use the single code points for the digraphs either.
21322 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
21324 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
21326 2017-12-04 Joseph Myers <joseph@codesourcery.com>
21328 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
21331 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
21333 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
21334 Define only for libc.so.
21336 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
21338 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21339 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
21340 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
21341 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
21342 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21344 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21347 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
21349 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
21352 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
21353 PREINIT_FUNCTION_WEAK is nonzero.
21354 (gmon_initializer): New function. Put procedure label for it in
21355 .init_array section.
21356 (_init): Don't call PREINIT_FUNCTION.
21357 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
21358 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
21359 value when map argument is null.
21361 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
21362 depi instruction from PIC pc-relative sequence.
21363 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
21364 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
21365 (elf_machine_load_address): Likewise.
21366 (elf_machine_runtime_setup): Likewise.
21368 2017-12-02 Joseph Myers <joseph@codesourcery.com>
21370 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
21371 <libm-alias-double.h>.
21372 (logb): Define using libm_alias_double.
21373 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21374 <libm-alias-double.h>.
21375 (copysign): Define using libm_alias_double.
21376 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
21377 <libm-alias-double.h>.
21378 (llrint): Define using libm_alias_double.
21379 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
21380 <libm-alias-double.h>.
21381 (llround): Define using libm_alias_double.
21382 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21383 <libm-alias-double.h>.
21384 (lrint): Define using libm_alias_double.
21385 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21386 <libm-alias-double.h>.
21387 (lround): Define using libm_alias_double.
21388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
21389 Include <libm-alias-double.h>.
21390 (copysign): Define using libm_alias_double.
21391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
21392 Include <libm-alias-double.h>.
21393 (llrint): Define using libm_alias_double.
21394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
21395 Include <libm-alias-double.h>.
21396 (llround): Define using libm_alias_double.
21397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
21398 <libm-alias-double.h>.
21399 (logb): Define using libm_alias_double.
21400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
21401 Include <libm-alias-double.h>.
21402 (lrint): Define using libm_alias_double.
21403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
21404 Include <libm-alias-double.h>.
21405 (lround): Define using libm_alias_double.
21406 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
21407 <libm-alias-double.h>.
21408 (llrint): Define using libm_alias_double.
21409 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21410 <libm-alias-double.h>.
21411 (llround): Define using libm_alias_double.
21412 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21413 <libm-alias-double.h>.
21414 (llround): Define using libm_alias_double.
21415 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21416 <libm-alias-double.h>.
21417 (lround): Define using libm_alias_double.
21418 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21419 <libm-alias-double.h>.
21420 (copysign): Define using libm_alias_double.
21421 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
21422 <libm-alias-double.h>.
21423 (llrint): Define using libm_alias_double.
21424 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21425 <libm-alias-double.h>.
21426 (llround): Define using libm_alias_double.
21427 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21428 <libm-alias-double.h>.
21429 (lrint): Define using libm_alias_double.
21430 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21431 <libm-alias-double.h>.
21432 (lround): Define using libm_alias_double.
21433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
21434 <libm-alias-double.h>.
21435 (copysign): Define using libm_alias_double.
21436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
21437 <libm-alias-double.h>.
21438 (llrint): Define using libm_alias_double.
21440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
21441 <libm-alias-double.h>.
21442 (llround): Define using libm_alias_double.
21443 (lround): Likewise.
21444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
21445 <libm-alias-double.h>.
21446 (logb): Define using libm_alias_double.
21447 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21448 <libm-alias-double.h>.
21449 (copysign): Define using libm_alias_double.
21450 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21451 <libm-alias-double.h>.
21452 (llrint): Define using libm_alias_double.
21454 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
21455 <libm-alias-double.h>.
21456 (llround): Define using libm_alias_double.
21457 (lround): Likewise.
21458 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21459 <libm-alias-double.h>.
21460 (llround): Define using libm_alias_double.
21461 (lround): Likewise.
21462 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21463 <libm-alias-double.h>.
21464 (copysign): Define using libm_alias_double.
21465 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21466 <libm-alias-double.h>.
21467 (llrint): Define using libm_alias_double.
21469 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21470 <libm-alias-double.h>.
21471 (llround): Define using libm_alias_double.
21472 (lround): Likewise.
21473 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21474 <libm-alias-double.h>.
21475 (llrint): Define using libm_alias_double.
21477 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21478 <libm-alias-double.h>.
21479 (llround): Define using libm_alias_double.
21480 (lround): Likewise.
21482 2017-12-01 Joseph Myers <joseph@codesourcery.com>
21484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21485 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
21486 compat symbol based on llround.
21488 * sysdeps/powerpc/power7/fpu/s_logb.c
21489 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
21490 symbol based on __logb, not on logb.
21491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
21492 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
21494 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21496 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
21497 (rint): Define using libm_alias_double.
21498 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
21499 <libm-alias-double.h>.
21500 (modf): Define using libm_alias_double.
21501 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
21502 <libm-alias-double.h>.
21503 (ceil): Define using libm_alias_double.
21504 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
21505 <libm-alias-double.h>.
21506 (floor): Define using libm_alias_double.
21507 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
21508 <libm-alias-double.h>.
21509 (nearbyint): Define using libm_alias_double.
21510 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
21511 <libm-alias-double.h>.
21512 (rint): Define using libm_alias_double.
21513 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
21514 <libm-alias-double.h>.
21515 (round): Define using libm_alias_double.
21516 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
21517 <libm-alias-double.h>.
21518 (trunc): Define using libm_alias_double.
21519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
21520 <libm-alias-double.h>.
21521 (ceil): Define using libm_alias_double.
21522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
21523 Include <libm-alias-double.h>.
21524 (floor): Define using libm_alias_double.
21525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
21526 <libm-alias-double.h>.
21527 (modf): Define using libm_alias_double.
21528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
21529 Include <libm-alias-double.h>.
21530 (round): Define using libm_alias_double.
21531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
21532 Include <libm-alias-double.h>.
21533 (trunc): Define using libm_alias_double.
21534 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
21535 <libm-alias-double.h>.
21536 (ceil): Define using libm_alias_double.
21537 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
21538 <libm-alias-double.h>.
21539 (floor): Define using libm_alias_double.
21540 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
21541 <libm-alias-double.h>.
21542 (round): Define using libm_alias_double.
21543 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
21544 <libm-alias-double.h>.
21545 (trunc): Define using libm_alias_double.
21546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
21547 <libm-alias-double.h>.
21548 (ceil): Define using libm_alias_double.
21549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
21550 <libm-alias-double.h>.
21551 (floor): Define using libm_alias_double.
21552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
21553 <libm-alias-double.h>.
21554 (modf): Define using libm_alias_double.
21555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
21556 <libm-alias-double.h>.
21557 (round): Define using libm_alias_double.
21558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
21559 <libm-alias-double.h>.
21560 (trunc): Define using libm_alias_double.
21561 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
21562 <libm-alias-double.h>.
21563 (ceil): Define using libm_alias_double.
21564 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
21565 <libm-alias-double.h>.
21566 (floor): Define using libm_alias_double.
21567 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
21568 <libm-alias-double.h>.
21569 (nearbyint): Define using libm_alias_double.
21570 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
21571 <libm-alias-double.h>.
21572 (rint): Define using libm_alias_double.
21573 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
21574 <libm-alias-double.h>.
21575 (round): Define using libm_alias_double.
21576 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
21577 <libm-alias-double.h>.
21578 (trunc): Define using libm_alias_double.
21579 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
21580 <libm-alias-double.h>.
21581 (ceil): Define using libm_alias_double.
21582 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
21583 <libm-alias-double.h>.
21584 (floor): Define using libm_alias_double.
21585 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
21586 <libm-alias-double.h>.
21587 (round): Define using libm_alias_double.
21588 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
21589 <libm-alias-double.h>.
21590 (trunc): Define using libm_alias_double.
21592 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
21593 (fabs): Define using libm_alias_double.
21594 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
21595 (fma): Define using libm_alias_double.
21596 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
21597 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
21598 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
21599 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
21601 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21603 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
21605 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
21606 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
21607 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
21610 due redirect macro.
21612 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
21614 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
21616 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21618 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
21619 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
21620 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
21621 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
21623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21624 (libm-sysdep_routines): Add s_nearbyintf-generic and
21625 s_nearbyint-generic.
21626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
21628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
21629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
21631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
21633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
21635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21639 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
21640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
21642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
21643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
21645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
21646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
21647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21650 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
21651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
21653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
21654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
21656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
21657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
21658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
21660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21661 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
21662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
21664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
21665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
21667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
21668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
21669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21672 (sysdep_calls): New rule.
21673 (sysdep_routines): Use sysdep_calls as base.
21674 (libm-sysdep_routines): Add generic rule for symbols shared with
21675 libc. Add s_copysign-generic and s_copysign-generic objects.
21676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
21678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
21679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
21681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
21682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
21683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
21685 2017-12-01 Mike FABIAN <mfabian@redhat.com>
21688 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
21689 the list of locales to be built for testing.
21690 * localedata/is_IS.UTF-8.in: New file.
21691 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
21694 2017-12-01 Joseph Myers <joseph@codesourcery.com>
21696 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
21697 <libm-alias-float.h>.
21698 (fabsf): Define using libm_alias_float.
21700 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
21702 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
21704 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21706 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
21707 <libm-alias-float.h>.
21708 (fabsf): Define using libm_alias_float.
21709 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
21710 <libm-alias-float.h>.
21711 (lrintf): Define using libm_alias_float.
21712 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
21713 <libm-alias-float.h>.
21714 (rintf): Define using libm_alias_float.
21716 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
21717 <libm-alias-double.h>.
21718 (fabs): Define using libm_alias_double.
21719 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
21720 <libm-alias-double.h>.
21721 (lrint): Define using libm_alias_double.
21722 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
21723 <libm-alias-double.h>.
21724 (rint): Define using libm_alias_double.
21726 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
21727 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
21728 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
21729 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
21730 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
21731 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
21732 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
21733 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
21734 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
21735 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
21736 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
21737 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
21738 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
21739 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
21740 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
21741 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
21742 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
21743 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
21745 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
21746 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
21747 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
21749 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
21750 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
21751 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
21753 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
21754 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
21755 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
21756 s_expm1_template.c.
21757 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
21758 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
21759 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
21761 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
21762 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
21763 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
21764 s_floor_template.c.
21765 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
21766 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
21767 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
21768 s_frexp_template.c.
21769 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
21770 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
21771 s_lrint_template.c.
21772 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
21773 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
21774 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
21776 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
21777 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
21778 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
21779 s_nearbyint_template.c.
21780 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
21781 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
21782 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
21783 s_remquo_template.c.
21784 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
21785 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
21786 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
21788 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
21789 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
21790 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
21792 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
21793 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
21794 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
21795 s_sincos_template.c.
21796 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
21797 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
21798 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
21800 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
21801 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
21802 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
21804 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
21805 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
21806 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
21807 s_trunc_template.c.
21808 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
21809 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
21810 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
21811 s_atan.c instead of including s_atan.c.
21812 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
21813 s_atanf.c instead of including s_atanf.c.
21814 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
21815 s_atanl.c instead of including s_atanl.c.
21816 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
21817 instead of s_atan.c.
21818 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
21819 instead of s_atanf.c.
21820 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
21821 instead of s_atanl.c.
21823 * scripts/update-copyrights: Do not handle intl/plural.c
21826 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
21829 * configure.ac (BISON): Require to be present.
21830 * configure: Regenerated.
21831 * intl/Makefile (generated): Add plural.c.
21832 [$(BISON) != no]: Make code unconditional.
21833 (plural.c): Change rule to $(objpfx)plural.c.
21834 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
21835 * intl/plural.c: Remove.
21836 * manual/install.texi (Tools for Compilation): Document bison as
21838 * INSTALL: Regenerated.
21840 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21842 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
21843 <libm-alias-double.h>.
21844 (llrint): Define using libm_alias_double.
21845 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
21846 <libm-alias-float.h>.
21847 (llrintf): Define using libm_alias_float.
21848 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
21849 <libm-alias-ldouble.h>.
21850 (llrintl): Define using libm_alias_ldouble.
21852 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
21853 declare_mgen_alias instead of weak_alias.
21854 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
21855 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
21856 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
21858 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21860 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21862 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
21863 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
21864 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
21866 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21867 Add submul_1-generic.
21868 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
21869 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
21870 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
21872 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21873 Add addmul_1-generic.
21874 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
21875 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
21876 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
21878 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21880 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
21881 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
21882 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
21884 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21886 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
21887 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
21888 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
21890 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21892 According to CLDR, collation rules for Serbian and Bosnian
21893 should be the same as for Croatian.
21896 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
21897 and to the list of locales to be built for testing.
21898 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21899 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21900 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
21901 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
21903 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21905 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
21906 to make test case pass.
21907 * localedata/hr_HR.UTF-8.in: Add more test strings.
21909 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21911 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
21913 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
21915 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
21916 the list of locales to built for testing.
21917 * localedata/hr_HR.UTF-8.in: New file.
21919 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
21922 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
21924 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
21925 CLDR (except use ligatures for the digraphs, CLDR does not use
21926 the ligatures), add first_workday, some fixes in the date and time
21928 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
21930 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
21931 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
21932 Add int_p_cs_precedes and int_n_cs_precedes.
21933 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
21934 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
21936 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
21937 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
21939 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
21940 and lang_lib. Change postal_fmt.
21942 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
21944 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
21946 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21947 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
21948 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21949 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
21950 * sysdeps/generic/setjmpP.h: New file.
21951 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
21952 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
21953 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
21954 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
21955 Add jmp_buf-ssp.sym.
21956 (tests): Add tst-saved_mask-1.
21958 2017-11-30 Arjun Shankar <arjun@redhat.com>
21962 * malloc/malloc.c (__libc_malloc): Use checked_request2size
21963 instead of request2size.
21965 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
21968 (__lllrint): Remove alias.
21969 (lllrint): Likewise.
21970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
21971 (__lllrintf): Likewise.
21972 (lllrintf): Likewise.
21974 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
21975 <libm-alias-float.h>.
21976 (copysignf): Define using libm_alias_float.
21977 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
21978 <libm-alias-float.h>.
21979 (fabsf): Define using libm_alias_float.
21980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21981 Include <libm-alias-float.h>.
21982 (copysignf): Define using libm_alias_float.
21983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
21984 <libm-alias-float.h>.
21985 (fabsf): Define using libm_alias_float.
21986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
21987 <libm-alias-float.h>.
21988 (fdimf): Define using libm_alias_float.
21989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
21990 <libm-alias-float.h>.
21991 (fmaf): Define using libm_alias_float.
21992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
21993 <libm-alias-float.h>.
21994 (llrintf): Define using libm_alias_float.
21995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21996 Include <libm-alias-float.h>.
21997 (nearbyintf): Define using libm_alias_float.
21998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
21999 <libm-alias-float.h>.
22000 (rintf): Define using libm_alias_float.
22001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
22002 <libm-alias-float.h>.
22003 (llrintf): Define using libm_alias_float.
22004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
22005 <libm-alias-float.h>.
22006 (lrintf): Define using libm_alias_float.
22007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
22008 <libm-alias-float.h>.
22009 (nearbyintf): Define using libm_alias_float.
22010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
22011 <libm-alias-float.h>.
22012 (rintf): Define using libm_alias_float.
22013 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
22014 <libm-alias-float.h>.
22015 (ceilf): Define using libm_alias_float.
22016 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
22017 <libm-alias-float.h>.
22018 (floorf): Define using libm_alias_float.
22019 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
22020 <libm-alias-float.h>.
22021 (fmaf): Define using libm_alias_float.
22022 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
22023 <libm-alias-float.h>.
22024 (lrintf): Define using libm_alias_float.
22025 (llrintf): Likewise.
22026 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
22027 <libm-alias-float.h>.
22028 (nearbyintf): Define using libm_alias_float.
22029 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
22030 <libm-alias-float.h>.
22031 (rintf): Define using libm_alias_float.
22032 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
22033 <libm-alias-float.h>.
22034 (truncf): Define using libm_alias_float.
22035 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
22036 <libm-alias-float.h>.
22037 (copysignf): Define using libm_alias_float.
22038 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
22039 <libm-alias-float.h>.
22040 (fabsf): Define using libm_alias_float.
22041 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
22042 <libm-alias-float.h>.
22043 (lrintf): Define using libm_alias_float.
22044 (llrintf): Likewise.
22045 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
22046 <libm-alias-float.h>.
22047 (nearbyintf): Define using libm_alias_float.
22048 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
22049 <libm-alias-float.h>.
22050 (rintf): Define using libm_alias_float.
22052 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22054 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
22055 <libm-alias-double.h>.
22056 (copysign): Define using libm_alias_double.
22057 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
22058 <libm-alias-double.h>.
22059 (fabs): Define using libm_alias_double.
22060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22061 Include <libm-alias-double.h>.
22062 (copysign): Define using libm_alias_double.
22063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
22064 <libm-alias-double.h>.
22065 (fabs): Define using libm_alias_double.
22066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
22067 <libm-alias-double.h>.
22068 (fdim): Define using libm_alias_double.
22069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
22070 <libm-alias-double.h>.
22071 (fma): Define using libm_alias_double.
22072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
22073 <libm-alias-double.h>.
22074 (llrint): Define using libm_alias_double.
22075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
22076 Include <libm-alias-double.h>.
22077 (nearbyint): Define using libm_alias_double.
22078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
22079 <libm-alias-double.h>.
22080 (rint): Define using libm_alias_double.
22081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22082 <libm-alias-double.h>.
22083 (fabs): Define using libm_alias_double.
22084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
22085 <libm-alias-double.h>.
22086 (llrint): Define using libm_alias_double.
22087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
22088 <libm-alias-double.h>.
22089 (nearbyint): Define using libm_alias_double.
22090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
22091 <libm-alias-double.h>.
22092 (rint): Define using libm_alias_double.
22093 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
22094 <libm-alias-double.h>.
22095 (ceil): Define using libm_alias_double.
22096 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
22097 <libm-alias-double.h>.
22098 (floor): Define using libm_alias_double.
22099 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
22100 <libm-alias-double.h>.
22101 (fma): Define using libm_alias_double.
22102 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
22103 <libm-alias-double.h>.
22104 (lrint): Define using libm_alias_double.
22105 (llrint): Likewise.
22106 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
22107 <libm-alias-double.h>.
22108 (nearbyint): Define using libm_alias_double.
22109 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
22110 <libm-alias-double.h>.
22111 (rint): Define using libm_alias_double.
22112 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
22113 <libm-alias-double.h>.
22114 (trunc): Define using libm_alias_double.
22115 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
22116 <libm-alias-double.h>.
22117 (copysign): Define using libm_alias_double.
22118 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
22119 <libm-alias-double.h>.
22120 (fabs): Define using libm_alias_double.
22121 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
22122 <libm-alias-double.h>.
22123 (lrint): Define using libm_alias_double.
22124 (llrint): Likewise.
22125 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
22126 <libm-alias-double.h>.
22127 (nearbyint): Define using libm_alias_double.
22128 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
22129 <libm-alias-double.h>.
22130 (rint): Define using libm_alias_double.
22133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22135 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
22137 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22138 SPARC --disable-multi-arch glibc variants.
22140 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
22141 <libm-alias-float.h>.
22142 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22144 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
22145 <libm-alias-float.h>.
22146 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22148 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
22149 <libm-alias-float.h>.
22150 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22152 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
22153 <libm-alias-float.h>.
22154 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22156 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
22157 <libm-alias-float.h>.
22158 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22160 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
22161 <libm-alias-float.h>.
22162 (ceilf): Define using libm_alias_float.
22163 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
22164 <libm-alias-float.h>.
22165 (floorf): Define using libm_alias_float.
22166 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
22167 <libm-alias-float.h>.
22168 (fmaf): Define using libm_alias_float.
22169 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
22170 <libm-alias-float.h>.
22171 (nearbyintf): Define using libm_alias_float.
22172 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
22173 <libm-alias-float.h>.
22174 (rintf): Define using libm_alias_float.
22175 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
22176 <libm-alias-float.h>.
22177 (truncf): Define using libm_alias_float.
22178 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22179 (copysignf): Define using libm_alias_float.
22180 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
22181 (cosf): Define using libm_alias_float.
22182 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22183 (fabsf): Define using libm_alias_float.
22184 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22185 (fmaxf): Define using libm_alias_float.
22186 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
22187 (fminf): Define using libm_alias_float.
22188 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22189 (llrintf): Define using libm_alias_float.
22190 [!__ILP32__] (lrintf): Likewise.
22191 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
22192 (sincosf): Define using libm_alias_float.
22193 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
22194 (sinf): Define using libm_alias_float.
22195 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22196 (lrintf): Define using libm_alias_float.
22198 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
22199 <libm-alias-double.h>.
22200 (atan): Define using libm_alias_double.
22201 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
22202 <libm-alias-double.h>.
22203 (ceil): Define using libm_alias_double.
22204 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
22205 <libm-alias-double.h>.
22206 (floor): Define using libm_alias_double.
22207 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
22208 <libm-alias-double.h>.
22209 (fma): Define using libm_alias_double.
22210 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
22211 <libm-alias-double.h>.
22212 (nearbyint): Define using libm_alias_double.
22213 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
22214 <libm-alias-double.h>.
22215 (rint): Define using libm_alias_double.
22216 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
22217 <libm-alias-double.h>.
22218 (sin): Define using libm_alias_double.
22220 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
22221 <libm-alias-double.h>.
22222 (tan): Define using libm_alias_double.
22223 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
22224 <libm-alias-double.h>.
22225 (trunc): Define using libm_alias_double.
22226 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
22227 (copysign): Define using libm_alias_double.
22228 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
22229 (fabs): Define using libm_alias_double.
22230 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
22231 (fmax): Define using libm_alias_double.
22232 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
22233 (fmin): Define using libm_alias_double.
22234 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
22235 (llrint): Define using libm_alias_double.
22236 [!__ILP32__] (lrint): Likewise.
22237 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
22238 (lrint): Define using libm_alias_double.
22240 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22242 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22243 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
22245 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
22246 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
22247 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
22248 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
22249 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
22250 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22252 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22253 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
22255 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
22256 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
22257 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
22258 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
22259 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
22260 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22262 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22263 (libm-sysdep_routines): Add s_nearbyint-generic and
22264 s_nearbyintf-generic objects.
22265 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
22266 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
22267 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
22268 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
22269 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
22270 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
22272 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22273 Add s_finitef-generic and s_finite-generic objects.
22274 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
22275 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
22276 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
22277 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
22278 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
22279 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
22281 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22282 Add s_isinff-generic and s_isinf-generic objects.
22283 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
22284 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
22285 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
22286 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
22287 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
22288 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22290 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22291 Add s_isnanf-generic and s_isnan-generic objects.
22292 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
22293 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
22294 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
22295 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
22296 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
22297 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22299 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
22301 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
22303 (sysdep_routines): Use sysdep_calls as base.
22304 (libm-sysdep_routines): Add generic rule for symbols shared with
22305 libc. Add s_signbit-generic and s_signbitf-generic objects.
22306 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
22307 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
22308 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
22309 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
22310 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
22311 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22313 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22315 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
22316 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
22317 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
22318 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
22319 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
22320 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
22321 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
22322 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
22323 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
22324 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
22325 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
22326 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
22327 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
22328 libm_alias_float_r.
22329 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
22330 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
22332 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
22333 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
22334 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
22335 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
22336 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
22337 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
22338 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
22339 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
22340 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
22341 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
22343 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
22345 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
22346 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
22347 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
22348 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
22349 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
22350 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
22351 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
22352 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
22353 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
22354 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
22355 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
22356 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
22357 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
22358 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
22359 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
22360 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
22361 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
22362 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
22363 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
22365 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
22366 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
22367 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
22368 * sysdeps/ia64/fpu/w_lgammaf_main.c
22369 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
22370 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
22372 2017-11-28 Mike FABIAN <mfabian@redhat.com>
22373 Alexandre Oliva <aoliva@redhat.com>
22376 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
22377 * localedata/fr_CA.UTF-8.in: New file with test data for backward
22379 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
22381 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
22382 * localedata/locales/de_DE (LC_COLLATE): Likewise.
22383 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
22384 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
22385 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
22386 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
22387 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
22388 instead of “ifdef DIACRIT_BACKWARD”.
22390 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22392 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
22393 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
22394 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
22395 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
22396 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
22397 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
22398 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
22399 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
22400 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
22401 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
22402 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
22403 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
22404 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
22405 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
22406 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
22407 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22408 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
22409 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
22410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22411 ($(have-as-vis3) == yes): Remove conditional.
22412 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
22414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
22416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
22418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
22420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
22422 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
22423 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
22424 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
22425 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
22426 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
22427 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
22428 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
22429 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
22431 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22433 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
22434 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
22435 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
22436 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
22437 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
22438 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
22439 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
22440 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
22441 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
22442 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
22443 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
22444 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
22445 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
22446 libm_alias_double_r.
22447 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
22449 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
22450 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
22451 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
22452 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
22453 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
22454 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
22455 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
22456 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
22457 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
22458 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
22459 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
22461 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
22463 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
22464 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
22465 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
22466 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
22467 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
22468 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
22469 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
22470 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
22471 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
22472 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
22473 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
22474 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
22475 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
22476 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
22477 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
22478 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
22479 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
22480 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
22482 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
22483 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
22484 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
22485 * sysdeps/ia64/fpu/w_lgamma_main.c
22486 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
22487 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
22489 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
22491 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
22492 address of $global$ into %dp register earlier. Use pc-relative
22493 instruction sequence for PIC case.
22495 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22497 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
22498 (asinhf): Define using libm_alias_float.
22499 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
22500 (atanf): Define using libm_alias_float.
22501 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
22502 (cbrtf): Define using libm_alias_float.
22503 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
22504 (ceilf): Define using libm_alias_float.
22505 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22506 (copysignf): Define using libm_alias_float.
22507 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
22508 (expm1f): Define using libm_alias_float.
22509 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
22510 (fabsf): Define using libm_alias_float.
22511 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
22512 (floorf): Define using libm_alias_float.
22513 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22514 (fmaxf): Define using libm_alias_float.
22515 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
22516 (fminf): Define using libm_alias_float.
22517 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
22518 (frexpf): Define using libm_alias_float.
22519 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22520 (llrintf): Define using libm_alias_float.
22521 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
22522 (logbf): Define using libm_alias_float.
22523 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22524 (lrintf): Define using libm_alias_float.
22525 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
22526 (nearbyintf): Define using libm_alias_float.
22527 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
22528 (remquof): Define using libm_alias_float.
22529 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
22530 (rintf): Define using libm_alias_float.
22531 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
22532 (truncf): Define using libm_alias_float.
22533 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
22534 <libm-alias-float.h>.
22535 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22537 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
22538 <libm-alias-float.h>.
22539 (expf): Define using libm_alias_float, or libm_alias_float_other
22541 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
22542 <libm-alias-float.h>.
22543 (log2f): Define using libm_alias_float, or libm_alias_float_other
22545 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
22546 <libm-alias-float.h>.
22547 (logf): Define using libm_alias_float, or libm_alias_float_other
22549 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
22550 <libm-alias-float.h>.
22551 (powf): Define using libm_alias_float, or libm_alias_float_other
22553 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
22554 <libm-alias-float.h>.
22555 (cosf): Define using libm_alias_float.
22556 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
22557 <libm-alias-float.h>.
22558 (sincosf): Define using libm_alias_float.
22559 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
22560 <libm-alias-float.h>.
22561 (sinf): Define using libm_alias_float.
22562 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22563 (fmaxf): Define using libm_alias_float.
22564 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
22565 (fminf): Define using libm_alias_float.
22566 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22567 <libm-alias-float.h>.
22568 (fmaf): Define using libm_alias_float.
22570 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
22571 (asinh): Define using libm_alias_double.
22572 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
22573 (atan): Define using libm_alias_double.
22574 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
22575 (cbrt): Define using libm_alias_double.
22576 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
22577 (ceil): Define using libm_alias_double.
22578 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
22579 (copysign): Define using libm_alias_double.
22580 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
22581 (expm1): Define using libm_alias_double.
22582 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
22583 (fabs): Define using libm_alias_double.
22584 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
22585 (fdim): Define using libm_alias_double.
22586 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
22587 (floor): Define using libm_alias_double.
22588 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
22589 (fmax): Define using libm_alias_double.
22590 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
22591 (fmin): Define using libm_alias_double.
22592 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
22593 (frexp): Define using libm_alias_double.
22594 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
22595 (llrint): Define using libm_alias_double.
22596 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
22597 (logb): Define using libm_alias_double.
22598 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
22599 (lrint): Define using libm_alias_double.
22600 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
22601 (nearbyint): Define using libm_alias_double.
22602 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
22603 (remquo): Define using libm_alias_double.
22604 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
22605 (rint): Define using libm_alias_double.
22606 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
22607 (trunc): Define using libm_alias_double.
22608 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
22609 (fmax): Define using libm_alias_double.
22610 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
22611 (fmin): Define using libm_alias_double.
22612 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
22613 (fma): Define using libm_alias_double.
22615 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
22618 * elf/dl-hwcaps.c (ROUND): Removed.
22619 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
22620 and ELF_NOTE_NEXT_OFFSET.
22621 * elf/dl-load.c (ROUND): Removed.
22622 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
22623 * elf/readelflib.c (ROUND): Removed.
22624 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
22625 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
22626 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
22627 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
22629 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22631 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
22632 [!__fmaf] (fmaf): Define using libm_alias_float.
22634 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
22635 [!__fma] (fma): Define using libm_alias_double.
22636 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
22638 2017-11-28 Mike FABIAN <mfabian@redhat.com>
22641 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
22642 and implement the collation rules for cs from CLDR on top of that.
22643 * Makefile: Add cs_CZ.UTF-8 to test-input.
22644 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
22646 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
22648 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
22650 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
22651 Icarus Sparry <icarus.w.sparry@intel.com>
22653 * benchtests/Makefile:Add BENCHSET to allow subsets of
22654 benchmarks to be run.
22655 * benchtests/README: Add documentation for: Running subsets of
22658 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
22660 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
22661 range of tests names.
22663 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
22664 result from property and remove "max", min" and "mean" from
22665 required properties based on benchtests/bench-skeleton.c.
22667 2017-11-28 Florian Weimer <fweimer@redhat.com>
22670 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
22671 due to Internet requirement.
22672 * posix/Makefile (tests): Remove tst-getaddrinfo4,
22674 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
22676 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22678 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22679 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
22680 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
22681 (sysdep_routines): Add memset-ultra1.
22682 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
22684 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
22685 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
22686 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
22687 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
22688 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
22689 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
22690 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
22691 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22693 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
22695 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
22696 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
22697 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
22698 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
22699 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
22700 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
22701 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
22703 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22704 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
22705 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
22706 (sysdep_routines): Add memcpy-ultra1.
22707 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
22708 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
22710 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22712 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
22713 (cfloat_versions): Take function argument without trailing 'f'.
22714 Call libm_alias_float_other.
22715 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
22716 * sysdeps/alpha/fpu/cargf.c: Likewise.
22717 * sysdeps/alpha/fpu/cimagf.c: Likewise.
22718 * sysdeps/alpha/fpu/conjf.c: Likewise.
22719 * sysdeps/alpha/fpu/crealf.c: Likewise.
22720 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
22721 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
22722 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
22723 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
22724 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
22725 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
22726 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
22727 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
22728 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
22729 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
22730 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
22731 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
22732 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
22733 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
22734 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
22735 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
22736 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
22737 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
22738 (clog10f): Use libm_alias_float_other.
22739 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
22740 (ceilf): Define using libm_alias_float.
22741 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
22742 (copysignf): Define using libm_alias_float.
22743 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22744 (fabsf): Define using libm_alias_float.
22745 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
22746 (floorf): Define using libm_alias_float.
22747 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
22748 (fmaxf): Define using libm_alias_float.
22749 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
22750 (fminf): Define using libm_alias_float.
22751 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
22752 (lrintf): Define using libm_alias_float.
22753 (llrintf): Likewise.
22754 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
22755 (lroundf): Define using libm_alias_float.
22756 (llroundf): Likewise.
22757 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
22758 (rintf): Define using libm_alias_float.
22759 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
22760 (truncf): Define using libm_alias_float.
22762 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
22763 (ceilf): Define using libm_alias_float.
22764 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
22765 (floorf): Define using libm_alias_float.
22766 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
22767 (fmaf): Define using libm_alias_float.
22768 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
22769 (fmaxf): Define using libm_alias_float.
22770 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
22771 (fminf): Define using libm_alias_float.
22772 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
22773 (llrintf): Define using libm_alias_float.
22774 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
22775 (llroundf): Define using libm_alias_float.
22776 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
22777 (lrintf): Define using libm_alias_float.
22778 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
22779 (lroundf): Define using libm_alias_float.
22780 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
22781 <libm-alias-float.h>.
22782 (nearbyintf): Define using libm_alias_float.
22783 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
22784 (rintf): Define using libm_alias_float.
22785 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
22786 (roundf): Define using libm_alias_float.
22787 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
22788 (truncf): Define using libm_alias_float.
22790 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
22791 (ceil): Define using libm_alias_double.
22792 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
22793 (copysign): Define using libm_alias_double.
22794 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
22795 (fabs): Define using libm_alias_double.
22796 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
22797 (floor): Define using libm_alias_double.
22798 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
22799 (fmax): Define using libm_alias_double.
22800 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
22801 (fmin): Define using libm_alias_double.
22802 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
22803 (lrint): Define using libm_alias_double.
22804 (llrint): Likewise.
22805 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
22806 (lround): Define using libm_alias_double.
22807 (llround): Likewise.
22808 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
22809 (rint): Define using libm_alias_double.
22810 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
22811 (trunc): Define using libm_alias_double.
22813 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
22814 (libm_alias_double_r): Add semicolon after weak_alias call.
22816 2017-11-27 Joseph Myers <joseph@codesourcery.com>
22818 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
22819 (ceil): Define using libm_alias_double.
22820 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
22821 (floor): Define using libm_alias_double.
22822 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
22823 (fma): Define using libm_alias_double.
22824 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
22825 (fmax): Define using libm_alias_double.
22826 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
22827 (fmin): Define using libm_alias_double.
22828 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
22829 (llrint): Define using libm_alias_double.
22830 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
22831 (llround): Define using libm_alias_double.
22832 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
22833 (lrint): Define using libm_alias_double.
22834 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
22835 (lround): Define using libm_alias_double.
22836 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
22837 (nearbyint): Define using libm_alias_double.
22838 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
22839 (rint): Define using libm_alias_double.
22840 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
22841 (round): Define using libm_alias_double.
22842 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
22843 (trunc): Define using libm_alias_double.
22845 2017-11-27 Florian Weimer <fweimer@redhat.com>
22847 * sysdeps/unix/sysv/linux/mlock2.c: New file.
22848 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
22849 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
22850 (tests): Add tst-mlock2.
22851 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
22852 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
22853 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
22854 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
22855 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
22856 for mlock. Document mlock2.
22858 2017-11-27 Joseph Myers <joseph@codesourcery.com>
22860 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
22861 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
22863 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
22865 * sysdeps/x86/Makeconfig: New file.
22866 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
22867 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22868 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
22869 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22870 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22871 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22872 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
22874 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22875 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22876 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22877 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22878 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22879 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22880 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22881 * manual/math.texi (Mathematics): Document support for _Float64x.
22882 * math/Versions (GLIBC_2.27): Add _Float64x functions.
22883 * stdlib/Versions (GLIBC_2.27): Likewise.
22884 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22885 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22886 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22887 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22888 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22889 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22890 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22891 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22892 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22893 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22894 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22895 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22900 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22901 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22902 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22903 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22904 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22905 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22906 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22907 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22908 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22909 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22910 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22911 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22912 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22913 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22915 2017-11-27 Andreas Schwab <schwab@suse.de>
22917 * elf/Makefile (dl-routines): Add dl-sort-maps.
22918 * elf/dl-sort-maps.c: New file.
22919 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
22920 (_dl_sort_maps): Declare.
22921 * elf/dl-fini.c (_dl_sort_fini): Remove.
22922 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
22923 * elf/dl-close.c (_dl_close_worker): Likewise.
22924 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
22926 * elf/dl-open.c (dl_open_worker): Likewise.
22928 2017-11-24 Joseph Myers <joseph@codesourcery.com>
22930 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
22931 using libm_alias_float128.
22932 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
22934 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
22936 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
22937 (setpayloadsigf128): Likewise.
22938 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
22940 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
22943 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
22944 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
22945 -mfloat128 to CFLAGS.
22947 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
22949 (CFLAGS-libm-test-support-float64x.c): New variable.
22950 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
22951 $(f128-loader-link) to gnulib-tests.
22953 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
22954 (libm_alias_float128_other_r): If
22955 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
22957 (libm_alias_float128_r): Add semicolon after weak_alias call.
22958 * sysdeps/generic/libm-alias-ldouble.h
22959 (libm_alias_ldouble_other_r_f128): New macro.
22960 (libm_alias_ldouble_other_r_f64x): Likewise.
22961 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22962 and libm_alias_ldouble_other_r_f64x.
22963 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
22964 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
22965 (libm_alias_ldouble_other_r_f128): New macro.
22966 (libm_alias_ldouble_other_r_f64x): Likewise.
22967 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22968 and libm_alias_ldouble_other_r_f64x.
22970 * stdlib/strfroml.c: Always include <stdlib.h>.
22971 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
22972 undefine as macro and define as weak alias.
22973 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
22974 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
22976 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
22977 Define and later undefine as macro and define as weak alias.
22979 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22980 Define and later undefine as macro. Define as weak alias if
22982 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
22983 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22984 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
22985 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22986 Define and later undefine as macro. Define as weak alias if
22988 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
22989 Define and later undefine as macro. Define as weak alias if
22991 * sysdeps/ieee754/float128/strtof128_l.c
22992 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
22993 Define and later undefine as macro. Define as weak alias if
22995 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
22996 Define and later undefine as macro. Define as weak alias if
22998 * sysdeps/ieee754/ldbl-128/strtold_l.c
22999 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23000 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23001 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23002 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23003 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
23004 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23005 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23006 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23007 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23008 * sysdeps/ieee754/ldbl-96/strtold_l.c
23009 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23010 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23011 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23012 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23014 * math/test-float64x.h: New file.
23015 * math/Makefile (type-float64x-yes): New variable.
23016 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
23018 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
23019 function-like macro.
23020 (min_of_type_): Likewise.
23021 (min_of_type_l): Likewise.
23022 (min_of_type_f128): Likewise.
23023 (min_of_type): Pass () as last argument of __MATH_TG.
23025 * stdlib/tst-strtod-round-skeleton.c
23026 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
23029 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
23030 for combinations of long double with _Float64 and _Float64x.
23032 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
23033 (__DECL_SIMD_cosf32): Likewise.
23034 (__DECL_SIMD_cosf64): Likewise.
23035 (__DECL_SIMD_cosf32x): Likewise.
23036 (__DECL_SIMD_cosf64x): Likewise.
23037 (__DECL_SIMD_cosf128x): Likewise.
23038 (__DECL_SIMD_sinf16): Likewise.
23039 (__DECL_SIMD_sinf32): Likewise.
23040 (__DECL_SIMD_sinf64): Likewise.
23041 (__DECL_SIMD_sinf32x): Likewise.
23042 (__DECL_SIMD_sinf64x): Likewise.
23043 (__DECL_SIMD_sinf128x): Likewise.
23044 (__DECL_SIMD_sincosf16): Likewise.
23045 (__DECL_SIMD_sincosf32): Likewise.
23046 (__DECL_SIMD_sincosf64): Likewise.
23047 (__DECL_SIMD_sincosf32x): Likewise.
23048 (__DECL_SIMD_sincosf64x): Likewise.
23049 (__DECL_SIMD_sincosf128x): Likewise.
23050 (__DECL_SIMD_logf16): Likewise.
23051 (__DECL_SIMD_logf32): Likewise.
23052 (__DECL_SIMD_logf64): Likewise.
23053 (__DECL_SIMD_logf32x): Likewise.
23054 (__DECL_SIMD_logf64x): Likewise.
23055 (__DECL_SIMD_logf128x): Likewise.
23056 (__DECL_SIMD_expf16): Likewise.
23057 (__DECL_SIMD_expf32): Likewise.
23058 (__DECL_SIMD_expf64): Likewise.
23059 (__DECL_SIMD_expf32x): Likewise.
23060 (__DECL_SIMD_expf64x): Likewise.
23061 (__DECL_SIMD_expf128x): Likewise.
23062 (__DECL_SIMD_powf16): Likewise.
23063 (__DECL_SIMD_powf32): Likewise.
23064 (__DECL_SIMD_powf64): Likewise.
23065 (__DECL_SIMD_powf32x): Likewise.
23066 (__DECL_SIMD_powf64x): Likewise.
23067 (__DECL_SIMD_powf128x): Likewise.
23069 * stdlib/Versions (libc): Move entries for wcstof128 and
23070 wcstof128_l to ....
23071 * wcsmbs/Versions (libc): ... here.
23072 Include <float128-abi.h>.
23074 2017-11-24 Florian Weimer <fweimer@redhat.com>
23076 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23077 bits/mman-shared.h.
23078 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
23079 <bits/mman-shared.h>.
23080 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
23082 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
23083 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
23084 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
23085 <bits/mman-shared.h>.
23087 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23090 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
23091 posix_memalign/free.
23092 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
23094 2017-11-22 Mike FABIAN <mfabian@redhat.com>
23097 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
23098 and implement the collation rules for pl from CLDR on top of that.
23099 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
23100 of locales to be built for testing.
23101 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
23103 2017-11-23 Joseph Myers <joseph@codesourcery.com>
23105 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
23106 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
23107 libm_alias_ldouble_other.
23108 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
23109 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
23110 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
23111 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
23112 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
23113 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
23114 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
23115 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
23116 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
23117 libm_alias_ldouble_r.
23118 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
23119 libm_alias_ldouble_other.
23120 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
23121 (log10l): Likewise.
23122 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
23123 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
23124 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
23125 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
23126 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
23127 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
23128 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
23129 (atan2l): Likewise.
23130 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
23131 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
23132 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
23133 libm_alias_ldouble.
23134 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
23136 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
23137 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
23138 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
23140 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
23141 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
23142 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
23143 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
23144 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
23145 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
23146 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
23147 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
23148 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
23149 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
23150 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
23151 libm_alias_ldouble.
23152 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
23153 libm_alias_ldouble_other.
23154 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
23155 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
23156 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
23157 libm_alias_ldouble.
23158 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
23159 libm_alias_ldouble_other.
23160 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
23161 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
23162 * sysdeps/ia64/fpu/w_lgammal_main.c
23163 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
23164 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
23166 2017-11-23 Florian Weimer <fweimer@redhat.com>
23168 * malloc/malloc.c (tcache_thread_shutdown): Rename from
23169 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
23170 alike. Remove freeres marker.
23171 * malloc/arena.c (arena_thread_freeres): Call
23172 tcache_thread_shutdown.
23174 2017-11-23 Florian Weimer <fweimer@redhat.com>
23177 Export nscd hash function as __nss_hash.
23178 * include/nss.h (__nss_hash): Declare.
23179 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
23181 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
23182 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
23184 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
23185 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
23186 * nss/Makefiles (routines): Add nss_hash.
23187 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
23188 * nss/nss_hash.c: Rename from nis/nis_hash.c.
23189 (__nss_hash): Rename from __nis_hash. Define hidden alias.
23190 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
23192 2017-11-23 Florian Weimer <fweimer@redhat.com>
23195 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
23196 Return error code, not -1.
23197 * signal/tst-sigwait-eintr.c: New file.
23198 * signal/Makefile (tests): Add tst-sigwait-eintr.
23200 2017-11-23 Florian Weimer <fweimer@redhat.com>
23202 Linux: Add memfd_create system call wrapper
23203 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
23205 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
23206 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
23207 [__USE_GNU] (memfd_create): Declare.
23208 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
23209 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
23210 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
23211 * sysdeps/unix/sysv/linux/**.abilist: Update.
23212 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
23214 2017-11-22 Joseph Myers <joseph@codesourcery.com>
23216 * localedata/gen-locale.sh: Fix typo in variable name.
23218 * resolv/res_debug.c (p_secstodate): Condition definition on
23219 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
23220 directly as __p_secstodate, and as a compat symbol. Do not use
23221 libresolv_hidden_def.
23222 * resolv/resolv.h (p_secstodate): Remove macro and function
23224 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
23225 using p_secstodate.
23226 * include/resolv.h (__p_secstodate): Do not use
23227 libresolv_hidden_proto.
23228 * resolv/Makefile (tests): Move tst-p_secstodate to ....
23229 (tests-internal): ... here.
23230 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
23231 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
23232 and declare and use __p_secstodate and use compat_symbol_reference
23234 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
23235 implementation returning 77.
23238 * resolv/res_debug.c: Include <libc-diag.h>.
23239 (p_secstodate): Assert time_t at least as wide as u_long. On
23240 overflow, use integer seconds since the epoch as output, or use
23241 "<overflow>" as output and set errno to EOVERFLOW if integer
23242 seconds since the epoch would be 14 or more characters.
23243 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
23245 * resolv/tst-p_secstodate.c: New file.
23246 * resolv/Makefile (tests): Add tst-p_secstodate.
23247 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
23249 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
23250 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
23251 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
23253 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
23255 * posix/regcomp.c (init_word_char): Add comments.
23257 2017-11-22 Joseph Myers <joseph@codesourcery.com>
23260 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
23261 strlen to compute length of ut_user and set trailing NUL byte of
23264 2017-11-21 Mike FABIAN <mfabian@redhat.com>
23267 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
23268 using “copy "iso14651_t1"” and then implementing the
23269 collation rules for lv from CLDR on top of that.
23270 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
23271 of locales to be built for testing.
23272 * lv_LV.UTF-8.in: New file with test data to test the Latvian
23275 2017-11-21 Joseph Myers <joseph@codesourcery.com>
23277 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23278 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
23279 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
23280 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
23281 [__USE_MISC] (MADV_HWPOISON): New macro.
23282 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
23284 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23286 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
23287 -Wmissing-braces on GCC 4.9.
23289 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23291 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
23292 * sysdeps/s390/s390-32/start.S (_start): Likewise
23293 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
23294 (thread_start): Likewise.
23295 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
23296 (thread_start): Likewise.
23297 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
23298 (__makecontext_ret): Likewise.
23299 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
23300 (__makecontext_ret): Likewise.
23302 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23304 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
23305 __wcschrnul): Remove attribute_hidden.
23307 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
23309 regex: don't assume uint64_t or uint32_t
23310 This avoids -Werror=overflow errors for 32-bit systems in
23311 the 64-bit case. Problem reported by Joseph Myers in:
23312 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
23313 Also, when this code is used in Gnulib it ports to platforms
23314 that lack uint64_t and uint32_t. The C standard doesn't guarantee
23315 them, and on some 32-bit compilers there is no uint64_t.
23316 Problem reported by Gianluigi Tiesi in:
23317 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
23318 * posix/regcomp.c (init_word_char): Don't assume that the types
23319 uint64_t and uint32_t exist. Adapted from Gnulib patch
23320 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
23321 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
23323 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
23325 * sysdeps/aarch64/memset-reg.h: New file.
23326 * sysdeps/aarch64/memset.S: Use it.
23327 (__memset): Rename to MEMSET macro.
23328 [ZVA_MACRO]: Use zva_macro.
23329 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
23330 Add memset_generic and memset_falkor.
23331 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
23332 (__libc_ifunc_impl_list): Add memset ifuncs.
23333 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
23334 local variable zva_size.
23335 * sysdeps/aarch64/multiarch/memset.c: New file.
23336 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
23337 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
23338 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
23339 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
23340 (DCZID_DZP_MASK): New macro.
23341 (DCZID_BS_MASK): Likewise.
23342 (init_cpu_features): Read and set zva_size.
23343 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
23344 (struct cpu_features): New member zva_size.
23346 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
23347 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
23348 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
23350 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
23351 backwards. Fix timing computation.
23352 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
23353 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
23354 on memset by N at a time. Fix timing computation.
23356 2017-11-20 Florian Weimer <fweimer@redhat.com>
23358 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
23359 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
23361 2017-11-19 Florian Weimer <fweimer@redhat.com>
23363 manual: Document mprotect
23364 * manual/memory.texi (Memory Protection): New section.
23365 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
23366 documentation of PROT_* flags and reference the Memory Protection
23369 2017-11-19 Florian Weimer <fweimer@redhat.com>
23371 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
23372 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
23373 (Scatter-Gather): ... to here. Remove misleading comment.
23375 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
23377 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
23380 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
23381 when /proc/<pid>/setgroups does not exist.
23383 2017-11-18 Florian Weimer <fweimer@redhat.com>
23385 * sysdeps/unix/sysv/linux/tst-ttyname.c
23386 (become_root_in_mount_ns): Remove.
23387 (do_in_chroot_1): Call support_enter_mount_namespace.
23388 (do_in_chroot_2): Likewise.
23389 (do_test): Call support_become_root early.
23391 2017-11-18 Florian Weimer <fweimer@redhat.com>
23393 * support/namespace.h (support_enter_mount_namespace): Declare.
23394 * support/support_enter_mount_namespace.c: New file.
23395 * support/Makefile (libsupport-routines): Add
23396 support_enter_mount_namespace.
23398 2017-11-18 Florian Weimer <fweimer@redhat.com>
23400 * support/temp_file.c (support_create_temp_directory): Use
23401 test_dir and do not rely on the presence of the XXXXXX suffix.
23402 * support/temp_file.h (support_create_temp_directory): Update
23404 * support/tst-xreadlink.c (do_test): Adjust.
23405 * support/support_chroot.c (support_chroot_create): Likewise.
23407 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23409 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
23411 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
23414 2017-11-17 Joseph Myers <joseph@codesourcery.com>
23416 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
23417 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
23418 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
23419 (ceill): Define using libm_alias_ldouble.
23420 * sysdeps/x86_64/fpu/s_copysignl.S: Include
23421 <libm-alias-ldouble.h>.
23422 (copysignl): Define using libm_alias_ldouble.
23423 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
23424 (fabsl): Define using libm_alias_ldouble.
23425 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23426 (floorl): Define using libm_alias_ldouble.
23427 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23428 (fmaxl): Define using libm_alias_ldouble.
23429 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23430 (fminl): Define using libm_alias_ldouble.
23431 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23432 (llrintl): Define using libm_alias_ldouble.
23433 (lrintl): Likewise.
23434 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
23435 <libm-alias-ldouble.h>.
23436 (nearbyintl): Define using libm_alias_ldouble.
23437 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23438 (truncl): Define using libm_alias_ldouble.
23439 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
23440 <libm-alias-ldouble.h>.
23441 (lrintl): Define using libm_alias_ldouble.
23443 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
23444 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
23445 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
23446 (asinhl): Define using libm_alias_ldouble.
23447 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
23448 (atanl): Define using libm_alias_ldouble.
23449 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
23450 (cbrtl): Define using libm_alias_ldouble.
23451 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
23452 (ceill): Define using libm_alias_ldouble.
23453 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
23454 (copysignl): Define using libm_alias_ldouble.
23455 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
23456 (fabsl): Define using libm_alias_ldouble.
23457 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23458 (floorl): Define using libm_alias_ldouble.
23459 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23460 (fmaxl): Define using libm_alias_ldouble.
23461 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23462 (fminl): Define using libm_alias_ldouble.
23463 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
23464 (frexpl): Define using libm_alias_ldouble.
23465 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23466 (llrintl): Define using libm_alias_ldouble.
23467 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
23468 (logbl): Define using libm_alias_ldouble.
23469 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
23470 (lrintl): Define using libm_alias_ldouble.
23471 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
23472 (nearbyintl): Define using libm_alias_ldouble.
23473 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
23474 (nextafterl): Define using libm_alias_ldouble.
23475 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
23476 (remquol): Define using libm_alias_ldouble.
23477 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
23478 (rintl): Define using libm_alias_ldouble.
23479 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23480 (truncl): Define using libm_alias_ldouble.
23481 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23482 (fmaxl): Define using libm_alias_ldouble.
23483 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23484 (fminl): Define using libm_alias_ldouble.
23486 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
23487 to C syntax instead of availability and properties of types.
23488 * bits/floatn.h [!__ASSEMBLER]: Likewise.
23489 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
23490 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
23491 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
23492 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
23493 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
23495 2017-11-17 Florian Weimer <fweimer@redhat.com>
23497 support_become_root: Enable file creation in namespaces.
23498 * support/support_become_root.c (setup_mapping): New function.
23499 (support_become_root): Call it.
23501 2017-11-17 Joseph Myers <joseph@codesourcery.com>
23503 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
23506 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23508 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
23509 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
23511 2017-11-16 Joseph Myers <joseph@codesourcery.com>
23513 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
23515 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
23518 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
23520 * INSTALL: Fix botched up regeneration.
23522 * NEWS: Update sourceare link to https.
23523 * configure.ac: Likewise.
23524 * crypt/md5test-giant.c: Likewise.
23525 * dlfcn/bug-atexit1.c: Likewise.
23526 * dlfcn/bug-atexit2.c: Likewise.
23527 * localedata/README: Likewise.
23528 * malloc/tst-mallocfork.c: Likewise.
23529 * manual/install.texi: Likewise.
23530 * nptl/tst-pthread-getattr.c: Likewise.
23531 * stdio-common/tst-fgets.c: Likewise.
23532 * stdio-common/tst-fwrite.c: Likewise.
23533 * sunrpc/Makefile: Likewise.
23534 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
23535 * wcsmbs/tst-mbrtowc2.c: Likewise.
23536 * configure: Regenerate.
23537 * INSTALL: Regenerate.
23539 2017-11-15 Martin Sebor <msebor@redhat.com>
23541 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
23542 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
23543 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
23545 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
23548 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
23549 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
23552 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
23553 Defer is_pty check until end of the function.
23554 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23557 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
23558 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
23559 (ttyname): Likewise.
23560 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
23561 (__ttyname_r): Likewise.
23563 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
23566 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
23568 * manual/terminal.texi (Is It a Terminal):
23569 Mention ENODEV for ttyname and ttyname_r.
23571 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23573 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
23574 constant and macro.
23576 * sysdeps/unix/sysv/linux/bits/mman-linux.h
23577 [__USE_MISC] (MADV_WIPEONFORK): New macro.
23578 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
23579 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23580 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
23581 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
23583 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23585 * signal/sigrelse.c (sigrelse): Optimize implementation.
23587 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
23588 (__sigpause): Rely on __sigsuspend to implement single thread
23589 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
23591 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23593 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
23594 kernel version to 4.14.
23596 2017-11-15 Steve Ellcey <sellcey@cavium.com>
23599 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
23600 Check if ifname is too long.
23602 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
23604 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
23606 2017-11-15 Mike FABIAN <mfabian@redhat.com>
23608 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
23609 was accidentally lost.
23611 2017-11-15 Mike FABIAN <mfabian@redhat.com>
23613 * localedata/locales/az_IR: Add standard copyright header.
23615 2017-11-15 Florian Weimer <fweimer@redhat.com>
23618 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
23619 not just the top one. Output a new "subheaps" statistic.
23621 2017-11-15 Florian Weimer <fweimer@redhat.com>
23624 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
23625 under the per-arena lock.
23626 * malloc/Makefile (tests): Add tst-malloc_info.
23627 (tst-malloc_info): Link with libpthread.
23628 * malloc/tst-malloc_info.c: New file.
23630 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23633 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
23634 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
23635 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
23636 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
23637 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
23638 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
23639 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
23640 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
23641 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
23642 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
23643 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
23644 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
23645 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
23646 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
23647 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
23648 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
23649 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
23650 (__floating_type): Likewise.
23651 (__real_integer_type): Likewise.
23652 (__complex_integer_type): Likewise.
23653 (__expr_is_real): Likewise.
23654 (__tgmath_real_type_sub): Likewise.
23655 (__tgmath_real_type): Likewise.
23656 (__tgmath_complex_type_sub): Likewise.
23657 (__tgmath_complex_type): Likewise.
23658 (__TGMATH_F128): Likewise.
23659 (__TGMATH_CF128): Likewise.
23660 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
23662 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
23663 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
23665 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
23667 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
23668 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
23669 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
23670 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
23672 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
23673 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
23675 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
23676 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
23677 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
23679 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
23680 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
23681 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
23685 2017-11-14 Joseph Myers <joseph@codesourcery.com>
23687 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
23688 for stpncpy calls for GCC 8.
23689 (test_strncat): Disable -Wstringop-truncation warning for strncat
23690 calls for GCC 8. Disable -Wstringop-overflow= warning for one
23691 strncat call for GCC 7.
23692 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
23694 (test_memcmp): Use memcpy instead of strncpy for calls not copying
23697 * string/bug-strncat1.c: Include <libc-diag.h>.
23698 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
23700 2017-11-13 Claude Paroz <claude@2xlibre.net>
23703 * localedata/locales/aa_DJ: Improved readibility by replacing
23704 <Uxxxx> sequences in the ASCII printable range by their ASCII
23705 character equivalents.
23706 * localedata/locales/aa_ER: Likewise.
23707 * localedata/locales/aa_ER@saaho: Likewise.
23708 * localedata/locales/aa_ET: Likewise.
23709 * localedata/locales/af_ZA: Likewise.
23710 * localedata/locales/agr_PE: Likewise.
23711 * localedata/locales/ak_GH: Likewise.
23712 * localedata/locales/am_ET: Likewise.
23713 * localedata/locales/anp_IN: Likewise.
23714 * localedata/locales/ar_AE: Likewise.
23715 * localedata/locales/ar_BH: Likewise.
23716 * localedata/locales/ar_DZ: Likewise.
23717 * localedata/locales/ar_EG: Likewise.
23718 * localedata/locales/ar_IN: Likewise.
23719 * localedata/locales/ar_IQ: Likewise.
23720 * localedata/locales/ar_JO: Likewise.
23721 * localedata/locales/ar_KW: Likewise.
23722 * localedata/locales/ar_LB: Likewise.
23723 * localedata/locales/ar_LY: Likewise.
23724 * localedata/locales/ar_MA: Likewise.
23725 * localedata/locales/ar_OM: Likewise.
23726 * localedata/locales/ar_QA: Likewise.
23727 * localedata/locales/ar_SA: Likewise.
23728 * localedata/locales/ar_SD: Likewise.
23729 * localedata/locales/ar_SS: Likewise.
23730 * localedata/locales/ar_SY: Likewise.
23731 * localedata/locales/ar_TN: Likewise.
23732 * localedata/locales/ar_YE: Likewise.
23733 * localedata/locales/as_IN: Likewise.
23734 * localedata/locales/ast_ES: Likewise.
23735 * localedata/locales/ayc_PE: Likewise.
23736 * localedata/locales/az_AZ: Likewise.
23737 * localedata/locales/az_IR: Likewise.
23738 * localedata/locales/be_BY: Likewise.
23739 * localedata/locales/be_BY@latin: Likewise.
23740 * localedata/locales/bem_ZM: Likewise.
23741 * localedata/locales/ber_DZ: Likewise.
23742 * localedata/locales/ber_MA: Likewise.
23743 * localedata/locales/bg_BG: Likewise.
23744 * localedata/locales/bhb_IN: Likewise.
23745 * localedata/locales/bho_IN: Likewise.
23746 * localedata/locales/bi_VU: Likewise.
23747 * localedata/locales/bn_BD: Likewise.
23748 * localedata/locales/bn_IN: Likewise.
23749 * localedata/locales/bo_CN: Likewise.
23750 * localedata/locales/bo_IN: Likewise.
23751 * localedata/locales/br_FR: Likewise.
23752 * localedata/locales/brx_IN: Likewise.
23753 * localedata/locales/bs_BA: Likewise.
23754 * localedata/locales/byn_ER: Likewise.
23755 * localedata/locales/ca_AD: Likewise.
23756 * localedata/locales/ca_ES: Likewise.
23757 * localedata/locales/ca_FR: Likewise.
23758 * localedata/locales/ca_IT: Likewise.
23759 * localedata/locales/ce_RU: Likewise.
23760 * localedata/locales/chr_US: Likewise.
23761 * localedata/locales/cmn_TW: Likewise.
23762 * localedata/locales/crh_UA: Likewise.
23763 * localedata/locales/cs_CZ: Likewise.
23764 * localedata/locales/csb_PL: Likewise.
23765 * localedata/locales/cv_RU: Likewise.
23766 * localedata/locales/cy_GB: Likewise.
23767 * localedata/locales/da_DK: Likewise.
23768 * localedata/locales/de_AT: Likewise.
23769 * localedata/locales/de_BE: Likewise.
23770 * localedata/locales/de_CH: Likewise.
23771 * localedata/locales/de_DE: Likewise.
23772 * localedata/locales/de_IT: Likewise.
23773 * localedata/locales/de_LI: Likewise.
23774 * localedata/locales/de_LU: Likewise.
23775 * localedata/locales/doi_IN: Likewise.
23776 * localedata/locales/dv_MV: Likewise.
23777 * localedata/locales/dz_BT: Likewise.
23778 * localedata/locales/el_CY: Likewise.
23779 * localedata/locales/el_GR: Likewise.
23780 * localedata/locales/en_AG: Likewise.
23781 * localedata/locales/en_AU: Likewise.
23782 * localedata/locales/en_BW: Likewise.
23783 * localedata/locales/en_CA: Likewise.
23784 * localedata/locales/en_DK: Likewise.
23785 * localedata/locales/en_GB: Likewise.
23786 * localedata/locales/en_HK: Likewise.
23787 * localedata/locales/en_IE: Likewise.
23788 * localedata/locales/en_IL: Likewise.
23789 * localedata/locales/en_IN: Likewise.
23790 * localedata/locales/en_NG: Likewise.
23791 * localedata/locales/en_NZ: Likewise.
23792 * localedata/locales/en_PH: Likewise.
23793 * localedata/locales/en_SG: Likewise.
23794 * localedata/locales/en_US: Likewise.
23795 * localedata/locales/en_ZA: Likewise.
23796 * localedata/locales/en_ZM: Likewise.
23797 * localedata/locales/en_ZW: Likewise.
23798 * localedata/locales/eo: Likewise.
23799 * localedata/locales/es_AR: Likewise.
23800 * localedata/locales/es_BO: Likewise.
23801 * localedata/locales/es_CL: Likewise.
23802 * localedata/locales/es_CO: Likewise.
23803 * localedata/locales/es_CR: Likewise.
23804 * localedata/locales/es_CU: Likewise.
23805 * localedata/locales/es_DO: Likewise.
23806 * localedata/locales/es_EC: Likewise.
23807 * localedata/locales/es_ES: Likewise.
23808 * localedata/locales/es_GT: Likewise.
23809 * localedata/locales/es_HN: Likewise.
23810 * localedata/locales/es_MX: Likewise.
23811 * localedata/locales/es_NI: Likewise.
23812 * localedata/locales/es_PA: Likewise.
23813 * localedata/locales/es_PE: Likewise.
23814 * localedata/locales/es_PR: Likewise.
23815 * localedata/locales/es_PY: Likewise.
23816 * localedata/locales/es_SV: Likewise.
23817 * localedata/locales/es_US: Likewise.
23818 * localedata/locales/es_UY: Likewise.
23819 * localedata/locales/es_VE: Likewise.
23820 * localedata/locales/et_EE: Likewise.
23821 * localedata/locales/eu_ES: Likewise.
23822 * localedata/locales/eu_ES@euro: Likewise.
23823 * localedata/locales/fa_IR: Likewise.
23824 * localedata/locales/ff_SN: Likewise.
23825 * localedata/locales/fi_FI: Likewise.
23826 * localedata/locales/fil_PH: Likewise.
23827 * localedata/locales/fo_FO: Likewise.
23828 * localedata/locales/fr_BE: Likewise.
23829 * localedata/locales/fr_CA: Likewise.
23830 * localedata/locales/fr_CH: Likewise.
23831 * localedata/locales/fr_FR: Likewise.
23832 * localedata/locales/fr_LU: Likewise.
23833 * localedata/locales/fur_IT: Likewise.
23834 * localedata/locales/fy_DE: Likewise.
23835 * localedata/locales/fy_NL: Likewise.
23836 * localedata/locales/ga_IE: Likewise.
23837 * localedata/locales/gd_GB: Likewise.
23838 * localedata/locales/gez_ER: Likewise.
23839 * localedata/locales/gez_ET: Likewise.
23840 * localedata/locales/gl_ES: Likewise.
23841 * localedata/locales/gu_IN: Likewise.
23842 * localedata/locales/gv_GB: Likewise.
23843 * localedata/locales/ha_NG: Likewise.
23844 * localedata/locales/hak_TW: Likewise.
23845 * localedata/locales/he_IL: Likewise.
23846 * localedata/locales/hi_IN: Likewise.
23847 * localedata/locales/hif_FJ: Likewise.
23848 * localedata/locales/hne_IN: Likewise.
23849 * localedata/locales/hr_HR: Likewise.
23850 * localedata/locales/hsb_DE: Likewise.
23851 * localedata/locales/ht_HT: Likewise.
23852 * localedata/locales/hu_HU: Likewise.
23853 * localedata/locales/hy_AM: Likewise.
23854 * localedata/locales/i18n: Likewise.
23855 * localedata/locales/ia_FR: Likewise.
23856 * localedata/locales/id_ID: Likewise.
23857 * localedata/locales/ig_NG: Likewise.
23858 * localedata/locales/ik_CA: Likewise.
23859 * localedata/locales/is_IS: Likewise.
23860 * localedata/locales/it_CH: Likewise.
23861 * localedata/locales/it_IT: Likewise.
23862 * localedata/locales/iu_CA: Likewise.
23863 * localedata/locales/ja_JP: Likewise.
23864 * localedata/locales/ka_GE: Likewise.
23865 * localedata/locales/kk_KZ: Likewise.
23866 * localedata/locales/kl_GL: Likewise.
23867 * localedata/locales/kn_IN: Likewise.
23868 * localedata/locales/ko_KR: Likewise.
23869 * localedata/locales/kok_IN: Likewise.
23870 * localedata/locales/ks_IN: Likewise.
23871 * localedata/locales/ks_IN@devanagari: Likewise.
23872 * localedata/locales/ku_TR: Likewise.
23873 * localedata/locales/kw_GB: Likewise.
23874 * localedata/locales/ky_KG: Likewise.
23875 * localedata/locales/lb_LU: Likewise.
23876 * localedata/locales/lg_UG: Likewise.
23877 * localedata/locales/li_BE: Likewise.
23878 * localedata/locales/li_NL: Likewise.
23879 * localedata/locales/lij_IT: Likewise.
23880 * localedata/locales/ln_CD: Likewise.
23881 * localedata/locales/lo_LA: Likewise.
23882 * localedata/locales/lt_LT: Likewise.
23883 * localedata/locales/lv_LV: Likewise.
23884 * localedata/locales/lzh_TW: Likewise.
23885 * localedata/locales/mag_IN: Likewise.
23886 * localedata/locales/mai_IN: Likewise.
23887 * localedata/locales/mg_MG: Likewise.
23888 * localedata/locales/mhr_RU: Likewise.
23889 * localedata/locales/mi_NZ: Likewise.
23890 * localedata/locales/mk_MK: Likewise.
23891 * localedata/locales/ml_IN: Likewise.
23892 * localedata/locales/mn_MN: Likewise.
23893 * localedata/locales/mni_IN: Likewise.
23894 * localedata/locales/mr_IN: Likewise.
23895 * localedata/locales/ms_MY: Likewise.
23896 * localedata/locales/mt_MT: Likewise.
23897 * localedata/locales/my_MM: Likewise.
23898 * localedata/locales/nan_TW: Likewise.
23899 * localedata/locales/nan_TW@latin: Likewise.
23900 * localedata/locales/nb_NO: Likewise.
23901 * localedata/locales/nds_DE: Likewise.
23902 * localedata/locales/nds_NL: Likewise.
23903 * localedata/locales/ne_NP: Likewise.
23904 * localedata/locales/nhn_MX: Likewise.
23905 * localedata/locales/niu_NU: Likewise.
23906 * localedata/locales/niu_NZ: Likewise.
23907 * localedata/locales/nl_AW: Likewise.
23908 * localedata/locales/nl_BE: Likewise.
23909 * localedata/locales/nl_NL: Likewise.
23910 * localedata/locales/nn_NO: Likewise.
23911 * localedata/locales/nr_ZA: Likewise.
23912 * localedata/locales/nso_ZA: Likewise.
23913 * localedata/locales/oc_FR: Likewise.
23914 * localedata/locales/om_ET: Likewise.
23915 * localedata/locales/om_KE: Likewise.
23916 * localedata/locales/or_IN: Likewise.
23917 * localedata/locales/os_RU: Likewise.
23918 * localedata/locales/pa_IN: Likewise.
23919 * localedata/locales/pa_PK: Likewise.
23920 * localedata/locales/pap_AW: Likewise.
23921 * localedata/locales/pap_CW: Likewise.
23922 * localedata/locales/pl_PL: Likewise.
23923 * localedata/locales/ps_AF: Likewise.
23924 * localedata/locales/pt_BR: Likewise.
23925 * localedata/locales/pt_PT: Likewise.
23926 * localedata/locales/quz_PE: Likewise.
23927 * localedata/locales/raj_IN: Likewise.
23928 * localedata/locales/ro_RO: Likewise.
23929 * localedata/locales/ru_RU: Likewise.
23930 * localedata/locales/ru_UA: Likewise.
23931 * localedata/locales/rw_RW: Likewise.
23932 * localedata/locales/sa_IN: Likewise.
23933 * localedata/locales/sat_IN: Likewise.
23934 * localedata/locales/sc_IT: Likewise.
23935 * localedata/locales/sd_IN: Likewise.
23936 * localedata/locales/sd_IN@devanagari: Likewise.
23937 * localedata/locales/se_NO: Likewise.
23938 * localedata/locales/sgs_LT: Likewise.
23939 * localedata/locales/shs_CA: Likewise.
23940 * localedata/locales/si_LK: Likewise.
23941 * localedata/locales/sid_ET: Likewise.
23942 * localedata/locales/sk_SK: Likewise.
23943 * localedata/locales/sl_SI: Likewise.
23944 * localedata/locales/sm_WS: Likewise.
23945 * localedata/locales/so_DJ: Likewise.
23946 * localedata/locales/so_ET: Likewise.
23947 * localedata/locales/so_KE: Likewise.
23948 * localedata/locales/so_SO: Likewise.
23949 * localedata/locales/sq_AL: Likewise.
23950 * localedata/locales/sq_MK: Likewise.
23951 * localedata/locales/sr_ME: Likewise.
23952 * localedata/locales/sr_RS: Likewise.
23953 * localedata/locales/sr_RS@latin: Likewise.
23954 * localedata/locales/ss_ZA: Likewise.
23955 * localedata/locales/st_ZA: Likewise.
23956 * localedata/locales/sv_FI: Likewise.
23957 * localedata/locales/sv_SE: Likewise.
23958 * localedata/locales/sw_KE: Likewise.
23959 * localedata/locales/sw_TZ: Likewise.
23960 * localedata/locales/szl_PL: Likewise.
23961 * localedata/locales/ta_IN: Likewise.
23962 * localedata/locales/ta_LK: Likewise.
23963 * localedata/locales/tcy_IN: Likewise.
23964 * localedata/locales/te_IN: Likewise.
23965 * localedata/locales/tg_TJ: Likewise.
23966 * localedata/locales/th_TH: Likewise.
23967 * localedata/locales/the_NP: Likewise.
23968 * localedata/locales/ti_ER: Likewise.
23969 * localedata/locales/ti_ET: Likewise.
23970 * localedata/locales/tig_ER: Likewise.
23971 * localedata/locales/tk_TM: Likewise.
23972 * localedata/locales/tl_PH: Likewise.
23973 * localedata/locales/tn_ZA: Likewise.
23974 * localedata/locales/to_TO: Likewise.
23975 * localedata/locales/tpi_PG: Likewise.
23976 * localedata/locales/tr_CY: Likewise.
23977 * localedata/locales/tr_TR: Likewise.
23978 * localedata/locales/ts_ZA: Likewise.
23979 * localedata/locales/tt_RU: Likewise.
23980 * localedata/locales/tt_RU@iqtelif: Likewise.
23981 * localedata/locales/ug_CN: Likewise.
23982 * localedata/locales/uk_UA: Likewise.
23983 * localedata/locales/unm_US: Likewise.
23984 * localedata/locales/ur_IN: Likewise.
23985 * localedata/locales/ur_PK: Likewise.
23986 * localedata/locales/uz_UZ: Likewise.
23987 * localedata/locales/uz_UZ@cyrillic: Likewise.
23988 * localedata/locales/ve_ZA: Likewise.
23989 * localedata/locales/vi_VN: Likewise.
23990 * localedata/locales/wa_BE: Likewise.
23991 * localedata/locales/wae_CH: Likewise.
23992 * localedata/locales/wal_ET: Likewise.
23993 * localedata/locales/wo_SN: Likewise.
23994 * localedata/locales/xh_ZA: Likewise.
23995 * localedata/locales/yi_US: Likewise.
23996 * localedata/locales/yo_NG: Likewise.
23997 * localedata/locales/yue_HK: Likewise.
23998 * localedata/locales/yuw_PG: Likewise.
23999 * localedata/locales/zh_CN: Likewise.
24000 * localedata/locales/zh_HK: Likewise.
24001 * localedata/locales/zh_SG: Likewise.
24002 * localedata/locales/zh_TW: Likewise.
24003 * localedata/locales/zu_ZA: Likewise.
24005 2017-11-13 Florian Weimer <fweimer@redhat.com>
24007 * support/next_to_fault.h, support/next_to_fault.c: New files.
24008 * support/Makefile (libsupport-routines): Add next_to_fault.
24009 * resolv/tst-inet_pton.c (struct next_to_fault)
24010 (next_to_fault_allocate, next_to_fault_free): Remove.
24011 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
24013 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
24015 * elf/dl-support.c: Include <dl-procruntime.c>.
24016 * include/link.h: Include <link_map.h>.
24017 * sysdeps/generic/dl-procruntime.c: New file.
24018 * sysdeps/generic/link_map.h: Likewise.
24019 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
24020 the writable ld.so namespace.
24022 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
24024 timezone: pacify GCC -Wstringop-truncation
24025 Problem reported by Martin Sebor in:
24026 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
24027 * timezone/zic.c (writezone): Use memcpy, not strncpy.
24029 2017-11-12 Florian Weimer <fweimer@redhat.com>
24031 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
24033 (tests): Add tst-xreadlink.
24034 * support/support.h (xstrndup): Declare.
24035 * support/xunistd.h (xunlink, xreadlink): Declare.
24036 * support/temp_file.h (support_create_temp_directory): Declare.
24037 * support/temp_file.c (support_create_temp_directory): New function.
24038 * support/support_chroot.c (support_chroot_create): Use it.
24039 * support/xreadlink.c: New file.
24040 * support/xstrndup.c: Likewise.
24041 * support/xunlink.c: Likewise.
24042 * support/tst-xreadlink.c: Likewise.
24044 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
24046 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
24048 2017-11-11 Florian Weimer <fweimer@redhat.com>
24052 * resolv/res_comp.c (printable_string, binary_hnok)
24053 (binary_leading_dash): New functions.
24054 (res_hnok): Reimplement using these functions and ns_name_pton.
24055 (res_ownok): Likewise.
24056 (res_mailok): Reimplement using printable_string, ns_name_pton and
24058 (res_dnok): Reimplement using printable_string and ns_name_pton.
24059 * resolv/tst-res_hnok.c (tests): Add additional tests.
24060 (LETTERDIGITS, PRINTABLE): Define.
24061 (do_test): Adjust one_char results.
24063 2017-11-11 Florian Weimer <fweimer@redhat.com>
24066 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
24067 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
24069 2017-11-11 Florian Weimer <fweimer@redhat.com>
24071 * resolv/tst-ns_name_pton.c: New file.
24072 * resolv/Makefile (tests): Add tst-ns_name_pton.
24073 (tst-ns_name_pton): Link against libresolv.
24075 2017-11-11 Florian Weimer <fweimer@redhat.com>
24077 * resolv/tst-res_hnok.c: New file.
24078 * resolv/Makefile (tests): Add tst-res_hnok.
24079 (tst-res_hnok): Link against libresolv.
24081 2017-11-11 Florian Weimer <fweimer@redhat.com>
24083 * resolv/tst-resolv-network.c: Use test framework instead explicit
24086 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
24088 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
24089 <jmp_buf-macros.h>.
24090 [!_ISOMAC] (STR_HELPER): New.
24091 [!_ISOMAC] (STR): Likewise.
24092 [!_ISOMAC] (TEST_SIZE): Likewise.
24093 [!_ISOMAC] (TEST_ALIGN): Likewise.
24094 [!_ISOMAC] (TEST_OFFSET): Likewise.
24095 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
24096 field offsets of jmp_buf as well as sigjmp_buf.
24097 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
24098 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
24099 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
24100 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
24101 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
24102 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
24103 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
24104 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
24105 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
24106 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
24108 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
24110 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
24111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
24113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
24115 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
24116 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
24117 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
24118 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
24119 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
24120 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
24122 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
24124 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
24125 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
24126 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
24128 2017-11-07 Joseph Myers <joseph@codesourcery.com>
24131 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24132 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
24133 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24134 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
24135 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24136 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
24137 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24138 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
24139 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24140 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
24141 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24142 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
24143 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24144 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
24145 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24146 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
24147 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24148 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
24149 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24150 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
24151 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24152 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
24153 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24154 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
24155 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24156 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
24157 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24158 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
24159 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24160 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
24161 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24162 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
24163 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24164 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
24165 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24166 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
24167 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24168 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
24169 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24170 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
24171 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24172 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
24173 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24174 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
24175 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24176 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
24177 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24178 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
24179 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24180 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
24181 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24182 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
24183 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24184 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
24185 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24186 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
24187 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24188 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
24189 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24190 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
24191 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24192 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
24193 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24194 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
24195 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24196 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
24197 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24198 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
24199 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24200 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
24201 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24202 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
24203 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24204 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
24205 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24206 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
24207 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24208 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
24209 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24210 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
24211 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24212 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
24213 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24214 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
24215 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24216 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
24217 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24218 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
24220 * stdlib/tst-strtod.h (F16): New macro.
24226 (IF_FLOAT16): Likewise.
24227 (IF_FLOAT32): Likewise.
24228 (IF_FLOAT64): Likewise.
24229 (IF_FLOAT32X): Likewise.
24230 (IF_FLOAT64X): Likewise.
24231 (IF_FLOAT128X): Likewise.
24232 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
24233 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
24234 (STRTOD_TEST_FOREACH): Likewise.
24235 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
24236 (CHOOSE_f64): Likewise.
24237 (CHOOSE_f32x): Likewise.
24238 (CHOOSE_f64x): Likewise.
24240 2017-11-07 Andreas Schwab <schwab@suse.de>
24242 * nptl/Makefile (tests-internal): Remove tst-typesizes.
24244 2017-11-07 Mike FABIAN <mfabian@redhat.com>
24247 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
24249 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
24252 2017-11-07 Claude Paroz <claude@2xlibre.net>
24255 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
24257 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
24259 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
24262 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24265 * nptl/allocatestack.c (allocate_stack): Check if
24266 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
24267 __PTHREAD_MUTEX_HAVE_PREV is defined.
24268 * nptl/descr.h (pthread): Likewise.
24269 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24271 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
24272 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
24273 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
24274 * sysdeps/nptl/bits/thread-shared-types.h
24275 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24277 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
24278 of __WORDSIZE for internal layout.
24279 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
24280 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
24281 instead of __WORDSIZE whether to use an union for __spins and __list
24283 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
24285 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
24286 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24288 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
24289 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24291 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
24292 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24294 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
24295 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24297 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
24298 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24300 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
24301 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24303 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
24304 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24306 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
24307 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24309 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
24310 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24312 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
24313 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24315 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
24316 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24318 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
24319 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24321 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
24322 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24324 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
24325 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24327 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
24328 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24331 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
24333 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
24334 checks for expected input type size.
24335 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
24336 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
24338 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
24339 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
24340 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
24341 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
24342 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
24343 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
24344 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
24345 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
24346 superflous runtime assert check.
24347 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
24349 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
24351 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
24353 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
24355 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
24357 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
24359 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
24360 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
24361 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
24363 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
24365 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
24367 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
24369 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
24371 * nptl/pthread_attr_setinheritsched.c
24372 (__pthread_attr_setinheritsched): Likewise.
24373 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
24375 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
24377 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
24378 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
24379 __old_pthread_attr_setstack): Likewise.
24380 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
24382 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
24384 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
24386 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
24387 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
24389 * nptl/tst-typesizes.c: Remove file.
24391 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
24392 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
24393 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
24394 checks for internal pthread_mutex_t offsets.
24395 * sysdeps/aarch64/nptl/pthread-offsets.h
24396 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
24397 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
24398 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
24399 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
24400 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
24401 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
24402 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
24403 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
24404 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
24405 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
24406 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
24407 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
24408 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
24409 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
24410 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
24411 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
24412 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
24413 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
24415 2017-11-07 Florian Weimer <fweimer@redhat.com>
24417 * bits/mman-linux.h: Move ...
24418 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
24420 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
24423 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24425 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
24426 Redefine STRNLEN as __strnlen_power8.
24428 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24430 * signal/sighold.c (sighold): Optimize implementation.
24432 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
24433 __NR_rt_sigqueueinfo.
24435 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
24437 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
24438 assume __NR_rt_sigtimedwait.
24439 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
24440 and add LIBC_CANCEL_HANDLED for cancellation marking.
24441 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24443 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24444 (sysdeps_routines): Add memchr_noneon.
24445 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
24446 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
24447 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
24448 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
24449 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
24450 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
24451 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
24453 * sysdeps/arm/arm-ifunc.h: New file.
24454 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
24455 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
24456 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
24457 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
24458 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
24459 (__memcpy_neon): Avoid create hidden alias.
24460 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
24461 (__memcpy_vfp): Likewise.
24462 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24463 (sysdep_routines): Add memcpy_arm.
24464 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
24466 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
24469 * Makerules (make-link-multidir): New.
24470 * config.make.in (multidir): New.
24471 * configure.ac (libc_cv_multidir): New. AC_SUBST.
24472 * configure: Regenerated.
24473 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
24474 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
24475 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
24478 2017-11-06 Joseph Myers <joseph@codesourcery.com>
24481 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
24482 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
24484 2017-11-04 Mike FABIAN <mfabian@redhat.com>
24486 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
24489 2017-11-04 Florian Weimer <fweimer@redhat.com>
24491 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
24493 2017-11-03 Joseph Myers <joseph@codesourcery.com>
24495 * math/math.h [__HAVE_DISTINCT_FLOAT16
24496 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24497 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24498 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24499 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
24500 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
24501 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
24502 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24503 (__MATH_TG_F32): New macro.
24504 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24505 (__MATH_TG_F64X): Likewise.
24506 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24507 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
24509 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
24511 * po/de.po: Update translations.
24512 * po/ru.po: Likewise.
24514 2017-11-03 Florian Weimer <fweimer@redhat.com>
24516 * manual/filesys.texi (Hard Links): Document linkat.
24518 2017-11-03 Joseph Myers <joseph@codesourcery.com>
24520 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
24521 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24522 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24523 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24524 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
24525 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
24526 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
24527 the same as _Float128.
24528 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
24529 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
24530 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
24533 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
24535 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
24537 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
24539 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24540 (strtof32x): Likewise.
24541 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24542 (strtof64x): Likewise.
24543 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24544 (strtof128x): Likewise.
24545 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24546 (strfromf16): Likewise.
24547 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24548 (strfromf32): Likewise.
24549 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24550 (strfromf64): Likewise.
24551 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24552 (strfromf32x): Likewise.
24553 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24554 (strfromf64x): Likewise.
24555 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24556 (strfromf128x): Likewise.
24557 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
24558 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
24559 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
24560 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
24561 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
24562 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
24564 2017-11-03 Richard Henderson <rth@twiddle.net>
24566 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
24568 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24570 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
24572 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24574 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
24575 DT_TLSDESC_GOT initialization.
24576 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
24577 (_dl_tlsdesc_resolve_hold): Likewise.
24578 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
24579 (_dl_tlsdesc_resolve_hold): Likewise.
24580 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
24581 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
24583 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24585 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
24587 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24590 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
24591 non-lazily for R_ARM_TLS_DESC.
24593 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24596 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
24597 R_ARM_TLS_DESC case.
24598 (elf_machine_lazy_rel): Remove the prelink check.
24600 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24602 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
24603 DT_TLSDESC_GOT initialization.
24604 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
24605 (_dl_tlsdesc_resolve_rela): Likewise.
24606 (_dl_tlsdesc_resolve_hold): Likewise.
24607 (_dl_tlsdesc_undefweak): Remove ldar.
24608 (_dl_tlsdesc_dynamic): Likewise.
24609 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
24610 (_dl_tlsdesc_resolve_rela): Likewise.
24611 (_dl_tlsdesc_resolve_hold): Likewise.
24612 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
24613 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
24614 (_dl_tlsdesc_resolve_rela): Likewise.
24615 (_dl_tlsdesc_resolve_hold): Likewise.
24617 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24619 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
24620 binding and initialization non-lazily for R_AARCH64_TLSDESC.
24622 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24624 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
24625 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24627 2017-11-02 Joseph Myers <joseph@codesourcery.com>
24629 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
24631 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
24632 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
24633 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
24634 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
24635 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
24636 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
24637 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
24638 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
24639 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
24640 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
24641 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
24643 2017-11-02 Mike FABIAN <mfabian@redhat.com>
24646 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
24647 * localedata/locales/tpi_PG: Add standard header.
24649 2017-11-02 Florian Weimer <fweimer@redhat.com>
24651 test-errno-linux: quotactl can fail with EPERM in containers.
24652 * sysdeps/unix/sysv/linux/test-errno-linux.c
24653 (LIST, LIST_FORWARD): New macros.
24654 (check_error_in_list): New function.
24655 (test_wrp_rv): Accept list of permitted error codes.
24656 (test_wrp_rv2): Remove.
24657 (test_wrp): Call test_wrp_rv with list of error codes.
24658 (test_wrp2): Accept list of error codes.
24659 (do_test): Adjust. Allow EPERM for quotactl.
24661 2017-11-02 Florian Weimer <fweimer@redhat.com>
24663 * stdio-common/bug16.c (do_test): Use array_length.
24664 * stdio-common/errlist.c (_sys_nerr): Likewise.
24665 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
24666 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
24667 * stdio-common/psiginfo.c (psiginfo): Use array_length.
24668 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
24669 (do_test): Use array_length.
24670 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
24671 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
24672 * stdio-common/tst-printf-round.c (do_test): Likewise.
24673 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
24674 (CHECK): Use array_length.
24675 * stdio-common/tstdiomisc.c (t3, F): Likewise.
24676 * stdio-common/tstscanf.c (main): Likewise.
24677 * stdio-common/vfprintf.c (process_string_arg): Likewise.
24679 2017-11-02 Florian Weimer <fweimer@redhat.com>
24681 Add array_length and array_end macros.
24682 * include/array_length.h: New file.
24684 2017-11-02 Florian Weimer <fweimer@redhat.com>
24687 * posix/tst-glob-tilde.c (do_noescape): New variable.
24688 (one_test): Process it.
24689 (do_test): Set do_noescape. Add unescaping test case.
24691 2017-11-01 Joseph Myers <joseph@codesourcery.com>
24694 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
24695 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
24696 with appropriate macros defined and undefined.
24697 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
24698 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24699 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
24700 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24701 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
24702 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24703 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
24704 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24705 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
24706 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24709 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
24710 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
24711 that for long double. Do not condition define and undefine of
24712 _Mdouble_complex_ on [__CFLOAT128].
24714 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
24716 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
24717 of <sysdeps/generic/sysdep.h>.
24718 (ALIGNARG): Removed.
24719 (ASM_SIZE_DIRECTIVE): Likewise.
24722 (ENTRY_CHK): Likewise.
24723 (END_CHK): Likewise.
24724 (syscall_error): Likewise.
24725 (mcount): Likewise.
24726 (PSEUDO_END): Likewise.
24728 (atom_text_section): Likewise.
24729 * sysdeps/x86/sysdep.h: New file.
24730 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
24731 of <sysdeps/generic/sysdep.h>.
24732 (ALIGNARG): Removed.
24733 (ASM_SIZE_DIRECTIVE): Likewise.
24736 (ENTRY_CHK): Likewise.
24737 (END_CHK): Likewise.
24738 (syscall_error): Likewise.
24739 (mcount): Likewise.
24740 (PSEUDO_END): Likewise.
24742 (atom_text_section): Likewise.
24744 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
24746 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
24747 category of LC_CTYPE set to "i18n:2012".
24748 * localedata/locales/i18n_ctype: Regenerate.
24750 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
24752 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
24753 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
24754 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
24755 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
24757 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
24758 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
24759 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
24760 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
24762 2017-10-31 Joseph Myers <joseph@codesourcery.com>
24765 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
24767 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
24769 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
24771 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24772 (CMPLXF32X): Likewise.
24773 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24774 (CMPLXF64X): Likewise.
24775 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24776 (CMPLXF128X): Likewise.
24779 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
24780 (__MATH_EVAL_FMT2): Define to add 0.0f.
24782 2017-10-31 Alan Modra <amodra@gmail.com>
24784 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
24786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
24787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
24788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
24789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
24790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
24791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
24792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
24793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
24794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
24795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
24796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
24797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
24798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
24799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
24800 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
24801 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
24802 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
24803 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
24804 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
24805 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
24806 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
24807 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
24808 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
24809 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
24810 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
24811 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
24812 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
24813 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
24814 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
24815 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
24816 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
24817 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
24818 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
24819 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
24820 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
24821 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
24822 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
24823 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
24824 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
24825 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24826 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
24827 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
24828 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
24829 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
24830 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
24831 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
24832 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
24833 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
24834 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
24835 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24836 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
24837 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
24838 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
24839 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
24840 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24841 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
24842 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
24843 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
24844 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24845 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24846 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24847 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
24848 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
24849 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24850 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
24851 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
24852 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
24853 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
24854 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
24856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
24857 include sysdep.h and math_ldbl_opt.h.
24859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
24860 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
24861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
24862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
24863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
24864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
24865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
24866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
24867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
24868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
24869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
24870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
24871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
24872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
24873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
24874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
24875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
24876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
24877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
24878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
24879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
24880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
24881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
24882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
24883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
24884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
24886 2017-10-31 Alan Modra <amodra@gmail.com>
24888 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
24889 string/strncase_l.c, not string/strncase.c.
24890 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
24891 (libc_hidden_def): Redefine.
24893 2017-10-31 Alan Modra <amodra@gmail.com>
24895 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
24896 (__STRCMP, STRCMP, __strcasecmp_l): Define.
24897 (__strcasecmp): Don't define.
24899 2017-10-31 Alan Modra <amodra@gmail.com>
24901 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
24903 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
24904 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24905 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24907 2017-10-31 Alan Modra <amodra@gmail.com>
24909 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
24912 2017-10-31 Alan Modra <amodra@gmail.com>
24914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
24915 Redefine only when SHARED.
24917 2017-10-30 Joseph Myers <joseph@codesourcery.com>
24919 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24920 Include <bits/math-finite.h> with appropriate macros defined and
24922 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24923 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24924 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24925 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24926 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24928 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
24929 [!_Mlong_double_] (_Mlong_double_): Likewise.
24930 [!_Mfloat16_] (_Mfloat16_): Likewise.
24931 [!_Mfloat32_] (_Mfloat32_): Likewise.
24932 [!_Mfloat64_] (_Mfloat64_): Likewise.
24933 [!_Mfloat128_] (_Mfloat128_): Likewise.
24934 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
24935 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
24936 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
24937 (_Mdouble_): Define without indirection through those macros.
24938 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
24939 [!_Mfloat128_] (_Mfloat128_): Likewise.
24940 [_Mlong_double_] (_Mlong_double_): Likewise.
24941 (_Mdouble_): Define without indirection through those macros.
24942 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
24943 not add -D_Mlong_double_=double.
24944 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
24945 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
24947 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24949 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
24951 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24953 * sysdeps/x86/libc-start.c: Reformat.
24955 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24958 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
24959 (1): Renamed to ...
24962 (L(Src2)): Likewise.
24963 (L(1)): Renamed to ...
24966 2017-10-30 Joseph Myers <joseph@codesourcery.com>
24968 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
24969 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
24970 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
24971 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
24972 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
24973 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
24974 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
24975 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
24976 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
24977 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
24978 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
24979 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
24980 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
24981 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
24982 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
24983 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
24984 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
24985 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
24986 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
24987 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
24988 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
24989 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
24990 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
24991 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
24992 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
24993 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
24994 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
24995 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
24996 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
24997 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
24998 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
24999 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
25000 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
25001 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
25002 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
25003 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
25004 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
25005 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
25006 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
25007 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
25008 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
25009 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
25010 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
25011 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
25012 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
25013 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
25014 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
25015 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
25016 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
25017 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
25018 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
25019 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
25020 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
25021 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
25022 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
25023 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
25024 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
25025 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
25026 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
25027 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
25028 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
25029 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
25030 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
25031 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
25032 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
25033 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
25035 2017-10-30 Florian Weimer <fweimer@redhat.com>
25037 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
25039 * io/tst-mkdirat.c (do_test): Likewise.
25040 * io/tst-mkfifoat.c (do_test): Likewise.
25041 * io/tst-mknodat.c (do_test): Likewise.
25042 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
25043 * locale/programs/locale.c (select_dirs): Likewise.
25044 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
25045 * posix/bug-glob2.c (my_readdir): Likewise.
25046 * posix/tst-dir.c (main): Likewise.
25047 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
25048 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
25050 2017-10-30 Florian Weimer <fweimer@redhat.com>
25052 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
25055 2017-10-30 Florian Weimer <fweimer@redhat.com>
25057 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
25058 Convert to support/test-driver.c.
25059 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
25060 New macro parameters.
25061 (PRINTF): Remove macro. Use test_verbose conditionals instead.
25062 * posix/tst-gnuglob.c: New file.
25063 * posix/tst-gnuglob64.c: Likewise.
25064 * posix/Makefile (tests): Add tst-gnuglob64.
25066 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
25069 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
25070 and use a better translation for March in “mon”.
25071 * localedata/locales/csb_PL: Use more ASCII to improve the
25072 readability of the source.
25074 2017-10-30 Mike FABIAN <mfabian@redhat.com>
25077 * localedata/locales/km_KH: Use ASCII as much
25078 as possible for better readability of the source and
25079 remove useless comments.
25080 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
25081 was commented out and apparently wrong anyway because it was
25082 using Lao characters. If Buddhist era should be used
25083 for km_KH, a native speaker should write the correct formaat
25085 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
25086 (According to CLDR, the first weekday for Cambodia is Sunday).
25087 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
25088 (These were using Lao characters which must be wrong. If we get
25089 the correct data from a native speaker, we could add it back, until
25090 then it is better not to have name_mr and name_mrs at all than
25093 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
25095 * locale/loadlocale.c: Correct size of
25096 _nl_value_type_LC_<category> arrays.
25098 2017-10-27 Joseph Myers <joseph@codesourcery.com>
25100 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25101 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
25102 with appropriate macros defined and undefined.
25103 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25104 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25105 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25106 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25107 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25109 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
25111 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
25114 2017-10-27 Mike FABIAN <mfabian@redhat.com>
25116 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
25117 with lowercase letters to make it agree with CLDR.
25119 2017-10-27 Mike FABIAN <mfabian@redhat.com>
25122 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
25123 first letters of yesstr and nostr in yesexpr and noexpr,
25124 not for the full words.
25125 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25126 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
25127 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
25128 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
25129 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
25130 first letters of yesstr and nostr in yesexpr and noexpr,
25131 until now only English was matched in yesexpr and noexpr.
25132 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
25133 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
25134 fil but not for tl. As tl and fil are very similar, using fil
25135 is probably better than using English.
25137 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
25140 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
25141 in yesstr and nostr.
25143 2017-10-26 Joseph Myers <joseph@codesourcery.com>
25145 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25146 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
25147 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
25149 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
25151 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
25153 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
25155 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25156 (SNANF128X): Likewise.
25158 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25159 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
25160 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25161 (HUGE_VAL_F32): Likewise.
25162 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25163 (HUGE_VAL_F64): Likewise.
25164 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25165 (HUGE_VAL_F32X): Likewise.
25166 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25167 (HUGE_VAL_F64X): Likewise.
25168 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25169 (HUGE_VAL_F128X): Likewise.
25171 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
25173 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
25174 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
25175 for the br_FR locale.
25177 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
25180 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
25182 2017-10-25 Carlos O'Donell <carlos@redhat.com>
25184 * locale/programs/record-status.h: Define globals, and function
25185 prototypes. Move function bodies...
25186 * locale/programs/record-status.c: ... to here. New file.
25187 * iconv/Makefile (iconv_prog-modules): Add record-status.
25188 * locale/Makefile (lib-modules): Likewise.
25189 * iconv/iconv_prog.c: Remove verbose.
25190 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
25191 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
25192 record a warning about ASCII compatibility.
25193 * locale/programs/ld-monetary.c (monetary_finish): If
25194 warn_int_curr_symbol is true then record a warning about the symbol
25195 not being in our ISO 4217 list.
25196 * locale/programs/locale.c: Include record-status.h. Remove verbose.
25197 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
25198 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
25199 (OPT_NO_WARN): Define.
25200 (OPT_WARN): Define.
25201 (options): Add entry for --no-warnings, and --warnings.
25202 (set_warnings): New function to enable/disable warnings.
25203 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
25204 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
25205 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
25206 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
25207 Pass flags to generate_locale.
25208 (generate_locale): Accept new flag argument and pass it to localedef
25210 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
25211 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
25213 * localedata/Makefile (test-input-data): Use full file name.
25214 * localedata/da_DK.in: Rename to...
25215 * localedata/da_DK.ISO-8859-1.in: ...this.
25216 * localedata/de_DE.in: Rename to...
25217 * localedata/de_DE.ISO-8859-1.in: ...this.
25218 * localedata/en_US.in: Rename to...
25219 * localedata/en_US.ISO-8859-1.in: ...this.
25220 * localedata/fr_FR.in: Rename to...
25221 * localedata/fr_FR.UTF-8.in: ... this.
25222 * localedata/hr_HR.in: Rename to...
25223 * localedata/hr_HR.ISO-8859-2.in: ...this.
25224 * localedata/hu_HU.in: Rename to...
25225 * localedata/hu_HU.UTF-8.in: ...this.
25226 * localedata/si_LK.in: Rename to...
25227 * localedata/si_LK.UTF-8.in: ...this.
25228 * localedata/sv_SE.in: Rename to...
25229 * localedata/sv_SE.ISO-8859-1.in: ...this.
25230 * localedata/tr_TR.in: Rename to...
25231 * localedata/tr_TR.UTF-8.in: ...this.
25232 * localedata/uk_UA.in: Rename to...
25233 * localedata/uk_UA.UTF-8.in: ...this.
25234 * localedata/sort-test.sh: Test file is locale name with the
25237 * localedata/unicode-gen/Makefile (check_i18n): Rename to
25238 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
25240 * localedata/locales/i18n_ctype: Regenerate.
25241 * localedata/locales/tr_TR: Likewise.
25242 * localedata/locales/translit_circle: Likewise.
25243 * localedata/locales/translit_cjk_compat: Likewise.
25244 * localedata/locales/translit_combining: Likewise.
25245 * localedata/locales/translit_compat: Likewise.
25246 * localedata/locales/translit_font: Likewise.
25247 * localedata/locales/translit_fraction: Likewise.
25249 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25251 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
25252 lxvd2x/stxvd2x with lvx/stvx.
25253 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
25255 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
25257 * include/alloc_buffer.h: Replace "if if " with "if " in
25259 * sysdeps/mips/memcpy.S: Likkewise.
25260 * sysdeps/mips/memset.S: Likewise.
25261 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
25263 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
25265 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
25268 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25271 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
25272 yesexpr and noexpr.
25273 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25274 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25275 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25276 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25277 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25278 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25279 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25281 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25283 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
25284 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25285 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25286 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25287 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25288 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
25289 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25290 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25291 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25292 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25293 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25294 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25296 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25298 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
25299 as possible for better readability of the source.
25300 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
25301 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
25302 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
25303 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
25304 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
25305 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
25306 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
25307 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
25308 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25309 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
25310 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
25311 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
25312 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
25313 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
25314 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
25315 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
25316 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
25317 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
25318 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
25319 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
25320 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
25321 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
25322 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
25323 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
25324 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
25325 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
25326 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
25327 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
25328 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
25329 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
25330 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
25331 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25332 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
25333 * localedata/locales/en_US (LC_MESSAGES): Likewise.
25334 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
25335 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
25336 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
25337 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
25338 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
25339 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
25340 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
25341 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
25342 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
25343 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
25344 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
25345 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
25346 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
25347 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
25348 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
25349 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
25350 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
25351 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
25352 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
25353 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25354 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25355 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
25356 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
25357 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25358 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
25359 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
25360 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
25361 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
25362 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
25363 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
25364 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
25365 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
25366 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
25367 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
25368 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
25369 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
25370 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
25371 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
25372 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
25373 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
25374 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25375 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
25376 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
25377 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
25378 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
25379 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
25380 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
25381 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
25382 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
25383 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25384 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
25385 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
25386 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
25387 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25388 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
25389 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
25390 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
25391 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
25392 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25393 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
25394 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
25395 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25396 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
25397 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25398 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
25399 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
25400 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
25401 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
25402 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
25403 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
25404 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
25405 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
25406 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
25407 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
25408 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
25409 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
25410 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
25411 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
25412 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25413 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
25414 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
25415 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
25416 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
25417 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
25418 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
25419 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
25420 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
25421 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
25422 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
25423 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
25424 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
25425 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
25426 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
25427 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
25428 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
25429 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
25430 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
25431 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
25432 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
25433 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
25434 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
25435 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
25436 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
25437 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
25438 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
25439 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
25440 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
25441 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
25442 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
25443 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
25444 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
25445 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25446 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
25447 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
25448 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
25449 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
25450 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
25451 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
25452 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
25453 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
25454 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25455 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
25456 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
25457 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
25458 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
25459 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
25460 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
25461 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
25462 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
25463 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
25464 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
25465 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25466 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
25467 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
25468 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
25469 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
25470 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25471 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25472 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25473 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
25475 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25477 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
25478 (Use first letters of yesstr and nostr correctly instead of using
25481 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25483 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
25484 (Use first letters of yesstr and nostr correctly).
25486 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25488 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
25489 also check for the first characters of yesstr and nostr.
25490 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
25491 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
25493 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25495 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
25496 also check for Chinese characters.
25498 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25500 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
25501 match also for the contents of yesstr and nostr. As the first letter
25502 of yesstr and nostr is equal, checking only for the first letter
25505 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25507 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
25508 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
25510 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25512 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
25513 of main contributor.
25515 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25517 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
25518 instead of using English.
25520 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25522 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
25523 by including the first letters of nostr and yesexpr in the regexp.
25524 Also make it more readable by using ASCII where possible.
25526 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25528 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
25529 the first letter of nostr in the regexp. It agrees with CLDR now.
25530 Also make it more readable by using ASCII where possible.
25532 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25534 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
25535 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
25536 these strings contain a U+17D6 (which somewhat looks like a colon)
25537 instead of a real colon to separate the full words for “yes”
25538 and “no” from the single letter responses.
25540 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25542 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
25543 it agree with CLDR (include the first letter of yesstr).
25544 Also make it more readable by using ASCII where possible.
25546 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25548 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
25549 and improve yesexpr and noexpr. The yesstr and nostr apparently
25550 came from CLDR. And CLDR has a bug there: these strings contain
25551 a U+0903 (which looks like a colon) instead of a real colon
25552 to separate the full words for “yes” and “no” from the single
25555 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25557 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
25558 letters of the full yesstr and nostr in yesexpr and noexpr.
25560 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25562 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
25563 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
25564 * localedata/locales/an_ES: Make source more readable by using ASCII
25567 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25570 * localedata/locales/yuw_PG: New file.
25571 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
25572 * locale/iso-639.def: Add Yau (Uruwa).
25574 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25576 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
25578 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25580 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
25581 (__libc_realloc): Likewise.
25582 (_mid_memalign): Likewise.
25583 (__libc_calloc): Likewise.
25585 2017-10-23 Mike FABIAN <mfabian@redhat.com>
25587 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
25588 by adding the generic +1 and -0 as in all other locales.
25589 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
25590 day names and make it more readable by using ASCII where possible.
25592 2017-10-24 Joseph Myers <joseph@codesourcery.com>
25594 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
25595 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
25597 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25599 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
25600 WNOHANG in waitpid call.
25602 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
25604 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
25605 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
25607 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
25608 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
25609 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
25610 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
25611 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
25612 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
25613 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
25614 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
25617 2017-10-23 Michael Collison <michael.collison@arm.com>
25619 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
25620 with __builtin_sqrt.
25621 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
25622 with __builtin_sqrtf.
25623 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
25624 with __builtin_ceil.
25625 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
25626 with __builtin_ceilf.
25627 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
25628 with __builtin_floor.
25629 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
25630 with __builtin_floorf.
25631 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
25632 with __builtin_fma.
25633 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
25634 with __builtin_fmaf.
25635 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
25636 with __builtin_fmax.
25637 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
25638 with __builtin_fmaxf.
25639 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
25640 with __builtin_fmin.
25641 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
25642 with __builtin_fminf.
25643 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
25644 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
25645 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
25646 with builtin_rint and conversion to int.
25647 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
25648 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
25649 with builtin_llround.
25650 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
25651 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
25652 with builtin_rint and conversion to long int.
25653 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
25654 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
25655 with builtin_lround.
25656 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
25657 with builtin_lroundf.
25658 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
25659 statements with __builtin_nearbyint.
25660 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
25661 statements with __builtin_nearbyintf.
25662 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
25663 with __builtin_rint.
25664 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
25665 with __builtin_rintf.
25666 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
25667 with __builtin_round.
25668 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
25669 with __builtin_roundf.
25670 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
25671 with __builtin_trunc.
25672 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
25673 with __builtin_truncf.
25674 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
25675 and s_l[l]round[f].c too.
25677 2017-10-23 Alan Modra <amodra@gmail.com>
25679 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
25680 Adjust stack after restoring regs. Add missing LR cfi_restore.
25682 2017-10-23 Alan Modra <amodra@gmail.com>
25684 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
25685 Move LR save and frame setup/teardown and LR restore to
25686 immediately around memset call. Provide cfi.
25688 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25690 * sysdeps/i386/fpu/e_powf.S: Removed.
25691 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
25692 * sysdeps/i386/fpu/w_powf.c: Likewise.
25693 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
25694 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25695 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25697 (CFLAGS-e_powf-sse2.c): New.
25698 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
25699 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
25701 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25703 * sysdeps/i386/fpu/e_log2f.S: Removed.
25704 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
25705 * sysdeps/i386/fpu/w_log2f.c: Likewise.
25706 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
25707 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25708 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25710 (CFLAGS-e_log2f-sse2.c): New.
25711 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
25712 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
25714 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25716 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25718 (CFLAGS-e_powf-fma.c): New.
25719 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
25720 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
25722 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25724 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25726 (CFLAGS-e_log2f-fma.c): New.
25727 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
25728 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
25730 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25732 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25734 (CFLAGS-e_logf-fma.c): New.
25735 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
25736 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
25738 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25740 * sysdeps/i386/fpu/e_logf.S: Removed.
25741 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
25742 * sysdeps/i386/fpu/w_logf.c: Likewise.
25743 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
25744 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
25745 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25746 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25748 (CFLAGS-e_logf-sse2.c): New.
25749 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
25750 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
25752 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25754 * sysdeps/i386/fpu/e_exp2f.S: Removed.
25755 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
25756 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
25757 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25758 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25760 (CFLAGS-e_exp2f-sse2.c): New.
25761 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
25762 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
25764 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25766 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25768 (CFLAGS-e_exp2f-fma.c): New.
25769 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
25770 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
25772 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25774 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
25775 * sysdeps/i386/fpu/e_expf.S: Likewise.
25776 * sysdeps/i386/fpu/math_errf.c: Likewise.
25777 * sysdeps/i386/fpu/w_expf.c: Likewise.
25778 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
25779 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25780 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
25781 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
25782 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25783 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25784 Remove e_expf-ia32.
25785 (CFLAGS-e_expf-sse2.c): New.
25786 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
25787 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
25789 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25791 * sysdeps/x86_64/fpu/e_expf.S: Removed.
25792 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
25793 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
25794 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
25796 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
25798 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
25799 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
25801 (__redirect_expf): This.
25802 (SYMBOL_NAME): Changed to expf.
25803 (__ieee754_expf): Renamed to ...
25805 (__GI___expf): This.
25806 (__ieee754_expf): Add strong_alias.
25807 (__expf_finite): Likewise.
25809 Include <sysdeps/ieee754/flt-32/e_expf.c>.
25811 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
25814 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
25817 2017-10-21 Florian Weimer <fweimer@redhat.com>
25819 * posix/Makefile (tests): Add tst-glob-tilde.
25820 (tests-special): Add tst-glob-tilde-mem.out
25821 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
25822 (tst-glob-tilde-mem.out): Add mtrace check.
25823 * posix/tst-glob-tilde.c: New file.
25825 2017-10-20 Joseph Myers <joseph@codesourcery.com>
25827 * bits/floatn-common.h: New file.
25828 * math/Makefile (headers): Add bits/floatn-common.h.
25829 * bits/floatn.h: Include <bits/floatn-common.h>.
25830 * sysdeps/ia64/bits/floatn.h: Likewise.
25831 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
25832 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
25833 * sysdeps/powerpc/bits/floatn.h: Likewise.
25834 * sysdeps/x86/bits/floatn.h: Likewise.
25836 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25838 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
25839 indicates whether compiler emits an warning for alias for
25840 functions with incompatible types.
25843 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
25844 the auxiliary process is terminated by a signal before calling _exit
25847 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25850 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
25852 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
25853 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
25854 and bit_arch_XSAVEC_Usable if needed.
25855 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
25856 and bit_arch_Use_dl_runtime_resolve_opt.
25857 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
25859 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
25860 (bit_arch_Prefer_No_AVX512): Updated.
25861 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
25862 (bit_arch_XSAVEC_Usable): New.
25863 (STATE_SAVE_OFFSET): Likewise.
25864 (STATE_SAVE_MASK): Likewise.
25865 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
25866 (cpu_features): Add xsave_state_size and xsave_state_full_size.
25867 (index_arch_Use_dl_runtime_resolve_opt): Removed.
25868 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
25869 (index_arch_XSAVEC_Usable): New.
25870 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
25871 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
25872 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
25874 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
25875 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
25876 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
25877 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
25878 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
25879 _dl_runtime_resolve_xsavec.
25880 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
25882 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
25883 instead of VEC_SIZE.
25884 (REGISTER_SAVE_BND0): Removed.
25885 (REGISTER_SAVE_BND1): Likewise.
25886 (REGISTER_SAVE_BND3): Likewise.
25887 (REGISTER_SAVE_RAX): Always defined to 0.
25889 (_dl_runtime_resolve_avx): Likewise.
25890 (_dl_runtime_resolve_avx_slow): Likewise.
25891 (_dl_runtime_resolve_avx_opt): Likewise.
25892 (_dl_runtime_resolve_avx512): Likewise.
25893 (_dl_runtime_resolve_avx512_opt): Likewise.
25894 (_dl_runtime_resolve_sse): Likewise.
25895 (_dl_runtime_resolve_sse_vex): Likewise.
25897 (_dl_runtime_resolve_fxsave): Likewise.
25898 (USE_XSAVE): Likewise.
25899 (_dl_runtime_resolve_xsave): Likewise.
25900 (USE_XSAVEC): Likewise.
25901 (_dl_runtime_resolve_xsavec): Likewise.
25902 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
25904 (_dl_runtime_resolve_avx512_opt): Likewise.
25905 (_dl_runtime_resolve_avx): Likewise.
25906 (_dl_runtime_resolve_avx_opt): Likewise.
25907 (_dl_runtime_resolve_sse): Likewise.
25908 (_dl_runtime_resolve_sse_vex): Likewise.
25909 (_dl_runtime_resolve_fxsave): New.
25910 (_dl_runtime_resolve_xsave): Likewise.
25911 (_dl_runtime_resolve_xsavec): Likewise.
25913 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
25917 * posix/glob.c (__glob): Fix one-byte overflow.
25919 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25921 * malloc/malloc.c (sysdep-cancel.h): Add include.
25923 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25925 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
25927 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
25929 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
25930 (tests): Remove $(objpfx)ga_test depdendency.
25931 * resolv/ga_test.c: Remove file.
25933 2017-10-20 Mike FABIAN <mfabian@redhat.com>
25936 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
25937 * localedata/locales/kab_DZ: New file.
25939 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25941 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
25942 _dl_relocate_static_pie instead of _dl_start to compute load
25943 address in static PIE.
25945 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25947 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
25949 2017-10-20 Mike FABIAN <mfabian@redhat.com>
25952 * localedata/SUPPORTED: Add shn_MM/UTF-8.
25953 * localedata/locales/shn_MM: New file.
25955 2017-10-20 Florian Weimer <fweimer@redhat.com>
25958 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
25959 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
25960 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
25961 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
25962 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
25963 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
25965 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
25967 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25969 2017-10-19 Joseph Myers <joseph@codesourcery.com>
25971 * sysdeps/mips/ieee754/bits/floatn.h: New file.
25974 * sysdeps/mips/bits/long-double.h: Move to ....
25975 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
25977 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
25979 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
25981 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
25982 H.J. Lu <hongjiu.lu@intel.com>
25985 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
25986 GLRO(dl_platform) to NULL.
25987 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
25988 (modules-names): Add tst-platformmod-1 and
25989 x86_64/tst-platformmod-2.
25990 (CFLAGS-tst-platform-1.c): New.
25991 (CFLAGS-tst-platformmod-1.c): Likewise.
25992 (CFLAGS-tst-platformmod-2.c): Likewise.
25993 (LDFLAGS-tst-platformmod-2.so): Likewise.
25994 ($(objpfx)tst-platform-1): Likewise.
25995 ($(objpfx)tst-platform-1.out): Likewise.
25996 (tst-platform-1-ENV): Likewise.
25997 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
25998 * sysdeps/x86_64/tst-platform-1.c: New file.
25999 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
26000 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
26002 2017-10-19 Mike FABIAN <mfabian@redhat.com>
26005 * locale/iso-639.def: Add Karbi.
26006 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
26007 * localedata/locales/mjw_IN: New file.
26009 2017-10-18 Joseph Myers <joseph@codesourcery.com>
26011 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
26012 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26013 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
26014 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
26015 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26016 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26017 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
26019 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26020 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26021 * manual/math.texi (Mathematics): Document additional architecture
26022 support for _Float128.
26023 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
26024 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26025 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26026 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26027 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26028 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26029 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26030 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26031 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26032 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26033 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26034 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26035 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26036 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26037 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26039 2017-10-18 Renlin Li <renlin.li@arm.com>
26041 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
26042 _DYNAMIC symbol to calculate load address.
26044 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
26046 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
26047 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
26049 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
26050 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
26052 2017-10-18 Mike FABIAN <mfabian@redhat.com>
26055 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
26056 and improve readability by using more ASCII.
26057 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
26058 and improve readability by using more ASCII.
26060 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
26062 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
26063 not all targets support atomics on bool.
26065 2017-10-17 Joseph Myers <joseph@codesourcery.com>
26067 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
26068 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
26070 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26071 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
26072 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26073 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
26074 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26075 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
26077 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26079 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
26082 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26085 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
26086 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
26087 (do_check_remalloced_chunk): Fix build bug.
26088 (do_check_malloc_state): Add assert that checks arena->top.
26089 (malloc_consolidate): Remove initialization.
26090 (int_mallinfo): Remove call to malloc_consolidate.
26091 (__libc_mallopt): Clarify why malloc_consolidate is needed.
26093 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26095 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
26096 (have_fastchunks): Remove.
26097 (clear_fastchunks): Remove.
26098 (set_fastchunks): Remove.
26099 (malloc_state): Add have_fastchunks.
26100 (malloc_init_state): Use have_fastchunks.
26101 (do_check_malloc_state): Remove incorrect invariant checks.
26102 (_int_malloc): Use have_fastchunks.
26103 (_int_free): Likewise.
26104 (malloc_consolidate): Likewise.
26106 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26108 * malloc/malloc.c (tcache_put): Inline.
26109 (tcache_get): Inline.
26111 2017-10-17 Jordi Mallach <jordi@gnu.org>
26113 Aurelien Jarno <aurelien@aurel32.net>
26115 * localedata/locales/ca_ES@valencia: New file.
26116 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
26118 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
26121 * math/math.h: Let signbit use the builtin in C++ mode with gcc
26124 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26126 * scripts/build-many-glibcs.py (Context.add_all_configs):
26127 Add arm-linux-gnueabihf multiarch extra_glibcs.
26129 * sysdeps/generic/ifunc-init.h: New file.
26130 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
26132 2017-10-17 Mike FABIAN <mfabian@redhat.com>
26135 * localedata/locales/el_GR: Set n_cs_precedes to 0.
26136 * localedata/locales/el_CY: copy "el_GR" because it is identical.
26137 * stdlib/tst-strfmon_l.c: adapt test case.
26139 2017-10-16 Joseph Myers <joseph@codesourcery.com>
26141 * sysdeps/generic/float128-abi.h: New file.
26142 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
26143 non-__prefixed symbols to ....
26144 * math/Versions: ... here. Include <float128-abi.h>.
26145 * stdlib/Versions ... and here. Include <float128-abi.h>
26147 2017-10-16 Florian Weimer <fweimer@redhat.com>
26149 * version.h (VERSION): Switch to ".9000" as the development
26152 2017-10-16 Florian Weimer <fweimer@redhat.com>
26155 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
26156 compat_symbol_reference to access non-default version.
26158 2017-10-16 Florian Weimer <fweimer@redhat.com>
26160 * malloc/Makefile (others-extras): Set to mcheck-init.o.
26162 2017-10-16 Carlos O'Donell <carlos@redhat.com>
26164 * include/shlib-compat.h (compat_symbol_reference): Update
26167 2017-10-16 Joseph Myers <joseph@codesourcery.com>
26169 * math/Makefile (test-types): Add
26170 $(type-float128-$(float128-alias-fcts)).
26171 * math/test-float128.h (TYPE_STR): Define conditional on
26172 [FLT128_MANT_DIG == LDBL_MANT_DIG].
26173 (ULP_IDX): Likewise.
26174 (ULP_I_IDX): Likewise.
26176 * stdlib/strtold.c: Include <bits/floatn.h>
26177 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
26178 and later undefine as macro. Define as weak alias if
26180 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
26181 and later undefine as macro. Define as weak alias if
26183 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
26184 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
26185 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26186 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26187 Define and later undefine as macro. Define as weak alias if
26189 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
26191 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
26192 Define and later undefine as macro. Define as weak alias if
26194 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26195 Define and later undefine as macro. Define as weak alias if
26198 2017-10-15 Carlos O'Donell <carlos@redhat.com>
26200 * localedata/collate-test.c (allocate_arrays): Don't use \n in
26201 record_verbose messages.
26203 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
26206 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
26207 to silence -O3 -Wall warning with GCC 7.
26209 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
26211 * Makeconfig (+link-static-before-libc): Use the first of
26212 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
26213 * gmon/Makefile (tests): Add tst-gmon-static.
26214 (tests-static): Likewise.
26215 (CFLAGS-tst-gmon-static.c): New.
26216 (CRT-tst-gmon-static): Likewise.
26217 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
26218 (tst-gmon-static-ENV): Likewise.
26219 (tests-special): Likewise.
26220 ($(objpfx)tst-gmon-static.out): Likewise.
26221 (clean-tst-gmon-static-data): Likewise.
26222 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
26223 * gmon/tst-gmon-static-gprof.sh: New file.
26224 * gmon/tst-gmon-static.c: Likewise.
26226 2017-10-13 Carlos O'Donell <carlos@redhat.com>
26229 * locale/programs/linereader.c (get_string): Don't warn on
26230 non-symbolic character.
26233 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
26237 * locale/programs/record-status.h: New file
26238 * locale/programs/locale.c: Add comment.
26239 * locale/programs/charmap-dir.c: Don't include error.h.
26240 (charmap_opendir): Use record_error.
26241 * locale/programs/charmap.c: Don't include error.h.
26242 (charmap_read): Use record_error, and record_warning.
26243 (parse_charmap): Likewise.
26244 * locale/programs/ld-address.c: Don't include error.h.
26245 (address_finish): Use record_error, and record_warning.
26246 * locale/programs/ld-collate.c: Don't include error.h.
26247 (collate_finish): Use record_error, and record_error_at_line.
26248 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
26249 (ctype_class_new): Likewise.
26250 (ctype_map_new): Likewise.
26251 (set_one_default): Likewise.
26252 (set_class_defaults): Likewise.
26253 (translit_flatten): Likewise.
26254 (allocate_arrays): Use record_error, and record_verbose.
26255 * locale/programs/ld-identification.c: Don't include error.h.
26256 (indentation_finish): Use record_error and record_warning.
26257 * locale/programs/ld-measurement.c: Don't include error.h.
26258 (measurement_finish): Use record_error.
26259 * locale/programs/ld-messages.c
26260 (message_finish): Likewise.
26261 * locale/programs/ld-monetary.c
26262 (monetary_finish): Likewise.
26263 * locale/programs/ld-name.c (name_finish): Use record_error
26264 and record_warning.
26265 * locale/programs/ld-numeric.c
26266 (numeric_finish): Use record_error.
26267 * locale/programs/ld-paper.c: Don't include error.h.
26268 (paper_finish): Use record_error.
26269 * locale/programs/ld-telephone.c: Don't include error.h.
26270 (telephone_finish): Use record_error.
26271 * locale/programs/ld-time.c (time_finish): Likewise.
26272 * locale/programs/linereader.h (lr_error): Make inline func.
26273 * locale/programs/localedef.c: Define recorded_warning_count,
26274 and recorded_error_count.
26275 (main): Use record_error. Use recorded_error_count and
26276 recorded_warning_count to issue correct error returns.
26277 (add_to_readlist): Use record_error.
26278 (find_locale): Likewise.
26279 (load_locale): Likewise.
26280 * locale/programs/localedef.h: Remove be_quiet
26281 and WITH_CUR_LOCALE.
26282 * locale/programs/locarchive.c (compare_from_file): Use
26284 * locale/programs/locfile.c (write_locale_data): Use
26286 * locale/programs/repertoire.c: Dont include error.h.
26287 (repertoire_complain): Use record_error.
26288 * localedata/tst-fmon.sh: Expect failures from localedef.
26289 * localedata/tst-locale.sh: Likewise.
26290 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
26292 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
26293 (REPORTS): Likewise.
26295 (i18n): Rename to...
26296 (i18n_ctype): ...this.
26297 (i18n-report): Rename to...
26298 (i18n_ctype-report): ...this.
26299 * localedata/locales/i18n_ctype: Regenerate.
26300 * localedata/locales/i18n: copy i18n_ctype.
26302 2017-10-13 Joseph Myers <joseph@codesourcery.com>
26304 * stdlib/strfroml.c: Include <bits/floatn.h>.
26305 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
26306 Define before include of <stdlib.h> and undefine afterwards, then
26307 define as weak alias.
26309 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
26310 Undefine and restore default definition. Use
26311 libm_alias_ldouble_other.
26313 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
26316 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
26319 2017-10-13 James Clarke <jrtc27@jrtc27.com>
26321 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26322 Assign sym_map to be map for local symbols, as TLS relocations
26323 use sym_map to determine whether the symbol is defined and to
26324 extract the TLS information.
26325 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26326 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26328 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26331 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
26332 (math_force_eval): Add powerpc version.
26335 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
26337 (do_test): Likewise.
26338 * stdio-common/tst-printf.sh: Likewise.
26339 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
26340 ifdef clause in order to set the carry bit right. Replace r0 by
26341 0 without changing the behavior.
26343 2017-10-13 Joseph Myers <joseph@codesourcery.com>
26345 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
26346 <libm-alias-ldouble.h>.
26347 (fabsl): Define using libm_alias_ldouble.
26348 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
26349 <libm-alias-ldouble.h>.
26350 (fabsl): Define using libm_alias_ldouble.
26352 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
26353 Remove conditional code.
26355 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
26356 Rename to __clog10_internal_l.
26357 (__clog10_internal_l): Define aliases using
26358 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
26361 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26363 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
26364 * benchtests/sincosf-inputs: New file.
26365 * benchtests/cosf-inputs: New file.
26366 * benchtests/sinf-inputs: New file.
26368 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
26370 * posix/tst-spawn.c (do_test): Wait for both children.
26372 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
26375 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
26376 tests-pie): Add tst-gmon-pie.
26377 (CFLAGS-tst-gmon-pie.c): New.
26378 (CRT-tst-gmon-pie): Likewise.
26379 (tst-gmon-pie-ENV): Likewise.
26380 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
26381 ($(objpfx)tst-gmon-pie.out): Likewise.
26382 (clean-tst-gmon-pie-data): Likewise.
26383 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
26384 * gmon/gmon.c [PIC]: Include <link.h>.
26385 [PIC] (callback): New function.
26386 (write_hist): Add an argument for load address. Subtract load
26388 (write_call_graph): Likewise.
26389 (write_gmon): Call __dl_iterate_phdr to get load address, pass
26390 it to write_hist and write_call_graph.
26391 * gmon/tst-gmon-pie.c: New file.
26393 2017-10-11 Joseph Myers <joseph@codesourcery.com>
26395 * math/Makefile (test-types-basic): New variable.
26396 (test-types): Likewise.
26397 (libm-test-support): Use $(test-types) instead of $(types).
26398 (libm-tests-base-normal): Likewise.
26399 (libm-tests-base-finite): Likewise.
26400 (libm-tests-base-inline): Likewise.
26401 (generated): Likewise.
26402 ($(objpfx)libm-test-support-$(t).c): Likewise.
26403 (libm-tests-for-type iterator): Likewise.
26404 (libm-test-support iterator): Likewise.
26405 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
26406 (ulp_idx): Use ULP_IDX.
26407 * math/test-ldouble.h: Include <float.h>.
26408 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
26409 (ULP_IDX): New macro.
26410 (ULP_I_IDX): Likewise.
26411 * math/test-double.h (ULP_IDX): Likewise.
26412 (ULP_I_IDX): Likewise.
26413 * math/test-float.h (ULP_IDX): Likewise.
26414 (ULP_I_IDX): Likewise.
26415 * math/test-float128.h (ULP_IDX): Likewise.
26416 (ULP_I_IDX): Likewise.
26418 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26420 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
26421 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26422 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26423 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
26424 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26425 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
26426 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
26427 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26428 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26429 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26430 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
26431 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26432 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26433 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26434 (SINGLE_THREAD_BY_GLOBAL): Define.
26435 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26437 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26439 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26441 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26443 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
26444 (SINGLE_THREAD_BY_GLOBAL): Likewise.
26445 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26448 2017-10-11 Andreas Schwab <schwab@suse.de>
26450 * nis/Makefile (aux): Remove.
26451 * nscd/Makefile (aux): Add nscd_hash.
26452 (nscd-modules): Likewise.
26453 ($(objpfx)nscd): Don't depend on libnsl.
26454 * nscd/nscd_hash.c: New file.
26455 * nscd/nscd_hash.h: Likewise.
26456 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
26457 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
26458 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
26459 instead of <nis/rpcsvc/nis.h>.
26460 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
26462 2017-10-11 Florian Weimer <fweimer@redhat.com>
26465 Avoid large NSS buffers with many addresses, aliases.
26466 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
26467 using dynarrays and struct alloc_buffer.
26468 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
26469 (tst-nss-files-hosts-multi): Link with -ldl.
26470 * nss/tst-nss-files-hosts-multi.c: New file.
26472 2017-10-11 Florian Weimer <fweimer@redhat.com>
26475 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
26476 scratch_buffer. Eliminate gotos.
26478 2017-10-11 Joseph Myers <joseph@codesourcery.com>
26480 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
26481 libm_alias_ldouble_other.
26482 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
26483 undefine and redefine.
26484 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26485 (exp10l): Do not define here.
26486 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
26487 (weak_alias): Undefine and redefine.
26488 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
26489 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26490 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
26491 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
26493 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
26494 [!__fma] (fma): Define using libm_alias_double.
26495 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
26496 [!__fmaf] (fmaf): Define using libm_alias_float.
26497 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
26498 (fmal): Define using libm_alias_ldouble.
26500 2017-10-10 Joseph Myers <joseph@codesourcery.com>
26502 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
26504 (libm_alias_double_other): Likewise.
26505 (libm_alias_double_r): Use libm_alias_double_other_r.
26506 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
26508 (libm_alias_float_other): Likewise.
26509 (libm_alias_float_r): Use libm_alias_float_other_r.
26510 * sysdeps/generic/libm-alias-float128.h
26511 (libm_alias_float128_other_r): New macro.
26512 (libm_alias_float128_other): Likewise.
26513 (libm_alias_float128_r): Use libm_alias_float128_other_r.
26514 * sysdeps/generic/libm-alias-ldouble.h
26515 (libm_alias_ldouble_other_r): New macro.
26516 (libm_alias_ldouble_other): Likewise.
26517 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26518 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
26519 (libm_alias_double_other_r): New macro.
26520 (libm_alias_double_other): Likewise.
26521 (libm_alias_double_r): Use libm_alias_double_other_r.
26522 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
26523 (libm_alias_ldouble_other_r): New macro.
26524 (libm_alias_ldouble_other): Likewise.
26525 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26526 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
26527 [!USE_AS_COMPAT]: Use libm_alias_double_other.
26528 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
26529 [!USE_AS_COMPAT]: Use libm_alias_float_other.
26530 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
26531 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
26532 * math/w_exp2f.c: Use libm_alias_float_other.
26533 * math/w_expf.c: Likewise.
26534 * math/w_log2f.c: Likewise.
26535 * math/w_logf.c: Likewise.
26536 * math/w_powf.c: Likewise.
26537 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
26538 [!__exp2f]: Use libm_alias_float_other.
26539 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
26540 [!__expf]: Use libm_alias_float_other.
26541 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
26542 [!__log2f]: Use libm_alias_float_other.
26543 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
26544 [!__logf]: Use libm_alias_float_other.
26545 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
26546 [!__powf]: Use libm_alias_float_other.
26548 2017-10-10 Florian Weimer <fweimer@redhat.com>
26550 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
26552 (_nss_files_gethostbyname3_r): Call it.
26554 2017-10-09 Joseph Myers <joseph@codesourcery.com>
26556 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
26557 error. Remove default definition of declare_mgen_alias.
26558 [!declare_mgen_alias_r]: Likewise.
26559 * sysdeps/generic/math-type-macros-double.h
26560 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
26561 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
26562 (declare_mgen_alias_r): Likewise.
26563 * sysdeps/generic/math-type-macros-float128.h
26564 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
26565 * sysdeps/generic/math-type-macros-ldouble.h
26566 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
26567 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
26569 (declare_mgen_alias_r_s): Likewise.
26570 (declare_mgen_alias_r): Likewise.
26571 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
26572 (lgamma_r): Define using libm_alias_double_r.
26573 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
26574 (lgammaf_r): Define using libm_alias_float_r.
26575 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
26576 (lgammal_r): Define using libm_alias_ldouble_r.
26577 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
26578 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
26580 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26582 * lib/glob.c (__glob_pattern_type): Remove now-spurious
26583 extern declaration.
26585 2017-10-09 Joseph Myers <joseph@codesourcery.com>
26587 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
26589 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
26592 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
26593 [__cplusplus >= 201103] (__USE_ISOC99): Define.
26594 * math/Makefile (test-math-cxx11): New test.
26595 * math/test-math-cxx11.cc: New file.
26597 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
26599 * login/openpty.c (openpty): Close slave pty file descriptor on error.
26601 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
26602 call to allocate the slave pty file descriptor.
26604 2017-10-06 Joseph Myers <joseph@codesourcery.com>
26606 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
26607 [!__fma] (fma): Define using libm_alias_double.
26608 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
26609 [!__fma] (fma): Define using libm_alias_double.
26611 * sysdeps/ieee754/float128/float128_private.h: Include
26612 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
26613 (libm_alias_ldouble_r): Undefine and redefine.
26614 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
26615 <libm-alias-ldouble.h>.
26616 (asinhl): Define using libm_alias_ldouble.
26617 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
26618 <libm-alias-ldouble.h>.
26619 (atanl): Define using libm_alias_ldouble.
26620 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
26621 <libm-alias-ldouble.h>.
26622 (cbrtl): Define using libm_alias_ldouble.
26623 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
26624 <libm-alias-ldouble.h>.
26625 (ceill): Define using libm_alias_ldouble.
26626 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
26627 <libm-alias-ldouble.h>.
26628 (copysignl): Define using libm_alias_ldouble.
26629 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
26630 <libm-alias-ldouble.h>.
26631 (cosl): Define using libm_alias_ldouble.
26632 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
26633 <libm-alias-ldouble.h>.
26634 (erfl): Define using libm_alias_ldouble.
26636 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
26637 <libm-alias-ldouble.h>.
26638 (expm1l): Define using libm_alias_ldouble.
26639 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
26640 <libm-alias-ldouble.h>.
26641 (fabsl): Define using libm_alias_ldouble.
26642 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
26643 <libm-alias-ldouble.h>.
26644 (floorl): Define using libm_alias_ldouble.
26645 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
26646 <libm-alias-ldouble.h>.
26647 (fmal): Define using libm_alias_ldouble.
26648 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
26649 <libm-alias-ldouble.h>.
26650 (frexpl): Define using libm_alias_ldouble.
26651 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
26652 libm_alias_ldouble.
26653 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
26654 <libm-alias-ldouble.h>.
26655 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
26656 libm_alias_ldouble.
26657 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
26658 <libm-alias-ldouble.h>.
26659 (getpayloadl): Define using libm_alias_ldouble.
26660 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
26661 <libm-alias-ldouble.h>.
26662 (llrintl): Define using libm_alias_ldouble.
26663 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
26664 <libm-alias-ldouble.h>.
26665 (llroundl): Define using libm_alias_ldouble.
26666 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
26667 <libm-alias-ldouble.h>.
26668 (logbl): Define using libm_alias_ldouble.
26669 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
26670 <libm-alias-ldouble.h>.
26671 (lrintl): Define using libm_alias_ldouble.
26672 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
26673 <libm-alias-ldouble.h>.
26674 (lroundl): Define using libm_alias_ldouble.
26675 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
26676 <libm-alias-ldouble.h>.
26677 (modfl): Define using libm_alias_ldouble.
26678 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
26679 <libm-alias-ldouble.h>.
26680 (nearbyintl): Define using libm_alias_ldouble.
26681 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
26682 <libm-alias-ldouble.h>.
26683 (nextafterl): Define using libm_alias_ldouble.
26684 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
26685 <libm-alias-ldouble.h>.
26686 (nextupl): Define using libm_alias_ldouble.
26687 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
26688 <libm-alias-ldouble.h>.
26689 (remquol): Define using libm_alias_ldouble.
26690 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
26691 <libm-alias-ldouble.h>.
26692 (rintl): Define using libm_alias_ldouble.
26693 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
26694 <libm-alias-ldouble.h>.
26695 (roundevenl): Define using libm_alias_ldouble.
26696 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
26697 <libm-alias-ldouble.h>.
26698 (roundl): Define using libm_alias_ldouble.
26699 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
26700 using libm_alias_ldouble.
26701 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
26702 <libm-alias-ldouble.h>.
26703 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
26704 Define using libm_alias_ldouble.
26705 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
26706 <libm-alias-ldouble.h>.
26707 (sincosl): Define using libm_alias_ldouble.
26708 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
26709 <libm-alias-ldouble.h>.
26710 (sinl): Define using libm_alias_ldouble.
26711 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
26712 <libm-alias-ldouble.h>.
26713 (tanhl): Define using libm_alias_ldouble.
26714 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
26715 <libm-alias-ldouble.h>.
26716 (tanl): Define using libm_alias_ldouble.
26717 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
26718 <libm-alias-ldouble.h>.
26719 (totalorderl): Define using libm_alias_ldouble.
26720 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
26721 <libm-alias-ldouble.h>.
26722 (totalordermagl): Define using libm_alias_ldouble.
26723 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
26724 <libm-alias-ldouble.h>.
26725 (truncl): Define using libm_alias_ldouble.
26726 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
26727 libm_alias_ldouble.
26728 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
26729 libm_alias_ldouble.
26730 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
26731 <libm-alias-ldouble.h>.
26732 (weak_alias): Do not undefine and redefine.
26733 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26734 (copysignl): Define with long_double_symbol only if [IS_IN
26736 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
26737 <libm-alias-ldouble.h>.
26738 (weak_alias): Do not undefine and redefine.
26739 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26740 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
26741 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
26742 <libm-alias-ldouble.h>.
26743 (weak_alias): Do not undefine and redefine.
26744 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26745 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
26746 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
26747 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
26748 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
26749 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
26750 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
26751 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
26752 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
26753 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
26754 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
26755 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
26756 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
26757 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
26758 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
26759 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
26760 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
26761 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
26762 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
26763 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
26764 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
26765 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
26766 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
26767 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
26768 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
26769 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
26771 2017-10-06 Carlos O'Donell <carlos@redhat.com>
26774 * malloc/malloc.c (tcache_shutting_down): Use bool type.
26775 (tcache_thread_freeres): Set tcache_shutting_down before
26776 freeing the tcache.
26777 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
26778 * malloc/tst-malloc-tcache-leak.c: New file.
26780 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26782 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
26783 back to powerpc32 file.
26784 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26785 (memrchr): Add __memrchr_power8 to ifunc list.
26786 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
26787 extra bytes for unaligned inputs.
26789 2017-10-06 Joseph Myers <joseph@codesourcery.com>
26791 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
26792 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
26793 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
26794 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
26795 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
26797 2017-10-05 Joseph Myers <joseph@codesourcery.com>
26799 * sysdeps/arm/libm-test-ulps: Update.
26801 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
26802 <libm-alias-ldouble.h>.
26803 (asinhl): Define using libm_alias_ldouble.
26804 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
26805 <libm-alias-ldouble.h>.
26806 (cbrtl): Define using libm_alias_ldouble.
26807 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
26808 <libm-alias-ldouble.h>.
26809 (copysignl): Define using libm_alias_ldouble.
26810 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
26811 <libm-alias-ldouble.h>.
26812 (cosl): Define using libm_alias_ldouble.
26813 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
26814 <libm-alias-ldouble.h>.
26815 (erfl): Define using libm_alias_ldouble.
26817 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
26818 <libm-alias-ldouble.h>.
26819 (fmal): Define using libm_alias_ldouble.
26820 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
26821 <libm-alias-ldouble.h>.
26822 (frexpl): Define using libm_alias_ldouble.
26823 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
26824 libm_alias_ldouble.
26825 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
26826 <libm-alias-ldouble.h>.
26827 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
26828 libm_alias_ldouble.
26829 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
26830 <libm-alias-ldouble.h>.
26831 (getpayloadl): Define using libm_alias_ldouble.
26832 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
26833 <libm-alias-ldouble.h>.
26834 (llrintl): Define using libm_alias_ldouble.
26835 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
26836 <libm-alias-ldouble.h>.
26837 (llroundl): Define using libm_alias_ldouble.
26838 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
26839 <libm-alias-ldouble.h>.
26840 (lrintl): Define using libm_alias_ldouble.
26841 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
26842 <libm-alias-ldouble.h>.
26843 (lroundl): Define using libm_alias_ldouble.
26844 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
26845 <libm-alias-ldouble.h>.
26846 (modfl): Define using libm_alias_ldouble.
26847 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
26848 <libm-alias-ldouble.h>.
26849 (nextupl): Define using libm_alias_ldouble.
26850 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
26851 <libm-alias-ldouble.h>.
26852 (remquol): Define using libm_alias_ldouble.
26853 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
26854 <libm-alias-ldouble.h>.
26855 (roundevenl): Define using libm_alias_ldouble.
26856 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
26857 <libm-alias-ldouble.h>.
26858 (roundl): Define using libm_alias_ldouble.
26859 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
26860 using libm_alias_ldouble.
26861 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
26862 <libm-alias-ldouble.h>.
26863 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
26864 <libm-alias-ldouble.h>.
26865 (setpayloadsigl): Define using libm_alias_ldouble.
26866 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
26867 <libm-alias-ldouble.h>.
26868 (sincosl): Define using libm_alias_ldouble.
26869 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
26870 <libm-alias-ldouble.h>.
26871 (sinl): Define using libm_alias_ldouble.
26872 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
26873 <libm-alias-ldouble.h>.
26874 (tanhl): Define using libm_alias_ldouble.
26875 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
26876 <libm-alias-ldouble.h>.
26877 (tanl): Define using libm_alias_ldouble.
26878 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
26879 <libm-alias-ldouble.h>.
26880 (totalorderl): Define using libm_alias_ldouble.
26881 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
26882 <libm-alias-ldouble.h>.
26883 (totalordermagl): Define using libm_alias_ldouble.
26884 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
26885 libm_alias_ldouble.
26886 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
26887 libm_alias_ldouble.
26889 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
26891 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
26893 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
26894 (__libc_ifunc_impl_list): Likewise.
26895 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
26896 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
26898 * benchtests/bench-memmove-walk.c: New file.
26899 * benchtests/Makefile (string-benchset): Add it.
26901 * benchtests/bench-memset-walk.c: New file.
26902 * benchtests/Makefile (string-benchset): Add it.
26904 * benchtests/bench-memcpy-walk.c: New file.
26905 * benchtests/Makefile (string-benchset): Add it.
26907 2017-10-05 Florian Weimer <fweimer@redhat.com>
26909 nscd: Eliminate compilation time dependency in the build output.
26910 * nscd/nscd_stat.c (STATDATA_VERSION)
26911 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
26912 (STATDATA_VERSION_FULL): New macro definitions.
26913 (compilation): Remove.
26914 (struct statdata): Adjust version member.
26915 (send_stats): Set version from STATDATA_VERSION_FULL.
26916 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
26918 2017-10-05 Joseph Myers <joseph@codesourcery.com>
26920 * configure.ac (--enable-add-ons): Remove option.
26921 (machine): Do not mention add-ons in comment.
26922 (LIBC_PRECONFIGURE): Likewise.
26923 (add_ons): Remove variable and sanity checks and logic to locate
26925 (add_ons_automatic): Remove variable.
26926 (configured_add_ons): Likewise.
26927 (add_ons_sfx): Likewise.
26928 (add_ons_pfx): Likewise.
26929 (add_on_subdirs): Likewise.
26930 (sysnames_add_ons): Likewise. Remove loop over add-ons and
26931 consideration of add-ons in Implies handling.
26932 (sysdeps_add_ons): Likewise.
26933 * configure: Regenerated.
26934 * libidn/configure.ac: Remove.
26935 * libidn/configure: Likewise.
26936 * sysdeps/unix/inet/configure.ac: New file.
26937 * sysdeps/unix/inet/configure: New generated file.
26938 * sysdeps/unix/inet/Subdirs: Add libidn.
26939 * Makeconfig (sysdeps-srcdirs): Remove variable.
26940 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
26941 ($(common-objpfx)config.status): Do not depend on add-on files.
26942 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
26944 (all-subdirs): Do not include $(add-on-subdirs).
26945 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
26946 * config.make.in (add-ons): Remove variable.
26947 (add-on-subdirs): Likewise.
26948 (sysdeps-add-ons): Likewise.
26949 * manual/Makefile (add-chapters): Remove.
26950 ($(objpfx)texis): Do not depend on $(add-chapters).
26951 (nonexamples): Do not handle $(add-chapters).
26952 (examples): Do not handle $(add-ons).
26953 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
26955 * manual/install.texi (Installation): Do not mention add-ons.
26956 (--enable-add-ons): Do not document configure option.
26957 * INSTALL: Regenerated.
26958 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
26959 * manual/maint.texi (Hierarchy Conventions): Do not mention
26961 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
26963 * scripts/gen-sorted.awk: Do not handle Subdirs files from
26965 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
26966 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
26968 2017-10-05 Andreas Schwab <schwab@suse.de>
26971 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
26972 (_IO_flush_all_lockp): Always lock list_all_lock.
26973 (_IO_flush_all_linebuffered): Likewise.
26974 (_IO_unbuffer_all): Likewise.
26976 2017-10-05 Florian Weimer <fweimer@redhat.com>
26979 Do not flush stdio streams on abort.
26980 * stdlib/abort.c (fflush): Remove macro definition.
26981 (abort): Remove stages related to stdio flushing.
26983 2017-10-05 Florian Weimer <fweimer@redhat.com>
26985 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
26987 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
26989 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26991 2017-10-05 Florian Weimer <fweimer@redhat.com>
26993 * support/support_format_hostent.c (support_format_hostent): Add
26994 more error information for NETDB_INTERNAL.
26996 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26998 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
26999 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
27000 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
27001 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
27002 AC_DEFINE if multi-arch is enabled.
27003 * sysdeps/i386/configure: Regenerated.
27005 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27007 * Makeconfig (+link-static-before-libc): Use
27008 $(DEFAULT-LDFLAGS-$(@F)).
27009 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
27010 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
27011 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
27013 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27015 * elf/Makefile (tests): Add tst-main1.
27016 (modules-names): Add tst-main1mod.
27017 ($(objpfx)tst-main1): New.
27018 (CRT-tst-main1): Likewise.
27019 (LDFLAGS-tst-main1): Likewise.
27020 (LDLIBS-tst-main1): Likewise.
27021 (tst-main1mod.so-no-z-defs): Likewise.
27022 * elf/tst-main1.c: New file.
27023 * elf/tst-main1mod.c: Likewise.
27025 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27027 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
27029 2017-10-04 Joseph Myers <joseph@codesourcery.com>
27031 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
27032 (fma): Define using libm_alias_double.
27033 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
27034 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
27036 (fmal): Do not define as compat symbol here.
27037 * sysdeps/alpha/fpu/s_fma.c: New file.
27039 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27041 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
27043 2017-10-04 Joseph Myers <joseph@codesourcery.com>
27046 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
27048 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27050 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
27051 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27052 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
27053 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
27054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27055 Include <math_ldbl_opt.h>
27056 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27058 (compat_symbol): Undefine and redefine.
27059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
27061 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27062 (compat_symbol): Undefine and redefine.
27063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
27064 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
27065 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
27066 GLIBC_2_1 for libm.
27067 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
27068 GLIBC_2.0 copysignl symbol.
27069 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
27070 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
27072 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
27074 2017-10-04 Florian Weimer <fweimer@redhat.com>
27076 * scripts/check-local-headers.sh: Ignore nspr4 header file
27077 directory in addition to nspr.
27079 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
27082 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
27083 * configure: Regenerate.
27084 * crypt/Makefile (nss-cpp-flags): New variable.
27085 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
27086 (CPPFLAGS-md5-crypt.c): Use it.
27087 * scripts/check-local-headers.sh: Ignore nspr header file
27090 2017-10-04 Andreas Schwab <schwab@suse.de>
27092 * nis/Makefile (services): Remove compat.
27093 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
27094 ($(objpfx)libnss_compat.so): Remove rule.
27095 * nis/Versions (libnss_compat): Remove.
27096 * nss/Makefile (services): Add compat.
27097 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
27098 * nss/Versions (libnss_compat): Define.
27099 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
27100 Don't include <rpc/types.h>. Replace bool_t by bool.
27101 * nss/nss_compat/compat-initgroups.c: Likewise.
27102 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
27103 instead of <rpcsrv/ypclnt.h>.
27104 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
27105 yp_get_default_domain.
27106 * nss/nss_compat/compat-pwd.c: Likewise.
27107 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
27108 yp_get_default_domain.
27109 * nss/nss_compat/nisdomain.c: New file.
27110 * nss/nss_compat/nisdomain.h: Likewise.
27112 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27115 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
27116 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27118 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27121 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
27122 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
27124 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27126 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
27127 "movl main@GOTOFF(%ebx), %eax".
27129 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27131 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
27132 allow undefined _DYNAMIC in PIE libc.a.
27133 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27136 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27138 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
27141 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27143 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
27146 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27148 * math/test-math-iscanonical.cc (error): Replace bool with int.
27150 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27152 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
27153 (modf): Define using libm_alias_double, only if [!__modf].
27154 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
27155 <libm-alias-double.h>.
27156 (modf): Define using libm_alias_double, only if [!__modf].
27157 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
27158 compat symbol here.
27159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
27160 (weak_alias): Do not undefine and redefine.
27161 (strong_alias): Likewise.
27162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
27163 (weak_alias): Likewise.
27164 (strong_alias): Likewise.
27166 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
27167 (logb): Define using libm_alias_double, only if [!__logb].
27168 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
27169 <libm-alias-double.h>.
27170 (logb): Define using libm_alias_double, only if [!__logb].
27171 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
27172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
27173 (weak_alias): Do not undefine and redefine.
27174 (strong_alias): Likewise.
27175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
27176 (weak_alias): Likewise.
27177 (strong_alias): Likewise.
27179 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27181 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
27182 Check SHARED instead PIC.
27184 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27186 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
27187 [!__fmaf] (fmaf): Define using libm_alias_float.
27189 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
27190 (frexp): Define using libm_alias_double.
27191 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
27192 <libm-alias-double.h>.
27193 (frexp): Define using libm_alias_double.
27194 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
27195 compat symbol here.
27197 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27200 * math/math.h: Trivial fix for unbalanced parentheses in comment.
27201 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
27202 (CFLAGS-test-math-iscanonical.cc): New variable.
27203 * math/test-math-iscanonical.cc: New file.
27204 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
27205 Provide a C++ implementation based on function overloading,
27206 rather than using __MATH_TG, which uses C-only builtins.
27207 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
27209 * sysdeps/powerpc/powerpc64le/Makefile
27210 (CFLAGS-test-math-iscanonical.cc): New variable.
27212 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27214 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
27215 (ceil): Define using libm_alias_double.
27216 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
27217 (floor): Define using libm_alias_double.
27218 * sysdeps/ieee754/dbl-64/s_llround.c: Include
27219 <libm-alias-double.h>.
27220 (llround): Define using libm_alias_double.
27221 * sysdeps/ieee754/dbl-64/s_lround.c: Include
27222 <libm-alias-double.h>.
27223 (lround): Define using libm_alias_double.
27224 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
27225 <libm-alias-double.h>.
27226 (nearbyint): Define using libm_alias_double.
27227 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
27228 <libm-alias-double.h>.
27229 (remquo): Define using libm_alias_double.
27230 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
27231 (rint): Define using libm_alias_double.
27232 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
27233 (round): Define using libm_alias_double.
27234 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
27235 (trunc): Define using libm_alias_double.
27236 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
27237 <libm-alias-double.h>.
27238 (ceil): Define using libm_alias_double.
27239 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
27240 <libm-alias-double.h>.
27241 (floor): Define using libm_alias_double.
27242 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
27243 <libm-alias-double.h>.
27244 (llround): Define using libm_alias_double.
27245 [_LP64] (lround): Likewise.
27246 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
27247 <libm-alias-double.h>.
27248 [!_LP64] (lround): Define using libm_alias_double.
27249 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
27250 <libm-alias-double.h>.
27251 (nearbyint): Define using libm_alias_double.
27252 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
27253 <libm-alias-double.h>.
27254 (remquo): Define using libm_alias_double.
27255 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
27256 <libm-alias-double.h>.
27257 (rint): Define using libm_alias_double.
27258 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
27259 <libm-alias-double.h>.
27260 (round): Define using libm_alias_double.
27261 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
27262 <libm-alias-double.h>.
27263 (trunc): Define using libm_alias_double.
27264 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
27265 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
27266 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
27267 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
27268 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
27269 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
27270 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
27271 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
27272 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
27274 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27276 * math/w_remainder.c: New file.
27277 * math/w_remainderf.c: New file.
27278 * math/w_remainderl.c: New file.
27280 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27282 * elf/rtld.c (BOOTSTRAP_MAP): New.
27283 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
27284 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27286 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27288 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27291 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
27293 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
27294 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
27295 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
27296 rtld_hidden_data_ver): Define to empty.
27297 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
27298 __assert_perror_fail): Likewise.
27299 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27300 (__rewinddir): Likewise.
27301 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27302 (__profile_frequency): Likewise.
27303 * include/setjmp.h (__sigsetjmp): Likewise.
27304 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
27305 __libc_sigaction): Likewise.
27306 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
27307 not set hidden attribute.
27308 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
27309 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
27310 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
27311 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
27312 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
27313 __fxstatat64): Likewise.
27314 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27315 (__uname): Likewise.
27316 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27317 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
27318 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
27319 (NO_RTLD_HIDDEN): Set.
27320 * sysdeps/mach/hurd/configure: Refresh.
27321 * config.h.in: Refresh.
27323 2017-10-02 Joseph Myers <joseph@codesourcery.com>
27325 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
27326 (atan): Define using libm_alias_double.
27327 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
27328 (tan): Define using libm_alias_double.
27329 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
27330 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
27332 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
27333 define as weak alias of __atan. Do not define any aliases if
27335 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
27336 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
27337 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
27338 as weak alias of __tan. Do not define any aliases if [__tan].
27339 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
27340 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
27341 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
27343 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
27344 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
27345 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
27346 and define as weak alias of __atan.
27347 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
27349 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
27350 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
27351 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
27352 define as weak alias of __tan.
27354 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27356 * math/w_lgamma.c: New file.
27357 * math/w_lgammaf.c: New file.
27358 * math/w_lgammal.c: New file.
27360 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27362 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
27363 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
27364 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
27365 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
27366 * sysdeps/ieee754/flt-32/w_logf.c: New file.
27367 * sysdeps/ieee754/flt-32/w_powf.c: New file.
27368 * sysdeps/i386/fpu/w_log2f.c: New file.
27369 * sysdeps/i386/fpu/w_logf.c: New file.
27370 * sysdeps/i386/fpu/w_powf.c: New file.
27371 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
27372 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
27373 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
27375 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27376 H.J. Lu <hongjiu.lu@intel.com>
27378 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
27379 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
27380 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
27381 * sysdeps/ieee754/flt-32/w_expf.c: New file.
27382 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
27384 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
27385 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
27386 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
27387 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
27388 * sysdeps/i386/fpu/w_exp2f.c: New file.
27389 * sysdeps/i386/fpu/w_expf.c: New file.
27390 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
27391 * sysdeps/x86_64/fpu/w_expf.c: New file.
27393 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27395 * math/Versions (logf): New libm symbol at GLIBC_2.27.
27398 * math/w_log2f.c: New file.
27399 * math/w_logf.c: New file.
27400 * math/w_powf.c: New file.
27401 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
27402 * math/w_logf_compat.c (__logf_compat): Likewise.
27403 * math/w_powf_compat.c (__powf_compat): Likewise.
27404 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
27405 * sysdeps/ia64/fpu/e_logf.S: Likewise.
27406 * sysdeps/ia64/fpu/e_powf.S: Likewise.
27407 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27408 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27409 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27410 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27411 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27412 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27413 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27414 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27415 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27416 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27417 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27418 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27427 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27428 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27429 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27430 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27431 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27432 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27434 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27436 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27437 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27438 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27440 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27442 * sysdeps/powerpc/powerpc64/multiarch/Makefile
27443 (sysdep_routines): Add memrchr_power8.
27444 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27445 (memrchr): Add __memrchr_power8 to list of memrchr functions.
27446 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
27448 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27449 (memrchr): Add __memrchr_power8 to ifunc list.
27450 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
27452 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27455 * sysdeps/unix/sysv/linux/posix_fadvise64.c
27456 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
27458 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27459 (__posix_fallocate64_l64): Likewise.
27461 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27464 * sysdeps/unix/sysv/linux/sched_setaffinity.c
27465 (__sched_setaffinity_new): Add libc_hidden_proto and
27468 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27471 * include/glob.h (__glob64): Add libc_hidden_proto.
27472 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
27475 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27478 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
27481 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27484 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
27486 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27489 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
27492 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27495 * csu/version.c (__libc_print_version): Add attribute_hidden.
27497 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27500 * include/libc-internal.h (__init_misc): Add attribute_hidden.
27502 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27505 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
27507 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27510 * nscd/nscd_helper.c (__nis_hash): New prototype.
27512 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27515 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
27516 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
27518 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27519 * termios/tcgetattr.c (__tcgetattr): Likewise.
27521 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27524 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
27525 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
27526 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
27527 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
27528 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
27530 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27533 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
27535 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27538 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
27539 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
27541 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27544 * intl/hash-string.h (__hash_string): Add attribute_hidden.
27546 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27549 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
27550 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
27552 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27555 * include/ifreq.h: New file.
27556 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
27557 (__ifreq): Likewise.
27558 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
27559 (__ifreq): Likewise.
27561 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27564 * include/idna.h: New file.
27565 * inet/getnameinfo.c: Include <idna.h> instead of
27567 (__idna_to_unicode_lzlz): Removed.
27568 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
27570 (__idna_to_ascii_lz): Removed.
27571 (__idna_to_unicode_lzlz): Likewise.
27573 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27576 * include/plural-exp.h: New file.
27577 * intl/plural-exp.c: Include <plural-exp.h> instead of
27580 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27583 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
27584 "getsourcefilter.h".
27585 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
27586 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
27587 "getsourcefilter.h".
27588 (__get_sol): Removed.
27590 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27593 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
27595 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
27597 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27600 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
27603 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27606 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
27608 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27611 * include/search.h (__tdestroy): Add libc_hidden_proto.
27612 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
27614 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27617 * include/assert.h (__assert_fail_base): Add attribute_hidden.
27619 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27622 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
27625 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27628 * include/signal.h (__kill): Add libc_hidden_proto.
27629 (__sigblock): Likewise.
27630 (__sigprocmask): Likewise.
27631 (__sigaltstack): Likewise.
27632 * signal/kill.c (__kill): Add libc_hidden_def.
27633 * signal/sigblock.c (__sigblock): Likewise.
27634 * signal/sigprocmask.c (__sigprocmask): Likewise.
27635 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
27636 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
27637 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
27638 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
27639 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
27641 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
27643 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
27644 (__sigprocmask): Likewise.
27645 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
27647 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
27648 (__sigprocmask): Likewise.
27649 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
27652 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27655 * include/string.h (__strsep): Add libc_hidden_proto.
27656 * string/strsep.c (__strsep): Add libc_hidden_def.
27658 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27661 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
27663 (__spawni): Likewise.
27665 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27668 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
27669 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
27672 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27675 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
27677 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27680 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
27681 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
27682 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
27683 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
27684 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
27686 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
27687 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
27689 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27692 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
27693 (__dcigettext): Likewise.
27695 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27698 * include/sys/sysinfo.h (__get_nprocs_conf): Add
27700 (__get_nprocs): Likewise.
27701 (__get_phys_pages): Likewise.
27702 (__get_avphys_pages): Likewise.
27703 (__get_child_max): Add attribute_hidden.
27704 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
27705 (__get_nprocs): Likewise.
27706 (__get_phys_pages): Likewise.
27707 (__get_avphys_pages): Likewise.
27708 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
27710 (__get_nprocs): Likewise.
27711 (__get_phys_pages): Likewise.
27712 (__get_avphys_pages): Likewise.
27713 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
27715 (__get_nprocs_conf): Likewise.
27716 (__get_phys_pages): Likewise.
27717 (__get_avphys_pages): Likewise.
27719 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27722 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
27724 (__netlink_close): Likewise.
27725 (__netlink_free_handle): Likewise.
27726 (__netlink_request): Likewise.
27728 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27731 * include/rpc/rpc.h (__rpc_thread_variables): Add
27733 (__rpc_thread_svc_cleanup): Likewise.
27734 (__rpc_thread_clnt_cleanup): Likewise.
27735 (__rpc_thread_key_cleanup): Likewise.
27737 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27740 * include/sys/uio.h (__readv): Add libc_hidden_proto.
27741 (__writev): Likewise.
27742 * misc/readv.c (__readv): Add libc_hidden_def.
27743 * misc/writev.c (__writev): Likewise.
27744 * sysdeps/posix/readv.c (__readv): Likewise.
27745 * sysdeps/posix/writev.c (__writev): Likewise.
27746 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
27747 (__readv): Likewise.
27748 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
27749 (__writev): Likewise.
27751 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27754 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
27755 (__regcomp): Add libc_hidden_proto.
27756 (__regexec): Likewise.
27757 (__regfree): Likewise.
27758 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
27759 (__regfree): Likewise.
27760 * posix/regexec.c (__regexec): Likewise.
27762 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27765 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
27766 (__getutent): Likewise.
27767 (__getutid): Likewise.
27768 (__getutline): Likewise.
27769 (__pututline): Likewise.
27770 (__getutent_r): Likewise.
27771 (__getutid_r): Likewise.
27772 (__getutline_r): Likewise.
27773 (__utmpname): Add attribute_hidden.
27774 (__setutent): Likewise.
27775 (__endutent): Likewise.
27776 * login/getutent.c (__getutent): Add libc_hidden_def.
27777 * login/getutent_r.c (__getutent_r): Likewise.
27778 (__pututline): Likewise.
27779 * login/getutid.c (__getutid): Likewise.
27780 * login/getutid_r.c (__getutid_r): Likewise.
27781 * login/getutline.c (__getutline): Likewise.
27782 * login/getutline_r.c (__getutline_r): Likewise.
27783 * login/updwtmp.c (__updwtmp): Likewise.
27785 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27788 * include/dirent.h (__opendir): Always add attribute_hidden.
27789 (__fdopendir): Likewise.
27790 (__closedir): Likewise.
27791 (__readdir): Likewise.
27792 (__readdir64): Add libc_hidden_proto.
27793 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
27794 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
27795 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
27796 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
27799 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27802 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
27803 * include/netdb.h (__gethostbyaddr_r): Likewise.
27804 (__gethostbyname_r): Likewise.
27805 (__gethostbyname2_r): Likewise.
27806 (__getnetbyaddr_r): Likewise.
27807 (__getnetbyname_r): Likewise.
27808 (__getservbyname_r): Likewise.
27809 (__getservbyport_r): Likewise.
27810 (__getprotobyname_r): Likewise.
27811 (__getprotobynumber_r): Likewise.
27812 (__getnetgrent_r): Likewise.
27813 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
27814 (__getrpcbynumber_r): Likewise.
27815 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
27817 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27820 * include/stdio.h (__fcloseall): Add attribute_hidden.
27821 (__getline): Likewise.
27822 (__path_search): Likewise.
27823 (__gen_tempname): Likewise.
27824 (__libc_message): Likewise.
27825 (__flockfile): Likewise.
27826 (__funlockfile): Likewise.
27827 (__fxprintf): Likewise.
27828 (__fxprintf_nocancel): Likewise.
27830 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27833 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
27834 (__sgetsgent_r): Likewise.
27836 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27839 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
27840 (__statfs64): Likewise.
27841 (__fstatfs64): Likewise.
27842 * include/sys/statvfs.h (__statvfs64): Likewise.
27843 (__fstatvfs64): Likewise.
27844 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
27845 (__statfs_filesize_max): Likewise.
27846 (__statfs_symlinks): Likewise.
27847 (__statfs_chown_restricted): Likewise.
27849 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27852 * include/time.h (__tzstring): Add attribute_hidden.
27853 (__tzfile_read): Likewise.
27854 (__tzfile_compute): Likewise.
27855 (__tzfile_default): Likewise.
27856 (__tzset_parse_tz): Likewise.
27857 (__offtime): Likewise.
27858 (__asctime_r): Likewise.
27859 (__tzset): Likewise.
27860 (__tz_convert): Likewise.
27861 (__getdate_r): Likewise.
27862 (__getclktck): Likewise.
27864 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27867 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
27868 (__nscd_unmap): Likewise.
27869 (__nscd_cache_search): Likewise.
27870 (__nscd_get_nl_timestamp): Likewise.
27871 (__nscd_getpwnam_r): Likewise.
27872 (__nscd_getpwuid_r): Likewise.
27873 (__nscd_getgrnam_r): Likewise.
27874 (__nscd_getgrgid_r): Likewise.
27875 (__nscd_gethostbyname_r): Likewise.
27876 (__nscd_gethostbyname2_r): Likewise.
27877 (__nscd_gethostbyaddr_r): Likewise.
27878 (__nscd_getai): Likewise.
27879 (__nscd_getgrouplist): Likewise.
27880 (__nscd_getservbyname_r): Likewise.
27881 (__nscd_getservbyport_r): Likewise.
27882 (__nscd_innetgr): Likewise.
27883 (__nscd_setnetgrent): Likewise.
27885 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27888 * include/gmp.h: Declare internal functions only if _ISOMAC is
27890 (__mpn_extract_double): Add attribute_hidden.
27891 (__mpn_extract_long_double): Likewise.
27892 (__mpn_extract_float128): Likewise.
27893 (__mpn_construct_float): Likewise.
27894 (__mpn_construct_double): Likewise.
27895 (__mpn_construct_long_double): Likewise.
27896 (__mpn_construct_float128): Likewise.
27897 (mpn_add_1): Likewise.
27898 (mpn_addmul_1): Likewise.
27899 (mpn_add_n): Likewise.
27900 (mpn_cmp): Likewise.
27901 (mpn_divrem): Likewise.
27902 (mpn_lshift): Likewise.
27903 (mpn_mul): Likewise.
27904 (mpn_mul_1): Likewise.
27905 (mpn_rshift): Likewise.
27906 (mpn_sub_1): Likewise.
27907 (mpn_submul_1): Likewise.
27908 (mpn_sub_n): Likewise.
27910 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27913 * include/wchar.h (__wcsnlen): Add attribute_hidden.
27914 (__wcscat): Likewise.
27915 (__btowc): Likewise.
27916 (__wcrtomb): Likewise.
27917 (__mbsrtowcs): Likewise.
27918 (__wcsrtombs): Likewise.
27919 (__mbsnrtowcs): Likewise.
27920 (__wcsnrtombs): Likewise.
27921 (__wcsncpy): Likewise.
27922 (__wcpncpy): Likewise.
27923 (__wmemcpy): Likewise.
27924 (__wmempcpy): Likewise.
27925 (__wmemmove): Likewise.
27926 (__wcschrnul): Likewise.
27927 (__vfwscanf): Likewise.
27928 (__vswprintf): Likewise.
27929 (__fwprintf): Likewise.
27930 (__vfwprintf): Likewise.
27932 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27935 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
27936 (__getgrgid_r): Likewise.
27937 (__getgrnam_r): Likewise.
27938 * include/pwd.h (__getpwuid_r): Likewise.
27939 (__getpwnam_r): Likewise.
27940 (__fgetpwent_r): Likewise.
27941 * include/shadow.h (__getspnam_r): Likewise.
27942 (__sgetspent_r): Likewise.
27943 (__fgetspent_r): Likewise.
27945 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27948 * include/unistd.h (__access): Add attribute_hidden.
27949 (__lseek64): Likewise.
27950 (__libc_pread64): Likewise.
27951 (__pipe2): Likewise.
27952 (__sleep): Likewise.
27953 (__chdir): Likewise.
27954 (__fchdir): Likewise.
27955 (__getcwd): Likewise.
27956 (__rmdir): Likewise.
27957 (__execvpe): Likewise.
27958 (__execve): Likewise.
27959 (__setsid): Likewise.
27960 (__getuid): Likewise.
27961 (__geteuid): Likewise.
27962 (__getgid): Likewise.
27963 (__getegid): Likewise.
27964 (__getgroups): Likewise.
27965 (__group_member): Likewise.
27966 (__ttyname_r): Likewise.
27967 (__isatty): Likewise.
27968 (__readlink): Likewise.
27969 (__unlink): Likewise.
27970 (__gethostname): Likewise.
27971 (__profil): Likewise.
27972 (__getdtablesize): Likewise.
27974 (__ftruncate): Likewise.
27975 (__ftruncate64): Likewise.
27977 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27980 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
27981 * argp/argp-fs-xinl.c: Likewise.
27982 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
27983 * argp/argp-parse.c: Include <argp.h>.
27984 * argp/argp-xinl.c: Likewise.
27985 * include/argp-fmtstream.h: New file.
27986 * include/argp.h (__argp_error): Add attribute_hidden.
27987 (__argp_failure): Likewise.
27988 (__argp_input): Likewise.
27989 (__argp_state_help): Likewise.
27991 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27994 * include/wchar.h (____wcstof_l_internal): New prototype.
27995 (____wcstod_l_internal): Likewise.
27996 (____wcstold_l_internal): Likewise.
27997 (____wcstol_l_internal): Likewise.
27998 (____wcstoul_l_internal): Likewise.
27999 (____wcstoll_l_internal): Likewise.
28000 (____wcstoull_l_internal): Likewise.
28001 (____wcstof128_l_internal): Likewise.
28002 * sysdeps/ieee754/float128/wcstof128.c
28003 (____wcstof128_l_internal): Removed.
28004 * sysdeps/ieee754/float128/wcstof128_l.c
28005 (____wcstof128_l_internal): Likewise.
28006 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
28007 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
28008 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
28009 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
28010 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
28011 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
28012 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
28013 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
28014 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
28015 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
28017 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28020 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
28021 instead of <sys/statvfs.h>.
28022 (__internal_statvfs): Removed.
28023 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
28024 instead of <sys/statvfs.h>.
28025 (__internal_statvfs64): Removed.
28026 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
28027 "internal_statvfs.h" instead of <sys/statvfs.h>.
28028 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
28029 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
28030 instead of <sys/statvfs.h>.
28031 (__internal_statvfs): Removed.
28032 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
28033 instead of <sys/statvfs.h>.
28034 (__internal_statvfs64): Removed.
28036 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28039 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
28040 (__gconv_close): Likewise.
28041 (__gconv): Likewise.
28042 (__gconv_find_transform): Likewise.
28043 (__gconv_lookup_cache): Likewise.
28044 (__gconv_compare_alias_cache): Likewise.
28045 (__gconv_load_cache): Likewise.
28046 (__gconv_get_path): Likewise.
28047 (__gconv_close_transform): Likewise.
28048 (__gconv_release_cache): Likewise.
28049 (__gconv_find_shlib): Likewise.
28050 (__gconv_release_shlib): Likewise.
28051 (__gconv_get_builtin_trans): Likewise.
28052 (__gconv_compare_alias): Likewise.
28053 * include/dlfcn.h (_dlerror_run): Likewise.
28054 * include/stdio.h (__fortify_fail_abort): Likewise.
28055 * include/time.h (__tz_compute): Likewise.
28056 (__strptime_internal): Likewise.
28057 * intl/gettextP.h (_nl_find_domain): Likewise.
28058 (_nl_load_domain): Likewise.
28059 (_nl_find_msg): Likewise.
28060 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
28061 (EXTRACT_PLURAL_EXPRESSION): Likewise.
28062 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
28063 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
28064 (__gai_find_request): Likewise.
28065 (__gai_remove_request): Likewise.
28066 (__gai_notify): Likewise.
28067 (__gai_notify_only): Likewise.
28068 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28069 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
28070 (_dl_non_dynamic_init): Likewise.
28071 (_dl_aux_init): Likewise.
28072 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
28073 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28075 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
28076 (__wcsmbs_clone_conv): Likewise.
28077 (__wcsmbs_named_conv): Likewise.
28079 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28082 * include/stdlib.h (__random): Add attribute_hidden.
28083 (__random_r): Likewise.
28084 (__srandom_r): Likewise.
28085 (__initstate_r): Likewise.
28086 (__setstate_r): Likewise.
28087 (__erand48_r): Likewise.
28088 (__nrand48_r): Likewise.
28089 (__jrand48_r): Likewise.
28090 (__srand48_r): Likewise.
28091 (__seed48_r): Likewise.
28092 (__lcong48_r): Likewise.
28093 (__drand48_iterate): Likewise.
28094 (__setenv): Likewise.
28095 (__unsetenv): Likewise.
28096 (__clearenv): Likewise.
28097 (__ptsname_r): Likewise.
28098 (__posix_openpt): Likewise.
28099 (__add_to_environ): Likewise.
28100 (__realpath): Add libc_hidden_proto.
28101 (__ecvt_r): Likewise.
28102 (__fcvt_r): Likewise.
28103 (__qecvt_r): Likewise.
28104 (__qfcvt_r): Likewise.
28105 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
28106 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
28108 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28111 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
28112 * include/time.h (__mktime_internal): Likewise.
28113 * libio/iolibio.h (__fopen_internal): Likewise.
28115 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
28117 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
28119 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
28120 Correct offset used to restore PIC register.
28122 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
28125 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
28126 code to load address of __getcontext_ret when generating PIC code.
28128 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
28130 * elf/Makefile (tests-static-internal): Add
28131 tst-tls1-static-non-pie.
28132 (LDFLAGS-tst-tls1-static-non-pie): New.
28133 * elf/tst-tls1-static-non-pie.c: New file.
28135 2017-09-29 Joseph Myers <joseph@codesourcery.com>
28137 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
28138 (asinh): Define using libm_alias_double.
28139 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
28140 (cbrt): Define using libm_alias_double.
28141 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
28142 <libm-alias-double.h>.
28143 (copysign): Define using libm_alias_double.
28144 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
28145 (erf): Define using libm_alias_double.
28147 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
28148 (expm1): Define using libm_alias_double.
28149 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
28150 (fabs): Define using libm_alias_double.
28151 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
28153 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
28154 <libm-alias-double.h>.
28155 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
28157 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
28158 <libm-alias-double.h>.
28159 (getpayload): Define using libm_alias_double.
28160 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
28161 <libm-alias-double.h>.
28162 (llrint): Define using libm_alias_double.
28163 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
28164 (lrint): Define using libm_alias_double.
28165 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
28166 <libm-alias-double.h>.
28167 (nextup): Define using libm_alias_double.
28168 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
28169 <libm-alias-double.h>.
28170 (roundeven): Define using libm_alias_double.
28171 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
28173 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
28174 <libm-alias-double.h>.
28175 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
28176 using libm_alias_double.
28177 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
28178 (cos): Define using libm_alias_double.
28180 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
28181 <libm-alias-double.h>.
28182 (sincos): Define using libm_alias_double.
28183 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
28184 (tanh): Define using libm_alias_double.
28185 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
28186 <libm-alias-double.h>.
28187 (totalorder): Define using libm_alias_double.
28188 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
28189 <libm-alias-double.h>.
28190 (totalordermag): Define using libm_alias_double.
28191 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
28193 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
28195 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
28196 <libm-alias-double.h>.
28197 (getpayload): Define using libm_alias_double.
28198 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
28199 <libm-alias-double.h>.
28200 (roundeven): Define using libm_alias_double.
28201 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
28202 <libm-alias-double.h>.
28203 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
28204 <libm-alias-double.h>.
28205 (totalorder): Define using libm_alias_double.
28206 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
28207 <libm-alias-double.h>.
28208 (totalordermag): Define using libm_alias_double.
28209 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
28210 libc compat symbol here.
28211 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
28212 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
28213 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
28214 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
28215 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
28216 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
28217 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
28218 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
28219 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
28220 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
28222 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28224 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
28225 _dl_relocate_static_pie instead of _dl_start to compute load
28226 address in static PIE. Return 0 if _DYNAMIC is undefined for
28229 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28231 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
28232 _DYNAMIC is undefined for static executable.
28234 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28236 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
28238 2017-09-29 Joseph Myers <joseph@codesourcery.com>
28240 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28242 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28244 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
28245 (__ieee754_lgamma_r): Use fabs rather than __fabs.
28246 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
28247 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
28248 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
28249 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
28250 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
28251 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
28252 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
28253 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28254 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
28255 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
28256 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28257 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28258 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28259 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28260 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
28262 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28264 * math/bits/cmathcalls.h (cimag): Remove inline.
28265 (creal): Remove inline.
28266 (conj): Remove inline.
28268 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28270 * math/Makefile (type-float-routines): Add e_powf_log2_data.
28271 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
28272 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
28273 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
28274 (issignalingf_inline): Likewise.
28275 (POWF_LOG2_TABLE_BITS): Likewise.
28276 (POWF_LOG2_POLY_ORDER): Likewise.
28277 (POWF_SCALE_BITS): Likewise.
28278 (POWF_SCALE): Likewise.
28279 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
28280 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
28281 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
28283 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28285 * math/Makefile (type-float-routines): Add e_log2f_data.
28286 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
28287 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
28288 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
28289 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
28290 * sysdeps/i386/fpu/e_log2f_data.c: New file.
28291 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
28292 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
28294 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28296 * math/Makefile (type-float-routines): Add e_logf_data.
28297 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
28298 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
28299 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
28300 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
28301 * sysdeps/i386/fpu/e_logf_data.c: New file.
28302 * sysdeps/ia64/fpu/e_logf_data.c: New file.
28303 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
28305 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
28307 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
28308 undefined _DYNAMIC in PIE libc.a.
28309 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28312 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28314 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
28315 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
28316 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
28317 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
28318 (__signbit): Remove.
28319 (__signbitl): Remove.
28320 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
28321 (__signbit): Remove.
28322 (__signbitl): Remove.
28323 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
28324 (__signbit): Remove.
28325 (__signbitl): Remove.
28326 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
28327 (__signbit): Remove.
28328 (__signbitl): Remove.
28329 * sysdeps/tile/bits/mathinline.h: Delete file.
28330 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
28331 (__signbit): Remove.
28332 (__signbitl): Remove.
28334 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28336 * math/math.h: Improve handling of C99 isgreater macros.
28337 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
28338 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
28339 * sysdeps/powerpc/bits/mathinline.h: Likewise.
28340 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28341 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
28343 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
28345 * sysdeps/aarch64/libm-test-ulps: Update.
28347 2017-09-28 Joseph Myers <joseph@codesourcery.com>
28350 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28351 math_opt_barrier on argument when doing arithmetic on it.
28352 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28353 Likewise. Use math_force_eval not math_opt_barrier after
28355 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
28356 math_opt_barrier on argument when doing arithmetic on it.
28357 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28360 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
28362 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
28364 (__freeifaddrs): Likewise.
28366 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
28368 * include/dirent.h (__dirfd): New declaration.
28369 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
28371 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
28372 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
28373 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
28374 * include/unistd.h (__revoke): New declaration.
28375 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
28377 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
28378 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
28380 * include/dirent.h (__seekdir): New declaration.
28381 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
28382 redefine as weak alias.
28383 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
28385 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
28386 and use libc_hidden_def on them.
28387 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
28389 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
28390 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
28391 instead of getifaddrs and freeifaddrs.
28393 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
28396 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
28397 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
28398 (__dso_handle): Remove declaration.
28399 * dlfcn/tstatexit.c (__dso_handle): Removed.
28400 (main): Don't check __dso_handle.
28401 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
28402 (main): Don't check __dso_handle.
28403 * include/dso_handle.h: New file.
28404 * malloc/mtrace.c: Include <dso_handle.h>.
28405 (mtrace): Pass __dso_handle directly.
28406 * nptl/pthread_atfork.c: Include <dso_handle.h>.
28407 (__dso_handle): Remove declaration.
28408 (__pthread_atfork): Pass __dso_handle directly.
28409 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
28410 (__dso_handle): Removed.
28411 * posix/wordexp-test.c: Include <dso_handle.h>.
28412 (__dso_handle): Remove declaration.
28413 (__app_register_atfork): Pass __dso_handle directly.
28414 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
28415 (__dso_handle): Remove declaration.
28416 (at_quick_exit): Pass __dso_handle directly.
28417 * stdlib/atexit.c: Include <dso_handle.h>.
28418 (__dso_handle): Remove declaration.
28419 (atexit): Pass __dso_handle directly.
28420 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
28421 (__dso_handle): Removed.
28423 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28425 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
28428 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
28430 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
28431 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
28432 values to correct default value for given type.
28434 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
28437 * elf/Makefile (tests): Add tst-debug1.
28438 ($(objpfx)tst-debug1): New.
28439 ($(objpfx)tst-debug1.out): Likewise.
28440 ($(objpfx)tst-debug1mod1.so): Likewise.
28441 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
28442 with p_filesz == 0.
28443 * elf/tst-debug1.c: New file.
28445 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28447 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
28448 Define using __ifunc.
28450 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28452 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
28455 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28458 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
28460 2017-09-26 Florian Weimer <fweimer@redhat.com>
28462 * resolv/Makefile (tests-internal): Fix typo in comment.
28464 2017-09-26 Florian Weimer <fweimer@redhat.com>
28466 * resolv/nss_dns/dns-host.c: Fix typo in comment.
28468 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28470 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
28471 Use an union instead of a max_align_t array for __space,
28472 so that __space is the same size on all platforms.
28473 * malloc/scratch_buffer_grow_preserve.c
28474 (__libc_scratch_buffer_grow_preserve): Likewise.
28477 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
28479 * posix/Makefile (routines): Add glob-lstat-compat and
28480 glob64-lstat-compat.
28481 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
28482 * posix/glob-lstat-compat.c: New file.
28483 * posix/glob64-lstat-compat.c: Likewise.
28484 * posix/tst-glob_lstat_compat.c: Likewise.
28485 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
28486 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
28487 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
28488 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
28490 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
28491 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28492 * posix/glob.c (glob_lstat): New function.
28493 (glob): Rename to __glob and add versioned symbol to 2.27.
28494 (glob_in_dir): Use glob_lstat.
28495 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
28496 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
28497 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
28499 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
28500 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
28501 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
28502 gl_lstat on glob call.
28503 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
28504 and glob64 symbols.
28505 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
28506 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
28507 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
28508 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
28509 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
28510 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
28511 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
28512 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
28513 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
28514 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
28515 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
28516 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
28517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
28519 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
28520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
28521 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
28522 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
28523 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
28524 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
28525 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
28526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
28527 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
28528 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
28529 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
28530 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
28532 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
28534 * configure.ac (AS): Require binutils 2.25 or later.
28535 * configure: Regenerated.
28537 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28540 * stdlib/test-atexit-race-common.c (do_test): Minimize required
28543 2017-09-25 DJ Delorie <dj@redhat.com>
28546 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
28549 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
28551 * sysdeps/ieee754/dbl-64/sincos32.h
28552 [SINCCOS32_H]: Remove define.
28553 [SINCOS32_H]: Define.
28555 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28557 * math/Versions (expf): New libm symbol at GLIBC_2.27.
28559 * math/w_exp2f.c: New file.
28560 * math/w_expf.c: New file.
28561 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
28562 * math/w_expf_compat.c (__expf_compat): Likewise.
28563 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
28564 * sysdeps/ia64/fpu/e_expf.S: Likewise.
28565 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28566 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28567 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28568 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28569 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28570 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28571 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28572 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28573 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28574 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28575 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28576 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28585 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28586 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28587 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28588 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28589 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28594 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28595 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28596 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28598 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28600 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
28601 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
28602 (roundtoint, converttoint): Likewise.
28603 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
28604 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
28605 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
28606 * sysdeps/ieee754/flt-32/math_config.h: New file.
28607 * sysdeps/ieee754/flt-32/math_errf.c: New file.
28608 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
28609 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
28610 * sysdeps/i386/fpu/math_errf.c: New file.
28611 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
28612 * sysdeps/ia64/fpu/math_errf.c: New file.
28613 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
28614 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
28616 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
28618 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
28619 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
28620 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
28621 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
28622 to make sure that these symbols are defined.
28623 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
28625 (__need_NULL): Do not define.
28626 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
28628 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
28629 CMGROUP_MAX, cmsgcred): Do not define.
28630 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
28632 * bits/socket.h: Likewise.
28633 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
28634 __gettimeofday instead of gettimeofday.
28635 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
28636 instead of settimeofday.
28638 2017-09-22 Joseph Myers <joseph@codesourcery.com>
28640 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
28641 (asinhf): Define using libm_alias_float.
28642 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
28643 (atanf): Define using libm_alias_float.
28644 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
28645 (cbrtf): Define using libm_alias_float.
28646 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
28647 (ceilf): Define using libm_alias_float.
28648 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
28649 <libm-alias-float.h>.
28650 (copysignf): Define using libm_alias_float.
28651 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
28652 (cosf): Define using libm_alias_float.
28653 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
28654 (erff): Define using libm_alias_float.
28656 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
28657 (expm1f): Define using libm_alias_float.
28658 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
28659 (fabsf): Define using libm_alias_float.
28660 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
28661 (floorf): Define using libm_alias_float.
28662 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
28663 (frexpf): Define using libm_alias_float.
28664 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
28666 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
28667 <libm-alias-float.h>.
28668 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
28670 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
28671 <libm-alias-float.h>.
28672 (getpayloadf): Define using libm_alias_float.
28673 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
28674 <libm-alias-float.h>.
28675 (llrintf): Define using libm_alias_float.
28676 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
28677 <libm-alias-float.h>.
28678 (llroundf): Define using libm_alias_float.
28679 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
28680 (logbf): Define using libm_alias_float.
28681 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
28682 (lrintf): Define using libm_alias_float.
28683 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
28684 (lroundf): Define using libm_alias_float.
28685 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
28686 (modff): Define using libm_alias_float.
28687 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
28688 <libm-alias-float.h>.
28689 (nearbyintf): Define using libm_alias_float.
28690 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
28691 <libm-alias-float.h>.
28692 (nextafterf): Define using libm_alias_float.
28693 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
28694 <libm-alias-float.h>.
28695 (nextupf): Define using libm_alias_float.
28696 * sysdeps/ieee754/flt-32/s_remquof.c: Include
28697 <libm-alias-float.h>.
28698 (remquof): Define using libm_alias_float.
28699 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
28700 (rintf): Define using libm_alias_float.
28701 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
28702 <libm-alias-float.h>.
28703 (roundevenf): Define using libm_alias_float.
28704 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
28705 (roundf): Define using libm_alias_float.
28706 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
28707 using libm_alias_float.
28708 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
28709 <libm-alias-float.h>.
28710 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
28711 Define using libm_alias_float.
28712 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
28713 <libm-alias-float.h>.
28714 (sincosf): Define using libm_alias_float.
28715 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
28716 (sinf): Define using libm_alias_float.
28717 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
28718 (tanf): Define using libm_alias_float.
28719 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
28720 (tanhf): Define using libm_alias_float.
28721 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
28722 <libm-alias-float.h>.
28723 (totalorderf): Define using libm_alias_float.
28724 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
28725 <libm-alias-float.h>.
28726 (totalordermagf): Define using libm_alias_float.
28727 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
28728 (truncf): Define using libm_alias_float.
28729 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
28731 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
28734 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28737 math/math.h: Let fpclassify use the builtin in C++ mode, even
28738 when optimazing for size.
28740 2017-09-22 Joseph Myers <joseph@codesourcery.com>
28742 * csu/Makefile (generated): Do not add version-info.h.
28743 (before-compile): Likewise.
28744 (all-Banner-files): Remove variable.
28745 ($(objpfx)version-info.h): Remove rule.
28746 * csu/version.c (banner): Do not include "version-info.h".
28747 * libidn/Banner: Remove.
28748 * manual/contrib.texi (Simon Josefsson): New entry.
28750 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28752 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28753 Remove conditionals on LDBL_MANT_DIG.
28754 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28755 (__ieee754_lgammal_r): Likewise.
28757 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28759 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
28761 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
28762 _Float128 and L(). Replace _Float128 with long double and L(x)
28763 with xL, throughout the file.
28764 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
28765 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
28766 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
28767 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
28769 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28771 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
28772 sysdeps/ieee754/ldbl-128ibm.
28773 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
28774 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
28775 of including it. Keep _Float128 and L() intact. These will be
28776 reviewed by a separate patch.
28777 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
28778 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
28779 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
28780 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
28782 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
28785 (__finitef128): Define to __redirect___finitef128.
28786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
28787 (__isinff128): Define to __redirect___isinff128.
28788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
28789 (__isnanf128): Define to __redirect___isnanf128.
28791 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28793 * sysdeps/powerpc/powerpc64le/Makefile
28794 (CFLAGS-tst-strtod-nan-locale.c): New variable.
28795 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
28797 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
28798 Carlos O'Donell <carlos@redhat.com>
28801 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
28802 * stdlib/test-dlclose-exit-race.c: New file.
28803 * stdlib/test-dlclose-exit-race-helper.c: New file.
28804 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
28806 2017-09-21 Joseph Myers <joseph@codesourcery.com>
28808 * crypt/Banner: Remove file.
28809 * nptl/Banner: Likewise.
28810 * resolv/Banner: Likewise.
28811 * soft-fp/Banner: Likewise.
28812 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
28813 ($(objpfx)version.d): Remove dependency on banner.h.
28814 ($(objpfx)version.os): Likewise.
28815 * nptl/version.c (banner): Do not include banner.h.
28816 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
28817 Jelinek and BIND code.
28819 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
28820 Carlos O'Donell <carlos@redhat.com>
28822 * support/xdlfcn.h: New file.
28823 * support/xdlfcn.c: New file.
28824 * support/Makefile (libsupport-routines): Add xdlfcn.
28825 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
28827 2017-09-20 Joseph Myers <joseph@codesourcery.com>
28830 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28831 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
28832 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
28833 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
28834 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
28835 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
28836 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
28837 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
28839 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
28840 Ricky Zhou <rickyz@google.com>
28841 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
28844 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
28846 (__new_exitfn): Fail registration when we finished at_exit processing.
28847 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
28848 * stdlib/on_exit.c (__on_exit): Likewise.
28849 * stdlib/exit.c (__exit_funcs_done): New variable.
28850 (__run_exit_handlers): Use __exit_funcs_lock.
28851 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
28853 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
28854 (test-cxa_atexit-race, test-on_exit-race): New tests.
28855 * stdlib/test-atexit-race-common.c: New file.
28856 * stdlib/test-atexit-race.c: New file.
28857 * stdlib/test-at_quick_exit-race.c: New file.
28858 * stdlib/test-cxa_atexit-race.c: New file.
28859 * stdlib/test-on_exit-race.c: New file.
28861 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
28863 * benchtests/Makefile: Add exp2f and log2f benchmarks.
28864 * benchtests/exp2f-inputs: Copy of expf-inputs.
28865 * benchtests/log2f-inputs: Copy of logf-inputs.
28867 2017-09-19 Joseph Myers <joseph@codesourcery.com>
28869 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
28870 Explicitly take address of first element of array arguments in
28871 call to INLINE_SYSCALL.
28873 2017-09-19 Andreas Schwab <schwab@suse.de>
28876 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
28878 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
28880 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
28881 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
28882 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28883 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
28884 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28885 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28886 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28887 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28888 * posix/Makefile (tests): Add tst-fexecve.
28889 * posix/tst-fexecve.c: New file.
28891 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28893 * benchtests/Makefile: Add logf benchmark.
28894 * benchtests/logf-inputs: Add reduced trace from wrf_r.
28896 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28898 * benchtests/Makefile: Add expf benchmark.
28899 * benchtests/expf-inputs: Add reduced trace from wrf_r.
28901 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28903 * csu/Makefile: Add -funwind-tables to libc-start.c.
28904 * debug/Makefile: Add -funwind-tables to backtrace.c.
28905 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
28906 * sysdeps/arm/Makefile: Likewise.
28907 * sysdeps/i386/Makefile: Likewise.
28908 * sysdeps/m68k/Makefile: Likewise.
28909 * sysdeps/mips/Makefile: Likewise.
28910 * sysdeps/nios2/Makefile: Likewise.
28911 * sysdeps/sh/Makefile: Likewise.
28912 * sysdeps/sparc/Makefile: Likewise.
28914 2017-09-19 Joseph Myers <joseph@codesourcery.com>
28916 * benchtests/Makefile (bench-math): Add trunc and truncf.
28917 (CFLAGS-bench-trunc.c): New variable.
28918 (CFLAGS-bench-truncf.c): Likewise.
28919 * benchtests/trunc-inputs: New file.
28920 * benchtests/truncf-inputs: Likewise.
28922 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28924 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
28926 2017-09-18 Joseph Myers <joseph@codesourcery.com>
28928 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
28929 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
28931 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
28932 (exp10l): Define as weak alias.
28933 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
28934 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
28936 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
28937 (remainderl): Define as weak alias.
28939 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
28940 (fmal): Define using libm_alias_ldouble.
28941 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
28942 (acoshl): Define using libm_alias_ldouble.
28943 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
28944 (acosl): Define using libm_alias_ldouble.
28945 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
28946 (asinl): Define using libm_alias_ldouble.
28947 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
28948 (atan2l): Define using libm_alias_ldouble.
28949 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
28950 (atanhl): Define using libm_alias_ldouble.
28951 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
28952 (coshl): Define using libm_alias_ldouble.
28953 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
28954 (exp10l): Define using libm_alias_ldouble.
28955 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
28956 (exp2l): Define using libm_alias_ldouble.
28957 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
28958 (expl): Define using libm_alias_ldouble.
28959 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
28960 (fmodl): Define using libm_alias_ldouble.
28961 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
28962 (hypotl): Define using libm_alias_ldouble.
28963 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
28964 (j0l): Define using libm_alias_ldouble.
28966 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
28967 (j1l): Define using libm_alias_ldouble.
28969 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
28970 (jnl): Define using libm_alias_ldouble.
28972 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
28973 (log10l): Define using libm_alias_ldouble.
28974 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
28975 (log2l): Define using libm_alias_ldouble.
28976 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
28977 (logl): Define using libm_alias_ldouble.
28978 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
28979 (powl): Define using libm_alias_ldouble.
28980 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
28981 (remainderl): Define using libm_alias_ldouble.
28982 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
28983 (sinhl): Define using libm_alias_ldouble.
28984 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
28985 (sqrtl): Define using libm_alias_ldouble.
28986 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
28987 (tgammal): Define using libm_alias_ldouble.
28988 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
28989 (exp10l): Do not use long_double_symbol here.
28990 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
28991 [LIBM_SVID_COMPAT] (remainderl): Likewise.
28992 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
28993 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28994 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28995 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28996 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28997 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28998 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28999 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29000 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29001 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29002 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29003 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29004 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29005 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29006 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29007 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29008 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29009 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29010 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29011 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29013 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
29015 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
29016 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
29018 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
29020 * io/read.c (read): Add libc_hidden_weak.
29021 * sysdeps/mach/hurd/read.c (read): Likewise.
29022 * io/write.c (write): Likewise.
29023 * sysdeps/mach/hurd/write.c (write): Likewise.
29024 * io/pread64.c (__pread64): Likewise.
29025 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
29026 * posix/pread64.c (__pread64): Add libc_hidden_def.
29028 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
29030 * benchtests/scripts/compare_strings.py: New option -g.
29031 (draw_graph): Print a message that a graph is being generated.
29032 (process_results): Generate graph only if -g is passed.
29033 (main): Process option -g.
29035 * benchtests/scripts/compare_strings.py (process_results):
29036 Better spacing for output.
29038 * benchtests/scripts/compare_strings.py: Use argparse.
29039 * benchtests/README: Document existence of compare_strings.py.
29041 2017-09-15 Joseph Myers <joseph@codesourcery.com>
29043 * math/s_fma.c: Include <libm-alias-double.h>.
29044 (fma): Define using libm_alias_double.
29045 * math/s_nextafter.c: Include <libm-alias-double.h>.
29046 (nextafter): Define using libm_alias_double.
29047 * math/w_acos_compat.c: Include <libm-alias-double.h>.
29048 (acos): Define using libm_alias_double.
29049 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
29050 (aocsh): Define using libm_alias_double.
29051 * math/w_asin_compat.c: Include <libm-alias-double.h>.
29052 (asin): Define using libm_alias_double.
29053 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
29054 (atan2): Define using libm_alias_double.
29055 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
29056 (atanh): Define using libm_alias_double.
29057 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
29058 (cosh): Define using libm_alias_double.
29059 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
29060 (exp10): Define using libm_alias_double.
29061 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
29062 (exp2): Define using libm_alias_double.
29063 * math/w_exp_compat.c: Include <libm-alias-double.h>.
29064 (exp): Define using libm_alias_double.
29065 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
29066 (fmod): Define using libm_alias_double.
29067 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
29068 (hypot): Define using libm_alias_double.
29069 * math/w_j0_compat.c: Include <libm-alias-double.h>.
29070 (j0): Define using libm_alias_double.
29072 * math/w_j1_compat.c: Include <libm-alias-double.h>.
29073 (j1): Define using libm_alias_double.
29075 * math/w_jn_compat.c: Include <libm-alias-double.h>.
29076 (jn): Define using libm_alias_double.
29078 * math/w_log10_compat.c: Include <libm-alias-double.h>.
29079 (log10): Define using libm_alias_double.
29080 * math/w_log2_compat.c: Include <libm-alias-double.h>.
29081 (log2): Define using libm_alias_double.
29082 * math/w_log_compat.c: Include <libm-alias-double.h>.
29083 (log): Define using libm_alias_double.
29084 * math/w_pow_compat.c: Include <libm-alias-double.h>.
29085 (pow): Define using libm_alias_double.
29086 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
29087 (remainder): Define using libm_alias_double.
29088 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
29089 (sinh): Define using libm_alias_double.
29090 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
29091 (sqrt): Define using libm_alias_double.
29092 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
29093 (tgamma): Define using libm_alias_double.
29094 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
29095 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
29096 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
29097 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
29098 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
29099 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
29100 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
29101 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
29102 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
29103 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
29104 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
29105 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
29106 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
29107 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
29108 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
29109 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
29110 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
29111 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
29112 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
29113 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
29114 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
29115 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
29116 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
29117 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
29118 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
29120 * math/e_acoshl.c: Remove.
29121 * math/e_acosl.c: Likewise.
29122 * math/e_asinl.c: Likewise.
29123 * math/e_atan2l.c: Likewise.
29124 * math/e_atanhl.c: Likewise.
29125 * math/e_coshl.c: Likewise.
29126 * math/e_expl.c: Likewise.
29127 * math/e_fmodl.c: Likewise.
29128 * math/e_gammal_r.c: Likewise.
29129 * math/e_hypotl.c: Likewise.
29130 * math/e_j0l.c: Likewise.
29131 * math/e_j1l.c: Likewise.
29132 * math/e_jnl.c: Likewise.
29133 * math/e_lgammal_r.c: Likewise.
29134 * math/e_log10l.c: Likewise.
29135 * math/e_log2l.c: Likewise.
29136 * math/e_logl.c: Likewise.
29137 * math/e_powl.c: Likewise.
29138 * math/e_rem_pio2l.c: Likewise.
29139 * math/e_sinhl.c: Likewise.
29140 * math/e_sqrtf128.c: Likewise.
29141 * math/e_sqrtl.c: Likewise.
29142 * math/k_cosl.c: Likewise.
29143 * math/k_sinl.c: Likewise.
29144 * math/k_tanl.c: Likewise.
29145 * math/s_asinhl.c: Likewise.
29146 * math/s_atanl.c: Likewise.
29147 * math/s_cbrtl.c: Likewise.
29148 * math/s_erfl.c: Likewise.
29149 * math/s_expm1l.c: Likewise.
29150 * math/s_log1pl.c: Likewise.
29151 * math/s_tanhl.c: Likewise.
29153 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29156 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
29157 [$(subdir) = math] (sysdep_calls): New variable. Has the
29158 previous contents of sysdep_routines, but re-sorted..
29159 [$(subdir) = math] (sysdep_routines): Re-use the contents from
29161 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
29162 defined in sysdep_calls and replace by the respective m_* names.
29163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
29164 (compat_symbol): Undefine to avoid duplicated compat symbols in
29167 2017-09-15 Joseph Myers <joseph@codesourcery.com>
29169 * math/s_fmaf.c: Include <libm-alias-float.h>.
29170 (fmaf): Define using libm_alias_float.
29171 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
29172 (acosf): Define using libm_alias_float.
29173 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
29174 (acoshf): Define using libm_alias_float.
29175 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
29176 (asinf): Define using libm_alias_float.
29177 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
29178 (atan2f): Define using libm_alias_float.
29179 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
29180 (atanhf): Define using libm_alias_float.
29181 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
29182 (coshf): Define using libm_alias_float.
29183 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
29184 (exp10f): Define using libm_alias_float.
29185 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
29186 (fmodf): Define using libm_alias_float.
29187 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
29188 (hypotf): Define using libm_alias_float.
29189 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
29190 (j0f): Define using libm_alias_float.
29192 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
29193 (j1f): Define using libm_alias_float.
29195 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
29196 (jnf): Define using libm_alias_float.
29198 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
29199 (log10f): Define using libm_alias_float.
29200 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
29201 (log2f): Define using libm_alias_float.
29202 * math/w_logf_compat.c: Include <libm-alias-float.h>.
29203 (logf): Define using libm_alias_float.
29204 * math/w_powf_compat.c: Include <libm-alias-float.h>.
29205 (powf): Define using libm_alias_float.
29206 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
29207 (remainderf): Define using libm_alias_float.
29208 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
29209 (sinhf): Define using libm_alias_float.
29210 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
29211 (sqrtf): Define using libm_alias_float.
29212 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
29213 (tgammaf): Define using libm_alias_float.
29215 2017-09-14 Joseph Myers <joseph@codesourcery.com>
29217 * include/math.h (roundeven): Change hidden_proto call to
29219 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
29221 [NO_LONG_DOUBLE] (__j0l): New strong alias.
29222 (y0): Rename to __y0 and define as weak alias.
29223 [NO_LONG_DOUBLE] (__y0l): New strong alias.
29224 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
29226 (y0f): Rename to __y0f and define as weak alias.
29227 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
29229 [NO_LONG_DOUBLE] (__j1l): New strong alias.
29230 (y1): Rename to __y1 and define as weak alias.
29231 [NO_LONG_DOUBLE] (__y1l): New strong alias.
29232 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
29234 (y1f): Rename to __y1f and define as weak alias.
29235 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
29237 [NO_LONG_DOUBLE] (__jnl): New strong alias.
29238 (yn): Rename to __yn and define as weak alias.
29239 [NO_LONG_DOUBLE] (__ynl): New strong alias.
29240 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
29242 (ynf): Rename to __ynf and define as weak alias.
29243 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
29244 (fromfp): Define as weak alias.
29245 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
29246 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
29247 (fromfpx): Define as weak alias.
29248 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
29249 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
29250 __getpayload and define as weak alias.
29251 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29252 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
29253 __roundeven and define as weak alias.
29254 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29255 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
29257 (setpayload): Define as weak alias.
29258 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
29259 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
29261 (setpayloadsig): Define as weak alias.
29262 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
29263 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
29264 __totalorder and define as weak alias.
29265 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29266 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
29267 to __totalordermag and define as weak alias.
29268 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29269 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
29270 (ufromfp): Define as weak alias.
29271 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
29272 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
29274 (ufromfpx): Define as weak alias.
29275 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
29276 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
29277 Rename to __getpayload and define as weak alias.
29278 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29279 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
29280 Rename to __roundeven and define as weak alias.
29281 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29282 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
29283 Rename to __totalorder and define as weak alias.
29284 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29285 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
29286 (totalordermag): Rename to __totalordermag and define as weak
29288 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29289 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
29291 (__roundevenl): Likewise.
29292 (__totalorderl): Likewise.
29293 (__totalordermagl): Likewise
29294 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
29296 (fromfpf128): Define as weak alias.
29297 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
29299 (fromfpxf128): Define as weak alias.
29300 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
29302 (setpayloadf128): Define as weak alias.
29303 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
29304 __setpayloadsigf128.
29305 (setpayloadsigf128): Define as weak alias.
29306 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
29308 (ufromfpf128): Define as weak alias.
29309 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
29311 (ufromfpxf128): Define as weak alias.
29312 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
29313 (fromfpf): Define as weak alias.
29314 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
29316 (fromfpxf): Define as weak alias.
29317 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
29318 __getpayloadf and define as weak alias.
29319 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
29320 __roundevenf and define as weak alias.
29321 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
29323 (setpayloadf): Define as weak alias.
29324 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
29326 (setpayloadsigf): Define as weak alias.
29327 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
29328 __totalorderf and define as weak alias.
29329 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
29330 Rename to __totalordermagf and define as weak alias.
29331 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
29333 (ufromfpf): Define as weak alias.
29334 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
29336 (ufromfpxf): Define as weak alias.
29337 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
29339 (fromfpl): Define as weak alias.
29340 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
29342 (fromfpxl): Define as weak alias.
29343 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
29344 to __getpayloadl and define as weak alias.
29345 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
29346 __roundevenl and define as weak alias.
29347 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
29349 (setpayloadl): Define as weak alias.
29350 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
29352 (setpayloadsigl): Define as weak alias.
29353 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
29354 to __totalorderl and define as weak alias.
29355 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
29356 Rename to __totalordermagl and define as weak alias.
29357 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
29359 (ufromfpl): Define as weak alias.
29360 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
29362 (ufromfpxl): Define as weak alias.
29363 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
29365 (fromfpl): Define as weak alias.
29366 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
29368 (fromfpxl): Define as weak alias.
29369 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
29370 Rename to __getpayloadl and define as weak alias.
29371 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
29372 to __roundevenl and define as weak alias. Call __roundeven
29373 instead of roundeven.
29374 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
29376 (setpayloadl): Define as weak alias.
29377 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
29379 (setpayloadsigl): Define as weak alias.
29380 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
29381 Rename to __totalorderl and define as weak alias.
29382 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
29383 Rename to __totalordermagl and define as weak alias.
29384 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
29386 (ufromfpl): Define as weak alias.
29387 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
29389 (ufromfpxl): Define as weak alias.
29390 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
29392 (fromfpl): Define as weak alias.
29393 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
29395 (fromfpxl): Define as weak alias.
29396 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
29397 __getpayloadl and define as weak alias.
29398 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
29399 __roundevenl and define as weak alias.
29400 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
29402 (setpayloadl): Define as weak alias.
29403 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
29405 (setpayloadsigl): Define as weak alias.
29406 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
29407 __totalorderl and define as weak alias.
29408 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
29409 Rename to __totalordermagl and define as weak alias.
29410 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
29412 (ufromfpl): Define as weak alias.
29413 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
29415 (ufromfpxl): Define as weak alias.
29417 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
29419 * benchtests/bench-string.h (realloc_bufs): New function.
29420 (test_init): Call it.
29421 * benchtests/bench-memset-large.c (do_test): Likewise.
29422 * benchtests/bench-memset.c (do_test): Likewise.
29424 * benchtests/bench-memset-large.c: Print output in JSON
29426 * benchtests/bench-memset.c: Likewise.
29428 2017-09-14 Mike FABIAN <mfabian@redhat.com>
29431 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
29432 * iconvdata/Makefile: Add IBM858.
29433 * iconvdata/gconv-modules: Likewise.
29434 * iconvdata/tst-tables.sh: Likewise.
29435 * iconvdata/ibm858.c: New file.
29436 * localedata/charmaps/IBM858: Likewise.
29438 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
29441 * locales/niu_NZ (LC_TIME): copy "niu_NU".
29442 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
29444 2017-09-14 Mike FABIAN <mfabian@redhat.com>
29447 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
29448 and add tel_int_fmt.
29450 2017-09-14 Joseph Myers <joseph@codesourcery.com>
29452 * sysdeps/generic/libm-alias-float128.h: New file.
29453 * sysdeps/generic/math-type-macros-float128.h: Include
29454 <libm-alias-float128.h>.
29455 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
29457 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29459 * sysdeps/generic/libm-alias-ldouble.h: New file.
29460 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
29461 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
29462 * sysdeps/generic/math-type-macros-ldouble.h: Include
29463 <libm-alias-ldouble.h>.
29464 [!declare_mgen_alias] (declare_mgen_alias): Define to use
29465 libm_alias_ldouble.
29467 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
29469 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
29470 * math/w_exp_compat.c: ... here.
29471 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
29472 * math/w_expf_compat.c: ... here.
29473 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
29474 * math/w_expl_compat.c: ... here.
29475 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
29476 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
29477 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
29478 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29480 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29482 * math/w_scalbln_template.c (strong_alias): Do not undefine and
29484 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
29486 (ldexpl): Only define as compat symbol for libc, not libm.
29487 (scalbnl): Define as compat symbol for libc here.
29488 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
29489 define for [IS_IN (libc)].
29490 (__ldexpl_2): Remove alias.
29491 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
29492 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
29493 name in long_double_symbol call.
29494 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
29495 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
29496 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
29497 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
29498 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
29500 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
29501 Define as compat symbol.
29503 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29505 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
29506 * sysdeps/unix/sysv/linux/alpha/Makefile
29507 [$(subdir) = csu] (sysdep_routines): Remove rule.
29509 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29511 * sysdeps/generic/libm-alias-double.h: New file.
29512 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
29513 * sysdeps/generic/math-type-macros-double.h: Include
29514 <libm-alias-double.h>.
29515 [declare_mgen_alias] (declare_mgen_alias): Define to use
29517 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
29518 (M_LIBM_NEED_COMPAT): Remove macro.
29519 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
29520 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
29521 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
29523 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29524 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29525 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29526 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29527 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29528 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29529 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29530 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29531 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29532 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29533 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29534 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29535 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29536 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29537 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29538 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29539 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29540 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29541 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29542 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29543 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29544 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29545 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29546 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29547 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29548 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29549 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29550 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
29551 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
29553 (declare_mgen_alias): New macro.
29554 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
29555 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
29556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
29557 (M_LIBM_NEED_COMPAT): Remove macro.
29558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
29559 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
29560 <first-versions.h>.
29561 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
29562 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
29564 2017-09-12 Joseph Myers <joseph@codesourcery.com>
29566 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
29567 (declare_mgen_alias_2): Remove.
29568 * sysdeps/generic/math-type-macros-double.h
29569 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
29571 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
29573 (ldexp): Define with declare_mgen_alias.
29574 (scalbn): Likewise.
29576 2017-09-12 Steve Ellcey <sellcey@cavium.com>
29578 * grp/initgroups.c: Include config.h.
29579 (DEFAULT_CONFIG): New macro.
29580 (internal_getgrouplist): Use DEFAULT_CONFIG.
29581 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29582 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
29583 (DEFAULT_DEFCONFIG): New macro.
29584 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
29585 * nss/grp-lookup.c: Include config.h
29586 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
29587 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
29588 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
29589 * manual/nss.texi: Update default values section.
29591 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
29594 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
29596 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
29597 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
29598 Handle MathVec_Prefer_No_AVX512.
29599 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
29600 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
29603 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
29605 * posix/sched_primax.c (__sched_get_priority_max): Add
29607 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
29608 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
29609 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
29610 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
29611 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
29612 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
29613 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
29614 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
29617 2017-09-11 Joseph Myers <joseph@codesourcery.com>
29619 * sysdeps/generic/libm-alias-float.h: New file.
29620 * sysdeps/generic/math-type-macros-float.h: Include
29621 <libm-alias-float.h>.
29622 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
29624 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
29627 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
29628 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
29629 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
29630 (HWCAP_IMPORTANT): Likewise.
29631 (HWCAP_X86_64): New enum.
29632 (HWCAP_X86_AVX512_1): Updated.
29633 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
29634 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
29635 (modules-names): Add x86_64/tst-x86_64mod-1.
29636 (LDFLAGS-tst-x86_64mod-1.so): New.
29637 ($(objpfx)tst-x86_64-1): Likewise.
29638 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
29639 (tst-x86_64-1-clean): Likewise.
29640 * sysdeps/x86_64/tst-x86_64-1.c: New file.
29641 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
29643 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
29645 * po/sv.po: Update translations.
29646 * po/fr.po: Likewise.
29648 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29650 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
29652 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
29654 * elf/rtld-Rules: Fix $(error) use.
29656 2017-09-09 Mike FABIAN <mfabian@redhat.com>
29659 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
29660 * locale/iso-639.def: Change “Bengali” to “Bangla”.
29661 * localedata/locales/bn_BD: “Bengali” was still used in some
29662 comments. Change it to “Bangla”.
29664 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
29666 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
29668 2017-09-08 Steve Ellcey <sellcey@cavium.com>
29670 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
29671 thunderx2t99p1 to list of cpu names.
29672 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
29673 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
29675 2017-09-08 Steve Ellcey <sellcey@cavium.com>
29677 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
29678 Use strcmp instead of tunable_is_name.
29680 2017-09-08 Joseph Myers <joseph@codesourcery.com>
29682 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29683 (F_GET_RW_HINT): New macro.
29684 [__USE_GNU] (F_SET_RW_HINT): Likewise.
29685 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
29686 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
29687 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
29688 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
29689 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
29690 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
29691 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
29692 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
29694 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29695 (F_ADD_SEALS): New macro.
29696 [__USE_GNU] (F_GET_SEALS): Likewise.
29697 [__USE_GNU] (F_SEAL_SEAL): Likewise.
29698 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
29699 [__USE_GNU] (F_SEAL_GROW): Likewise.
29700 [__USE_GNU] (F_SEAL_WRITE): Likewise.
29702 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29704 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
29705 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
29706 * posix/glob_internal.h (__glob_pattern_type):
29707 * posix/glob.c (glob):
29708 * posix/glob_pattern_p.c (__glob_pattern_p):
29711 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
29712 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29713 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
29714 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
29715 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
29716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
29717 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
29718 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
29719 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
29720 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29721 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
29722 * sysdeps/wordsize-64/glob.c: Likewise.
29723 * sysdeps/wordsize-64/glob64.c: Likewise.
29724 * sysdeps/wordsize-64/globfree.c: Likewise.
29725 * sysdeps/wordsize-64/globfree64.c: Likewise.
29726 * sysdeps/unix/sysv/linux/glob.c: New file.
29727 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
29728 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
29729 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
29730 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29731 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
29732 adds !GLOB_NO_OLD_VERSION as an extra condition.
29733 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
29734 using relative path instead of absolute one.
29735 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
29736 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29737 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29738 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
29739 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
29740 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
29743 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
29744 (glob): Use the same scratch buffer for both getlogin_r and
29745 getpwnam_r. Don’t require preallocation of the login name. This
29746 simplifies storage allocation, and corrects the handling of
29750 * posix/glob.c (glob): Port recent patches to platforms
29751 lacking getpwnam_r.
29752 (glob): Fix longstanding misuse of errno after getpwnam_r, which
29753 returns an error number rather than setting errno.
29755 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
29756 instead of GCC extension.
29757 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
29758 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
29759 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
29763 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
29764 * posix/bug-glob1.c: Remove file.
29765 * posix/tst-glob_symlinks.c: New file.
29766 * posix/glob.c (__lstat64): New macro.
29767 (is_dir): New function.
29768 (glob, glob_in_dir): Match symlinks even if they are dangling.
29769 (link_stat, link_exists_p): Remove. All uses removed.
29773 * posix/glob.c (struct readdir_result): Remove skip_entry member.
29774 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
29779 * posix/Makefile (routines): Add globfree, globfree64, and
29781 * posix/flexmember.h: New file.
29782 * posix/glob_internal.h: Likewise.
29783 * posix/glob_pattern_p.c: Likewise.
29784 * posix/globfree.c: Likewise.
29785 * posix/globfree64.c: Likewise.
29786 * sysdeps/gnu/globfree64.c: Likewise.
29787 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
29788 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
29789 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
29790 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
29791 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
29792 * sysdeps/wordsize-64/globfree.c: Likewise.
29793 * sysdeps/wordsize-64/globfree64.c: Likewise.
29794 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
29795 [NDEBUG): Remove comments.
29796 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
29797 (dirent_type): New type. Use uint_fast8_t not
29798 uint8_t, as C99 does not require uint8_t.
29799 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
29800 (struct readdir_result): Use dirent_type. Do not define skip_entry
29801 unless it is needed; this saves a byte on platforms lacking d_ino.
29802 (readdir_result_type, readdir_result_skip_entry):
29803 New functions, replacing ...
29804 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
29805 these functions, which were removed. This makes the callers
29806 easier to read. All callers changed.
29807 (D_INO_TO_RESULT): Now empty if there is no d_ino.
29808 (size_add_wrapv, glob_use_alloca): New static functions.
29809 (glob, glob_in_dir): Check for size_t overflow in several places,
29810 and fix some size_t checks that were not quite right.
29811 Remove old code using SHELL since Bash no longer
29813 (glob, prefix_array): Separate MS code better.
29814 (glob_in_dir): Remove old Amiga and VMS code.
29815 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
29817 (glob_in_dir): Do not rely on undefined behavior in accessing
29818 struct members beyond their bounds. Use a flexible array member
29820 (link_stat): Rename from link_exists2_p and return -1/0 instead of
29821 0/1. Caller changed.
29822 (glob): Fix memory leaks.
29823 * posix/glob64 (globfree64): Move to separate file.
29824 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
29825 (globfree64): Remove hidden alias.
29826 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
29828 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
29830 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
29832 Move compat code to separate file.
29833 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
29836 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
29838 * resolv/tst-resolv-qtypes.c (domain): Changed to
29839 "const char domain[] =".
29841 2017-09-07 Joseph Myers <joseph@codesourcery.com>
29843 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
29846 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
29847 (TCP_MD5SIG_EXT): Likewise.
29848 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
29849 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
29850 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
29852 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
29854 2017-09-07 Mike FABIAN <mfabian@redhat.com>
29856 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
29858 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
29861 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
29863 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
29865 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
29866 before assuming that the file is empty. Avoid testing buffer content
29869 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29872 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
29874 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
29876 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
29878 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
29880 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
29882 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
29884 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
29887 2017-09-06 Florian Weimer <fweimer@redhat.com>
29889 * malloc/dynarray_emplace_enlarge.c
29890 (__libc_dynarray_emplace_enlarge): Add missing else.
29892 2017-09-06 Florian Weimer <fweimer@redhat.com>
29895 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
29896 case of failure to obtain the global conf object.
29898 2017-09-06 Florian Weimer <fweimer@redhat.com>
29901 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
29902 dynarray allocation failure.
29904 2017-09-06 Florian Weimer <fweimer@redhat.com>
29906 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
29907 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
29908 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
29910 (response): Call them. Add 'p', '6' flag processing.
29911 (test_reverse): New function.
29912 (test_get2_any): Call it.
29913 (test_no_inet6): Add 'p' test.
29914 (test_inet6): Likewise.
29916 2017-09-06 Florian Weimer <fweimer@redhat.com>
29918 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
29919 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
29921 (test_gai): Adjust query names. Add additional tests.
29922 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
29923 test_get2. Adjust query names. Add additional tests.
29924 (test_no_inet6): New function, extracted from threadfunc.
29925 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
29926 Add additional tests.
29928 2017-09-06 Mike FABIAN <mfabian@redhat.com>
29931 * localedata/unicode-gen/utf8_gen.py: Set the width for
29932 characters with Prepended_Concatenation_Mark property to 1
29933 * localedata/charmaps/UTF-8: Updated using the improved script.
29935 2017-09-06 Mike FABIAN <mfabian@redhat.com>
29938 * localedata/unicode-gen/utf8_gen.py: Improve the script to
29939 use the range notation for all ranges of neighbouring characters
29940 with the same width.
29942 2017-09-05 Joseph Myers <joseph@codesourcery.com>
29944 * sysdeps/generic/math-type-macros-double.h: Include
29945 <math-svid-compat.h>.
29946 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29947 * sysdeps/generic/math-type-macros-float.h: Include
29948 <math-svid-compat.h>.
29949 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29950 * sysdeps/generic/math-type-macros-ldouble.h: Include
29951 <math-svid-compat.h>.
29952 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29953 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
29955 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
29956 * math/w_acosf_compat.c: Likewise.
29957 * math/w_acosh_compat.c: Likewise.
29958 * math/w_acoshf_compat.c: Likewise.
29959 * math/w_acoshl_compat.c: Likewise.
29960 * math/w_acosl_compat.c: Likewise.
29961 * math/w_asin_compat.c: Likewise.
29962 * math/w_asinf_compat.c: Likewise.
29963 * math/w_asinl_compat.c: Likewise.
29964 * math/w_atan2_compat.c: Likewise.
29965 * math/w_atan2f_compat.c: Likewise.
29966 * math/w_atan2l_compat.c: Likewise.
29967 * math/w_atanh_compat.c: Likewise.
29968 * math/w_atanhf_compat.c: Likewise.
29969 * math/w_atanhl_compat.c: Likewise.
29970 * math/w_cosh_compat.c: Likewise.
29971 * math/w_coshf_compat.c: Likewise.
29972 * math/w_coshl_compat.c: Likewise.
29973 * math/w_exp10_compat.c: Likewise.
29974 * math/w_exp10f_compat.c: Likewise.
29975 * math/w_exp10l_compat.c: Likewise.
29976 * math/w_exp2_compat.c: Likewise.
29977 * math/w_exp2f_compat.c: Likewise.
29978 * math/w_exp2l_compat.c: Likewise.
29979 * math/w_fmod_compat.c: Likewise.
29980 * math/w_fmodf_compat.c: Likewise.
29981 * math/w_fmodl_compat.c: Likewise.
29982 * math/w_hypot_compat.c: Likewise.
29983 * math/w_hypotf_compat.c: Likewise.
29984 * math/w_hypotl_compat.c: Likewise.
29985 * math/w_j0_compat.c: Likewise.
29986 * math/w_j0f_compat.c: Likewise.
29987 * math/w_j0l_compat.c: Likewise.
29988 * math/w_j1_compat.c: Likewise.
29989 * math/w_j1f_compat.c: Likewise.
29990 * math/w_j1l_compat.c: Likewise.
29991 * math/w_jn_compat.c: Likewise.
29992 * math/w_jnf_compat.c: Likewise.
29993 * math/w_jnl_compat.c: Likewise.
29994 * math/w_lgamma_r_compat.c: Likewise.
29995 * math/w_lgammaf_r_compat.c: Likewise.
29996 * math/w_lgammal_r_compat.c: Likewise.
29997 * math/w_log10_compat.c: Likewise.
29998 * math/w_log10f_compat.c: Likewise.
29999 * math/w_log10l_compat.c: Likewise.
30000 * math/w_log2_compat.c: Likewise.
30001 * math/w_log2f_compat.c: Likewise.
30002 * math/w_log2l_compat.c: Likewise.
30003 * math/w_log_compat.c: Likewise.
30004 * math/w_logf_compat.c: Likewise.
30005 * math/w_logl_compat.c: Likewise.
30006 * math/w_pow_compat.c: Likewise.
30007 * math/w_powf_compat.c: Likewise.
30008 * math/w_powl_compat.c: Likewise.
30009 * math/w_remainder_compat.c: Likewise.
30010 * math/w_remainderf_compat.c: Likewise.
30011 * math/w_remainderl_compat.c: Likewise.
30012 * math/w_sinh_compat.c: Likewise.
30013 * math/w_sinhf_compat.c: Likewise.
30014 * math/w_sinhl_compat.c: Likewise.
30015 * math/w_sqrt_compat.c: Likewise.
30016 * math/w_sqrtf_compat.c: Likewise.
30017 * math/w_sqrtl_compat.c: Likewise.
30018 * math/w_tgamma_compat.c: Likewise.
30019 * math/w_tgammaf_compat.c: Likewise.
30020 * math/w_tgammal_compat.c: Likewise.
30021 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
30022 [LIBM_SVID_COMPAT].
30023 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
30024 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
30025 [LIBM_SVID_COMPAT].
30026 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
30027 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
30028 [LIBM_SVID_COMPAT].
30029 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
30030 * sysdeps/i386/fpu/w_sqrt.c: New file.
30031 * sysdeps/ia64/fpu/w_acos.c: Likewise.
30032 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
30033 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
30034 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
30035 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
30036 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
30037 * sysdeps/ia64/fpu/w_asin.c: Likewise.
30038 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
30039 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
30040 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
30041 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
30042 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
30043 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
30044 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
30045 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
30046 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
30047 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
30048 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
30049 * sysdeps/ia64/fpu/w_exp.c: Likewise.
30050 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
30051 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
30052 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
30053 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
30054 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
30055 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
30056 * sysdeps/ia64/fpu/w_expf.c: Likewise.
30057 * sysdeps/ia64/fpu/w_expl.c: Likewise.
30058 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
30059 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
30060 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
30061 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
30062 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
30063 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
30064 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
30065 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
30066 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
30067 * sysdeps/ia64/fpu/w_log.c: Likewise.
30068 * sysdeps/ia64/fpu/w_log10.c: Likewise.
30069 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
30070 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
30071 * sysdeps/ia64/fpu/w_log2.c: Likewise.
30072 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
30073 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
30074 * sysdeps/ia64/fpu/w_logf.c: Likewise.
30075 * sysdeps/ia64/fpu/w_logl.c: Likewise.
30076 * sysdeps/ia64/fpu/w_pow.c: Likewise.
30077 * sysdeps/ia64/fpu/w_powf.c: Likewise.
30078 * sysdeps/ia64/fpu/w_powl.c: Likewise.
30079 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
30080 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
30081 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
30082 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
30083 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
30084 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
30085 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
30086 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
30087 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
30088 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
30089 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
30090 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
30091 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
30092 [LIBM_SVID_COMPAT].
30093 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30094 * sysdeps/ieee754/k_standard.c: Likewise.
30095 * sysdeps/ieee754/k_standardf.c: Likewise.
30096 * sysdeps/ieee754/k_standardl.c: Likewise.
30097 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30098 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30099 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30100 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
30101 long_double_symbol call on [LIBM_SVID_COMPAT].
30102 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30103 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30104 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30105 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30106 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30107 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30108 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30109 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30110 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30111 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30112 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30113 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
30114 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30115 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30116 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30117 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30118 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
30119 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30120 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30121 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30122 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
30123 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
30125 2017-09-05 Steve Ellcey <sellcey@cavium.com>
30127 * include/shlib-compat.h (TEST_COMPAT): New Macro.
30128 * malloc/tst-mallocstate.c: Convert from test-skeleton
30129 to test-driver. Ifdef code using TEST_COMPAT macro.
30130 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
30131 * math/test-matherr.c: Likewise.
30133 2017-09-05 Joseph Myers <joseph@codesourcery.com>
30136 * debug/pcprofiledump.c (main): Use byte-swapped mask when
30137 comparing word with byte-swapped constant.
30139 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
30142 * locale/iso-639.def: add Miskito.
30143 * localedata/SUPPORTED: Add miq_NI/UTF-8.
30144 * localedata/locales/miq_NI: New file.
30146 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
30149 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
30150 (__mkdir): Likewise.
30151 * io/chmod.c (__chmod): Add libc_hidden_def.
30152 * io/mkdir.c (__mkdir): Likewise.
30153 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
30154 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
30155 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
30156 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
30158 2017-09-04 Joseph Myers <joseph@codesourcery.com>
30160 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
30164 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
30165 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
30167 2017-09-04 Florian Weimer <fweimer@redhat.com>
30169 * math/math.h: Issue warning if log is defined.
30171 2017-09-04 Joseph Myers <joseph@codesourcery.com>
30173 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
30174 kernel version to 4.13.
30176 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
30178 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
30179 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
30181 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
30182 just <bits/types.h>.
30183 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
30184 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
30185 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
30186 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
30187 * misc/preadv2.c: Include <errno.h>.
30188 * misc/preadv64v2.c: Include <errno.h>.
30189 * misc/pwritev2.c: Include <errno.h>.
30190 * misc/pwritev64v2.c: Include <errno.h>.
30191 * sysdeps/posix/preadv2.c: Include <errno.h>.
30192 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
30193 Fix <unistd.h> inclusion.
30194 * sysdeps/posix/pwritev2.c: Include <errno.h>.
30195 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
30196 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
30197 __strtoul_internal): New functions.
30198 * sysdeps/posix/pause.c: Include <sigsetops.h>.
30199 * sysdeps/posix/system.c: Include <sigsetops.h>.
30200 * sysdeps/mach/hurd/i386/Makefile
30201 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
30202 [$(subdir) = csu] (sysdep-only-routines): Likewise.
30203 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
30204 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
30205 __feraiseexcept_renamed to feraiseexcept instead of
30206 __GI_feraiseexcept.
30207 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
30208 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
30209 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
30210 RWF_NOWAIT): Define to 0 if undefined already.
30211 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
30213 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
30214 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
30216 2017-09-01 Joseph Myers <joseph@codesourcery.com>
30218 * manual/math.texi (pow10): Do not document.
30219 (pow10f): Likewise.
30220 (pow10l): Likewise.
30221 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
30222 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
30223 * math/libm-test-exp10.inc (pow10_test): Remove.
30224 (do_test): Do not call pow10.
30225 * math/w_exp10_compat.c (pow10): Make into compat symbol.
30226 [NO_LONG_DOUBLE] (pow10l): Likewise.
30227 * math/w_exp10f_compat.c (pow10f): Likewise.
30228 * math/w_exp10l_compat.c (pow10l): Likewise.
30229 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
30230 (pow10): Make into compat symbol.
30231 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
30232 (pow10f): Make into compat symbol.
30233 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
30234 (pow10l): Make into compat symbol.
30235 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
30237 (CFLAGS-nldbl-pow10.c): Remove variable..
30238 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
30239 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
30240 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
30241 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
30242 Undefine and redefine.
30243 (pow10l): Make into compat symbol.
30244 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
30245 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
30246 * sysdeps/arm/libm-test-ulps: Likewise.
30247 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
30248 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
30249 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30250 * sysdeps/microblaze/libm-test-ulps: Likewise.
30251 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30252 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30253 * sysdeps/nios2/libm-test-ulps: Likewise.
30254 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30255 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
30256 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30257 * sysdeps/sh/libm-test-ulps: Likewise.
30258 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30259 * sysdeps/tile/libm-test-ulps: Likewise.
30260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30262 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30264 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
30266 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30268 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
30269 "../ChangeLog.old/ChangeLog.8".
30270 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
30271 "../ChangeLog.old/ChangeLog.14".
30273 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30275 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
30278 2017-09-01 Joseph Myers <joseph@codesourcery.com>
30280 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
30282 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30284 * csu/version.c (banner): Remove "by Roland McGrath et al.".
30285 * nptl/Banner: Remove "by Ulrich Drepper et al.".
30287 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30289 * stdlib/tst-atexit-common.c (do_test): Test support for at least
30290 32 atexit handlers.
30292 2017-09-01 Zack Weinberg <zackw@panix.com>
30294 * math/math.h (HUGE_VAL): Improve commentary.
30296 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30297 Andreas Schwab <schwab@suse.de>
30300 * include/stdio.h (__gen_tempfd): New function.
30301 * stdio-common/Makefile (routines): Add gentempfd.
30302 * stdio-common/gentempfd.c: New file.
30303 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
30304 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
30305 unnamed file first.
30307 2017-09-01 Florian Weimer <fweimer@redhat.com>
30311 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
30312 result to determine success or failure, not the errno value.
30313 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
30314 (tst-nss-files-hosts-erange): Link with -ldl.
30315 * nss/tst-nss-files-hosts-erange.c: New file.
30316 * nss/tst-resolv-basic.c (response): Handle nodata.example.
30317 (do_test): Add NO_DATA tests.
30318 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
30319 (do_test): Call it.
30321 2017-09-01 Florian Weimer <fweimer@redhat.com>
30324 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
30325 coming from gethostbyname2_r.
30327 2017-09-01 Florian Weimer <fweimer@redhat.com>
30329 * support/namespace.h (struct support_chroot_configuration): Add
30331 (struct support_chroot): Add path_hosts, path_host_conf.
30332 * support/support_chroot.c (write_file): New function.
30333 (support_chroot_create): Call it to process /etc/resolv.conf,
30334 /etc/hosts, /etc/host.conf.
30335 (support_chroot_free): Update.
30337 2017-09-01 Florian Weimer <fweimer@redhat.com>
30339 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
30340 status indicates it is set.
30342 2017-09-01 Florian Weimer <fweimer@redhat.com>
30345 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
30346 function lookup failures more reliable.
30348 2017-09-01 Florian Weimer <fweimer@redhat.com>
30350 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
30351 (getcanonname): Likewise.
30352 (gaih_inet): Likewise.
30354 2017-09-01 Florian Weimer <fweimer@redhat.com>
30356 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
30357 (getcanonname): Likewise.
30358 (gaih_inet): Likewise.
30360 2017-08-31 Steve Ellcey <sellcey@cavium.com>
30361 Richard Henderson <rth@twiddle.net>
30363 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
30364 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
30365 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
30366 (IREG_SIZE, OREG_SIZE): New macros.
30367 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
30368 (IREG_SIZE, OREG_SIZE): New macros.
30369 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
30370 (IREG_SIZE): New macro.
30371 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
30372 (IREG_SIZE): New macro.
30373 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
30375 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
30376 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
30377 (__CONCATX): Handle exceptions correctly on large values that may
30379 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
30380 Initialize if not already set.
30381 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
30383 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30385 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
30386 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
30388 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
30390 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
30392 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
30394 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
30396 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
30398 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
30400 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
30401 (NO_CANCELLATION): Likewise.
30402 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
30404 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
30406 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
30408 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
30409 (NO_CANCELLATION): Likewise.
30410 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
30411 (NO_CANCELLATION): Likewise.
30412 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
30414 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
30416 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
30418 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
30420 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
30422 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
30423 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
30425 2017-08-31 Steve Ellcey <sellcey@cavium.com>
30427 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
30430 2017-08-31 Florian Weimer <fweimer@redhat.com>
30432 * include/libc-symbols.h (internal_function): Remove.
30434 2017-08-31 Florian Weimer <fweimer@redhat.com>
30436 * stdlib/fmtmsg.c (internal_addseverity): Remove
30439 2017-08-31 Florian Weimer <fweimer@redhat.com>
30441 * stdio-common/printf_fp.c (group_number): Remove
30443 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
30445 2017-08-31 Florian Weimer <fweimer@redhat.com>
30447 * posix/fnmatch.c (internal_function): Remove definition.
30448 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
30449 * posix/regcomp.c (peek_token, init_word_char)
30450 (duplicate_node_closure, fetch_token, peek_token)
30451 (peek_token_bracket, build_range_exp, build_collating_symbol):
30453 * posix/regex_internal.c (re_string_construct_common)
30454 (create_ci_newstate, create_cd_newstate, re_string_allocate)
30455 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
30456 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
30457 (re_string_translate_buffer, re_string_reconstruct)
30458 (re_string_peek_byte_case, re_string_fetch_byte_case)
30459 (re_string_destruct, re_string_context_at, re_node_set_alloc)
30460 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
30461 (re_node_set_add_intersect, re_node_set_init_union)
30462 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
30463 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
30464 (re_dfa_add_node, calc_state_hash, re_acquire_state)
30465 (re_acquire_state_context): Likewise.
30466 * posix/regex_internal.h (internal_function): Remove definition.
30467 (re_string_realloc_buffers, build_wcs_buffer)
30468 (build_wcs_upper_buffer, build_upper_buffer)
30469 (re_string_translate_buffer, re_string_context_at)
30470 (re_string_char_size_at, re_string_wchar_at)
30471 (re_string_elem_size_at): Likewise.
30472 * posix/regexec.c (match_ctx_init, match_ctx_clean)
30473 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
30474 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
30475 (re_search_internal, re_search_2_stub, re_search_stub)
30476 (re_copy_regs, prune_impossible_nodes, check_matching)
30477 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
30478 (free_fail_stack_return, sift_states_iter_mb)
30479 (sift_states_backward, build_sifted_states)
30480 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
30481 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
30482 (check_subexp_limits, sift_states_bkref, merge_state_array)
30483 (find_recover_state, transit_state, merge_state_with_log)
30484 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
30485 (transit_state_mb, transit_state_bkref, get_subexp)
30486 (get_subexp_sub, find_subexp_node, check_arrival)
30487 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
30488 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
30489 (check_node_accept_bytes, find_collation_sequence_value)
30490 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
30491 (acquire_init_state_context, check_halt_node_context)
30492 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
30493 (sub_epsilon_src_nodes): Likewise.
30494 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
30495 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
30496 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
30497 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
30498 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
30499 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
30500 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
30501 * sysdeps/posix/ttyname.c (getttyname): Likewise.
30502 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
30503 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
30504 (PREADV): Likewise.
30505 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
30506 (PREADV): Likewise.
30507 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
30508 (PWRITEV): Likewise.
30509 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
30510 (PWRITEV): Likewise.
30511 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
30512 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
30514 2017-08-31 Florian Weimer <fweimer@redhat.com>
30516 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
30517 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
30518 Remove internal_function.
30519 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
30520 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
30521 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
30522 (__deallocate_stack, __libc_pthread_init)
30523 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
30524 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
30525 (__libc_disable_asynccancel, __librt_disable_asynccancel):
30527 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
30528 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
30529 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
30531 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
30532 (__pthread_mutex_unlock_usercnt): Likewise.
30534 2017-08-31 Florian Weimer <fweimer@redhat.com>
30536 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
30537 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
30538 (fts_safe_changedir): Remove internal_function.
30539 * io/ftw.c (internal_function): Remove definition.
30540 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
30542 2017-08-31 Florian Weimer <fweimer@redhat.com>
30544 * inet/deadline.c (__deadline_current_time)
30545 (__deadline_from_timeval, __deadline_to_ms): Remove
30547 * inet/getnameinfo.c (nrl_domainname): Likewise.
30548 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
30549 * inet/inet6_option.c (add_pad): Likewise.
30550 * inet/net-internal.h (__deadline_current_time)
30551 (__deadline_from_timeval, __deadline_to_ms): Likewise.
30552 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
30553 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
30554 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
30556 2017-08-31 Joseph Myers <joseph@codesourcery.com>
30558 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
30559 include <bits/nan.h>.
30560 * math/Makefile (headers): Remove bits/nan.h.
30561 * bits/nan.h: Remove.
30562 * sysdeps/ieee754/bits/nan.h: Likewise.
30563 * sysdeps/mips/bits/nan.h: Likewise.
30565 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
30566 not include <bits/inf.h>.
30567 * math/Makefile (headers): Remove bits/inf.h.
30568 * bits/inf.h: Remove.
30569 * sysdeps/ieee754/bits/inf.h: Likewise.
30571 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
30572 bits/huge_vall.h or bits/huge_val_flt128.h.
30573 (HUGE_VAL): Define directly here.
30574 [__USE_ISOC99] (HUGE_VALF): Likewise.
30575 [__USE_ISOC99] (HUGE_VALL): Likewise.
30576 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30577 (HUGE_VAL_F128): Likewise.
30578 * math/Makefile (headers): Remove bits/huge_val.h,
30579 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
30580 * bits/huge_val.h: Remove.
30581 * bits/huge_val_flt128.h: Likewise.
30582 * bits/huge_valf.h: Likewise.
30583 * bits/huge_vall.h: Likewise.
30584 * sysdeps/ia64/bits/huge_vall.h: Likewise.
30585 * sysdeps/ieee754/bits/huge_val.h: Likewise.
30586 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
30587 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
30588 * sysdeps/sh/bits/huge_val.h: Likewise.
30589 * sysdeps/sparc/bits/huge_vall.h: Likewise.
30590 * sysdeps/x86/bits/huge_vall.h: Likewise.
30592 2017-08-31 Florian Weimer <fweimer@redhat.com>
30594 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
30596 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
30598 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
30599 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
30600 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
30601 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
30602 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30603 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
30604 * elf/dl-libc.c (dlerror_run): Likewise.
30605 * elf/dl-load.c (add_name_to_object, decompose_rpath)
30606 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
30607 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
30608 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
30610 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
30611 (_dl_higher_prime_number, _dl_strtoul): Likewise.
30612 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
30613 * elf/dl-profile.c (_dl_start_profile): Likewise.
30614 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
30615 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
30617 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
30618 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
30619 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
30620 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
30621 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
30622 (_dl_allocate_tls_storage): Likewise.
30623 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
30624 (_dl_check_all_versions): Likewise.
30625 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
30626 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
30627 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
30628 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30629 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
30630 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
30631 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
30632 internal_function from __dl_start.
30633 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
30634 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
30635 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
30636 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
30637 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
30638 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
30639 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
30640 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
30641 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
30642 (_dl_next_ld_env_entry, _dl_important_hwcaps)
30643 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
30644 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
30645 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
30646 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
30647 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
30649 (struct rtld_global_ro): Remove internal_function from the
30650 _dl_lookup_symbol_x member.
30651 (_dl_symbol_value): Remove. No longer defined anywhere.
30652 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
30654 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30655 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
30656 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
30657 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
30658 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
30659 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
30660 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
30661 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
30662 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
30663 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
30664 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30665 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
30667 2017-08-31 Florian Weimer <fweimer@redhat.com>
30669 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
30670 Remove internal_function.
30671 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
30673 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
30676 2017-08-31 Florian Weimer <fweimer@redhat.com>
30678 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
30679 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
30680 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
30682 2017-08-31 Florian Weimer <fweimer@redhat.com>
30684 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
30685 (__gai_enqueue_request): Remove internal_function.
30686 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
30687 (__gai_remove_request, __gai_notify, __gai_notify_only)
30688 (__gai_sigqueue): Likewise.
30689 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
30690 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
30691 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
30692 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30695 2017-08-31 Florian Weimer <fweimer@redhat.com>
30697 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
30698 * include/dirent.h (__opendirat, __getdents, __getdents64)
30699 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
30700 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
30701 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30702 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
30704 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
30706 2017-08-31 Florian Weimer <fweimer@redhat.com>
30708 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
30710 (GETCWD_RETURN_TYPE): Likewise.
30712 2017-08-31 Florian Weimer <fweimer@redhat.com>
30714 * include/time.h (__tz_compute, __strptime_internal): Remove
30716 * time/strptime_l.c (__strptime_internal): Likewise.
30717 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
30719 2017-08-31 Florian Weimer <fweimer@redhat.com>
30721 * iconv/gconv.c (__gconv): Remove internal_function.
30722 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
30723 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
30724 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
30725 (__gconv_release_cache): Likewise.
30726 * iconv/gconv_close.c (__gconv_close): Likewise.
30727 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
30728 (read_conf_file, __gconv_get_path): Likewise.
30729 * iconv/gconv_db.c (derivation_lookup, add_derivation)
30730 (__gconv_release_step, gen_steps, increment_counter)
30731 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
30732 (__gconv_close_transform, free_modules_db): Likewise.
30733 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
30735 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
30736 (__gconv_find_transform, __gconv_lookup_cache)
30737 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
30738 (__gconv_close_transform, __gconv_release_cache)
30739 (__gconv_loaded_object, __gconv_release_shlib)
30740 (__gconv_compare_alias): Likewise.
30741 * iconv/gconv_open.c (__gconv_open): Likewise.
30742 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
30743 * iconv/iconvconfig.c (add_module): Likewise.
30744 * intl/dcigettext.c (plural_lookup, guess_category_value)
30745 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
30746 * intl/eval-plural.h (plural_eval): Likewise.
30747 * intl/finddomain.c (_nl_find_domain): Likewise.
30748 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
30749 (_nl_load_domain, _nl_find_msg): Likewise.
30750 (internal_function): Remove definition.
30751 * intl/loadinfo.h (internal_function): Likewise.
30752 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
30754 * intl/localealias.c (internal_function): Remove definition.
30755 (read_alias_file): Remove internal_function.
30756 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
30757 * intl/plural-exp.h (internal_function): Remove definition.
30758 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
30760 * intl/plural.c: Regenerate.
30761 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
30762 * locale/coll-lookup.c (__collidx_table_lookup)
30763 (__collseq_table_lookup): Likewise.
30764 * locale/coll-lookup.h (__collidx_table_lookup)
30765 (__collseq_table_lookup): Likewise.
30766 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
30767 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30768 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
30769 (_nl_unload_locale): Likewise.
30770 * locale/localeinfo.h (struct __locale_data): Remove
30771 internal_function from cleanup member.
30772 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
30773 (_nl_remove_locale, _nl_load_locale_from_archive)
30774 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
30775 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
30776 (_nl_cleanup_time): Remove internal_function.
30777 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
30778 (_nl_parse_alt_digit): Likewise.
30779 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
30780 (_nl_select_era_entry): Likewise.
30781 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
30782 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
30783 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
30784 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
30785 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
30787 2017-08-31 Florian Weimer <fweimer@redhat.com>
30789 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
30790 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
30791 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
30792 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
30794 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
30795 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
30796 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
30797 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
30799 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
30801 2017-08-31 Florian Weimer <fweimer@redhat.com>
30803 * misc/getttyent.c (skip, value): Remove internal_function.
30804 * misc/syslog.c (openlog_internal): Likewise.
30805 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
30807 2017-08-31 Florian Weimer <fweimer@redhat.com>
30809 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
30810 (__nss_rewrite_field): Remove internal_function.
30811 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30812 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
30813 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30814 * nss/nsswitch.c (nss_parse_file, nss_getline)
30815 (nss_parse_service_list, nss_new_service): Likewise.
30816 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
30817 * nss/valid_field.c (__nss_valid_field): Likewise.
30818 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
30820 2017-08-31 Florian Weimer <fweimer@redhat.com>
30822 * malloc/arena.c (__malloc_fork_lock_parent)
30823 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
30824 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
30825 internal_function from defintions.
30826 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
30827 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
30828 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
30829 internal_function from declarations.
30830 * malloc/malloc.c (internal_function): Do not define.
30831 (mem2mem_check): Remove internal_function from declaration.
30832 (munmap_chunk, mremap_chunk): Remove internal_function.
30833 * malloc/mtrace.c (tr_where): Likewise.
30835 2017-08-31 Florian Weimer <fweimer@redhat.com>
30837 * include/rpc/pmap_clnt.h (__get_socket): Remove
30839 * sunrpc/auth_des.c (synchronize): Likewise.
30840 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
30841 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
30842 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
30843 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
30844 (key_call): Likewise.
30845 * sunrpc/pm_getport.c (__get_socket): Likewise.
30846 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
30847 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
30848 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
30849 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
30850 (invalidate): Likewise.
30851 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
30852 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
30853 (set_input_fragment, get_input_bytes): Likewise.
30855 2017-08-31 Florian Weimer <fweimer@redhat.com>
30857 * malloc/malloc.c (_int_free): Remove locked variable and related
30860 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
30863 * Makerules (build-module-helper-objlist): Filter out
30864 $(elf-objpfx)sofini.os.
30865 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
30868 2017-08-31 Florian Weimer <fweimer@redhat.com>
30870 * libio/fcloseall.c: Assume weak_alias is defined.
30871 * libio/feof.c: Likewise.
30872 * libio/fileno.c: Likewise.
30873 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
30874 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30876 (_IO_file_open): Call __open directly.
30877 (_IO_new_file_sync): Assume ESPIPE is defined.
30878 (_IO_file_seekoff_maybe_mmap): Call __read directly.
30879 (_IO_new_file_write): Call __write directly.
30880 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
30881 * libio/ftello64.c (__ftello64): Assume EIO is defined.
30882 * libio/genops.c: Assume _LIBC is defined.
30883 (save_for_backup): Remove internal_function.
30884 * libio/getc.c: Assume weak_alias is defined.
30885 * libio/getwc.c: Likewise.
30886 * libio/iofclose.c: Assume _LIBC is defined.
30887 * libio/iofdopen.c: Likewise.
30888 (_IO_fcntl): Remove macro definition.
30889 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
30890 Call __fcntl directly.
30891 * libio/iofflush.c: Assume weak_alias is defined.
30892 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
30894 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
30895 * libio/iofgets.c: Likewise.
30896 * libio/iofopen.c: Assume _LIBC is defined.
30897 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
30898 * libio/iofputs.c: Assume weak_alias is defined.
30899 * libio/iofread.c: Likewise.
30900 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
30901 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
30902 * libio/ioftell.c: Assume weak_alias is defined.
30903 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
30904 * libio/iofwide.c: Assume _LIBC is defined.
30905 (_IO_fwide): Drop SHARED conditional because it is implied by
30907 * libio/iofwrite.c: Assume weak_alias is defined.
30908 * libio/iogetdelim.c: Likewise.
30909 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
30910 * libio/iogetwline.c (wmemcpy): Remove macro definition.
30911 (_IO_getwline): Call __wmemcpy directly.
30912 * libio/iopopen.c: Assume _LIBC is defined.
30913 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30914 (_IO_close): Remove macro definitions.
30915 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
30917 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
30919 * libio/ioputs.c: Assume weak_alias is defined.
30920 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
30921 * libio/iosetbuffer.c: Assume weak_alias is defined.
30922 * libio/iosetvbuf.c: Likewise.
30923 * libio/ioungetc.c: Likewise.
30924 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
30925 libc_hidden_def, libc_hidden_weak, NULL are defined.
30926 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
30927 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
30929 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30931 (_IO_old_file_init_internal): Drop SHARED conditional because it
30932 is implied by SHLIB_COMPAT.
30933 (_IO_old_file_fopen): Call __open directly.
30934 (_IO_old_file_sync): Assume ESPIPE is defined.
30935 (_IO_old_file_write): Call __write directly.
30936 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
30937 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
30938 Call __fcntl directly.
30939 * libio/oldiofgetpos.c: Assume weak_alias is defined.
30940 (_IO_old_fgetpos): Assume EIO is defined.
30941 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
30942 (_IO_old_fgetpos64): Assume EIO is defined.
30943 * libio/oldiofsetpos.c: Assume weak_alias is defined.
30944 (_IO_old_fsetpos): Assume EIO is defined.
30945 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
30946 (_IO_old_fsetpos64): Assume EIO is defined.
30947 * libio/oldiopopen.c: Assume _LIBC is defined.
30948 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30949 (_IO_close): Remove macro definitions.
30950 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
30952 (_IO_old_proc_close): Call __close, __waitpid directly.
30953 * libio/put.c: Assume weak_alias is defined.
30954 * libio/stdfiles.c: Assume _LIBC is defined.
30955 * libio/stdio.c: Likewise.
30956 * libio/wfileops.c: Likewise.
30957 (_IO_wfile_sync): Assume ESPIPE is defined.
30958 * libio/wgenops.c: Assume _LIBC is defined.
30959 (save_for_wbackup): Remove internal_function.
30961 2017-08-31 Florian Weimer <fweimer@redhat.com>
30963 * malloc/malloc.c (top_check): Change return type to void. Remove
30965 * malloc/hooks.c (top_check): Likewise.
30966 (malloc_check, realloc_check, memalign_check): Adjust.
30968 2017-08-30 Joseph Myers <joseph@codesourcery.com>
30971 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30972 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
30973 sigcontext and namespace requirements.
30974 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30975 * sysdeps/m68k/sys/ucontext.h: Likewise.
30976 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
30977 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
30978 <bits/sigcontext.h>.
30979 (__ctx): Define earlier.
30980 (mcontext_t): Define structure contents rather than using struct
30982 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
30983 __glibc_reserved1 instead of __reserved.
30984 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
30985 <bits/sigcontext.h>.
30986 (__ctx): Define earlier.
30987 (mcontext_t): Define structure contents rather than using struct
30989 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
30990 mcontext_t instead of struct sigcontext.
30991 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
30992 <bits/sigcontext.h>.
30993 (__ctx): Define earlier.
30994 (mcontext_t): Define structure contents rather than using struct
30996 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
30997 <bits/sigcontext.h>.
30998 (__ctx): Define earlier.
30999 (mcontext_t): Define structure contents rather than using struct
31001 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
31002 mcontext_t instead of struct sigcontext.
31003 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
31004 mcontext_t instead of struct sigcontext.
31005 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
31006 <bits/sigcontext.h>.
31007 (__ctx): New macro.
31008 (struct __ia64_fpreg_mcontext): New type.
31009 (mcontext_t): Define structure contents rather than using struct
31011 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
31012 (uc_sigmask): Define using __ctx.
31013 (uc_stack): Likewise.
31014 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
31015 <bits/sigcontext.h>.
31016 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31017 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
31018 <bits/sigcontext.h>.
31019 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
31020 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
31021 <bits/sigcontext.h>.
31022 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
31023 <bits/sigcontext.h>.
31024 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
31025 <bits/sigcontext.h>.
31026 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
31027 <bits/sigcontext.h>.
31028 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
31029 <bits/sigcontext.h>.
31030 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
31031 <bits/sigcontext.h>.
31032 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
31033 <bits/sigcontext.h>.
31034 (__ctx): Define earlier.
31035 (mcontext_t): Define structure contents rather than using struct
31037 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
31038 <bits/sigcontext.h>. Include <bits/types.h>.
31039 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
31040 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
31041 (test-xfail-XPG42/ucontext.h/conform): Likewise.
31042 (test-xfail-UNIX98/signal.h/conform): Likewise.
31043 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
31044 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
31045 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
31046 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
31047 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
31048 (test-xfail-POSIX2008/signal.h/conform): Likewise.
31049 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
31050 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
31051 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
31053 2017-08-30 Florian Weimer <fweimer@redhat.com>
31055 * malloc/dynarray_emplace_enlarge.c
31056 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
31057 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
31058 * malloc/tst-dynarray.c (test_long_overflow): New function.
31059 (do_test): Call it.
31061 2017-08-30 Florian Weimer <fweimer@redhat.com>
31063 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
31064 (set_arena_corrupt): Remove definitions.
31065 (mtrim): Do not check for corrupt arena.
31066 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
31069 2017-08-30 Florian Weimer <fweimer@redhat.com>
31072 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
31074 (ptmalloc_init): Do not set or use check_action.
31075 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
31076 call to malloc_printerr. Remove return statement.
31077 (free_check): Likewise. Remove arena unlock.
31078 (top_check): Update comment. Adjust call to malloc_printerr.
31079 Remove heap repair code.
31080 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
31081 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
31082 (sysmalloc): Adjust call to malloc_printerr.
31083 (munmap_chunk, __libc_realloc): Likewise. Remove return
31085 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
31086 Remove errout label and corresponding gotos.
31087 (_int_free): Likewise. Remove arena unlock.
31088 (do_set_mallopt_check): Do not set check_action.
31089 (malloc_printerr): Adjust parameter list. Do not mark arena as
31091 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
31093 * manual/probes.texi (Memory Allocation Probes): Remove
31094 memory_mallopt_check_action.
31096 2017-08-30 Steve Ellcey <sellcey@cavium.com>
31098 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
31099 Use pointer to uint64_t instead of long int for sp.
31101 2017-08-30 Florian Weimer <fweimer@redhat.com>
31104 * malloc/malloc.c (malloc_printerr): Always terminate the process,
31105 without printing a backtrace. Do not leak any information in the
31107 * manual/memory.texi (Heap Consistency Checking): Update.
31108 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
31110 2017-08-30 Florian Weimer <fweimer@redhat.com>
31112 Do not scale NPTL tests with available number of CPUs.
31113 * nptl/tst-cond16.c (count): Set to constant value of 8.
31114 * nptl/tst-cond18.c (count): Likewise.
31116 2017-08-29 Joseph Myers <joseph@codesourcery.com>
31119 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
31120 Define to take a second argument that is a macro that
31121 concatentates a suffix, not the suffix itself.
31122 (__CONCAT_d): New macro.
31123 (__CONCAT_f): Likewise.
31124 (__CONCAT_l): Likewise.
31126 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
31128 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
31131 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31132 Aurelien Jarno <aurelien@aurel32.net>
31133 Maciej W. Rozycki <macro@imgtec.com>
31136 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
31137 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
31138 `mips16-syscall6' and `mips16-syscall7'.
31139 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
31140 (CFLAGS-mips16-syscall7.c): Remove.
31141 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
31142 Remove `__mips16_syscall5', `__mips16_syscall6' and
31143 `__mips16_syscall7'.
31144 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
31145 (__mips16_syscall0): Rename `__mips16_syscall_return' to
31146 `__mips_syscall_return'.
31147 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
31148 (__mips16_syscall1): Likewise.
31149 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
31150 (__mips16_syscall2): Likewise.
31151 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
31152 (__mips16_syscall3): Likewise.
31153 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
31154 (__mips16_syscall4): Likewise.
31155 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
31157 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
31159 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
31161 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
31162 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
31163 `__mips16_syscall5'. Remove prototype.
31164 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
31165 `__mips16_syscall6'. Remove prototype.
31166 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
31167 `__mips16_syscall7'. Remove prototype.
31168 (__nomips16, __mips16_syscall_return): Move to...
31169 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
31170 (__nomips16, __mips_syscall_return): ... here.
31171 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
31172 `__mips16_syscall_return' to `__mips_syscall_return'.
31173 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
31174 `internal_syscall##nr'.
31175 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
31176 `internal_syscall##nr'.
31177 (FORCE_FRAME_POINTER): Remove.
31178 (__mips_syscall5): New prototype.
31179 (internal_syscall5): Rewrite to call `__mips_syscall5'.
31180 (__mips_syscall6): New prototype.
31181 (internal_syscall6): Rewrite to call `__mips_syscall6'.
31182 (__mips_syscall7): New prototype.
31183 (internal_syscall7): Rewrite to call `__mips_syscall7'.
31184 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
31185 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
31186 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
31187 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
31188 (sysdep_routines): Add libc-do-syscall.
31189 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
31190 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
31192 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31195 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
31196 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
31197 (advise_stack_range): New function.
31198 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
31199 stack non required to advise_stack_range at allocatestack.c
31201 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31203 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
31205 2017-08-29 Florian Weimer <fweimer@redhat.com>
31208 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
31209 __end_fct. Mangle __end_fct after setting it to NULL.
31210 * iconv/Makefile (tests): Add tst-gconv-init-failure.
31211 (modules-names, modules-names-tests): Add
31212 tst-gconv-init-failure-mod.
31213 (gconv-modules): New target.
31214 (tst-gconv-init-failure-mod.so): Link against libsupport.
31215 (tst-gconv-init-failure): Depend on gconv-modules,
31216 tst-gconv-init-failure-mod.so.
31217 * iconv/tst-gconv-init-failure-mod.c: New file.
31218 * iconv/tst-gconv-init-failure.c: Likewise.
31219 * iconv/test-gconv-modules: Likewise.
31221 2017-08-29 Florian Weimer <fweimer@redhat.com>
31224 * iconv/gconv_db.c (free_derivation): Remove redundant
31226 (gen_steps): Unconditionally mangle __btowc_fct after
31228 (increment_counter): Likewise. Do not call init_fct for internal
31231 2017-08-29 Joseph Myers <joseph@codesourcery.com>
31234 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31235 (_MSUF_): Remove macro.
31236 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
31238 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31239 (__REDIRFROM_X): New macro.
31240 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
31242 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
31243 (__REDIRTO_X): Likewise.
31244 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
31246 (__MATH_REDIRCALL_2): Likewise.
31247 (__MATH_REDIRCALL_INTERNAL): Likewise.
31248 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31249 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
31250 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
31251 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31252 * math/test-finite-macros.c: New file.
31253 * math/Makefile (tests): Add test-finite-macros.
31254 (CFLAGS-test-finite-macros.c): New variable.
31256 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
31257 Jeff Law <law@redhat.com>
31260 Mangle NULL pointers in iconv/gconv.
31261 * iconv/gconv_cache.c (find_module): Demangle init_fct before
31262 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
31263 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
31264 is non-NULL before demangling the end_fct. Check for NULL
31265 end_fct after demangling.
31266 (__gconv_release_step): Demangle the end_fct before checking
31267 it for NULL. Remove assert on __shlibc_handle != NULL.
31268 (gen_steps): Don't check btowc_fct for NULL before mangling.
31269 Demangle init_fct before checking for NULL.
31270 (increment_counter): Likewise.
31271 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
31272 end_fct for NULL before mangling.
31273 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
31276 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
31279 * locale/iso-639.def: add Morisyen.
31281 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31284 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
31285 (iszero): New C++ implementation that does not use
31286 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
31287 signaling nans are enabled, since __builtin_types_compatible_p
31288 is a C-only feature.
31289 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
31290 defined, include ieee754_float128.h for access to the union and
31291 member ieee854_float128.ieee.
31292 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
31293 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
31294 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
31295 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
31296 options of test-math-zero on powerpc64le.
31298 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
31300 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
31301 Change double to float.
31303 2017-08-28 Joseph Myers <joseph@codesourcery.com>
31305 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
31307 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
31308 conditional code; define contents only for [LIBM_SVID_COMPAT].
31310 2017-08-28 Florian Weimer <fweimer@redhat.com>
31312 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
31313 (abi-lp64_be-options): Remove.
31314 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
31315 (abi-hard-options): Likewise.
31316 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
31317 (abi-o32_hard-options, abi-o32_soft_2008-options)
31318 (abi-o32_hard_2008-options, abi-n32_soft-options)
31319 (abi-n32_hard-options, abi-n32_soft_2008-options)
31320 (abi-n32_hard_2008-options, abi-n64_soft-options)
31321 (abi-n64_hard-options, abi-n64_soft_2008-options)
31322 (abi-n64_hard_2008-options): Likewise.
31323 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
31324 (abi-64-v1-options, abi-64-v2-options): Likewise.
31325 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
31326 (abi-64-options): Likewise.
31327 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
31328 (abi-64-options): Likewise.
31329 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
31330 (abi-64-options): Likewise.
31331 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
31332 (abi-64-options, abi-x32-options): Likewise.
31334 2017-08-28 Florian Weimer <fweimer@redhat.com>
31336 Store supported list of SYS_* system calls in the source tree.
31337 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
31338 (bits/syscall.h): Generate from list file.
31339 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
31340 [$(subdir) = misc] (tests): Add tst-syscall-list.
31341 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
31342 [$(subdir) = misc] (tst-syscall-list-macros.list)
31343 [$(subdir) = misc] (tst-syscall-list-nr.list)
31344 (tst-syscall-list-sys.list): Helper targets for new
31345 tst-syscall-list test.
31346 [$(subdir) = misc] (tst-syscall-list.out): Run test script
31347 tst-syscall-list.sh.
31348 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
31349 target. Do not include bits/syscall.d.
31350 [$(subdir) = misc] (generated): Do not update.
31351 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
31352 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
31353 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
31354 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
31356 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
31358 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
31359 (tst-cxa_atexit, tst-on_exit): Likewise.
31360 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
31361 tst-cxa_atexit, and tst-on_exit.
31362 * stdlib/tst-atexit-common.c: New file.
31363 * stdlib/tst-atexit.c: New file.
31364 * stdlib/tst-at_quick_exit.c: New file.
31365 * stdlib/tst-cxa_atexit.c: New file.
31366 * stdlib/tst-on_exit.c: New file.
31368 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
31370 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
31371 * mach/stack_chk_fail_local.c: New file.
31372 * hurd/stack_chk_fail_local.c: New file.
31373 * mach/Machrules ($(interface-library)-routines): Add
31374 stack_chk_fail_local.
31375 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
31376 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
31377 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
31378 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
31379 * hurd/Makefile (CFLAGS-hurdstartup.o,
31380 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
31382 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
31384 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
31385 (index_cpu_*, index_arch_*): Removed.
31387 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31389 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
31390 Use uint64_t instead of unsigned long.
31392 2017-08-25 Joseph Myers <joseph@codesourcery.com>
31394 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
31395 [__HAVE_DISTINCT_FLOAT128].
31397 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
31398 of <bits/math-finite.h>.
31399 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
31400 inclusion of <bits/math-finite.h>.
31401 * math/bits/math-finite.h (__REDIRTO_X): Do not define
31402 conditionally on [__MATH_DECLARING_LDOUBLE && defined
31403 __NO_LONG_DOUBLE_MATH].
31404 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
31405 (__MATH_REDIRCALL_2): Likewise.
31406 (__MATH_REDIRCALL_INTERNAL): Likewise.
31407 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31408 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
31409 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
31413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
31415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
31417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
31419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
31421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
31423 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31424 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31425 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31426 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
31428 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
31429 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
31430 w_sqrtf_compat-ppc32.
31432 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31434 * math/math.h [defined __cplusplus] (issignaling): In the long
31435 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
31436 is not defined. Call __issignaling, otherwise.
31438 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31440 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
31441 syscall definitions and replace __builtin_expect with __glibc_likely.
31442 * sysdeps/unix/syscall-template.S: Update comment about cancellable
31444 (SYSCALL_CANCELLABLE): Removedefinition
31445 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
31447 (PSEUDO_END): Likewise.
31448 [IS_IN (libpthread)] (CENABLE): Likewise.
31449 [IS_IN (libpthread)] (CDISABLE): Likewise.
31450 [IS_IN (libc)] (CENABLE): Likewise.
31451 [IS_IN (libc)] (CENABLE): Likewise.
31452 [IS_IN (librt)] (CDISABLE): Likewise.
31453 [IS_IN (librt)] (CDISABLE): Likewise.
31454 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31455 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
31457 (PSEUDO_END): Likewise.
31458 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
31459 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
31460 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31461 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31462 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31463 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31464 (CENABLE): Likewise.
31465 (CDISABLE): Likewise.
31466 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31467 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
31469 (PSEUDO_END): Likewise.
31470 [IS_IN (libpthread)] (CENABLE): Likewise.
31471 [IS_IN (libpthread)] (CDISABLE): Likewise.
31472 [IS_IN (libc)] (CENABLE): Likewise.
31473 [IS_IN (libc)] (CENABLE): Likewise.
31474 [IS_IN (librt)] (CDISABLE): Likewise.
31475 [IS_IN (librt)] (CDISABLE): Likewise.
31476 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31477 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
31479 (PSEUDO_END): Likewise.
31480 [IS_IN (libpthread)] (CENABLE): Likewise.
31481 [IS_IN (libpthread)] (CDISABLE): Likewise.
31482 [IS_IN (libc)] (CENABLE): Likewise.
31483 [IS_IN (libc)] (CENABLE): Likewise.
31484 [IS_IN (librt)] (CDISABLE): Likewise.
31485 [IS_IN (librt)] (CDISABLE): Likewise.
31486 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31487 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
31489 (PSEUDO_END): Likewise.
31490 [IS_IN (libpthread)] (CENABLE): Likewise.
31491 [IS_IN (libpthread)] (CDISABLE): Likewise.
31492 [IS_IN (libc)] (CENABLE): Likewise.
31493 [IS_IN (libc)] (CENABLE): Likewise.
31494 [IS_IN (librt)] (CDISABLE): Likewise.
31495 [IS_IN (librt)] (CDISABLE): Likewise.
31496 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31497 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
31499 (PSEUDO_END): Likewise.
31500 [IS_IN (libpthread)] (CENABLE): Likewise.
31501 [IS_IN (libpthread)] (CDISABLE): Likewise.
31502 [IS_IN (libc)] (CENABLE): Likewise.
31503 [IS_IN (libc)] (CENABLE): Likewise.
31504 [IS_IN (librt)] (CDISABLE): Likewise.
31505 [IS_IN (librt)] (CDISABLE): Likewise.
31506 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31507 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
31509 (PSEUDO_END): Likewise.
31510 [IS_IN (libpthread)] (CENABLE): Likewise.
31511 [IS_IN (libpthread)] (CDISABLE): Likewise.
31512 [IS_IN (libc)] (CENABLE): Likewise.
31513 [IS_IN (libc)] (CENABLE): Likewise.
31514 [IS_IN (librt)] (CDISABLE): Likewise.
31515 [IS_IN (librt)] (CDISABLE): Likewise.
31516 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31517 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
31519 (PSEUDO_END): Likewise.
31520 [IS_IN (libpthread)] (CENABLE): Likewise.
31521 [IS_IN (libpthread)] (CDISABLE): Likewise.
31522 [IS_IN (libc)] (CENABLE): Likewise.
31523 [IS_IN (libc)] (CENABLE): Likewise.
31524 [IS_IN (librt)] (CDISABLE): Likewise.
31525 [IS_IN (librt)] (CDISABLE): Likewise.
31526 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31527 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
31529 (PSEUDO_END): Likewise.
31530 [IS_IN (libpthread)] (CENABLE): Likewise.
31531 [IS_IN (libpthread)] (CDISABLE): Likewise.
31532 [IS_IN (libc)] (CENABLE): Likewise.
31533 [IS_IN (libc)] (CENABLE): Likewise.
31534 [IS_IN (librt)] (CDISABLE): Likewise.
31535 [IS_IN (librt)] (CDISABLE): Likewise.
31536 (SINGLE_THREAD_P): Likewise.
31537 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
31539 (PSEUDO_END): Likewise.
31540 [IS_IN (libpthread)] (CENABLE): Likewise.
31541 [IS_IN (libpthread)] (CDISABLE): Likewise.
31542 [IS_IN (libc)] (CENABLE): Likewise.
31543 [IS_IN (libc)] (CENABLE): Likewise.
31544 [IS_IN (librt)] (CDISABLE): Likewise.
31545 [IS_IN (librt)] (CDISABLE): Likewise.
31546 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31547 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
31549 (PSEUDO_END): Likewise.
31550 [IS_IN (libpthread)] (CENABLE): Likewise.
31551 [IS_IN (libpthread)] (CDISABLE): Likewise.
31552 [IS_IN (libc)] (CENABLE): Likewise.
31553 [IS_IN (libc)] (CENABLE): Likewise.
31554 [IS_IN (librt)] (CDISABLE): Likewise.
31555 [IS_IN (librt)] (CDISABLE): Likewise.
31556 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31557 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
31558 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
31559 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
31560 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
31562 (PSEUDO_END): Likewise.
31563 [IS_IN (libpthread)] (CENABLE): Likewise.
31564 [IS_IN (libpthread)] (CDISABLE): Likewise.
31565 [IS_IN (libc)] (CENABLE): Likewise.
31566 [IS_IN (libc)] (CENABLE): Likewise.
31567 [IS_IN (librt)] (CDISABLE): Likewise.
31568 [IS_IN (librt)] (CDISABLE): Likewise.
31569 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31570 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
31572 (PSEUDO_END): Likewise.
31573 [IS_IN (libpthread)] (CENABLE): Likewise.
31574 [IS_IN (libpthread)] (CDISABLE): Likewise.
31575 [IS_IN (libc)] (CENABLE): Likewise.
31576 [IS_IN (libc)] (CENABLE): Likewise.
31577 [IS_IN (librt)] (CDISABLE): Likewise.
31578 [IS_IN (librt)] (CDISABLE): Likewise.
31579 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31580 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
31582 (PSEUDO_END): Likewise.
31583 [IS_IN (libpthread)] (CENABLE): Likewise.
31584 [IS_IN (libpthread)] (CDISABLE): Likewise.
31585 [IS_IN (libc)] (CENABLE): Likewise.
31586 [IS_IN (libc)] (CENABLE): Likewise.
31587 [IS_IN (librt)] (CDISABLE): Likewise.
31588 [IS_IN (librt)] (CDISABLE): Likewise.
31589 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31590 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
31591 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
31592 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
31593 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
31595 (PSEUDO_END): Likewise.
31596 [IS_IN (libpthread)] (CENABLE): Likewise.
31597 [IS_IN (libpthread)] (CDISABLE): Likewise.
31598 [IS_IN (libc)] (CENABLE): Likewise.
31599 [IS_IN (libc)] (CENABLE): Likewise.
31600 [IS_IN (librt)] (CDISABLE): Likewise.
31601 [IS_IN (librt)] (CDISABLE): Likewise.
31602 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31603 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
31605 (PSEUDO_END): Likewise.
31606 [IS_IN (libpthread)] (CENABLE): Likewise.
31607 [IS_IN (libpthread)] (CDISABLE): Likewise.
31608 [IS_IN (libc)] (CENABLE): Likewise.
31609 [IS_IN (libc)] (CENABLE): Likewise.
31610 [IS_IN (librt)] (CDISABLE): Likewise.
31611 [IS_IN (librt)] (CDISABLE): Likewise.
31612 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31614 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
31616 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
31618 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31620 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31622 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31625 * string/stratcliff.c (do_test): Declare size, nchars, inner,
31626 middle and outer with size_t instead of int. Repleace %d and
31627 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
31628 "MAX (outer, nchars - 64)" to support unsigned outer and
31629 nchars. Also exit loop when outer == 0.
31631 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31633 * include/fcntl.h (__fcntl_nocancel): Remove definition.
31634 * include/signal.h (__sigsuspend_nocancel): Likewise.
31635 * include/time.h (__nanosleep_nocancel): Likewise.
31636 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
31637 * login/utmp_file.c: Include non cancellable syscall header.
31638 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
31641 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31643 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
31644 .byte sequences with AVX512F instructions.
31645 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
31646 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
31647 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
31648 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
31650 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
31653 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
31654 Steve Ellcey <sellcey@cavium.com>
31656 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
31657 Use PTR_REG macro in cmp instruction.
31659 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31661 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
31662 Change the return type of the ifunc resolver to match the return
31663 type of the target function.
31665 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31667 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
31668 (preadv64): Likewise.
31669 (pwrite64(: Likewise.
31670 (pwritev64): Likewise.
31672 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
31673 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
31674 (LOAD_ARGS_0): Likewise.
31675 (LOAD_ARGS_1): Likewise.
31676 (LOAD_ARGS_2): Likewise.
31677 (LOAD_ARGS_3): Likewise.
31678 (LOAD_ARGS_4): Likewise.
31679 (LOAD_ARGS_5): Likewise.
31680 (LOAD_ARGS_6): Likewise.
31681 (LOAD_REGS_0): Likewise.
31682 (LOAD_REGS_1): Likewise.
31683 (LOAD_REGS_2): Likewise.
31684 (LOAD_REGS_3): Likewise.
31685 (LOAD_REGS_4): Likewise.
31686 (LOAD_REGS_5): Likewise.
31687 (LOAD_REGS_6): Likewise.
31688 (ASM_ARGS_0): Likewise.
31689 (ASM_ARGS_1): Likewise.
31690 (ASM_ARGS_2): Likewise.
31691 (ASM_ARGS_3): Likewise.
31692 (ASM_ARGS_4): Likewise.
31693 (ASM_ARGS_5): Likewise.
31694 (ASM_ARGS_6): Likewise.
31695 (LOAD_ARGS_TYPES_1): Likewise.
31696 (LOAD_ARGS_TYPES_2): Likewise.
31697 (LOAD_ARGS_TYPES_3): Likewise.
31698 (LOAD_ARGS_TYPES_4): Likewise.
31699 (LOAD_ARGS_TYPES_5): Likewise.
31700 (LOAD_ARGS_TYPES_6): Likewise.
31701 (LOAD_REGS_TYPES_1): Likewise.
31702 (LOAD_REGS_TYPES_2): Likewise.
31703 (LOAD_REGS_TYPES_3): Likewise.
31704 (LOAD_REGS_TYPES_4): Likewise.
31705 (LOAD_REGS_TYPES_5): Likewise.
31706 (LOAD_REGS_TYPES_6): Likewise.
31707 (TYPEFY): New define.
31708 (ARGIFY): Likewise.
31709 (internal_syscall0): Likewise.
31710 (internal_syscall1): Likewise.
31711 (internal_syscall2): Likewise.
31712 (internal_syscall3): Likewise.
31713 (internal_syscall4): Likewise.
31714 (internal_syscall5): Likewise.
31715 (internal_syscall6): Likewise.
31716 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
31717 (INTERNAL_SYSCALL_NCS): Remove define.
31718 (internal_syscall1): Add define.
31720 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31722 * math/w_remainder_compat.c: Remove duplicate inclusion of
31723 math-svid-compat.h.
31724 * math/w_remainderf_compat.c: Likewise.
31725 * math/w_remainderl_compat.c: Likewise.
31727 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31731 2017-08-22 Joseph Myers <joseph@codesourcery.com>
31734 * math/tgmath.h (__floating_type): Simplify definitions.
31735 (__real_integer_type): New macro.
31736 (__complex_integer_type): Likewise.
31737 (__expr_is_real): Likewise.
31738 (__tgmath_real_type_sub): Update comment to describe handling of
31740 (__tgmath_complex_type_sub): New macro.
31741 (__tgmath_complex_type): Likewise.
31742 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31743 (__TGMATH_CF128): Use __expr_is_real.
31744 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
31746 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31747 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
31748 * math/gen-tgmath-tests.py (Type.create_type): Create complex
31751 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31753 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
31755 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
31757 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
31760 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
31761 nanosleep_not_cancel with __nanosleep_nocancel.
31762 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
31763 (__nanosleep_nocancel): New macro.
31764 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
31766 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
31768 (__nanosleep_nocancel): New prototype.
31770 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
31771 pause_not_cancel with __pause_nocancel.
31772 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
31773 (__pause_nocancel): New macro.
31774 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
31776 (__pause_nocancel): New prototype.
31777 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
31779 2017-08-22 Martin Sebor <msebor@redhat.com>
31781 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
31782 to return a pointer to the same type as the target function.
31784 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
31788 * include/printf.h (__printf_fphex): Add attribute_hidden.
31789 (__guess_grouping): New prototype.
31790 * stdio-common/printf_fp.c (__guess_grouping): Removed.
31791 * stdio-common/reg-printf.c (__register_printf_specifier): Add
31792 libc_hidden_proto and libc_hidden_def.
31793 * stdlib/strfmon_l.c (__guess_grouping): Removed.
31794 (__vstrfmon_l): Remove the third argument passed to
31797 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31799 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
31800 definition for issignaling that does not rely on __MATH_TG,
31801 since __MATH_TG uses __builtin_types_compatible_p, which is only
31802 available in C mode.
31803 (CFLAGS-test-math-issignaling.cc): New variable.
31804 * math/Makefile [CXX] (tests): Add test-math-issignaling.
31805 * math/test-math-issignaling.cc: New test for C++ implementation
31806 of type-generic issignaling.
31807 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
31808 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
31809 options of test-math-issignaling on powerpc64le.
31811 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
31813 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31815 (hidden_proto): Likewise.
31816 (hidden_tls_proto): Likewise.
31817 (__hidden_proto): Likewise.
31819 2017-08-22 Florian Weimer <fweimer@redhat.com>
31821 math: Statically link tests of internal functionality.
31822 * math/Makefile (tests): Remove atest-exp, atest-sincos,
31824 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
31825 (gmp-objs): Remove assignment.
31826 (atest-exp, atest-sincos, atest-exp2): Remove targets.
31828 2017-08-22 Joseph Myers <joseph@codesourcery.com>
31831 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
31833 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
31835 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
31838 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
31839 variable definitions above inclusion of ../Rules.
31841 2017-08-21 Joseph Myers <joseph@codesourcery.com>
31843 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
31844 case calling __builtin_unreachable.
31846 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31848 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
31849 __waitpid_nocancel.
31850 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
31851 (__waitpid_nocancel): New macro.
31852 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
31854 (__waitpid_nocancel): Replace macro with a function.
31855 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
31858 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
31860 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
31861 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
31863 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
31864 __writev_nocancel_nostatus.
31865 (write_call_graph): Likewise.
31866 (write_bb_counts): Likewise.
31867 * resolv/herror.c (herror): Likewise.
31868 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
31870 (__writev_nocancel_nostatus): New macro.
31871 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
31873 (__writev_nocancel_nostatus): New function.
31875 2017-08-21 Joseph Myers <joseph@codesourcery.com>
31878 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31880 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31882 (hidden_proto): Likewise.
31883 (hidden_tls_proto): Likewise.
31884 (__hidden_proto): Likewise.
31887 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
31888 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
31893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
31897 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
31898 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31899 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31900 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31901 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31902 GLIBC_2.0 sqrtl symbol.
31904 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
31905 [__USE_MISC] (_LIB_VERSION): Likewise.
31906 [__USE_MISC] (struct exception): Likewise.
31907 [__USE_MISC] (matherr): Likewise.
31908 [__USE_MISC] (DOMAIN): Likewise.
31909 [__USE_MISC] (SING): Likewise.
31910 [__USE_MISC] (OVERFLOW): Likewise.
31911 [__USE_MISC] (UNDERFLOW): Likewise.
31912 [__USE_MISC] (TLOSS): Likewise.
31913 [__USE_MISC] (PLOSS): Likewise.
31914 [__USE_MISC] (HUGE): Likewise.
31915 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
31916 * math/math-svid-compat.h: New file.
31917 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
31919 * include/math.h [!_ISOMAC] (__matherr): Remove.
31920 * manual/arith.texi (FP Exceptions): Do not document matherr.
31921 * math/Makefile (tests): Change test-matherr to test-matherr-3.
31922 (tests-internal): New variable.
31923 (install-lib): Do not add libieee.a.
31924 (non-lib.a): Likewise.
31925 (extra-objs): Do not add libieee.a and ieee-math.o.
31926 (CPPFLAGS-s_lib_version.c): Remove variable.
31927 ($(objpfx)libieee.a): Remove rule.
31928 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
31929 * math/ieee-math.c: Remove.
31930 * math/libm-test-support.c (matherr): Remove.
31931 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
31932 and license notices. Include <math-svid-compat.h> and
31934 (matherr): Undefine as macro. Use compat_symbol_reference.
31935 (_LIB_VERSION): Likewise.
31936 * math/test-matherr-2.c: New file.
31937 * math/test-matherr-3.c: Likewise.
31938 * sysdeps/generic/math_private.h (__kernel_standard): Remove
31940 (__kernel_standard_f): Likewise.
31941 (__kernel_standard_l): Likewise.
31942 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
31943 <math_private.h>. Include <math-svid-compat.h>.
31944 (_LIB_VERSION): Undefine as macro.
31945 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
31946 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
31947 [LIBM_SVID_COMPAT], use compat_symbol.
31948 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
31949 <math_private.h>. Include <math-svid-compat.h>.
31950 (matherr): Undefine as macro.
31951 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
31953 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
31954 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
31955 compat_symbol_reference.
31956 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
31957 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
31958 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
31959 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
31960 (MATHERR_D): Remove declaration.
31961 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
31962 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
31963 [LIBM_BUILD] (pmatherrf): Likewise.
31964 [LIBM_BUILD] (pmatherr): Likewise.
31965 [LIBM_BUILD] (pmatherrl): Likewise.
31966 (DOMAIN): Likewise.
31968 (OVERFLOW): Likewise.
31969 (UNDERFLOW): Likewise.
31972 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
31973 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
31975 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
31976 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
31978 * math/lgamma-compat.h: Include <math-svid-compat.h>.
31979 * math/w_acos_compat.c: Likewise.
31980 * math/w_acosf_compat.c: Likewise.
31981 * math/w_acosh_compat.c: Likewise.
31982 * math/w_acoshf_compat.c: Likewise.
31983 * math/w_acoshl_compat.c: Likewise.
31984 * math/w_acosl_compat.c: Likewise.
31985 * math/w_asin_compat.c: Likewise.
31986 * math/w_asinf_compat.c: Likewise.
31987 * math/w_asinl_compat.c: Likewise.
31988 * math/w_atan2_compat.c: Likewise.
31989 * math/w_atan2f_compat.c: Likewise.
31990 * math/w_atan2l_compat.c: Likewise.
31991 * math/w_atanh_compat.c: Likewise.
31992 * math/w_atanhf_compat.c: Likewise.
31993 * math/w_atanhl_compat.c: Likewise.
31994 * math/w_cosh_compat.c: Likewise.
31995 * math/w_coshf_compat.c: Likewise.
31996 * math/w_coshl_compat.c: Likewise.
31997 * math/w_exp10_compat.c: Likewise.
31998 * math/w_exp10f_compat.c: Likewise.
31999 * math/w_exp10l_compat.c: Likewise.
32000 * math/w_exp2_compat.c: Likewise.
32001 * math/w_exp2f_compat.c: Likewise.
32002 * math/w_exp2l_compat.c: Likewise.
32003 * math/w_fmod_compat.c: Likewise.
32004 * math/w_fmodf_compat.c: Likewise.
32005 * math/w_fmodl_compat.c: Likewise.
32006 * math/w_hypot_compat.c: Likewise.
32007 * math/w_hypotf_compat.c: Likewise.
32008 * math/w_hypotl_compat.c: Likewise.
32009 * math/w_j0_compat.c: Likewise.
32010 * math/w_j0f_compat.c: Likewise.
32011 * math/w_j0l_compat.c: Likewise.
32012 * math/w_j1_compat.c: Likewise.
32013 * math/w_j1f_compat.c: Likewise.
32014 * math/w_j1l_compat.c: Likewise.
32015 * math/w_jn_compat.c: Likewise.
32016 * math/w_jnf_compat.c: Likewise.
32017 * math/w_jnl_compat.c: Likewise.
32018 * math/w_lgamma_main.c: Likewise.
32019 * math/w_lgamma_r_compat.c: Likewise.
32020 * math/w_lgammaf_main.c: Likewise.
32021 * math/w_lgammaf_r_compat.c: Likewise.
32022 * math/w_lgammal_main.c: Likewise.
32023 * math/w_lgammal_r_compat.c: Likewise.
32024 * math/w_log10_compat.c: Likewise.
32025 * math/w_log10f_compat.c: Likewise.
32026 * math/w_log10l_compat.c: Likewise.
32027 * math/w_log2_compat.c: Likewise.
32028 * math/w_log2f_compat.c: Likewise.
32029 * math/w_log2l_compat.c: Likewise.
32030 * math/w_log_compat.c: Likewise.
32031 * math/w_logf_compat.c: Likewise.
32032 * math/w_logl_compat.c: Likewise.
32033 * math/w_pow_compat.c: Likewise.
32034 * math/w_powf_compat.c: Likewise.
32035 * math/w_powl_compat.c: Likewise.
32036 * math/w_remainder_compat.c: Likewise.
32037 * math/w_remainderf_compat.c: Likewise.
32038 * math/w_remainderl_compat.c: Likewise.
32039 * math/w_scalb_compat.c: Likewise.
32040 * math/w_scalbf_compat.c: Likewise.
32041 * math/w_scalbl_compat.c: Likewise.
32042 * math/w_sinh_compat.c: Likewise.
32043 * math/w_sinhf_compat.c: Likewise.
32044 * math/w_sinhl_compat.c: Likewise.
32045 * math/w_sqrt_compat.c: Likewise.
32046 * math/w_sqrtf_compat.c: Likewise.
32047 * math/w_sqrtl_compat.c: Likewise.
32048 * math/w_tgamma_compat.c: Likewise.
32049 * math/w_tgammaf_compat.c: Likewise.
32050 * math/w_tgammal_compat.c: Likewise.
32051 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
32052 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
32053 * sysdeps/ieee754/k_standard.c: Likewise.
32054 * sysdeps/ieee754/k_standardf.c: Likewise.
32055 * sysdeps/ieee754/k_standardl.c: Likewise.
32056 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
32057 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
32058 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
32059 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32060 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32061 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32062 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32063 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
32064 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32069 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
32070 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32071 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32072 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32074 2017-08-21 Florian Weimer <fweimer@redhat.com>
32077 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
32078 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
32079 Move before inclusion of ../Rules.
32081 2017-08-21 Florian Weimer <fweimer@redhat.com>
32084 * assert/assert.h (assert): Use static_cast (bool) for C++.
32085 Use the ternary operator in the warning branch for GNU C.
32086 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
32087 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
32088 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
32089 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
32090 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
32092 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32095 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32096 (__syscall_clock_gettime): Add attribute_hidden.
32097 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
32098 (__start_context): Likewise.
32100 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32102 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32104 (hidden_proto): Likewise.
32105 (hidden_tls_proto): Likewise.
32106 (__hidden_proto): Likewise.
32108 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32110 * include/libc-symbols.h (attribute_hidden): Enable hidden
32111 visibility in libc.a compiled with PIE.
32113 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32116 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
32117 Add attribute_hidden.
32119 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32122 * Makerules (all-nonlib): Add $(others-extras).
32123 * catgets/Makefile (others-extras): New.
32124 * elf/Makefile (others-extras): Likewise.
32125 * nss/Makefile (others-extras): Likewise.
32127 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32130 * csu/libc-start.c (__libc_multiple_libcs): Removed.
32131 * elf/dl-open.c: Include <libc-internal.h>.
32132 (__libc_multiple_libcs): Removed.
32133 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
32135 * include/libc-internal.h (__libc_multiple_libcs): New.
32136 * misc/sbrk.c: Include <libc-internal.h>.
32137 (__libc_multiple_libcs): Removed.
32139 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32142 * grp/initgroups.c (__nss_group_database): Removed.
32143 (__nss_initgroups_database): Likewise.
32144 * nscd/gai.c (__nss_hosts_database): Likewise.
32145 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
32146 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
32147 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
32148 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
32149 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
32150 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
32152 * nss/nsswitch.c (__nss_database_custom): Define only if
32153 USE_NSCD is defined.
32154 (__nss_configure_lookup): Use __nss_database_custom only if
32155 USE_NSCD is defined.
32156 * nss/nsswitch.h (__nss_database_custom): Declare only if
32157 USE_NSCD is defined. Add attribute_hidden.
32158 (__nss_setent): Add attribute_hidden.
32159 (__nss_endent): Likewise.
32160 (__nss_getent_r): Likewise.
32161 (__nss_getent): Likewise.
32162 (DEFINE_DATABASE): Declare __nss_##arg##_database.
32164 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32167 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
32168 libc_hidden_proto and libc_hidden_def.
32170 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32173 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
32174 Add libc_hidden_proto.
32175 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
32176 Add libc_hidden_def.
32178 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32181 * gmon/Makefile (routines): Remove bb_init_func and
32183 (elide-routines.os): Removed.
32184 * gmon/bb_exit_func.c: Likewise.
32185 * gmon/bb_init_func.c: Likewise.
32186 * include/sys/gmon.h (__bb): Likewise.
32187 (__bb_init_func): Likewise.
32188 (__bb_exit_func): Likewise.
32189 * sysdeps/alpha/bb_init_func.S: Likewise.
32191 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32193 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
32194 * include/setjmp.h (____longjmp_chk): Here. Add
32197 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
32200 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
32202 (__strspn_sse2): Likewise.
32204 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32206 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
32207 (close_not_cancel_no_status): Likewise.
32208 (__close_nocancel): New macro.
32209 (__close_nocancel_nostatus): Likewise.
32210 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
32212 (close_not_cancel): Likewise.
32213 (close_not_cancel_no_status): Likewise.
32214 (__close_nocancel): New prototype.
32215 (__close_nocancel_nostatus): New function.
32216 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
32217 * catgets/open_catalog.c (__open_catalog): Replace
32218 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
32219 * gmon/gmon.c (write_gmon): Likewise.
32220 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
32221 * intl/loadmsgcat.c (close): Likewise.
32222 * io/ftw.c (open_dir_stream): Likewise.
32223 (ftw_startup): Likewise.
32224 * libio/fileops.c (_IO_file_open): Likewise.
32225 (_IO_file_close_mmap): Likewise.
32226 (_IO_file_close): Likewise.
32227 * libio/iopopen.c (_IO_dup2): Likewise.
32228 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32229 * locale/loadlocale.c (_nl_load_locale): Likewise.
32230 * login/utmp_file.c (pututline_file): Likewise.
32231 (endutent_file): Likewise.
32232 * misc/daemon.c (daemon): Likewise.
32233 * nscd/nscd_getai.c (__nscd_getai): Likewise.
32234 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32235 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
32236 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32237 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32238 * nscd/nscd_helper.c (open_socket): Likewise.
32239 (__nscd_open_socket): Likewise.
32240 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
32241 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
32242 (__nscd_innetgr): Likewise.
32243 * nss/nss_db/db-open.c (internal_setent): Likewise.
32244 * resolv/res-close.c (__res_iclose): Likewise.
32245 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
32246 * sysdeps/posix/closedir.c (__closedir): Likewise.
32247 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
32248 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32249 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32250 (opendir_tail): Likewise.
32251 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32252 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
32253 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
32254 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32255 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32256 (gethostid): Likewise.
32257 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32258 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32260 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32261 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
32262 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32263 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32265 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
32266 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
32267 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32269 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
32270 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32272 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32274 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32275 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32276 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32279 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
32280 (openat_not_cancel_3): Likewise.
32281 (openat64_not_cancel_3): Likewise).
32282 (openat_not_cancel_3): Likewise).
32283 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
32285 (openat_not_cancel_3): Likewise.
32286 (openat64_not_cancel): Likewise.
32287 (openat64_not_cancel_3): Likewise.
32288 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
32289 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
32290 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
32291 __open{64}_nocancel.
32292 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32293 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32294 * sysdeps/posix/opendir.c (__opendirat): Likewise.
32296 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32299 * include/argz.h (__argz_create_sep): New function prototype.
32300 (__argz_append): Likewise.
32301 (__argz_add): Likewise.
32302 (__argz_add_sep): Likewise.
32303 (__argz_delete): Likewise.
32304 (__argz_insert): Likewise.
32305 (__argz_replace): Likewise.
32306 * string/argz.h (__argz_create_sep): Removed.
32307 (__argz_append): Likewise.
32308 (__argz_add): Likewise.
32309 (__argz_add_sep): Likewise.
32310 (__argz_delete): Likewise.
32311 (__argz_insert): Likewise.
32312 (__argz_replace): Likewise.
32314 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32316 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
32317 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
32318 (GNU_PROPERTY_STACK_SIZE): Likewie.
32319 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
32320 (GNU_PROPERTY_LOPROC): Likewise.
32321 (GNU_PROPERTY_HIPROC): Likewise.
32322 (GNU_PROPERTY_LOUSER): Likewise.
32323 (GNU_PROPERTY_HIUSER): Likewise.
32324 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
32325 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
32326 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
32327 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
32328 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
32329 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
32330 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
32331 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
32332 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
32333 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
32334 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
32335 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
32336 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
32337 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
32338 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
32339 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
32340 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
32341 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
32342 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
32343 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
32344 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
32345 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
32346 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
32348 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32350 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
32353 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32356 * math/math.h (isinf): Check if in C or C++ mode before using
32357 __builtin_types_compatible_p, since this is a C mode feature.
32359 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32361 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
32362 (__write_nocancel): New macro.
32363 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
32364 Rewrite as a function prototype.
32365 (write_not_cancel): Remove macro.
32366 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
32367 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
32368 (write_gmon): Likewise.
32369 * libio/fileops.c (_IO_new_file_write): Likewise.
32370 * login/utmp_file.c (pututline_file): Likewise.
32371 (updwtmp_file): Likewise.
32372 * stdio-common/psiginfo.c (psiginfo): Likewise.
32373 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32374 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32375 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32377 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32380 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
32381 (__read_nocancel): New macro.
32382 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32384 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
32386 (__read_nocancel): New prototype.
32387 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
32388 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
32389 with __read_nocancel.
32390 * intl/loadmsgcat.c (read): Likewise.
32391 * libio/fileops.c (_IO_file_read): Likewise.
32392 * locale/loadlocale.c (_nl_load_locale): Likewise.
32393 * login/utmp_file.c (getutent_r_file): Likewise.
32394 (internal_getut_r): Likewise.
32395 (getutline_r_file): Likewise.
32396 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32397 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32398 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32399 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32401 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
32402 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32403 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32405 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32407 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32409 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32411 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32413 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32416 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
32417 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
32420 2017-08-17 DJ Delorie <dj@redhat.com>
32422 * bug17079.c: Update to new test harness.
32423 * test-digits-dots.c: Likewise.
32424 * test-netdb.c: Likewise.
32425 * tst-field.c: Likewise.
32426 * tst-nss-getpwent.c: Likewise.
32427 * tst-nss-static.c: Likewise.
32428 * tst-nss-test1.c: Likewise.
32429 * tst-nss-test2.c: Likewise.
32430 * tst-nss-test3.c: Likewise.
32431 * tst-nss-test4.c: Likewise.
32432 * tst-nss-test5.c: Likewise.
32434 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32436 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
32437 (open_not_cancel_2): Likewise.
32438 (open_nocancel): New macro.
32439 (open64_nocancel): Likewise.
32440 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
32441 (open_not_cancel_2): Likewise.
32442 (__open_nocancel): New prototype.
32443 (__open64_nocancel): Likewise.
32444 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32446 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
32447 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
32448 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
32449 with __open_nocancel.
32450 * csu/check_fds.c (check_one_fd): Likewise.
32451 * gmon/gmon.c (write_gmon): Likewise.
32452 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
32453 * intl/loadmsgcat.c (open): Likewise.
32454 * libio/fileops.c (_IO_file_open): Likewise.
32455 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32456 * locale/loadlocale.c (_nl_load_locale): Likewise.
32457 * login/utmp_file.c (setutent_file): Likewise.
32458 * misc/daemon.c (daemon): Likewise.
32459 * nss/nss_db/db-open.c (internal_setent): Likewise.
32460 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32461 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
32462 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32463 (__opendir): Likewise.
32464 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32465 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32466 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32467 (gethostid): Likewise.
32468 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32469 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32471 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32472 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
32473 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32474 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32476 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32478 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32480 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
32482 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32484 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32486 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32487 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32489 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
32491 * benchtests/bench-skeleton.c (main): Add support for
32492 latency benchmarking.
32493 * benchtests/scripts/bench.py: Add support for latency benchmarking.
32495 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
32497 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
32498 the startup object.
32500 2017-08-17 Florian Weimer <fweimer@redhat.com>
32502 * include/sys/socket.h (__opensock): Remove internal_function.
32503 * socket/opensock.c (__opensock): Likewise.
32504 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
32506 2017-08-16 Joseph Myers <joseph@codesourcery.com>
32509 * signal/bits/types/__sigval_t.h: New file.
32510 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
32511 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
32512 and define sigval_t using __sigval_t.
32513 * include/bits/types/__sigval_t.h: New file.
32514 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
32515 instead of <bits/types/__sigval_t.h>.
32516 (struct sigevent): Use __sigval_t instead of sigval_t.
32517 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
32518 instead of <bits/types/__sigval_t.h>.
32519 (siginfo_t): Use __sigval_t instead of sigval_t.
32520 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
32521 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32522 (struct sigevent): Use __sigval_t instead of sigval_t.
32523 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
32524 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32525 (siginfo_t): Use __sigval_t instead of sigval_t.
32526 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
32528 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32530 * NEWS: Remove "[Add new features here]" for 2.27.
32532 2017-08-16 Joseph Myers <joseph@codesourcery.com>
32534 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
32537 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32539 * NEWS: Mention x86-64 FMA optimization.
32541 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32544 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32546 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
32547 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
32548 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
32550 2017-08-16 Andreas Schwab <schwab@suse.de>
32554 * elf/ldd.bash.in: Never run file directly.
32556 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
32559 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
32560 (L(SP_INF_0)): Likewise.
32562 2017-08-15 Florian Weimer <fweimer@redhat.com>
32564 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
32567 2017-08-15 Florian Weimer <fweimer@redhat.com>
32569 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
32570 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
32571 BROKEN_THREAD_SIGNALS code.
32572 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
32573 request_list): Remove caller_pid member used for
32574 BROKEN_THREAD_SIGNALS.
32575 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
32576 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
32577 Remove BROKEN_THREAD_SIGNALS support.
32578 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
32579 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
32581 2017-08-15 Florian Weimer <fweimer@redhat.com>
32583 * gmon/Makefile (tests): Add tst-gmon.
32584 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
32586 (tests-special): Add tst-gmon-prof.out.
32587 (tst-gmon.out): Depend on clean-tst-gmon-data.
32588 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
32589 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
32590 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
32592 * aclocal.m4 (GPROF): Set and substitute.
32593 * config.amke.in (GPROF): Set.
32594 * configure: Regenerate.
32596 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
32598 * elf/elf.h A (NT_PPC_TAR): New macro.
32599 (NT_PPC_PPR): Likewise.
32600 (NT_PPC_DSCR): Likewise.
32601 (NT_PPC_EBB): Likewise.
32602 (NT_PPC_PMU): Likewise.
32603 (NT_PPC_TM_CGPR): Likewise.
32604 (NT_PPC_TM_CFPR): Likewise.
32605 (NT_PPC_TM_CVMX): Likewise.
32606 (NT_PPC_TM_CVSX): Likewise.
32607 (NT_PPC_TM_SPR): Likewise.
32608 (NT_PPC_TM_CTAR): Likewise.
32609 (NT_PPC_TM_CPPR): Likewise.
32610 (NT_PPC_TM_CDSCR): Likewise.
32612 2017-08-15 Florian Weimer <fweimer@redhat.com>
32614 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
32615 regparm (2) instead of internal_function.
32616 (_MCOUNT_DECL): Adjust.
32618 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
32620 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
32621 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
32623 2017-08-14 Joseph Myers <joseph@codesourcery.com>
32625 * conform/data/sys/wait.h-data (si_value): Do not expect for
32628 2017-08-14 Florian Weimer <fweimer@redhat.com>
32631 NSS: Create stubs for accidentally exported lookup functions.
32632 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
32633 Remove declaration.
32634 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
32635 (ether_hostton): Call __nss_ethers_lookup2 instead.
32636 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
32637 (ether_ntohost): Call __nss_ethers_lookup2 instead.
32638 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
32639 (setup): Call __nss_netgroup_lookup2 instead.
32640 * nss/Makefile (routines): Add compat-lookup.
32641 * nss/Versions (GLIBC_2.27): Add symbol version.
32642 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
32643 (DB_COMPAT_FCT): Remove.
32644 * nss/compat-lookup.c: New file.
32645 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
32646 from databases.def.
32647 * nss/service-lookup.c (NO_COMPAT): Remove definition.
32648 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
32649 (netname2user): Call __nss_publickey_lookup2 instead.
32650 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
32651 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
32654 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32655 Sergei Trofimovich <slyfox@inbox.ru>
32658 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
32659 Rename to MMAP2_PAGE_UNIT.
32660 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
32661 __OFF_T_MATCHES_OFF64_T is not defined.
32662 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
32664 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
32665 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
32667 2017-08-14 Florian Weimer <fweimer@redhat.com>
32669 i386: Do not set internal_function.
32670 * config.h.in (USE_REGPARMS, internal_function): Remove.
32671 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
32672 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
32674 2017-08-14 Florian Weimer <fweimer@redhat.com>
32676 * elf/dl-init.c (_dl_init): Remove internal_function.
32677 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
32678 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
32680 2017-08-14 Florian Weimer <fweimer@redhat.com>
32682 * elf/rtld.c (_dl_start): Remove internal_function.
32683 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
32686 2017-08-14 Florian Weimer <fweimer@redhat.com>
32688 * elf/dl-fini.c (_dl_fini): Remove internal_function
32689 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
32691 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
32693 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
32694 (bit_cpu_SHSTK): Likewise.
32695 (index_cpu_IBT): Likewise.
32696 (index_cpu_SHSTK): Likewise.
32697 (reg_IBT): Likewise.
32698 (reg_SHSTK): Likewise.
32699 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
32700 Handle index_cpu_IBT and index_cpu_SHSTK.
32702 2017-08-14 Mike FABIAN <mfabian@redhat.com>
32705 * po/fr.po: Fix spelling mistake.
32707 2017-08-13 Florian Weimer <fweimer@redhat.com>
32709 * elf/dl-addr.c (_dl_addr): Remove internal_function.
32710 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
32711 (_dl_catch_error, _dl_receive_error): Likewise.
32712 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
32713 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
32714 (_dl_deallocate_tls): Likewise.
32715 * include/dlfcn.h (_dl_addr): Likewise.
32716 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
32717 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
32718 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
32721 2017-08-13 Florian Weimer <fweimer@redhat.com>
32723 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
32724 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
32726 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
32728 2017-08-13 Florian Weimer <fweimer@redhat.com>
32730 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
32732 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
32733 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
32734 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
32735 internal_function from _dl_make_stack_executable_hook member.
32736 (_dl_make_stack_executable): Remove internal_function.
32737 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
32739 * sysdeps/unix/sysv/linux/dl-execstack.c
32740 (_dl_make_stack_executable): Likewise.
32742 2017-08-13 Florian Weimer <fweimer@redhat.com>
32744 * sysdeps/unix/sysv/linux/netlinkaccess.h
32745 (__netlink_assert_response): Remove internal_function.
32746 * sysdeps/unix/sysv/linux/netlink_assert_response.c
32747 (__netlink_assert_response): Likewise.
32749 2017-08-13 Florian Weimer <fweimer@redhat.com>
32751 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
32753 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
32755 2017-08-13 Florian Weimer <fweimer@redhat.com>
32757 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
32759 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
32760 * inet/netgroup.h (__internal_setnetgrent)
32761 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
32762 * inet/getnetgrent_r.c (__internal_setnetgrent)
32763 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
32764 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
32765 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
32766 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
32767 * nss/nsswitch.h (db_lookup_function): Likewise.
32769 2017-08-13 Florian Weimer <fweimer@redhat.com>
32771 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
32772 Remove internal_function.
32773 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
32774 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
32775 message argument on the stack.
32776 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
32779 2017-08-12 Mike FABIAN <mfabian@redhat.com>
32781 Adapt test case data to the changes in the thousands
32785 * localedata/tst-langinfo.sh: Adapt test case data.
32786 * stdlib/tst-strfmon_l.c: Likewise.
32787 * stdlib/tst-strtod4.c: Likewise.
32788 * stdlib/tst-strtod5i.c: Likewise.
32790 2017-08-11 Florian Weimer <fweimer@redhat.com>
32793 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
32794 Suppress pedantic warning resulting from statement expression.
32795 (__ASSERT_FUNCTION): Add missing __extension__.
32797 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
32799 * benchtests/bench-memmove-large.c: Print output in JSON
32801 * benchtests/bench-memmove.c: Likewise.
32803 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
32804 * benchtests/bench-memchr.c (do_one_test): Likewise.
32805 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
32806 * benchtests/bench-memcpy.c (do_one_test): Likewise.
32807 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
32808 * benchtests/bench-memmove.c (do_one_test): Likewise.
32809 * benchtests/bench-memset-large.c (do_one_test): Likewise.
32810 * benchtests/bench-memset.c (do_one_test): Likewise.
32811 * benchtests/bench-string.h (test_init): Remove memsets.
32813 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
32816 (Computing the Width of an Integer Data Type): Rename section to
32817 "Width of an Integer Type". Remove inaccurate statement regarding
32818 lack of C language facilities for determining width of integer
32819 types, and reorder content to improve flow and context of
32822 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
32824 * lang.texi (va_copy): Change standard from ISO to C99.
32825 (__va_copy): Add standard and header annotation.
32826 Update description for clarity of origins and current use.
32828 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32831 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
32832 xssqrtqp requires operands to be in Vector Registers
32833 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
32834 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
32835 (__ieee754_sqrtf128): Likewise.
32837 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
32839 * sysdeps/aarch64/memcmp.S (memcmp):
32840 Rewrite of optimized memcmp.
32842 2017-08-10 Florian Weimer <fweimer@redhat.com>
32844 Introduce ld.so exceptions.
32845 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
32846 (_dl_exception_create, _dl_exception_create_format)
32847 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
32848 (_dl_catch_exception): Declare.
32849 (_dl_catch_error): Update comment.
32850 * elf/dl-error-skeleton.c (struct catch): Replace objname,
32851 errstring, malloced members with exception member.
32852 (_dl_out_of_memory): Remove.
32853 (fatal_error): New function, extracted from _dl_signal_error.
32854 (_dl_signal_exception, _dl_signal_cexception): New functions.
32855 (_dl_signal_error): Call _dl_exception_create to allocate an
32857 (_dl_catch_exception): New function, based on _dl_catch_error.
32858 (_dl_catch_error): Implement using _dl_catch_exception.
32859 * elf/dl-exception.c: New file.
32860 * elf/Makefile (dl-routines): Add dl-exception.
32861 (elide-routines.os): Likewise.
32862 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
32863 _dl_exception_create_format, _dl_exception_free.
32864 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
32865 _dl_signal_exception.
32866 * elf/dl-lookup.c (make_string): Remove.
32867 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
32868 _dl_signal_cexception, _dl_exception_free.
32869 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
32870 _dl_signal_exception.
32871 * elf/dl-sym.c (do_sym): Likewise.
32872 * elf/dl-version.c (make_string): Remove.
32873 (match_symbol): Use _dl_exception_create_format,
32874 _dl_signal_cexception, _dl_exception_free.
32875 (_dl_check_map_versions): Likewise.
32876 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
32877 _dl_catch_exception.
32878 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
32879 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
32880 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
32881 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
32882 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
32883 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
32884 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
32885 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
32887 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
32888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
32890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
32892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
32894 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
32895 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
32896 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
32898 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
32900 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
32902 2017-08-10 Florian Weimer <fweimer@redhat.com>
32904 * inet/net-internal.h (__inet6_scopeid_pton): Remove
32905 attribute_hidden, internal_function.
32906 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
32909 2017-08-10 Florian Weimer <fweimer@redhat.com>
32911 * malloc/malloc.c (get_max_fast): Reimplement as an inline
32912 function which calls __builtin_unreachable.
32914 2017-08-10 Mike FABIAN <mfabian@redhat.com>
32916 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
32917 Indian monetary formatting
32918 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
32921 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
32923 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
32924 Fix typo in comment.
32927 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
32928 PTRACE_SEIZE_DEVEL): Remove.
32929 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
32930 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32931 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32932 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32933 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32935 2017-08-09 Joseph Myers <joseph@codesourcery.com>
32937 * posix/bits/types.h (__qaddr_t): Remove.
32940 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
32941 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32943 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
32944 (ucontext_t): Use __ctx with uc_flags.
32945 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
32946 (__ctxt): Likewise.
32947 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32949 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
32950 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32952 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
32953 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32955 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
32957 (ucontext_t): Use __ctx with uc_flags.
32958 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
32959 (ucontext_t): Use __ctx with uc_flags.
32960 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
32961 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
32962 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
32963 (ucontext_t): Use __ctx with uc_flags.
32964 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
32965 undefine further down.
32966 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32968 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
32969 undefine further down.
32970 (ucontext_t): Use __ctx with uc_flags.
32971 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
32972 undefine further down.
32973 (ucontext_t): Use __ctx with uc_flags.
32974 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
32975 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
32976 Rename uc_pad to __glibc_reserved1.
32977 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
32978 undefine further down.
32979 (ucontext_t): Use __ctx with uc_flags.
32980 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
32982 (ucontext_t): Use __ctx with uc_flags.
32983 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
32984 __ctx with uc_flags.
32985 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
32986 (ucontext_t): Use __ctx with uc_flags.
32987 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
32988 __ctx with uc_flags.
32990 2017-08-09 Florian Weimer <fweimer@redhat.com>
32993 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
32994 before early return.
32996 2017-08-09 Andreas Schwab <schwab@suse.de>
32999 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
33003 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
33004 tst-compat-forwarder.
33005 (modules-names): Add tst-compat-forwarder-mod.
33006 ($(objpfx)tst-compat-forwarder): Depend on
33007 $(objpfx)tst-compat-forwarder-mod.so.
33008 * nptl/tst-compat-forwarder.c: New file.
33009 * nptl/tst-compat-forwarder-mod.c: New file.
33011 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
33013 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
33016 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
33017 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
33019 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
33021 (__libc_ifunc_impl_list): Add __memcpy_falkor.
33022 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
33023 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
33024 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
33026 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
33029 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33032 * manual/setjmp.texi (getcontex): Document uc_stack value
33033 compatibility differences.
33035 2017-08-08 Joseph Myers <joseph@codesourcery.com>
33037 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
33038 (old_malloc_hook): Likewise.
33039 (old_memalign_hook): Likewise.
33040 (old_realloc_hook): Likewise.
33041 (struct hdr): Likewise.
33043 (freehook): Likewise.
33044 (mallochook): Likewise.
33045 (memalignhook): Likewise.
33046 (reallochook): Likewise.
33047 (mprobe): Likewise.
33048 * malloc/mtrace.c (mallwatch): Likewise.
33049 (tr_old_free_hook): Likewise.
33050 (tr_old_malloc_hook): Likewise.
33051 (tr_old_realloc_hook): Likewise.
33052 (tr_old_memalign_hook): Likewise.
33053 (tr_where): Likewise.
33054 (lock_and_info): Likewise.
33055 (tr_freehook): Likewise.
33056 (tr_mallochook): Likewise.
33057 (tr_reallochook): Likewise.
33058 (tr_memalignhook): Likewise.
33059 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
33060 * misc/mmap.c (__mmap): Likewise.
33061 * misc/mmap64.c (__mmap64): Likewise.
33062 * misc/mprotect.c (__mprotect): Likewise.
33063 * misc/msync.c (msync): Likewise.
33064 * misc/munmap.c (__munmap): Likewise.
33065 * posix/posix_madvise.c (posix_madvise): Likewise.
33066 * socket/send.c (__send): Likewise.
33067 * socket/sendto.c (__sendto): Likewise.
33068 * socket/setsockopt.c (__setsockopt): Likewise.
33069 * string/memcmp.c (__ptr_t): Remove macro.
33070 (MEMCMP): Use void * instead of ptr_t.
33071 * string/memrchr.c (__ptr_t): Remove macro.
33072 (__memrchr): Use void * instead of ptr_t.
33073 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
33074 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
33075 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
33076 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
33077 * sysdeps/mach/msync.c (msync): Likewise.
33078 * sysdeps/mach/munmap.c (__munmap): Likewise.
33079 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
33081 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33082 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
33083 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
33084 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
33085 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
33086 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
33087 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
33088 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
33090 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
33091 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
33092 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
33093 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
33094 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
33095 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
33096 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
33097 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
33098 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
33100 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
33101 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
33102 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
33103 (MEMCMP): Use void * instead of ptr_t.
33104 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
33105 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
33107 2017-08-08 Florian Weimer <fweimer@redhat.com>
33109 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
33112 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
33115 * csu/libc-tls.c: Include <startup.h> first.
33116 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
33117 * elf/dl-tunables.c: Include <startup.h> first.
33118 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
33119 * sysdeps/generic/startup.h: New file.
33120 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
33121 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
33122 (I386_USE_SYSENTER): New. Defined to 0.
33124 2017-08-08 Andreas Schwab <schwab@suse.de>
33127 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
33128 * nptl/pt-system.c (system): Likewise.
33130 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33133 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
33135 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
33136 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
33137 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
33138 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
33139 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
33140 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
33141 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
33143 2017-08-07 Joseph Myers <joseph@codesourcery.com>
33146 * bits/sigaction.h (struct sigaction): Define sa_handler and
33147 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
33148 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33149 [__USE_XOPEN_EXTENDED].
33150 (SA_RESTART): Likewise.
33151 (SA_NODEFER): Likewise.
33152 (SA_RESETHAND): Likewise.
33153 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
33154 (struct sigaction): Define sa_handler and sa_sigaction using union
33155 also for [__USE_XOPEN_EXTENDED].
33156 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33157 [__USE_XOPEN_EXTENDED].
33158 (SA_RESTART): Likewise.
33159 (SA_NODEFER): Likewise.
33160 (SA_RESETHAND): Likewise.
33161 * sysdeps/unix/sysv/linux/bits/sigaction.h
33162 (struct sigaction): Define sa_handler and sa_sigaction using union
33163 also for [__USE_XOPEN_EXTENDED].
33164 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33165 [__USE_XOPEN_EXTENDED].
33166 (SA_RESTART): Likewise.
33167 (SA_NODEFER): Likewise.
33168 (SA_RESETHAND): Likewise.
33169 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
33170 (struct sigaction): Define sa_handler and sa_sigaction using union
33171 also for [__USE_XOPEN_EXTENDED].
33172 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33173 [__USE_XOPEN_EXTENDED].
33174 (SA_RESTART): Likewise.
33175 (SA_NODEFER): Likewise.
33176 (SA_RESETHAND): Likewise.
33177 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
33178 (struct sigaction): Define sa_handler and sa_sigaction using union
33179 also for [__USE_XOPEN_EXTENDED].
33180 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33181 [__USE_XOPEN_EXTENDED].
33182 (SA_RESTART): Likewise.
33183 (SA_NODEFER): Likewise.
33184 (SA_RESETHAND): Likewise.
33185 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
33186 (struct sigaction): Define sa_handler and sa_sigaction using union
33187 also for [__USE_XOPEN_EXTENDED].
33188 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33189 [__USE_XOPEN_EXTENDED].
33190 (SA_RESTART): Likewise.
33191 (SA_NODEFER): Likewise.
33192 (SA_RESETHAND): Likewise.
33193 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
33194 (struct sigaction): Define sa_handler and sa_sigaction using union
33195 also for [__USE_XOPEN_EXTENDED].
33196 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33197 [__USE_XOPEN_EXTENDED].
33198 (SA_RESTART): Likewise.
33199 (SA_NODEFER): Likewise.
33200 (SA_RESETHAND): Likewise.
33201 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
33202 (struct sigaction): Define sa_handler and sa_sigaction using union
33203 also for [__USE_XOPEN_EXTENDED].
33204 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33205 [__USE_XOPEN_EXTENDED].
33206 (SA_RESTART): Likewise.
33207 (SA_NODEFER): Likewise. Define directly rather than as alias.
33208 (SA_RESETHAND): Likewise.
33209 (SA_INTERRUPT): Define only for [__USE_MISC].
33210 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
33211 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
33213 (SA_STACK): Define only for [__USE_MISC].
33214 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
33215 (struct sigaction): Define sa_handler and sa_sigaction using union
33216 also for [__USE_XOPEN_EXTENDED].
33217 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33218 [__USE_XOPEN_EXTENDED].
33219 (SA_RESTART): Likewise.
33220 (SA_NODEFER): Likewise.
33221 (SA_RESETHAND): Likewise.
33222 (SA_NOPTRACE): Define only for [__USE_MISC].
33224 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
33225 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
33226 (struct catalog_info): Likewise.
33227 * inet/htontest.c (lo): Likewise.
33229 * inet/inet_lnaof.c (inet_lnaof): Likewise.
33230 * inet/inet_net.c (inet_network): Likewise.
33231 * inet/inet_netof.c (inet_netof): Likewise.
33232 * inet/rcmd.c (__ivaliduser): Likewise.
33233 (iruserok): Likewise.
33234 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
33235 * locale/programs/locale-spec.c (locale_special): Likewise.
33236 * nis/nis_findserv.c (struct findserv_req): Likewise.
33237 (__nis_findfastest_with_timeout): Likewise.
33238 * nss/test-netdb.c (test_network): Likewise.
33239 * resolv/inet_neta.c (inet_neta): Likewise.
33240 * resolv/ns_date.c (ns_datetosecs): Likewise.
33241 (SECS_PER_DAY): Likewise.
33242 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
33244 * resolv/res_comp.c (__putlong): Likewise.
33245 (__putshort): Likewise.
33246 (_getlong): Likewise.
33247 (_getshort): Likewise.
33248 * resolv/res_debug.c (p_time): Likewise.
33249 (precsize_ntoa): Likewise.
33250 (precsize_aton): Likewise.
33251 (latlon2ul): Likewise.
33252 (loc_aton): Likewise.
33253 (loc_ntoa): Likewise.
33254 * resolv/res_hconf.c (struct netaddr): Likewise.
33255 (_res_hconf_reorder_addrs): Likewise.
33256 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
33257 (clnttcp_control): Likewise.
33258 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33259 (clntudp_control): Likewise.
33260 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
33261 (clntunix_control): Likewise.
33262 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
33263 * sunrpc/rpc/auth.h (union des_block): Likewise.
33264 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
33265 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
33266 (xdrrec_create): Likewise.
33267 (xdrrec_endofrecord): Likewise.
33268 (flush_out): Likewise.
33269 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
33270 (xdrstdio_putlong): Likewise.
33271 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
33274 * misc/sys/cdefs.h (__long_double_t): Remove.
33275 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
33276 instead of __long_double_t,
33277 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
33279 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
33281 * benchtests/scripts/compare_strings.py: Avoid display error when
33282 running on a text terminal.
33284 * benchtests/scripts/compare_strings.py (main): Add an
33285 optional -base option.
33286 (process_results): New argument base_func.
33288 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
33290 * benchtests/bench-memcpy-large.c (test_name): Likewise.
33291 * benchtests/bench-memcpy-random.c (test_name): Likewise.
33293 2017-08-07 Andreas Schwab <schwab@suse.de>
33295 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
33296 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
33297 * intl/Makefile ($(objpfx)tst-gettext.out)
33298 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
33299 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
33300 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
33301 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
33302 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
33303 * posix/Makefile ($(objpfx)globtest.out)
33304 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
33305 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
33306 ($(objpfx)tst-printf.out): Likewise.
33307 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
33308 ($(objpfx)tst-setcontext3.out): Likewise.
33310 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
33312 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33313 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
33314 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
33315 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
33316 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
33318 (CFLAGS-doasin-fma.c): New.
33319 (CFLAGS-dosincos-fma.c): Likewise.
33320 (CFLAGS-e_asin-fma.c): Likewise.
33321 (CFLAGS-e_atan2-fma.c): Likewise.
33322 (CFLAGS-e_exp-fma.c): Likewise.
33323 (CFLAGS-e_log-fma.c): Likewise.
33324 (CFLAGS-e_pow-fma.c): Likewise.
33325 (CFLAGS-halfulp-fma.c): Likewise.
33326 (CFLAGS-mpa-fma.c): Likewise.
33327 (CFLAGS-mpatan-fma.c): Likewise.
33328 (CFLAGS-mpatan2-fma.c): Likewise.
33329 (CFLAGS-mpexp-fma.c): Likewise.
33330 (CFLAGS-mplog-fma.c): Likewise.
33331 (CFLAGS-mpsqrt-fma.c): Likewise.
33332 (CFLAGS-mptan-fma.c): Likewise.
33333 (CFLAGS-s_atan-fma.c): Likewise.
33334 (CFLAGS-sincos32-fma.c): Likewise.
33335 (CFLAGS-slowexp-fma.c): Likewise.
33336 (CFLAGS-slowpow-fma.c): Likewise.
33337 (CFLAGS-s_sin-fma.c): Likewise.
33338 (CFLAGS-s_tan-fma.c): Likewise.
33339 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
33340 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
33341 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
33342 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
33343 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
33344 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
33345 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
33346 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
33347 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
33348 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
33349 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
33350 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
33351 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
33352 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
33353 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
33354 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
33355 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
33356 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
33357 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
33358 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
33359 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
33360 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
33361 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
33362 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
33363 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33364 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33365 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33366 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
33367 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33368 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33369 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33371 2017-08-04 Joseph Myers <joseph@codesourcery.com>
33373 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
33374 (min_of_type_f): New macro.
33375 (min_of_type_): Likewise.
33376 (min_of_type_l): Likewise.
33377 (min_of_type_f128): Likewise.
33378 (min_of_type): Define using __MATH_TG and taking an expression
33380 (math_check_force_underflow): Pass expression instead of type to
33382 (math_check_force_underflow_nonneg): Likewise.
33384 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33386 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
33387 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
33388 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
33390 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33392 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33393 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
33394 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
33395 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
33396 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
33397 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
33398 memcpy_chk-nonshared, mempcpy_chk-nonshared,
33399 memmove_chk-nonshared and memset_chk-nonshared
33400 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
33401 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
33402 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
33403 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
33404 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
33405 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
33406 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
33407 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
33408 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
33409 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
33410 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
33411 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
33412 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
33413 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
33414 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
33415 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
33416 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
33417 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
33418 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
33419 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
33420 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
33421 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
33422 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
33423 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
33424 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
33425 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
33426 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
33427 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
33428 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
33429 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
33430 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
33431 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
33432 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
33433 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
33434 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
33435 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
33436 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
33437 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
33438 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
33439 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
33440 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
33441 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
33442 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
33443 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
33444 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
33445 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
33446 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
33447 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
33448 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
33449 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
33450 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
33451 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
33452 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
33453 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
33454 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
33455 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
33456 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
33457 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
33458 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
33459 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
33460 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
33461 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
33462 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
33463 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
33464 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
33465 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
33466 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
33467 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
33468 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
33469 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
33470 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
33471 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33472 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33473 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33474 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33475 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33476 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33477 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33478 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33479 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33480 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33481 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33482 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33483 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33484 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33485 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33486 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33487 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33488 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33489 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33490 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33491 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33492 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33493 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33494 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33495 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33496 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33497 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33498 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33499 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33500 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33501 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33502 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33503 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33504 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33505 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33506 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33507 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33509 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33511 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
33512 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
33513 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
33514 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
33515 svml_d_log2_core-sse2, svml_d_log4_core-sse,
33516 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
33517 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
33518 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
33519 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
33520 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
33521 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
33522 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
33523 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
33524 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
33525 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
33526 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
33527 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
33528 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
33529 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
33530 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
33531 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
33532 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
33533 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
33534 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
33535 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
33536 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
33537 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
33538 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
33539 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
33540 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
33541 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
33542 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
33543 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
33544 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
33545 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
33546 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
33547 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
33548 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
33549 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
33550 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
33551 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
33552 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
33553 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
33554 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
33555 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
33556 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
33557 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
33558 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
33559 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
33560 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
33561 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
33562 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
33563 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
33564 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
33565 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
33566 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
33567 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
33568 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
33569 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
33571 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
33572 Don't include <sysdep.h> nor <init-arch.h>.
33573 (_ZGVbN2v_cos): Removed.
33574 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
33576 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
33577 Don't include <sysdep.h> nor <init-arch.h>.
33578 (_ZGVdN4v_cos): Removed.
33579 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
33581 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
33582 Don't include <sysdep.h> nor <init-arch.h>.
33583 (_ZGVeN8v_cos): Removed.
33584 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
33586 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
33587 Don't include <sysdep.h> nor <init-arch.h>.
33588 (_ZGVbN2v_exp): Removed.
33589 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
33591 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
33592 Don't include <sysdep.h> nor <init-arch.h>.
33593 (_ZGVdN4v_exp): Removed.
33594 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
33596 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
33597 Don't include <sysdep.h> nor <init-arch.h>.
33598 (_ZGVeN8v_exp): Removed.
33599 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
33601 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
33602 Don't include <sysdep.h> nor <init-arch.h>.
33603 (_ZGVbN2v_log): Removed.
33604 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
33606 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
33607 Don't include <sysdep.h> nor <init-arch.h>.
33608 (_ZGVdN4v_log): Removed.
33609 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
33611 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
33612 Don't include <sysdep.h> nor <init-arch.h>.
33613 (_ZGVeN8v_log): Removed.
33614 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
33616 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
33617 Don't include <sysdep.h> nor <init-arch.h>.
33618 (_ZGVbN2vv_pow): Removed.
33619 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
33621 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
33622 Don't include <sysdep.h> nor <init-arch.h>.
33623 (_ZGVdN4vv_pow): Removed.
33624 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
33626 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
33627 Don't include <sysdep.h> nor <init-arch.h>.
33628 (_ZGVeN8vv_pow): Removed.
33629 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
33631 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
33632 Don't include <sysdep.h> nor <init-arch.h>.
33633 (_ZGVbN2v_sin): Removed.
33634 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
33636 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
33637 Don't include <sysdep.h> nor <init-arch.h>.
33638 (_ZGVbN4v_sin): Removed.
33639 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
33641 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
33642 Don't include <sysdep.h> nor <init-arch.h>.
33643 (_ZGVbN8v_sin): Removed.
33644 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
33646 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
33647 Don't include <sysdep.h> nor <init-arch.h>.
33648 (_ZGVbN2vvv_sincos): Removed.
33649 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
33651 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
33652 Don't include <sysdep.h> nor <init-arch.h>.
33653 (_ZGVdN4vvv_sincos): Removed.
33654 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
33656 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
33657 Don't include <sysdep.h> nor <init-arch.h>.
33658 (_ZGVeN8vvv_sincos): Removed.
33659 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
33661 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
33662 Don't include <sysdep.h> nor <init-arch.h>.
33663 (_ZGVeN16v_cosf): Removed.
33664 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
33666 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
33667 Don't include <sysdep.h> nor <init-arch.h>.
33668 (_ZGVbN4v_cosf): Removed.
33669 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
33671 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
33672 Don't include <sysdep.h> nor <init-arch.h>.
33673 (_ZGVdN8v_cosf): Removed.
33674 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
33676 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
33677 Don't include <sysdep.h> nor <init-arch.h>.
33678 (_ZGVeN16v_expf): Removed.
33679 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
33681 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
33682 Don't include <sysdep.h> nor <init-arch.h>.
33683 (_ZGVbN4v_expf): Removed.
33684 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
33686 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
33687 Don't include <sysdep.h> nor <init-arch.h>.
33688 (_ZGVdN8v_expf): Removed.
33689 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
33691 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
33692 Don't include <sysdep.h> nor <init-arch.h>.
33693 (_ZGVeN16v_logf): Removed.
33694 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
33696 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
33697 Don't include <sysdep.h> nor <init-arch.h>.
33698 (_ZGVbN4v_logf): Removed.
33699 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
33701 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
33702 Don't include <sysdep.h> nor <init-arch.h>.
33703 (_ZGVdN8v_logf): Removed.
33704 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
33706 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
33707 Don't include <sysdep.h> nor <init-arch.h>.
33708 (_ZGVeN16vv_powf): Removed.
33709 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
33711 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
33712 Don't include <sysdep.h> nor <init-arch.h>.
33713 (_ZGVbN4vv_powf): Removed.
33714 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
33716 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
33717 Don't include <sysdep.h> nor <init-arch.h>.
33718 (_ZGVdN8vv_powf): Removed.
33719 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
33721 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
33722 Don't include <sysdep.h> nor <init-arch.h>.
33723 (_ZGVeN16vvv_sincosf): Removed.
33724 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
33726 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
33727 Don't include <sysdep.h> nor <init-arch.h>.
33728 (_ZGVbN4vvv_sincosf): Removed.
33729 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
33731 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
33732 Don't include <sysdep.h> nor <init-arch.h>.
33733 (_ZGVdN8vvv_sincosf): Removed.
33734 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
33736 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
33737 Don't include <sysdep.h> nor <init-arch.h>.
33738 (_ZGVeN16v_sinf): Removed.
33739 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
33741 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
33742 Don't include <sysdep.h> nor <init-arch.h>.
33743 (_ZGVbN4v_sinf): Removed.
33744 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
33746 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
33747 Don't include <sysdep.h> nor <init-arch.h>.
33748 (_ZGVdN8v_sinf): Removed.
33750 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33752 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33753 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
33754 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
33755 s_rint-sse4_1 and s_rintf-sse4_1.
33756 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
33757 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
33758 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
33759 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
33760 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
33761 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
33762 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
33763 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
33764 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
33765 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
33766 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
33767 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33769 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
33770 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
33771 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33772 (__ceilf): Removed.
33773 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
33774 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
33775 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33776 (__floor): Removed.
33777 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
33778 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
33779 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33780 (__floorf): Removed.
33781 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
33782 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
33783 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33784 (__nearbyint): Removed.
33785 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
33786 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
33787 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33788 (__nearbyintf): Removed.
33789 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
33790 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
33791 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33793 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
33794 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
33795 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33796 (__rintf): Removed.
33798 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33800 * sysdeps/i386/start.S (_start): Check Check PIC instead of
33801 SHARED. Avoid dynamic relocation against main in static PIE.
33803 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33806 * elf/Makefile (CFLAGS-tst-prelink.c): New.
33807 (LDFLAGS-tst-prelink): Likewise.
33809 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33811 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
33812 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
33813 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
33814 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
33815 (INTERNAL_SYSCALL_NCS): Likewise.
33816 (LOADARGS_1): Likewise.
33817 (LOADARGS_5): Likewise.
33818 (RESTOREARGS_1): Likewise.
33819 (RESTOREARGS_5): Likewise.
33821 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33823 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
33824 (MEMPCPY_SYMBOL): Likewise.
33825 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
33826 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
33827 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
33829 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33830 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
33832 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
33833 (__hidden_ver1): Don't use in libc.a.
33834 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
33835 (__mempcpy): Don't create a weak alias in libc.a.
33836 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
33838 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
33839 (__hidden_ver1): Don't use in libc.a.
33841 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33843 * config.make.in (have-insert): New.
33844 * configure.ac (libc_cv_insert): New. Set to yes if linker
33845 supports INSERT in linker script.
33846 (AC_SUBST(libc_cv_insert): New.
33847 * configure: Regenerated.
33848 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
33849 if $(have-insert) == yes.
33851 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33853 * elf/Makefile (tests): Add vismain only if
33854 $(have-protected-data) == yes.
33855 (tests-pie): Likewise.
33857 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33860 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
33861 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
33863 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33866 * sysdeps/i386/i586/memset.S
33867 (__memset_zero_constant_len_parameter): Removed.
33868 * sysdeps/i386/i686/memset.S
33869 (__memset_zero_constant_len_parameter): Likewise.
33870 * sysdeps/i386/i686/multiarch/memset_chk.S
33871 (__memset_zero_constant_len_parameter): Likewise.
33872 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
33875 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
33877 * stdlib/getentropy.c (getentropy): Change return type to int.
33879 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
33881 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
33883 2017-08-03 Joseph Myers <joseph@codesourcery.com>
33885 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
33887 * math/s_nexttowardf.c (__nexttowardf): Likewise.
33888 * sysdeps/generic/math_private.h (ieee_double_shape_type):
33890 (ieee_float_shape_type): Likewise.
33891 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
33892 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
33893 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
33894 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33895 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
33896 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
33897 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
33898 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
33899 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
33901 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
33902 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
33903 (__ieee754_yn): Likewise.
33904 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33905 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33906 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
33908 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
33909 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
33910 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
33911 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
33912 (__erfc): Likewise.
33913 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
33914 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
33915 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
33916 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
33917 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
33918 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
33920 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
33921 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
33922 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
33923 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
33924 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
33925 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
33926 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
33927 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
33928 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
33929 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
33930 (__issignaling): Likewise.
33931 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
33932 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
33933 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
33935 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33936 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
33937 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
33938 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
33940 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
33942 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
33943 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
33944 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
33945 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
33946 (__erfcf): Likewise.
33947 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
33948 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
33949 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
33950 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
33952 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
33953 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
33955 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
33956 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
33957 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
33958 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
33959 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
33960 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33961 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
33962 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
33964 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
33966 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
33968 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
33969 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
33971 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
33973 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
33974 (__ieee754_ynl): Likewise.
33975 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
33976 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
33978 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
33980 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
33981 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
33982 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33984 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
33985 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
33986 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
33987 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
33988 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
33989 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
33990 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
33991 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
33993 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
33994 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
33995 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
33997 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
33998 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
33999 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
34000 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
34001 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
34002 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34004 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
34006 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34008 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34010 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
34011 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
34012 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34013 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
34014 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
34015 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
34016 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
34018 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
34020 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
34021 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34023 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
34024 (__ieee754_remainderl): Likewise.
34025 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34026 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34027 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
34028 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
34030 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
34031 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34033 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
34034 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
34035 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
34036 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
34037 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
34038 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
34040 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
34041 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
34042 (__ieee754_y0l): Likewise.
34045 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
34046 (__ieee754_y1l): Likewise.
34049 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34050 (__ieee754_ynl): Likewise.
34051 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
34052 (__ieee754_lgammal_r): Likewise.
34053 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
34055 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
34056 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
34057 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
34058 (__erfcl): Likewise.
34059 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
34060 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
34062 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
34063 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
34064 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
34065 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
34066 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
34067 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34068 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34070 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
34071 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34072 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
34073 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
34074 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34076 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
34077 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
34079 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
34080 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
34081 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
34082 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
34083 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
34085 2017-08-03 Florian Weimer <fweimer@redhat.com>
34088 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
34089 on memory allocation failure.
34091 2017-08-03 Alan Modra <amodra@gmail.com>
34093 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
34094 tst-tlsopt-powerpc.c with function name change and no test harness.
34095 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
34096 Call tls_get_addr_opt_test.
34097 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
34098 (modules-names): Add mod-tlsopt-powerpc.
34099 (mod-tlsopt-powerpc.so-no-z-defs): Define.
34100 (tst-tlsopt-powerpc): Depend on .so.
34101 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
34102 define. Expand use in TLS_GD and TLS_LD.
34104 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34106 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
34108 * sysdeps/posix/shm_open.c: Include <pthread.h>.
34110 2017-08-02 Joseph Myers <joseph@codesourcery.com>
34113 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
34114 comparing size with that of double.
34115 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34116 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34117 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34118 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34119 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34120 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
34121 unsigned __int128 types.
34123 2017-08-02 Steve Ellcey <sellcey@cavium.com>
34125 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
34126 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
34127 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
34128 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
34129 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
34131 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34133 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
34135 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34137 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
34139 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
34140 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34141 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34142 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34143 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34144 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34145 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34147 2017-08-02 Joseph Myers <joseph@codesourcery.com>
34150 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
34151 bit-field expressions passed to sizeof or typeof.
34152 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34153 (__TGMATH_F128): Likewise.
34154 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34155 (__TGMATH_CF128): Likewise.
34156 (__TGMATH_UNARY_REAL_ONLY): Likewise.
34157 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
34158 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
34159 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
34160 (__TGMATH_BINARY_REAL_ONLY): Likewise.
34161 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34162 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34163 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34164 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34165 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
34166 (__TGMATH_UNARY_REAL_IMAG): Likewise.
34167 (__TGMATH_UNARY_IMAG): Likewise.
34168 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
34169 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34170 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
34172 (define_vars_for_type): Handle bit_field type specially.
34173 (Tests.__init__): Declare structure with bit-field element.
34175 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34178 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
34179 (MEMCPY_CHK): Define only if SHARED is defined.
34180 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
34182 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
34185 See ChangeLog.18 for earlier changes.