1 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
4 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
5 from `-Wmaybe-uninitialized'.
6 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
8 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
12 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
13 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
14 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
15 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
16 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
17 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
18 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
19 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
21 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
23 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
25 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
27 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
29 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
31 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
33 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
35 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
36 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
37 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
38 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
40 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
42 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
43 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
44 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
46 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
48 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
49 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
51 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
52 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
53 s_ceilf-power5+, and s_ceilf-ppc64.
54 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
56 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
57 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
58 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
59 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
60 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
61 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
62 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
64 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
65 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
66 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
68 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
70 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
71 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
72 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
73 (sem_getvalue): Likewise.
75 2019-04-26 Florian Weimer <fweimer@redhat.com>
77 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
78 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
80 2019-04-26 Florian Weimer <fweimer@redhat.com>
82 Makeconfig: Move -Wl,-rpath-link options before library references.
83 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
84 (link-libc): Remove $(link-libc-rpath-link).
86 2019-04-25 Florian Weimer <fweimer@redhat.com>
88 * Makeconfig (+link-pie-before-libc): Remove $(CC).
89 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
90 (+link-static-before-libc): Remove $(CC).
91 (+link-static, +link-static-tests): Add $(CC).
92 (+link-before-libc): Remove $(CC).
93 (+link, +link-pie, +link-pie-printers): Add $(CC).
95 2019-04-26 Florian Weimer <fweimer@redhat.com>
97 * Makeconfig (+link-pie-before-libc): Remove $(CC).
98 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
99 (+link-static-before-libc): Remove $(CC).
100 (+link-static, +link-static-tests): Add $(CC).
101 (+link-before-libc): Remove $(CC).
102 (+link, +link-pie, +link-pie-printers): Add $(CC).
104 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
107 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
109 2019-04-25 Florian Weimer <fweimer@redhat.com>
111 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
112 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
113 (bench-link-targets): New variable.
114 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
116 2019-04-25 Florian Weimer <fweimer@redhat.com>
118 Also enable BIND_NOW for programs if --enable-bind-now.
119 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
120 (+link-pie): Use $(link-extra-flags).
121 (+link-static): Likewise.
122 [! $(build-pie-default)] (+link): Likewise.
123 * manual/install.texi (Configuring and compiling): Update
124 --enable-bind-now description.
125 * INSTALL: Regenerated.
127 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
129 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
130 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
132 2019-04-24 Mike Frysinger <vapier@gentoo.org>
135 * malloc/Makefile (others): Add memusagestat.
136 ($(objpfx)memusagestat): Delete rule.
137 (LDLIBS-memusagestat): New variable.
139 2019-04-24 Florian Weimer <fweimer@redhat.com>
141 * locale/Makefile (tests-special): Guard setting by
142 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
143 to run while cross-compiling.
145 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
148 * elf/Makefile (tests-container): Add tst-pldd.
149 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
150 (E(find_maps)): Avoid use alloca, use default read file operations
151 instead of explicit LFS names, and fix infinite loop.
152 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
153 (get_process_info): Use _Static_assert instead of assert, use default
154 directory operations instead of explicit LFS names, and free some
156 * elf/tst-pldd.c: New file.
158 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
160 * malloc/arena.c (do_set_mallopt_check): Removed.
162 2019-04-23 Florian Weimer <fweimer@redhat.com>
164 locale: Add LOCPATH diagnostics to the locale program.
165 * locale/programs/locale.c (setlocale_failed): New variable.
166 (try_setlocale): New function.
167 (quote_string): Likewise.
168 (setlocale_diagnostics): Likewise.
169 (main): Call try_setlocale instead of setlocale. Call
170 setlocale_diagnostics.
171 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
172 (tst-locale-locpath.out): New target.
173 * locale/tst-locale-locpath.sh: New file.
175 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
177 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
180 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
183 * malloc/hooks.c (malloc_check, realloc_check): Use
184 __builtin_add_overflow on overflow check and adapt to
185 checked_request2size change.
186 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
187 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
188 allocation size to PTRDIFF_MAX.
189 (REQUEST_OUT_OF_RANGE): Remove macro.
190 (checked_request2size): Change to inline function and limit maximum
191 requested size to PTRDIFF_MAX.
192 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
193 maximum allocation size to PTRDIFF_MAX.
194 (_mid_memalign): Use _int_memalign call for overflow check.
195 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
196 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
197 limit maximum requested size to PTRDIFF_MAX.
198 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
199 valloc, pvalloc): Add __attribute_alloc_size__.
200 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
201 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
202 larger than PTRDIFF_MAX.
203 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
204 around tests of malloc with negative sizes.
205 * malloc/tst-posix_memalign.c (do_test): Likewise.
206 * malloc/tst-pvalloc.c (do_test): Likewise.
207 * malloc/tst-valloc.c (do_test): Likewise.
208 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
209 with resulting size allocation larger than PTRDIFF_MAX with
211 (reallocarray_nowarn): New function.
212 * NEWS: Mention the malloc function semantic change.
214 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
216 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
217 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
219 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
220 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
221 * sysdeps/powerpc/fpu/s_fma.c: New file.
222 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
224 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
225 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
227 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
228 the magic flag store.
229 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
231 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
233 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
234 Remove rt_sigreturn call.
236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
237 Remove rt_sigreturn call.
238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
243 * support/Makefile (libsupport-routines): Add support_subprocess,
244 xposix_spawn, xposix_spawn_file_actions_addclose, and
245 xposix_spawn_file_actions_adddup2.
246 (tst-support_capture_subprocess-ARGS): New rule.
247 * support/capture_subprocess.h (support_capture_subprogram): New
249 * support/support_capture_subprocess.c (support_capture_subprocess):
250 Refactor to use support_subprocess and support_capture_poll.
251 (support_capture_subprogram): New function.
252 * support/tst-support_capture_subprocess.c (write_mode_to_str,
253 str_to_write_mode, test_common, parse_int, handle_restart,
254 do_subprocess, do_subprogram, do_multiple_tests): New functions.
255 (do_test): Add support_capture_subprogram tests.
256 * support/subprocess.h: New file.
257 * support/support_subprocess.c: Likewise.
258 * support/xposix_spawn.c: Likewise.
259 * support/xposix_spawn_file_actions_addclose.c: Likewise.
260 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
261 * support/xspawn.h: Likewise.
263 2019-04-17 Mike Gerow <gerow@google.com>
265 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
268 2019-04-11 Florian Weimer <fweimer@redhat.com>
270 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
271 domain with empty string.
272 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
274 2019-04-11 Florian Weimer <fweimer@redhat.com>
276 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
278 (alloc_buffer_next): Change return type to non-const. Update
281 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
283 * manual/time.texi (Formatting Calendar Time): Add missing percent
284 sign to conversion specifier.
286 2019-04-09 Carlos O'Donell <carlos@redhat.com>
287 Kwok Cheung Yeung <kcy@codesourcery.com>
290 * malloc/mtrace.c: Define prototypes for all hooks.
291 (set_default_hooks): New function.
292 (set_trace_hooks): Likewise.
293 (save_default_hooks): Likewise.
294 (tr_freehook): Use new s*_hooks functions.
295 (tr_mallochook): Likewise.
296 (tr_reallochook): Likewise.
297 (tr_memalignhook): Likewise.
299 (muntrace): Likewise.
301 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
303 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
304 (generic_stpcpy): New function.
305 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
306 (generic_stpncpy): New function.
307 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
308 (generic_strcat): New function.
309 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
310 (generic_strcpy): New function.
311 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
312 (STUPID_STRNCAT): Remove function.
313 (generic_strncat): New function.
314 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
315 (STUPID_STRNCPY): Remove function.
316 (generic_strncpy): New function.
317 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
318 (generic_strnlen): New function.
319 (memchr_strnlen): New function.
320 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
321 (memchr_strlen): Likewise.
323 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
325 * benchtests/bench-strstr.c (input): Add realistic input text.
326 (stupid_strstr): Remove function.
327 (basic_strstr): Add function.
328 (twoway_strstr): Add function.
329 (do_one_test): Add result checking.
330 (do_test): Use new input text. Remove accidental early matches.
331 (test_main): Improve range of tests, reduce unaligned cases.
333 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
335 * benchtests/bench-memmem.c (simple_memmem): Remove function.
336 (basic_memmem): Add function.
337 (twoway_memmem): Add function.
339 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
341 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
342 * benchtests/bench-malloc-thread.c: Likewise.
343 * benchtests/bench-skeleton.c: Likewise.
344 * benchtests/bench-strtod.c: Likewise.
345 * benchtests/bench-timing.h: Likewise.
347 2019-04-08 Florian Weimer <fweimer@redhat.com>
349 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
351 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
352 RES_INSECURE2 security checks.
353 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
354 RES_INSECURE2 handling.
356 2019-04-08 Florian Weimer <fweimer@redhat.com>
358 resolv: Remove support for RES_USE_INET6 and the inet6 option.
359 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
360 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
362 * resolv/Makefile (tests): Remove tst-res_use_inet6.
363 (tests-internal): Update justification for tst-resolv-res_init,
364 tst-resolv-res_init-thread.
365 (tst-res_use_inet6): Remove target.
366 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
367 * resolv/res_debug.c (p_option): Remove "inet6" support.
368 * resolv/res_init.c (res_setoptions): Likewise.
369 * resolv/res_use_inet6.h: Remove file.
370 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
372 (res_use_inet6): Always return false.
373 * resolv/resolv.h (RES_USE_INET6): Remove definition.
374 * resolv/resolv_context.h: Adjust file comment.
375 (struct resolv_context): Update comment on __next field.
376 (__resolv_context_put): Update comment.
377 * resolv/tst-res_use_inet6.c: Remove file.
378 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
380 (test_cases): Adjust test case.
381 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
382 (thread_byname2_af_inet6): Use old byname_inet6 code.
383 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
384 (gai): Remove do_inet6 argument.
385 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
386 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
387 (thread_gai_unspec_inet6): Remove functions.
388 (do_test): Adjust thread_funcs.
389 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
391 (gaih_inet): Do not disable RES_USE_INET6 flag.
393 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
395 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
396 and remove redundant code.
398 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
400 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
402 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
403 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
405 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
407 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
409 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
410 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
411 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
412 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
413 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
414 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
415 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
416 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
418 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
419 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
420 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
421 Remove wcsrchr optimizations.
422 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
424 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
427 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
429 * sysdeps/powerpc/power6/wcschr.c: Remove file.
430 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
432 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
434 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
436 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
437 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
438 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
439 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
440 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
441 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
442 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
443 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
445 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
446 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
447 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
448 Remove wcschr optimizations.
449 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
451 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
454 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
456 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
457 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
459 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
461 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
463 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
464 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
465 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
466 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
467 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
468 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
469 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
470 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
472 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
473 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
474 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
475 Remove wcscpy optimizations.
476 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
478 * include/loop_unroll.h: New file.
479 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
480 besides generic implementation.
482 2019-04-03 DJ Delorie <dj@redhat.com>
484 * time/tst-strftime3.c (tm_to_printed): Disable warning about
485 snprintf truncating output.
487 2019-04-02 DJ Delorie <dj@redhat.com>
489 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
492 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
495 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
497 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
498 (mkreftable): Add rules for the new Japanese era and the new dates.
500 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
501 Rafal Luzynski <digitalfreak@lingonborough.com>
503 * time/tst-strftime2.c (date_t): Explicitly define the type.
504 (dates): Use natural month and year numbers to express a date.
505 (is_before): New function to compare dates.
506 (mkreftable): Minor improvements to simplify maintenance.
507 (do_test): Reflect the changes in dates array.
510 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
511 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
512 * time/tst-strftime2.c (locales): Likewise.
513 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
514 2010-04-01, and 2011-04-01.
515 (mkreftable): Add rules for the new locales and the new dates.
517 2019-04-01 Carlos O'Donell <carlos@redhat.com>
519 * localedata/locales/ja_JP: Add comments to era entries.
521 2019-04-01 DJ Delorie <dj@redhat.com>
524 * time/strptime_l.c (%Ey): Fix fencepost error.
525 * time/tst-strftime3.c: New.
526 * time/Makefile (tests): Add tst-strftime3.
528 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
530 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
531 conditional branch to DIVBYZERO. Fix unwind info.
532 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
533 excb after conditional branch to $powerof2. Add missing unop
534 instructions and .align directives and reorder instructions to
537 2019-04-01 Richard Henderson <rth@twiddle.net>
539 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
541 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
544 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
546 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
547 $libc_cv_riscv_float_abi in `test' invocation.
548 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
550 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
552 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
554 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
556 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
557 (_GET_SI_FPSCR): Likewise.
558 (_SET_SI_FPSCR): Likewise.
560 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
562 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
564 (signbit): Use builtin for clang 3.3.
565 (isinf): Use builtin for clang 3.7.
567 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
569 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
571 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
573 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
576 2019-03-25 Mike Crowe <mac@mcrowe.com>
578 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
579 pthread_rwlock_timedrdlock with calls to
580 pthread_rwlock_timedwrlock to ensure that the latter is tested
581 too. Use new function name in diagnostic messages too.
583 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
584 (do_test) Use libsupport test macros rather than hand-coded
585 conditionals and error messages. Ensure that sem_init returns zero
586 rather than not -1. Use <support/test-driver.c> rather than
589 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
590 test macros rather than hand-coded conditionals and error messages.
591 Use <support/test-driver.c> rather than test-skeleton.c.
593 2019-03-25 Joseph Myers <joseph@codesourcery.com>
595 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
597 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
598 (NT_MIPS_MSA): Likewise.
600 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
602 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
603 * benchtests/README: Update description.
604 * benchtests/bench-timing.h: Default to hp-timing.
605 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
606 HP_TIMING_PRINT): Remove.
607 (HP_TIMING_NOW): Add generic implementation.
608 (hp_timing_t): Change to uint64_t.
610 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
612 * nptl/descr.h: Likewise.
613 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
614 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
615 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
616 Abstract hp-timing usage with RTLD_* macros.
617 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
618 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
619 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
620 HP_TIMING_NONAVAIL): Likewise.
621 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
623 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
624 HP_SMALL_TIMING_AVAIL): Likewise.
625 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
626 HP_SMALL_TIMING_AVAIL): Likewise.
627 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
628 HP_SMALL_TIMING_AVAIL): Likewise.
629 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
630 HP_SMALL_TIMING_AVAIL): Likewise.
631 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
633 * sysdeps/generic/hp-timing-common.h: Update comment with
634 HP_TIMING_AVAIL removal.
636 * include/random-bits.h: New file.
637 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
638 (__res_context_mkquery): Remove usage hp-timing usage and replace with
640 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
641 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
644 * include/libc-internal.h (__get_clockfreq): Remove prototype.
645 * rt/Makefile (clock-routines): Remove get_clockfreq.
646 * rt/get_clockfreq.c: Remove file.
647 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
648 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
649 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
650 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
651 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
653 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
654 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
655 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
656 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
657 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
659 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
660 pthread_clock_settime.
661 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
662 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
663 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
664 * elf/rtld.c (_dl_start_final): Likewise.
665 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
666 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
668 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
669 (_dl_cpuclock_offset): Remove.
670 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
671 cpuclock_offset_ununsed.
672 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
674 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
675 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
676 * nptl/pthread_clock_gettime.c: Remove file.
677 * nptl/pthread_clock_settime.c: Likewise.
678 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
679 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
680 and CLOCK_PROCESS_CPUTIME_ID support.
681 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
682 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
683 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
684 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
685 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
687 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
689 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
691 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
692 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
693 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
695 * sysdeps/s390/memmem-arch13.S: New file.
696 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
697 if it is only used as fallback.
698 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
699 * sysdeps/s390/multiarch/ifunc-impl-list.c
700 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
702 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
704 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
705 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
706 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
708 * sysdeps/s390/multiarch/ifunc-impl-list.c
709 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
710 * sysdeps/s390/strstr-arch13.S: New file.
711 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
712 if it is only used as fallback.
713 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
715 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
717 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
718 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
719 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
720 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
722 * sysdeps/s390/multiarch/ifunc-impl-list.c
723 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
724 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
725 S390_IS_ARCH13_MIE3): New defines.
727 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
729 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
730 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
731 * sysdeps/s390/configure.ac: Add checks for arch13 support.
732 * sysdeps/s390/configure: Regenerated.
734 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
736 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
737 Add vxe2, vxp, dflt, sort flags.
738 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
739 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
741 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
742 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
743 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
744 HWCAP_S390_DFLT): Define.
746 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
749 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
751 * locale/programs/ld-collate.c (collate_output): Likewise.
753 2019-03-21 DJ Delorie <dj@redhat.com>
756 * iconv/iconvconfig.c (write_output): Replace floating point math
757 with integer math to avoid imprecise results.
758 * locale/programs/ld-collate.c (collate_output): Likewise.
760 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
762 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
763 Add HWCAP_S390_VX and HWCAP_S390_VXE.
765 2019-03-20 mansayk <6688000@gmail.com>
768 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
769 (abday): Likewise, but remove the trailing dots.
771 2019-03-19 Joseph Myers <joseph@codesourcery.com>
773 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
775 (HWCAP_PACA): Likewise.
776 (HWCAP_PACG): Likewise.
777 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
779 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
781 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
783 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
786 2019-03-15 Joseph Myers <joseph@codesourcery.com>
788 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
790 (old_getpagesize): New syscall.
792 2019-03-15 Felix Yan <felixonmars@archlinux.org>
795 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
796 * localedata/locales/cmn_TW (era): Likewise.
797 * localedata/locales/hak_TW (era): Likewise.
798 * localedata/locales/lzh_TW (era): Likewise.
799 * localedata/locales/nan_TW (era): Likewise.
801 2019-03-14 Florian Weimer <fweimer@redhat.com>
803 Remove obsolete, never-implemented XSI STREAMS declarations.
804 * manual/terminal.texi (Allocation): Remove portability note and
806 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
808 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
809 * sysdeps/unix/inet/Subdirs (streams): Remove.
810 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
811 (conformtest-headers-UNIX98): Likewise.
812 (conformtest-headers-XOPEN2K): Likewise.
813 (conformtest-headers-POSIX2008): Likewise.
814 * posix/compat-streams.c: New file.
815 * posix/Makefile (routines): Add it.
816 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
817 getpmsg, isastream, putmsg, putpmsg.
818 (GLIBC_2.30): New section.
819 * bits/stropts.h: Remove file.
820 * bits/xtitypes.h: Likewise.
821 * conform/data/stropts.h-data: Likewise.
822 * include/stropts.h: Likewise.
823 * include/sys/stropts.h: Likewise.
824 * include/xtitypes.h: Likewise.
825 * streams/Makefile: Likewise.
826 * streams/fattach.c: Likewise.
827 * streams/fdetach.c: Likewise.
828 * streams/getmsg.c: Likewise.
829 * streams/getpmsg.c: Likewise.
830 * streams/isastream.c: Likewise.
831 * streams/putmsg.c: Likewise.
832 * streams/putpmsg.c: Likewise.
833 * streams/stropts.h: Likewise.
834 * streams/sys/stropts.h: Likewise.
835 * sysdeps/ia64/bits/xtitypes.h: Likewise.
836 * sysdeps/s390/bits/xtitypes.h: Likewise.
837 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
838 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
839 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
840 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
841 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
842 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
843 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
844 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
845 * sysdeps/x86/bits/xtitypes.h: Likewise.
847 2019-03-14 Florian Weimer <fweimer@redhat.com>
849 * nss/tst-nss-files-alias-truncated.c (do_test): Load
851 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
852 but not with libnss_files.
853 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
855 2019-03-14 Zack Weinberg <zackw@panix.com>
857 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
858 Specify encoding="utf-8" when opening headers to check.
860 2019-03-13 Joseph Myers <joseph@codesourcery.com>
862 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
864 (Context.checkout_tar): Handle variable major version for Linux
867 2019-03-13 Florian Weimer <fweimer@redhat.com>
870 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
872 2019-03-13 Zack Weinberg <zackw@panix.com>
874 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
876 * include/inttypes.h: Adjust to match.
877 * include/stdint.h: New wrapper.
879 2019-03-13 Zack Weinberg <zackw@panix.com>
881 * scripts/check-obsolete-constructs.py: New test script.
882 * scripts/check-installed-headers.sh: Remove tests for
883 obsolete typedefs, superseded by check-obsolete-constructs.py.
884 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
885 as a special test. Update commentary.
886 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
887 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
889 * posix/sys/types.h (__u_intN_t): Remove.
890 (u_int8_t): Typedef using __uint8_t.
891 (u_int16_t): Typedef using __uint16_t.
892 (u_int32_t): Typedef using __uint32_t.
893 (u_int64_t): Typedef using __uint64_t.
895 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
897 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
899 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
900 Ignore types other than AT_HWCAP.
901 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
902 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
904 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
905 in the case of falling back to generic output mechanism.
906 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
909 2019-03-12 Florian Weimer <fweimer@redhat.com>
911 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
913 2019-03-12 Florian Weimer <fweimer@redhat.com>
916 resolv: Enable full ICMP errors for UDP DNS sockets
917 * resolv/res_enable_icmp.c: New file.
918 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
919 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
920 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
923 2019-03-11 Mao Han <han_mao@c-sky.com>
925 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
926 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
928 2019-03-11 Mao Han <han_mao@c-sky.com>
930 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
931 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
932 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
934 2019-03-11 Mao Han <han_mao@c-sky.com>
936 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
938 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
941 2019-03-11 Mao Han <han_mao@c-sky.com>
943 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
944 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
947 2019-03-08 Mike FABIAN <mfabian@redhat.com>
950 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
951 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
953 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
954 * localedata/unicode-gen/PropList.txt: Likewise.
955 * localedata/unicode-gen/UnicodeData.txt: Likewise.
956 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
957 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
958 * localedata/charmaps/UTF-8: Regenerate.
959 * localedata/locales/i18n_ctype: Likewise.
960 * localedata/locales/tr_TR: Likewise.
961 * localedata/locales/translit_circle: Likewise.
962 * localedata/locales/translit_cjk_compat: Likewise.
963 * localedata/locales/translit_combining: Likewise.
964 * localedata/locales/translit_compat: Likewise.
965 * localedata/locales/translit_font: Likewise.
966 * localedata/locales/translit_fraction: Likewise.
968 2019-03-07 Joseph Myers <joseph@codesourcery.com>
970 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
971 than after operators.
972 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
973 (setitimer_locked): Likewise.
974 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
975 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
976 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
977 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
978 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
979 (PPC_CPU_SUPPORTED): Likewise.
980 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
981 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
982 (stat_overflow): Likewise.
983 (statfs_overflow): Likewise.
984 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
985 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
986 (eq_ttyname_r): Likewise.
987 (run_chroot_tests): Likewise.
989 2019-03-07 Florian Weimer <fweimer@redhat.com>
991 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
994 2019-03-07 Martin Liska <mliska@suse.cz>
996 * math/Makefile: Change location where math-vector-fortran.h is
998 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
999 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
1000 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
1001 * scripts/check-installed-headers.sh: Skip Fortran header files.
1002 * scripts/check-wrapper-headers.py: Likewise.
1004 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1006 * nptl/nptl-init.c (__have_futex_clock_realtime,
1007 __have_futex_clock_realtime): Remove definition.
1008 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
1009 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
1010 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
1011 __ASSUME_FUTEX_CLOCK_REALTIME support.
1012 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
1013 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1014 * sysdeps/unix/sysv/linux/kernel-features.h
1015 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
1016 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
1019 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1021 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
1022 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
1023 __GI___wcscpy and wcscpy.
1025 2019-03-04 Florian Weimer <fweimer@redhat.com>
1027 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
1029 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
1032 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
1034 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
1035 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1037 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1040 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
1041 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
1043 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1045 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
1047 (do_test): Likewise.
1048 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
1049 (do_test_call_varg): Likewise.
1050 (do_test_call_rarg): Likewise.
1051 * sysdeps/ieee754/ldbl-opt/Makefile
1052 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
1054 ($(objpfx)tst-nldbl-warn.c): New rule.
1055 ($(objpfx)tst-nldbl-error.c): Likewise.
1056 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
1059 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1062 * include/bits/error-ldbl.h: New file.
1063 * include/error.h: Include stdarg.h. Declare internal functions
1064 __error_internal and __error_at_line_internal.
1065 * misc/Makefile (headers): Add bits/error-ldbl.h.
1066 * misc/bits/error-ldbl.h: New file.
1067 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
1068 avoid the inclusion of bits/error.h.
1069 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
1070 and __nldbl_error_at_line.
1071 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
1072 (__nldbl_error, __ndlbl_error_at_line): New functions.
1073 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
1074 Redirect error and error_at_line.
1075 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1084 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1085 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1086 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1088 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1091 * include/bits/err-ldbl.h: New file.
1092 * include/err.h: Add prototypes for the internal functions:
1093 __vwarnx_internal and __vwarn_internal.
1094 * misc/Makefile (headers): Add bits/err-ldbl.h.
1095 * misc/bits/err-ldbl.h: New file.
1096 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
1097 defined, i.e.: when -mlong-double-64 is in use.
1098 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
1099 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
1100 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
1101 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
1102 (VA_CALL): New macro.
1103 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
1104 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
1106 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
1107 declare prototypes for the new functions.
1108 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1117 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1118 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1119 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1121 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1123 * sysdeps/ieee754/ldbl-opt/Makefile
1124 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
1125 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
1126 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
1128 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1131 * argp/Makefile (headers): Add bits/argp-ldbl.h.
1132 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
1133 * argp/bits/argp-ldbl.h: New file.
1134 * include/argp.h: Include stdarg.h. Add prototypes for internal
1135 functions: __argp_error_internal and __argp_failure_internal.
1136 * include/bits/argp-ldbl.h: New file.
1137 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
1138 __nldbl_argp_error and __nldbl_argp_failure.
1139 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
1140 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
1141 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
1142 Redirect argp_error and argp_failure calls.
1143 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1152 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1153 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1154 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1156 2019-03-01 Florian Weimer <fweimer@redhat.com>
1159 * elf/tst-big-note-lib.S: Create a syntactically valid note.
1160 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
1161 code, to avoid creating an ABI tag note.
1162 (modules-names-nobuild): Add tst-big-note-lib.
1164 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
1166 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
1167 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
1169 2019-03-01 Florian Weimer <fweimer@redhat.com>
1172 * sysdeps/unix/sysv/linux/netlink_assert_response.c
1173 (__netlink_assert_response): Add additional missing newlines.
1175 2019-02-28 Joseph Myers <joseph@codesourcery.com>
1177 * sysdeps/powerpc/powerpc32/dl-machine.c
1178 (__elf_machine_fixup_plt): Use space before '('.
1179 (__process_machine_rela): Likewise.
1180 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
1182 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
1184 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
1186 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
1187 (pattern): Likewise.
1189 (check_result): Likewise.
1190 (check_excepts): Likewise.
1191 (check_op): Likewise.
1192 (fail_xr): Likewise.
1193 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
1194 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
1196 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
1199 (__makecontext): Likewise.
1200 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
1203 2019-02-28 Florian Weimer <fweimer@redhat.com>
1206 elf: Add test with a local IFUNC resolver.
1207 * elf/ifuncmain9.c: New file.
1208 * elf/ifuncmain9pic.c: Likewise.
1209 * elf/ifuncmain9picstatic.c: Likewise.
1210 * elf/ifuncmain9pie.c: Likewise.
1211 * elf/ifuncmain9static.c: Likewise.
1212 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
1213 ifuncmain9static, ifuncmain9picstatic.
1214 * elf/Makefile [multi-arch && build-shared] (tests-internal):
1215 Add ifuncmain9, ifuncmain9pic.
1216 * elf/Makefile [multi-arch && build-shared && have-fpie]
1217 (ifunc-pie-tests): Add ifuncmain9pie.
1218 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
1219 (CFLAGS-ifuncmain9picstatic.c): Likewise.
1220 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
1222 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
1224 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
1225 * configure: Regenerated.
1226 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
1228 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1230 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
1231 symbol as __wcspcy instead of wcscpy.
1233 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1235 * include/stdio.h (__renameat2): New hidden prototype.
1236 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
1237 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
1238 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
1239 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
1241 2019-02-27 Joseph Myers <joseph@codesourcery.com>
1243 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
1246 * benchtests/bench-strcpy.c (do_test): Use space before '('.
1247 * benchtests/bench-string.h (cmdline_process_function): Likewise.
1248 * benchtests/bench-strlen.c (do_test): Likewise.
1249 (test_main): Likewise.
1250 * catgets/gencat.c (read_old): Likewise.
1251 * elf/cache.c (load_aux_cache): Likewise.
1252 * iconvdata/bug-iconv8.c (do_test): Likewise.
1253 * math/test-tgmath-ret.c (do_test): Likewise.
1254 * nis/nis_call.c (rec_dirsearch): Likewise.
1255 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1256 * nptl/tst-audit-threads.c (do_test): Likewise.
1257 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
1258 * nss/nss_test1.c (init): Likewise.
1259 * nss/test-netdb.c (test_hosts): Likewise.
1260 * posix/execvpe.c (maybe_script_execute): Likewise.
1261 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
1262 * stdio-common/tst-printf.c (do_test): Likewise.
1263 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
1264 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
1265 * stdlib/qsort.c (STACK_SIZE): Likewise.
1266 * stdlib/test-canon.c (do_test): Likewise.
1267 * stdlib/tst-swapcontext1.c (do_test): Likewise.
1268 * string/memcmp.c (OPSIZ): Likewise.
1269 * string/test-strcpy.c (do_test): Likewise.
1270 (do_random_tests): Likewise.
1271 * string/test-strlen.c (do_test): Likewise.
1272 (test_main): Likewise.
1273 * string/test-strrchr.c (do_test): Likewise.
1274 (do_random_tests): Likewise.
1275 * string/tester.c (test_memrchr): Likewise.
1276 (test_memchr): Likewise.
1277 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
1278 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
1279 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
1280 (read_encoded_value_with_base): Likewise.
1281 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
1282 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
1283 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
1284 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1285 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
1286 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
1288 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
1290 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
1291 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
1292 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
1294 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
1296 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
1298 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
1300 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
1301 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
1302 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1303 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
1304 * time/test_time.c (main): Likewise.
1306 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1308 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
1310 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
1313 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
1316 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1318 * include/wchar.h (__wcscpy): New prototype.
1319 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
1320 (__wcscpy): Route internal symbol to generic implementation.
1321 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
1322 Add internal __wcscpy alias.
1323 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
1324 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
1325 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
1326 * wcsmbs/wcscpy.c (wcscpy): Add
1327 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
1328 use generic implementation.
1329 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
1331 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
1334 * sysdeps/m68k/wcpcpy.c: Remove file.
1335 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1337 2019-02-26 Joseph Myers <joseph@codesourcery.com>
1339 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
1340 than after operators.
1341 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
1342 * sysdeps/mach/hurd/getcwd.c
1343 (__hurd_canonicalize_directory_name_internal): Likewise.
1344 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
1345 (pthread_mutex_consistent): Likewise.
1346 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
1348 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
1349 (__pthread_mutex_transfer_np): Likewise.
1350 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
1351 (__pthread_mutex_unlock): Likewise.
1352 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
1353 (mtx_owned_p): Likewise.
1354 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
1355 (pthread_mutexattr_getrobust): Likewise.
1356 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
1357 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
1359 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1360 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
1361 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
1362 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
1363 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
1364 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1365 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
1367 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
1369 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
1370 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
1371 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
1372 (____longjmp_chk): Likewise.
1373 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
1375 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1376 (INTERNAL_SYSCALL): Likewise.
1377 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1378 (INTERNAL_SYSCALL): Likewise.
1379 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1380 (__get_clockfreq_via_cpuinfo): Likewise.
1382 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
1384 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
1385 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
1386 (WORD_COPY_BWD): Likewise.
1387 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1388 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1390 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
1391 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
1393 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
1395 2019-02-25 Joseph Myers <joseph@codesourcery.com>
1397 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
1398 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
1399 rather than after operators.
1400 * elf/cache.c (print_cache): Likewise.
1401 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
1402 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
1403 * hurd/hurdinit.c (_hurd_setproc): Likewise.
1404 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
1405 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
1406 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
1407 (reauth_proc): Likewise.
1408 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
1409 (__file_name_split_at): Likewise.
1410 (__directory_name_split_at): Likewise.
1411 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
1412 * hurd/port2fd.c (_hurd_port2fd): Likewise.
1413 * iconv/gconv_dl.c (do_print): Likewise.
1414 * inet/netinet/in.h (struct sockaddr_in): Likewise.
1415 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
1416 * locale/setlocale.c (new_composite_name): Likewise.
1417 * malloc/memusagestat.c (main): Likewise.
1418 * misc/fstab.c (fstab_convert): Likewise.
1419 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
1421 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
1422 (getgrent_next_file): Likewise.
1423 (internal_getgrnam_r): Likewise.
1424 (internal_getgrgid_r): Likewise.
1425 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
1427 (internal_getgrent_r): Likewise.
1428 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
1429 (getpwent_next_nss): Likewise.
1430 (getpwent_next_file): Likewise.
1431 (internal_getpwnam_r): Likewise.
1432 (internal_getpwuid_r): Likewise.
1433 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
1435 (getspent_next_nss): Likewise.
1436 (internal_getspnam_r): Likewise.
1437 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
1438 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
1439 * string/strchr.c (STRCHR): Likewise.
1440 * string/strchrnul.c (STRCHRNUL): Likewise.
1441 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
1442 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1443 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
1444 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
1445 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
1447 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
1448 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
1449 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
1450 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
1451 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
1452 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
1453 (open_file): Likewise.
1454 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
1455 (pthread_mutexattr_setprotocol): Likewise.
1456 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1457 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
1458 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
1459 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1460 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
1462 (elf_machine_rela): Likewise.
1463 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1464 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1465 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
1466 * sysdeps/posix/rename.c (rename): Likewise.
1467 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
1468 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
1469 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
1470 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
1471 * sysdeps/unix/grantpt.c (grantpt): Likewise.
1472 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
1473 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
1475 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
1477 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
1478 * time/tzfile.c (__tzfile_compute): Likewise.
1480 2019-02-22 Joseph Myers <joseph@codesourcery.com>
1482 * benchtests/bench-memmem.c (simple_memmem): Break lines before
1483 rather than after operators.
1484 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
1485 * crypt/md5.c (md5_finish_ctx): Likewise.
1486 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
1487 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
1488 * elf/cache.c (load_aux_cache): Likewise.
1489 * elf/dl-load.c (open_verify): Likewise.
1490 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
1491 * elf/readelflib.c (process_elf_file): Likewise.
1492 * elf/rtld.c (dl_main): Likewise.
1493 * elf/sprof.c (generate_call_graph): Likewise.
1494 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
1495 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
1496 * hurd/dtable.c (reauth_dtable): Likewise.
1497 * hurd/getdport.c (__getdport): Likewise.
1498 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
1499 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
1500 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
1502 * hurd/hurdioctl.c (fioctl): Likewise.
1503 * hurd/hurdselect.c (_hurd_select): Likewise.
1504 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
1505 (STOPSIGS): Likewise.
1506 * hurd/hurdstartup.c (_hurd_startup): Likewise.
1507 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
1508 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
1509 * hurd/msgportdemux.c (msgport_server): Likewise.
1510 * hurd/setauth.c (_hurd_setauth): Likewise.
1511 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
1512 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
1513 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
1514 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
1515 * login/tst-utmp.c (do_check): Likewise.
1516 (simulate_login): Likewise.
1517 * mach/lowlevellock.h (lll_lock): Likewise.
1518 (lll_trylock): Likewise.
1519 * math/test-fenv.c (ALL_EXC): Likewise.
1520 * math/test-fenvinline.c (ALL_EXC): Likewise.
1521 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
1522 * nis/nis_call.c (__do_niscall3): Likewise.
1523 * nis/nis_callback.c (cb_prog_1): Likewise.
1524 * nis/nis_defaults.c (searchaccess): Likewise.
1525 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1526 * nis/nis_ismember.c (internal_ismember): Likewise.
1527 * nis/nis_local_names.c (nis_local_principal): Likewise.
1528 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
1529 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
1531 * nis/ypclnt.c (yp_match): Likewise.
1532 (yp_first): Likewise.
1533 (yp_next): Likewise.
1534 (yp_master): Likewise.
1535 (yp_order): Likewise.
1536 * nscd/hstcache.c (cache_addhst): Likewise.
1537 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1538 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
1539 (internal_getpwuid_r): Likewise.
1540 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
1541 * posix/glob.h (__GLOB_FLAGS): Likewise.
1542 * posix/regcomp.c (peek_token): Likewise.
1543 (peek_token_bracket): Likewise.
1544 (parse_expression): Likewise.
1545 * posix/regexec.c (sift_states_iter_mb): Likewise.
1546 (check_node_accept_bytes): Likewise.
1547 * posix/tst-spawn3.c (do_test): Likewise.
1548 * posix/wordexp-test.c (testit): Likewise.
1549 * posix/wordexp.c (parse_tilde): Likewise.
1550 (exec_comm): Likewise.
1551 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
1552 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
1553 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
1554 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
1555 * stdio-common/tst-fileno.c (do_test): Likewise.
1556 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
1557 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
1558 * stdlib/strtod_l.c (round_and_return): Likewise.
1559 (____STRTOF_INTERNAL): Likewise.
1560 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
1561 * string/strcspn.c (STRCSPN): Likewise.
1562 * string/test-memmem.c (simple_memmem): Likewise.
1563 * termios/tcsetattr.c (tcsetattr): Likewise.
1564 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
1565 * time/asctime.c (asctime_internal): Likewise.
1566 * time/strptime_l.c (__strptime_internal): Likewise.
1567 * time/sys/time.h (timercmp): Likewise.
1568 * time/tzfile.c (__tzfile_compute): Likewise.
1570 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
1573 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
1575 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1577 * argp/argp-help.c (__argp_error_internal): New function,
1578 renamed from __argp_error, but that takes a 'mode_flags'
1579 parameter to control the format of long double parameters.
1580 (__argp_error): Converted into a call __argp_error_internal.
1581 (__argp_failure_internal): New function, renamed from
1582 __argp_failure, but that takes a 'mode_flags' parameter.
1583 (__argp_failure): Converted into a call __argp_failure_internal.
1584 * misc/err.c (__vwarnx_internal): New function, renamed from
1585 vwarnx, but that takes a 'mode_flags' parameter.
1586 (vwarnx): Converted into a call to __vwarnx_internal.
1587 (__vwarn_internal): New function, renamed from vwarn, but that
1588 takes a 'mode_flags' parameter.
1589 (vwarn): Converted into a call to __vwarn_internal.
1590 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
1591 call to __vfxprintf with 'mode_flags'.
1592 (__error_internal): New function, renamed from error, but that
1593 takes a 'mode_flags' parameter.
1594 (error): Converted into a call to __error_internal.
1595 (__error_at_line_internal): New function, renamed from
1596 error_at_line, but that takes a 'mode_flags' parameter.
1597 (error_at_line): Converted into a call to
1598 __error_at_line_internal.
1599 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
1600 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
1603 2019-02-20 Martin Liska <mliska@suse.cz>
1605 * math/Makefile: Install math-vector-fortran.h.
1606 * bits/math-vector-fortran.h: New file.
1607 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
1609 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1611 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
1612 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
1614 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
1616 * nptl/pthread_mutex_trylock.c: Fix comment.
1618 2019-02-19 Carlos O'Donell <carlos@redhat.com>
1620 * nptl/pthread_tryjoin.c: Fix comment.
1622 2019-02-18 Joseph Myers <joseph@codesourcery.com>
1625 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
1626 after R_SPARC_H34 case.
1628 2019-02-18 Florian Weimer <fweimer@redhat.com>
1630 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
1631 (getanswer): Do not call Dprintf.
1632 (res_gethostbyname2_context): Likewise.
1633 (res_gethostbyaddr_context): Likewise.
1635 2019-02-18 Florian Weimer <fweimer@redhat.com>
1637 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
1639 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
1641 * libio/stdfiles.c: Update comment.
1642 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
1643 set _IO_stdin, _IO_stdout, _IO_stderr.
1644 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
1645 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
1647 (_IO_deallocate_file): New inline function.
1648 * libio/iolibio.h (_IO_vprintf): Remove definition.
1649 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
1650 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
1651 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
1653 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
1654 __builtin_expect. Use _IO_legacy_file.
1656 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
1658 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
1659 Initialize ctid with a known value and remove update of ctid
1661 (wait_tid): Adjust arguments and call futex_wait with ctid_val
1662 as assumed current value of ctid_ptr.
1664 2019-02-16 Florian Weimer <fweimer@redhat.com>
1666 Check that non-sysdeps headers have wrapper headers.
1667 * scripts/check-wrapper-headers.py: New file.
1668 * Makefile (tests-special): Add check-wrapper-headers.out.
1669 (check-wrapper-headers.out): New target.
1670 * Rules (tests-special): Add check-wrapper-headers.out.
1671 (check-wrapper-headers.out): New target.
1673 2019-02-16 Florian Weimer <fweimer@redhat.com>
1675 Add missing header wrappers under include/.
1676 * include/ar.h: New file.
1677 * include/bits/mqueue2.h: Likewise.
1678 * include/bits/stdio.h: Likewise.
1679 * include/bits/stdio2.h: Likewise.
1680 * include/fstab.h: Likewise.
1681 * include/fts.h: Likewise.
1682 * include/lastlog.h: Likewise.
1683 * include/netinet/icmp6.h: Likewise.
1684 * include/netinet/igmp.h: Likewise.
1685 * include/netinet/ip6.h: Likewise.
1686 * include/re_comp.h: Likewise.
1687 * include/regexp.h: Likewise.
1688 * include/rpcsvc/bootparam.h: Likewise.
1689 * include/rpcsvc/yp_prot.h: Likewise.
1690 * include/sys/random.h: Likewise.
1691 * include/sys/stropts.h: Likewise.
1692 * include/sys/ttychars.h: Likewise.
1693 * include/sys/vfs.h: Likewise.
1694 * include/wait.h: Likewise.
1696 2019-02-16 Florian Weimer <fweimer@redhat.com>
1698 * nptl_db/proc_service.h: Move to ...
1699 * sysdeps/nptl/proc_service.h: ... here.
1700 * nptl_db/thread_db.h: Move to ...
1701 * sysdeps/nptl/thread_db.h: ... here.
1702 * nptl/descr.h: Include <thread_db.h>.
1704 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1706 * io/Makefile (tests): Add tst-lockf.
1707 * io/lockf.c (lockf): Use __fcntl and only define for
1708 !__OFF_T_MATCHES_OFF64_T.
1709 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
1710 __OFF_T_MATCHES_OFF64_T case.
1711 * io/tst-lockf.c: New file.
1712 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
1713 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
1714 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
1715 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
1716 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
1717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
1718 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
1719 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
1720 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
1722 2019-02-15 Florian Weimer <fweimer@redhat.com>
1725 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
1726 pd->result after the thread descriptor has been freed.
1728 2019-02-15 Joseph Myers <joseph@codesourcery.com>
1730 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
1731 from function return type.
1733 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
1735 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1737 * scripts/test_printers_common.py: Set TERM to a known harmless
1740 2019-02-14 Joseph Myers <joseph@codesourcery.com>
1742 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
1743 (xdr_u_int): Likewise.
1744 (xdr_enum): Likewise.
1745 (xdr_bytes): Reword fall-through comment.
1746 (xdr_string): Likewise.
1748 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1751 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
1752 (tests): Add tst-join8 tst-join9.
1753 * nptl/lll_timedwait_tid.c: Remove file.
1754 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
1755 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
1756 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
1757 * nptl/pthread_join_common.c (timedwait_tid): New function.
1758 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
1760 * nptl/tst-join5.c (thread_join): New function.
1761 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
1763 * nptl/tst-join8.c: New file.
1764 * nptl/tst-join9.c: Likewise.
1765 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
1766 lll_futex_timed_wait_cancel): Add generic macros.
1767 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
1769 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1770 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1771 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1772 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
1774 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
1776 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1777 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1778 (lll_futex_timed_wait_cancel): New macro.
1780 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
1782 * benchtests/Makefile: Add malloc-simple benchmark.
1783 * benchtests/bench-malloc-simple.c: New benchmark.
1785 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
1787 * benchtests/bench-memmove.c (do_one_test): Remove unused
1790 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
1794 2019-01-13 Jim Wilson <jimw@sifive.com>
1797 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
1798 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
1800 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
1802 * nptl/Makefile (tests): Add tst-unwind-thread.
1803 (CFLAGS-tst-unwind-thread.c): Define.
1804 * nptl/tst-unwind-thread.c: New file.
1805 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
1808 2019-02-13 Joseph Myers <joseph@codesourcery.com>
1810 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
1812 * nis/nis_call.c (__do_niscall3): Likewise.
1814 * catgets/gencat.c (normalize_line): Use braces around empty
1816 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1817 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
1818 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
1819 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
1820 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
1821 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
1822 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
1825 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
1828 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
1830 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
1831 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
1832 * benchtests/bench-strchr.c (stupid_strchr): Remove.
1833 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
1834 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
1835 * benchtests/bench-strlen.c (builtin_strlen): Remove.
1836 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
1837 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
1838 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
1839 * benchtests/bench-strspn.c (stupid_strspn): Remove.
1840 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
1841 * benchtests/bench-bcopy.c: Delete file.
1842 * benchtests/bench-bzero.c: Likewise.
1843 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
1844 (simple_memccpy): Remove.
1845 (generic_memccpy): Add function.
1846 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
1847 * benchtests/bench-memmove.c (simple_bcopy): Remove.
1848 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
1849 (generic_mempcpy): Add new function.
1850 * benchtests/bench-memset.c (simple_bzero): Remove.
1851 (builtin_bzero): Remove.
1852 (builtin_memset): Remove.
1853 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
1854 (generic_rawmemchr): Add new function.
1856 2019-02-12 Florian Weimer <fweimer@redhat.com>
1858 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
1860 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1863 * elf/Makefile (tests): Add tst-audit13.
1864 (modules-names): Add tst-audit13mod1.
1865 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1867 * elf/tst-audit13.c: New file.
1868 * elf/tst-audit13mod1.c: Likewise.
1870 2019-02-12 Florian Weimer <fweimer@redhat.com>
1873 * elf/rtld.c (unload_audit_module): New function.
1874 (report_audit_module_load_error): Likewise.
1875 (load_audit_module): Likewise. Extracted from dl_main. Call
1876 _dl_close if the laversion symbol cannot be found. Use early
1877 returns for error handling. Add malloc error check. Check for a
1878 zero return value from la_version. Remove spurious comment about
1879 static TLS initialization. Remove useless casts.
1880 (notify_audit_modules_of_loaded_object): New function. Extracted
1882 (load_audit_module): Likewise.
1883 (dl_main): Call load_audit_modules.
1885 2019-02-12 Joseph Myers <joseph@codesourcery.com>
1887 * elf/dl-exception.c (_dl_exception_create_format): Add
1888 fall-through comments.
1889 * elf/ldconfig.c (parse_conf_include): Likewise.
1890 * elf/rtld.c (print_statistics): Likewise.
1891 * locale/programs/charmap.c (parse_charmap): Likewise.
1892 * misc/mntent_r.c (__getmntent_r): Likewise.
1893 * posix/wordexp.c (parse_arith): Likewise.
1894 (parse_backtick): Likewise.
1895 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
1896 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
1897 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1899 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
1901 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
1902 Use float instead of double.
1904 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
1906 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
1908 2019-02-08 Joseph Myers <joseph@codesourcery.com>
1910 * sysdeps/powerpc/bits/mathinline.h: Remove.
1912 2019-02-08 Florian Weimer <fweimer@redhat.com>
1914 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
1915 * math/bits/math-finite.h: Move to ...
1916 * bits/math-finite.h: ... here.
1918 2019-02-08 Florian Weimer <fweimer@redhat.com>
1920 * sysdeps/generic/bits/unistd_ext.h: Move to ...
1921 * bits/unistd_ext.h: here.
1923 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
1926 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
1927 * nss/tst-nss-files-hosts-long.c: New file.
1928 * nss/tst-nss-files-hosts-long.root: New directory.
1929 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
1930 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
1932 2019-02-08 Florian Weimer <fweimer@redhat.com>
1934 * include/bits/unistd_ext.h: Remove file.
1935 * posix/bits/unistd_ext.h: Move to ...
1936 * sysdeps/generic/bits/unistd_ext.h: ... here.
1938 2019-02-08 Florian Weimer <fweimer@redhat.com>
1940 * include/bits/unistd_ext.h: New file.
1942 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
1944 * time/tst-strftime2.c: Use array_length macros instead of magic
1947 2019-02-08 Florian Weimer <fweimer@redhat.com>
1950 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
1952 * nptl/register-atfork.c (__run_fork_handlers): Only perform
1953 locking if the new do_locking argument is true.
1954 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
1955 __run_fork_handlers.
1957 2019-02-08 Florian Weimer <fweimer@redhat.com>
1960 Linux: Add gettid system call wrapper.
1961 * posix/Makefile (headers): Add bits/unistd_ext.h.
1962 * posix/bits/unistd_ext.h: New file.
1963 * posix/unistd.h: Include it.
1964 * manual/process.texi (Process Identification): Document gettid.
1965 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
1966 tst-gettid, tst-gettid-kill.
1967 (tst-gettid): Link with $(shared-thread-library).
1968 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
1969 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
1970 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
1971 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
1972 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
1973 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1975 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1977 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1978 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
1980 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
1982 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
1984 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
1986 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1988 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1990 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1992 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1993 (GLIBC_2.30): Likewise.
1994 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1995 (GLIBC_2.30): Likewise.
1996 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1997 (GLIBC_2.30): Likewise.
1998 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1999 (GLIBC_2.30): Likewise.
2000 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2003 (GLIBC_2.30): Likewise.
2004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2005 (GLIBC_2.30): Likewise.
2006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2007 (GLIBC_2.30): Likewise.
2008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2009 (GLIBC_2.30): Likewise.
2010 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2012 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2014 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2016 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2017 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2019 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2021 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2023 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2025 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
2027 2019-02-08 Florian Weimer <fweimer@redhat.com>
2029 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
2030 compatibility symbols.
2032 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
2035 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2036 Add compiler barriers and comments.
2038 2019-02-07 Florian Weimer <fweimer@redhat.com>
2040 * include/array_length.h (array_length): Do not use a statement
2041 expression and _Static_assert, so that array_length can be used at
2042 file scope and as a constant expression.
2044 2019-02-07 Florian Weimer <fweimer@redhat.com>
2046 * support/xdlfcn.h (xdlmopen): Declare.
2047 * support/xdlmopen.c: New file.
2048 * support/Makefile (libsupport-routines): Add xdlmopen.
2050 2019-02-06 Joseph Myers <joseph@codesourcery.com>
2052 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
2053 before return type, without separate inline.
2054 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
2055 * elf/dl-tunables.h (tunable_is_name): Likewise.
2056 * malloc/malloc.c (do_set_trim_threshold): Likewise.
2057 (do_set_top_pad): Likewise.
2058 (do_set_mmap_threshold): Likewise.
2059 (do_set_mmaps_max): Likewise.
2060 (do_set_mallopt_check): Likewise.
2061 (do_set_perturb_byte): Likewise.
2062 (do_set_arena_test): Likewise.
2063 (do_set_arena_max): Likewise.
2064 (do_set_tcache_max): Likewise.
2065 (do_set_tcache_count): Likewise.
2066 (do_set_tcache_unsorted_limit): Likewise.
2067 * nis/nis_subr.c (count_dots): Likewise.
2068 * nptl/allocatestack.c (advise_stack_range): Likewise.
2069 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
2071 (reduce_sincos): Likewise.
2072 (do_sincos): Likewise.
2073 * sysdeps/unix/sysv/linux/x86/elision-conf.c
2074 (do_set_elision_enable): Likewise.
2075 (TUNABLE_CALLBACK_FNDECL): Likewise.
2077 2019-02-06 Florian Weimer <fweimer@redhat.com>
2079 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
2080 (xdlsym): Use dlerror to detect a NULL symbol.
2082 2019-02-06 Florian Weimer <fweimer@redhat.com>
2084 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
2086 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2088 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2090 * libio/tst-bz24153.c (wide): Use wide char format specifier.
2092 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2094 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
2095 __wmemcmp and weak alias to wmemcmp.
2097 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2100 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
2101 TLS_TCB_AT_TP tls variant.
2102 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
2103 Add alignment checks.
2104 * support/Makefile (libsupport-routines): Add xposix_memalign and
2106 * support/support.h: Add xposix_memalign.
2107 * support/xthread.h: Add xpthread_attr_setstack.
2108 * support/xposix_memalign.c: New File.
2109 * support/xpthread_attr_setstack.c: Likewise.
2111 2019-02-05 Florian Weimer <fweimer@redhat.com>
2114 arm: Use "nr" constraint for Systemtap probes, to avoid the
2115 compiler using memory operands for constants, due to the "o"
2116 alternative in the default "nor" constraint.
2117 * include/stap-probe.h [USE_STAP_PROBE]: Include
2118 <stap-probe-machine.h>
2119 * sysdeps/generic/stap-probe-machine.h: New file.
2120 * sysdeps/arm/stap-probe-machine.h: Likewise.
2122 2019-02-04 Joseph Myers <joseph@codesourcery.com>
2124 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
2125 with 0, not tcache->entries[tc_idx].
2127 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
2130 2019-02-04 Andreas Schwab <schwab@suse.de>
2134 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
2135 looking up collating elements match against (wide) character
2136 sequence instead of name. Correct alignment adjustment.
2137 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
2138 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
2139 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
2140 (LOCALES): Add cs_CZ.ISO-8859-2.
2141 * posix/tst-fnmatch4.c: New file.
2142 * posix/tst-fnmatch5.c: New file.
2143 * include/wchar.h (__wmemcmp): Declare.
2144 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
2145 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
2146 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2147 * sysdeps/s390/wmemcmp.c: Likewise.
2149 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
2153 * NEWS: Updated for CVE-2019-7309.
2154 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
2155 upper 32 bits of RDX register for x32. Use unsigned Jcc
2156 instructions, instead of signed.
2157 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
2158 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
2160 2019-02-04 Florian Weimer <fweimer@redhat.com>
2162 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
2163 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
2164 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
2166 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
2167 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
2168 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
2169 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
2171 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
2173 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
2175 (posix_spawn_file_actions_addopen): Likewise.
2176 (posix_spawn_file_actions_addclose): Likewise.
2177 (posix_spawn_file_actions_adddup2): Likewise.
2178 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
2180 (posix_spawn_file_actions_addfchdir_np): Likewise.
2182 2019-02-04 David Newall <glibc@davidnewall.com>
2184 elf: Implement --preload option for the dynamic linker.
2185 * elf/rtld.c (preloadarg): New variable.
2186 (handle_preload_list): Pass through “where” argument to
2188 (dl_main): Handle "--preload" and add second call to
2189 handle_preload_list.
2190 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
2191 (tst-rtld-preload-OBJS): Set variable.
2192 (tst-rtld-preload.out): New target.
2193 * elf/tst-rtld-preload.sh: New file.
2195 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
2197 * Makefile (testrun.sh): Exit in case of incorrect argument.
2199 2019-02-04 Florian Weimer <fweimer@redhat.com>
2201 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
2204 2019-02-03 Florian Weimer <fweimer@redhat.com>
2206 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
2207 implicit overflow checks.
2209 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
2211 * stdlib/isomac.c: Include <unistd.h>.
2213 2019-02-03 Florian Weimer <fweimer@redhat.com>
2215 * include/time.h (__tzfile_default): Use int, not long int, for
2217 * time/tzfile.c (struct ttinfo): Change type of the offset member
2219 (__tzfile_read): Remove useless cast.
2220 (__tzfile_default): Adjust prototype.
2221 * time/tzset.c (tz_rule): Change type of the offset member to int.
2222 (parse_offset): Change the type of the sign variable to int.
2224 2019-02-03 Florian Weimer <fweimer@redhat.com>
2227 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
2228 * libio/getchar.c (getchar): Likewise.
2229 * libio/getchar_u.c (getchar_unlocked): Likewise.
2230 * libio/getwchar.c (getwchar): Likewise.
2231 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2232 * libio/iogets.c (_IO_gets): Likewise.
2233 * libio/vscanf.c (_IO_vscanf): Likewise.
2234 * libio/vwscanf.c (__vwscanf): Likewise.
2235 * libio/tst-bz24153.c: New file.
2236 * libio/Makefile (tests): Add it.
2238 2019-02-02 Florian Weimer <fweimer@redhat.com>
2241 * manual/resource.texi (Basic Scheduling Functions): Add
2242 portability note. Change process to task throughout the section.
2243 Remove incorrect comment about sched_yield as it affects
2244 tasks/threads, not entire processes.
2245 * sysdeps/unix/sysv/linux/bits/posix_opt.h
2246 (_POSIX_PRIORITY_SCHEDULING): Update comment.
2248 2019-02-01 Joseph Myers <joseph@codesourcery.com>
2250 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
2251 * configure: Regenerated.
2252 * manual/install.texi (Tools for Compilation): Update minimum GCC
2254 * INSTALL: Regenerated.
2256 2019-02-01 Florian Weimer <fweimer@redhat.com>
2258 * support/support_test_compare_string.c
2259 (support_test_compare_string): Use "string" in error message.
2260 * support/tst-test_compare_string.c (do_test): Adjust.
2262 2019-02-01 Florian Weimer <fweimer@redhat.com>
2264 * support/support_format_address_family.c
2265 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
2267 2019-02-01 Florian Weimer <fweimer@redhat.com>
2269 * manual/socket.texi (Internet Address Formats): Clarify the byte
2270 order of struct sockaddr_in, struct sockaddr_in6. Document
2271 sin6_flowinfo and sin6_scope_id.
2273 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
2275 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
2276 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
2277 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
2278 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
2279 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
2280 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
2282 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2284 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
2285 [!MEMCHR](MEMCHR): Set to __memchr.
2286 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2287 Add memchr_generic and memchr_nosimd.
2288 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2289 (__libc_ifunc_impl_list): Add memchr ifuncs.
2290 * sysdeps/aarch64/multiarch/memchr.c: New file.
2291 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
2292 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
2294 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2296 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2298 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2299 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
2300 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
2301 Add IS_EMAG check for ifunc dispatch.
2302 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
2303 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
2305 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2307 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
2308 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2310 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
2313 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
2315 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
2317 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
2319 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
2320 syscall-template file.
2322 2019-01-31 Carlos O'Donell <carlos@redhat.com>
2323 Torvald Riegel <triegel@redhat.com>
2324 Rik Prohaska <prohaska7@gmail.com>
2327 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
2328 tst-rwlock-trywrlock-stall.
2329 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2330 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
2331 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
2332 Set __wrphase_fute to 1 only if we started the write phase.
2333 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
2334 * nptl/tst-rwlock-trywrlock-stall.c: New file.
2335 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
2336 * support/xpthread_rwlock_destroy.c: New file.
2337 * support/xthread.h: Declare xpthread_rwlock_destroy.
2339 2019-02-01 Joseph Myers <joseph@codesourcery.com>
2341 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
2344 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
2347 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
2348 * libio/fileops.c (_IO_new_file_underflow): Likewise
2349 * libio/wfileops.c (_IO_wfile_underflow): Likewise
2350 * libio/putchar.c (putchar): Likewise.
2351 * libio/putchar_u.c (putchar_unlocked): Likewise.
2352 * libio/putwchar.c (putchar): Likewise.
2353 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
2354 * libio/tst-bz24051.c: New test.
2355 * libio/Makefile (tests): Add tst-bz24051
2357 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
2360 regex: fix read overrun [BZ #24114]
2361 Problem found by AddressSanitizer, reported by Hongxu Chen in:
2362 https://debbugs.gnu.org/34140
2363 * posix/regexec.c (proceed_next_node):
2364 Do not read past end of input buffer.
2366 2019-01-31 Florian Weimer <fweimer@redhat.com>
2369 * nss/nss_files/files-alias.c (get_next_alias): Handle
2370 continuation line without newline at the end.
2371 * nss/tst-nss-files-alias-truncated.c: New file.
2372 * nss/Makefile [$(build-shared)] (tests): Add
2373 tst-nss-files-alias-truncated.
2374 (tst-nss-files-alias-truncated): Link with libnss_files.so.
2375 * support/namespace.h (struct support_chroot_configuration): Add
2377 (struct support_chroot): Add path_aliases member.
2378 * support/support_chroot.c (support_chroot_create): Handle
2380 (support_chroot_free): Free path_aliases.
2382 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
2384 * version.h (RELEASE): Set to "development".
2385 (VERSION): Set to "2.29.9000".
2386 * NEWS: Add section for 2.30.
2388 * version.h (RELEASE): Set to "stable".
2389 (VERSION): Set to "2.29".
2390 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
2392 * NEWS: Add the list of bugs fixed in 2.29.
2393 * manual/contrib.texi: Update contributors list with some more
2395 * manual/install.texi: Update latest versions of packages
2397 * INSTALL: Regenerated.
2399 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
2401 * po/be.po: Update translations.
2402 * po/bg.po: Likewise.
2403 * po/ca.po: Likewise.
2404 * po/cs.po: Likewise.
2405 * po/da.po: Likewise.
2406 * po/de.po: Likewise.
2407 * po/el.po: Likewise.
2408 * po/eo.po: Likewise.
2409 * po/es.po: Likewise.
2410 * po/fi.po: Likewise.
2411 * po/fr.po: Likewise.
2412 * po/gl.po: Likewise.
2413 * po/hr.po: Likewise.
2414 * po/hu.po: Likewise.
2415 * po/ia.po: Likewise.
2416 * po/id.po: Likewise.
2417 * po/it.po: Likewise.
2418 * po/ja.po: Likewise.
2419 * po/ko.po: Likewise.
2420 * po/lt.po: Likewise.
2421 * po/nb.po: Likewise.
2422 * po/nl.po: Likewise.
2423 * po/pl.po: Likewise.
2424 * po/pt_BR.po: Likewise.
2425 * po/ru.po: Likewise.
2426 * po/rw.po: Likewise.
2427 * po/sk.po: Likewise.
2428 * po/sl.po: Likewise.
2429 * po/sv.po: Likewise.
2430 * po/tr.po: Likewise.
2431 * po/uk.po: Likewise.
2432 * po/vi.po: Likewise.
2433 * po/zh_CN.po: Likewise.
2434 * po/zh_TW.po: Likewise.
2436 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
2439 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
2440 of $f3 register on $y_is_neg path.
2442 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
2445 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
2446 sigaltstack.ss_flags.
2448 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
2451 * manual/time.texi (strftime): Document "%Ey".
2452 * time/strftime_l.c (__strftime_internal): Set the default width
2453 padding with zero of "%Ey" to 2.
2456 * manual/time.texi (strftime): Document "%EC" and "%EY".
2457 * time/Makefile (tests): Add tst-strftime2.
2458 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
2459 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
2460 override padding for "%Ey".
2461 If an optional flag ('_' or '-') is specified to "%EY", interpret the
2462 "%Ey" in the subformat as if decorated with that flag.
2463 * time/tst-strftime2.c: New file.
2465 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2467 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
2471 * elf/Makefile (tests): Add tst-audit13.
2472 (modules-names): Add tst-audit13mod1.
2473 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2475 * elf/rtld.c (dl_main): Handle invalid audit module version.
2476 * elf/tst-audit13.c: New file.
2477 * elf/tst-audit13mod1.c: Likewise.
2479 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
2481 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
2482 returned by __hurd_at_flags.
2483 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
2484 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
2485 directly instead of __hurd_file_name_lookup.
2487 2019-01-21 Joseph Myers <joseph@codesourcery.com>
2489 * scripts/build-many-glibcs.py (Context.checkout): Default
2490 binutils version to 2.32 branch.
2492 2019-01-21 Florian Weimer <fweimer@redhat.com>
2496 resolv: Reject trailing characters in host names
2497 * include/arpa/inet.h (__inet_aton_exact): Declare.
2498 (inet_aton): Remove hidden prototype. No longer used internally.
2499 * nscd/gai.c (__inet_aton): Do not define.
2500 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
2501 * nss/digits_dots.c (__inet_aton): Likewise.
2502 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
2503 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
2504 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
2505 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
2506 (tst-resolv-trailing): Likewise.
2507 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
2509 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
2510 Make static. Add endp parameter.
2511 (__inet_aton_exact): New function.
2512 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
2513 (__inet_addr): Call inet_aton_end.
2514 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
2515 not just IPv6. Call __inet_aton_exact.
2516 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
2517 (tests): Make const. Add additional test cases with trailing
2519 (do_test): Use array_length.
2520 * resolv/tst-inet_aton_exact.c: New file.
2521 * resolv/tst-resolv-trailing.c: Likewise.
2522 * resolv/tst-resolv-nondecimal.c: Likewise.
2523 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
2525 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2529 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
2530 Clear the upper 32 bits of RSI register.
2531 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
2532 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
2533 and tst-size_t-wcsnlen.
2534 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
2535 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
2537 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2541 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
2542 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2543 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2544 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
2545 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
2547 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2551 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
2552 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2553 * sysdeps/x86_64/strcmp.S: Likewise.
2554 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
2555 tst-size_t-strncmp and tst-size_t-wcsncmp.
2556 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
2557 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
2558 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
2560 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2564 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
2565 RDX_LP for length. Clear the upper 32 bits of RDX register.
2566 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
2567 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
2568 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
2569 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
2571 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2575 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
2576 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
2577 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
2578 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
2580 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2584 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
2585 length. Clear the upper 32 bits of RDX register.
2586 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2587 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
2589 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
2591 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
2593 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
2595 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2599 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
2600 length. Clear the upper 32 bits of RDX register.
2601 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2602 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2603 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
2605 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
2606 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
2608 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2612 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
2613 upper 32 bits of RDX register.
2614 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
2615 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
2617 * sysdeps/x86_64/x32/test-size_t.h: New file.
2618 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
2619 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
2621 2019-01-18 Florian Weimer <fweimer@redhat.com>
2624 resolv: Do not send queries for non-host-names in nss_dns.
2625 * resolv/nss_dns/dns-host.c (check_name): New function.
2626 (_nss_dns_gethostbyname2_r): Use it.
2627 (_nss_dns_gethostbyname_r): Likewise.
2628 (_nss_dns_gethostbyname4_r): Likewise.
2630 2019-01-21 Florian Weimer <fweimer@redhat.com>
2632 * resolv/inet_addr.c: Reformat to GNU style.
2633 (__inet_addr, __inet_aton): Update comment.
2635 2019-01-18 Florian Weimer <fweimer@redhat.com>
2637 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
2638 ("malloc: Use current (C11-style) atomics for fastbin access").
2639 This commit introduces a substantial performance regression on
2641 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
2642 (REMOVE_FB): Define.
2643 (_int_malloc): Use it and reindent.
2644 (_int_free): Use CAS loop with
2645 catomic_compare_and_exchange_val_rel.
2646 (malloc_consolidate): Use atomic_exchange_acq.
2649 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
2651 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
2653 (LDFLAGS-tst-minsigstksz-2): Likewise.
2654 (LDFLAGS-tst-minsigstksz-3): Likewise.
2655 (LDFLAGS-tst-minsigstksz-3a): Likewise.
2656 (LDFLAGS-tst-minsigstksz-4): Likewise.
2658 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
2660 * manual/time.texi (strftime): Fix the wording to "alternative" rather
2663 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
2665 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
2667 2019-01-16 Zack Weinberg <zackw@panix.com>
2669 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
2670 (xget_sigstack_location): New test support functions.
2671 * support/xsigstack.c: New file, implementing them.
2672 * support/tst-xsigstack.c: New test for them.
2673 * support/Makefile: Update.
2675 * signal/tst-minsigstksz-1.c
2676 * signal/tst-minsigstksz-2.c
2677 * signal/tst-minsigstksz-3.c
2678 * signal/tst-minsigstksz-3a.c
2679 * signal/tst-minsigstksz-4.c: New tests.
2680 * signal/Makefile: Run them.
2682 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
2684 * po/libc.pot: Regenerate.
2686 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2688 * math/libm-test-fma.inc (fma_test_data): Set
2689 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
2691 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2693 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
2694 (do_test): Changed __vector __int128_t to __vector unsigned int.
2696 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2698 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2699 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
2700 stpcpy-avx2 and stpncpy-avx2.
2701 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
2702 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
2703 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
2705 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
2706 ifunc-strcpy.h}: rename header for a more generic name.
2707 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
2708 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
2709 AVX unaligned load is fast and vzeroupper is preferred.
2710 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
2711 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
2712 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
2713 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
2714 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
2715 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
2717 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
2719 * argp/argp-help.c: Fix typo in comment.
2720 * misc/sys/cdefs.h: Likewise.
2721 * posix/regexec.c (sift_states_iter_mb): Likewise.
2722 * socket/sockatmark.c: Likewise.
2723 * socket/sys/socket.h: Likewise.
2724 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
2725 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
2726 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
2727 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2728 * sysdeps/unix/sockatmark.c: Likewise.
2729 * time/strptime_l.c: Likewise.
2731 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2733 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
2734 missing space after the cast of "_NL_CURRENT".
2736 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2738 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
2739 ifdef to fix read of VSCR.
2740 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
2741 tst-ucontext-ppc64-vscr.c to test list.
2742 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
2744 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
2746 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
2749 2019-01-09 Jim Wilson <jimw@sifive.com>
2751 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
2753 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
2755 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
2756 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
2757 __memcpy_falkor for ares.
2758 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
2760 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2763 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
2766 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2767 4_FP_W_TYPEs are used for IEEE quad precision.
2768 * soft-fp/extendhftf2.c: Likewise.
2769 * soft-fp/extendsftf2.c: Likewise.
2770 * soft-fp/extendxftf2.c: Likewise.
2771 * soft-fp/trunctfdf2.c: Likewise.
2772 * soft-fp/trunctfhf2.c: Likewise.
2773 * soft-fp/trunctfsf2.c: Likewise.
2774 * soft-fp/trunctfxf2.c: Likewise.
2775 * sysdeps/alpha/ots_cvttx.c: Likewise.
2776 * sysdeps/alpha/ots_cvtxt.c: Likewise.
2777 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
2778 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
2779 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
2780 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
2781 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
2782 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
2783 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
2784 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
2785 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
2786 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
2787 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
2788 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
2789 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
2790 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
2791 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
2792 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
2794 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2797 * Makeconfig: Build libm with -fno-math-errno but build the remaining
2798 code with -fmath-errno.
2799 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
2800 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
2801 * string/test-strerror-errno.c: New file.
2803 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2806 * localedata/locales/en_US (date_fmt): Add, set to
2807 "%a %d %b %Y %r %Z".
2809 2019-01-07 Florian Weimer <fweimer@redhat.com>
2812 * manual/arith.texi (Math Error Reporting): Use @code{errno}
2813 instead of @var{errno}.
2814 (Parsing of Integers): Likewise.
2815 (Parsing of Floats): Likewise.
2816 * manual/filesys.texi (Working with Directory Trees): Likewise.
2817 (Temporary Files): Likewise.
2818 * manual/job.texi (Terminal Access Functions): Likewise.
2819 * manual/llio.texi (Synchronizing I/O): Likewise.
2820 * manual/math.texi (SVID Random): Likewise.
2821 * manual/message.texi (The catgets Functions): Likewise.
2822 (Translation with gettext): Likewise.
2823 (Locating gettext catalog): Likewise.
2824 (Charset conversion in gettext): Likewise.
2825 * manual/nss.texi (NSS Module Function Internals): Likewise.
2826 * manual/search.texi (Hash Search Function): Likewise.
2827 * manual/setjmp.texi (System V contexts): Likewise.
2828 * manual/time.texi (Sleeping): Likewise.
2829 * manual/users.texi (Lookup User): Likewise.
2830 (Lookup Group): Likewise.
2832 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2834 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
2837 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
2840 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
2841 __builtin_unreachable for default case in switch.
2842 (__ieee754_yn): Likewise.
2843 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2844 (__ieee754_ynl): Likewise.
2845 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2846 (__ieee754_ynl): Likewise.
2847 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2848 (__ieee754_ynl): Likewise.
2850 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2852 * manual/maint.texi: Use @{ and @}.
2854 2019-01-04 Florian Weimer <fweimer@redhat.com>
2856 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
2858 (do_in_chroot_1): Call it.
2860 Improve error reporting in case it is not possible to create a
2861 collision for the PTY name required by the test.
2863 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2865 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
2866 lll_wait_tid with timeout.
2867 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
2868 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
2869 futex_reltimed_wait_cancelable for cancelabla mode.
2870 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
2871 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
2873 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
2874 * sysdeps/posix/waitid.c (__sigwait): Likewise.
2875 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
2876 SYSCALL_CANCEL_NCS): New macro.
2877 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
2878 (lll_timedwait_tid): Remove macro.
2879 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
2881 (lll_timedwait_tid): Likewise.
2882 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
2884 (lll_timedwait_tid): Likewise.
2885 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
2887 (lll_timedwait_tid): Likewise.
2888 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
2889 Use INTERNAL_SYSCALL_CANCEL.
2890 * sysdeps/unix/sysv/linux/futex-internal.h
2891 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
2892 instead of __pthread_{enable,disable}_asynccancel.
2893 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2894 (lll_futex_wait_cancel): New macro.
2896 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
2897 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
2899 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
2900 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
2902 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
2903 in backtrace analysis.
2904 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
2906 (tf_send): Likewise.
2908 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
2909 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
2910 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
2911 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
2912 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2913 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2914 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
2915 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
2916 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
2917 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
2918 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
2919 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
2921 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
2922 tst-cancel-wrappers.sh.
2923 (generated): Remove tst-cancel-wrappers.out.
2924 (tst-cancel-wrappers.out): Remove rule.
2925 * nptl/tst-cancel-wrappers.sh: Remove file.
2927 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
2929 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
2930 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2933 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2936 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
2937 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
2938 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
2939 close-on-exec reset for adddup2 file action.
2940 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
2942 2019-01-03 Zack Weinberg <zackw@panix.com>
2944 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
2945 parameter. Only use deprecated scanf when __USE_GNU is defined
2946 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
2947 than 201103L, whichever is relevant for the language being compiled.
2949 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
2950 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
2951 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
2952 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
2953 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
2957 * libio/iovswscanf.c
2962 * stdio-common/fscanf.c
2963 * stdio-common/scanf.c
2964 * stdio-common/vfscanf.c
2965 * stdio-common/vfwscanf.c
2966 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2967 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
2968 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
2969 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
2970 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
2971 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
2972 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
2973 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
2974 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
2975 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
2976 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
2977 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
2978 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
2979 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
2980 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
2982 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
2983 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
2984 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
2986 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
2987 with a preprocessor macro.
2989 * stdio-common/bug21.c, stdio-common/scanf14.c:
2990 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
2991 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2992 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
2993 to xscanf, xfscanf, xsscanf.
2995 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
2996 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2997 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
2998 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
3000 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
3001 override feature selection macros or provide definitions of u_char etc.
3002 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
3003 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
3004 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
3007 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3009 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3010 bits/termios-misc.h.
3011 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
3012 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3013 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3014 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3015 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
3016 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
3018 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
3019 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3020 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
3021 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
3022 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
3023 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
3025 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
3026 (sysdep_headers): Add termios-misc.h.
3028 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
3029 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3030 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3032 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3034 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
3035 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
3036 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
3037 TCSAFLUSH): Move to termios-tcflow.h.
3038 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3039 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3040 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3041 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3043 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3045 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
3046 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
3047 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
3048 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
3049 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
3050 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
3051 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
3052 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
3054 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3055 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3056 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3057 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3059 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3061 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
3062 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
3063 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
3064 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
3065 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
3067 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3068 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3069 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3070 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3073 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3075 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
3076 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
3077 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
3078 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
3079 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
3080 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
3081 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
3082 __MAX_BAUD): Move to termios-baud.h.
3083 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
3084 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
3085 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3086 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3087 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3089 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3091 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
3092 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
3093 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
3094 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
3095 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
3096 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
3098 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
3099 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
3101 [USE_MISC] (XTABS): Likewise.
3102 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3103 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3104 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3105 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
3107 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3109 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
3110 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
3111 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
3112 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
3113 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
3114 IUTF8): Move to termios-c_iflag.h.
3115 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3116 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3117 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3118 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3120 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3122 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
3123 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
3124 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
3125 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
3126 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
3127 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
3128 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
3129 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
3130 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3131 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3132 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3133 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3135 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
3136 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
3137 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
3138 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
3139 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3141 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
3143 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
3145 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
3147 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
3149 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
3151 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
3152 _HAVE_C_OSPEED): Define.
3153 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
3154 _HAVE_C_OSPEED): Likewise.
3155 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
3156 _HAVE_C_OSPEED): Likewise.
3157 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
3158 (cfsetospeed): Check for define value instead of existence.
3159 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
3160 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
3161 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
3162 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
3163 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
3166 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
3168 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3169 (TIOCSER_TEMT): Likewise.
3170 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
3171 (TEOCSER_TEMT): Likewise.
3173 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
3176 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
3178 2019-01-02 Joseph Myers <joseph@codesourcery.com>
3180 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
3182 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
3184 * sysdeps/htl/pt-barrierattr-setpshared.c
3185 (pthread_barrierattr_setpshared): Add stub warning.
3186 * sysdeps/htl/pt-condattr-setpshared.c
3187 (pthread_condattr_setpshared): Likewise.
3188 * sysdeps/htl/pt-mutexattr-setpshared.c
3189 (pthread_mutexattr_setpshared): Likewise.
3190 * sysdeps/htl/pt-rwlockattr-setpshared.c
3191 (pthread_rwlockattr_setpshared): Likewise.
3192 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
3193 (pthread_mutexattr_setpshared): Likewise.
3195 2019-01-02 Joseph Myers <joseph@codesourcery.com>
3197 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
3198 constants to match with Linux 4.20.
3200 * sysdeps/mips/mips32/libm-test-ulps: Update.
3201 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3203 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
3206 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
3207 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
3208 than __typeof (...) for the a_ptr variable.
3210 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3212 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
3213 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
3214 * libio/Makefile (tests): Add tst-sprintf-ub and
3216 (CFLAGS-tst-sprintf-ub.c): New variable.
3217 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
3218 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
3219 destination buffer and check for overflows in fortified mode.
3220 * libio/libioP.h (PRINTF_CHK): New macro.
3221 * libio/tst-sprintf-chk-ub.c: New file.
3222 * libio/tst-sprintf-ub.c: Likewise.
3224 2019-01-02 Florian Weimer <fweimer@redhat.com>
3227 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
3230 2019-01-02 Florian Weimer <fweimer@redhat.com>
3232 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
3234 2019-01-01 Joseph Myers <joseph@codesourcery.com>
3236 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
3239 * sysdeps/unix/sysv/linux/netpacket/packet.h
3240 (PACKET_IGNORE_OUTGOING): New macro.
3242 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
3245 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3247 (riscv_flush_icache): New syscall.
3249 * manual/texinfo.tex: Update to version 2018-12-28.17 with
3250 trailing whitespace removed.
3251 * scripts/config.guess: Update to version 2019-01-01.
3252 * scripts/config.sub: Update to version 2019-01-01.
3253 * scripts/move-if-change: Update from gnulib.
3255 * NEWS: Update copyright dates.
3256 * catgets/gencat.c (print_version): Likewise.
3257 * csu/version.c (banner): Likewise.
3258 * debug/catchsegv.sh: Likewise.
3259 * debug/pcprofiledump.c (print_version): Likewise.
3260 * debug/xtrace.sh (do_version): Likewise.
3261 * elf/ldconfig.c (print_version): Likewise.
3262 * elf/ldd.bash.in: Likewise.
3263 * elf/pldd.c (print_version): Likewise.
3264 * elf/sotruss.sh: Likewise.
3265 * elf/sprof.c (print_version): Likewise.
3266 * iconv/iconv_prog.c (print_version): Likewise.
3267 * iconv/iconvconfig.c (print_version): Likewise.
3268 * locale/programs/locale.c (print_version): Likewise.
3269 * locale/programs/localedef.c (print_version): Likewise.
3270 * login/programs/pt_chown.c (print_version): Likewise.
3271 * malloc/memusage.sh (do_version): Likewise.
3272 * malloc/memusagestat.c (print_version): Likewise.
3273 * malloc/mtrace.pl: Likewise.
3274 * manual/libc.texinfo: Likewise.
3275 * nptl/version.c (banner): Likewise.
3276 * nscd/nscd.c (print_version): Likewise.
3277 * nss/getent.c (print_version): Likewise.
3278 * nss/makedb.c (print_version): Likewise.
3279 * posix/getconf.c (main): Likewise.
3280 * scripts/test-installation.pl: Likewise.
3281 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3283 * All files with FSF copyright notices: Update copyright dates
3284 using scripts/update-copyrights.
3285 * locale/programs/charmap-kw.h: Regenerated.
3286 * locale/programs/locfile-kw.h: Likewise.
3288 2018-12-31 Joseph Myers <joseph@codesourcery.com>
3290 * timezone/zdump.c: Update from tzcode 2018i.
3291 * timezone/zic.c: Likewise.
3293 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
3295 regex: improve Gnulib port to AIX
3296 From the glibc point of view, this removes duplicate macro
3297 definitions and is obviously safe.
3298 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
3299 * posix/regex_internal.h:
3300 (__attribute__, __attribute_warn_unused_result__):
3301 Remove; already defined elsewhere.
3303 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
3306 * malloc/malloc.c (_int_realloc): Always call memcpy for the
3307 copying operation. (ncopies had the wrong type, resulting in an
3308 integer wraparound and too few elements being copied.)
3310 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
3313 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
3314 <asm/syscalls.h> exists with __has_include__ before including it.
3316 2018-12-31 Joseph Myers <joseph@codesourcery.com>
3318 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3321 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
3323 * hurd/lookup-retry: Include <unistd.h>.
3324 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
3325 Release it on return. Handle "pid" magical lookup retry.
3327 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3330 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
3331 (t_fmt_ampm): Likewise.
3332 * localedata/locales/aa_ER (t_fmt): Likewise.
3333 (t_fmt_ampm): Likewise.
3334 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
3335 (t_fmt_ampm): Likewise.
3336 * localedata/locales/aa_ET (t_fmt): Likewise.
3337 (t_fmt_ampm): Likewise.
3338 * localedata/locales/am_ET (t_fmt): Likewise.
3339 (t_fmt_ampm): Likewise.
3340 * localedata/locales/byn_ER (t_fmt): Likewise.
3341 (t_fmt_ampm): Likewise.
3342 * localedata/locales/om_ET (t_fmt): Likewise.
3343 (t_fmt_ampm): Likewise.
3344 * localedata/locales/sid_ET (t_fmt): Likewise.
3345 (t_fmt_ampm): Likewise.
3346 * localedata/locales/so_DJ (t_fmt): Likewise.
3347 (t_fmt_ampm): Likewise.
3348 * localedata/locales/so_ET (t_fmt): Likewise.
3349 (t_fmt_ampm): Likewise.
3350 * localedata/locales/so_SO (t_fmt): Likewise.
3351 (t_fmt_ampm): Likewise.
3352 * localedata/locales/ti_ER (t_fmt): Likewise.
3353 (t_fmt_ampm): Likewise.
3354 * localedata/locales/ti_ET (t_fmt): Likewise.
3355 (t_fmt_ampm): Likewise.
3356 * localedata/locales/tig_ER (t_fmt): Likewise.
3357 (t_fmt_ampm): Likewise.
3358 * localedata/locales/wal_ET (t_fmt): Likewise.
3359 (t_fmt_ampm): Likewise.
3361 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
3362 * localedata/locales/ar_IN (t_fmt): Likewise.
3363 * localedata/locales/bhb_IN (t_fmt): Likewise.
3364 * localedata/locales/bho_IN (t_fmt): Likewise.
3365 * localedata/locales/bi_VU (t_fmt): Likewise.
3366 * localedata/locales/bn_BD (t_fmt): Likewise.
3367 * localedata/locales/bn_IN (t_fmt): Likewise.
3368 * localedata/locales/brx_IN (t_fmt): Likewise.
3369 * localedata/locales/doi_IN (t_fmt): Likewise.
3370 * localedata/locales/en_HK (t_fmt): Likewise.
3371 (t_fmt_ampm): Likewise.
3372 * localedata/locales/en_IN (t_fmt): Likewise.
3373 * localedata/locales/en_PH (t_fmt): Likewise.
3374 * localedata/locales/gu_IN (t_fmt): Likewise.
3375 * localedata/locales/hi_IN (t_fmt): Likewise.
3376 * localedata/locales/hif_FJ (t_fmt): Likewise.
3377 * localedata/locales/hne_IN (t_fmt): Likewise.
3378 * localedata/locales/kn_IN (t_fmt): Likewise.
3379 * localedata/locales/kok_IN (t_fmt): Likewise.
3380 * localedata/locales/ks_IN (t_fmt): Likewise.
3381 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
3382 * localedata/locales/mag_IN (t_fmt): Likewise.
3383 * localedata/locales/mai_IN (t_fmt): Likewise.
3384 * localedata/locales/mjw_IN (t_fmt): Likewise.
3385 * localedata/locales/ml_IN (t_fmt): Likewise.
3386 * localedata/locales/mni_IN (t_fmt): Likewise.
3387 * localedata/locales/mr_IN (t_fmt): Likewise.
3388 * localedata/locales/ms_MY (t_fmt): Likewise.
3389 * localedata/locales/pa_IN (t_fmt): Likewise.
3390 * localedata/locales/raj_IN (t_fmt): Likewise.
3391 * localedata/locales/sa_IN (t_fmt): Likewise.
3392 * localedata/locales/sat_IN (t_fmt): Likewise.
3393 * localedata/locales/sd_IN (t_fmt): Likewise.
3394 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
3395 * localedata/locales/tcy_IN (t_fmt): Likewise.
3396 * localedata/locales/the_NP (t_fmt): Likewise.
3397 * localedata/locales/to_TO (t_fmt): Likewise.
3398 * localedata/locales/ur_IN (t_fmt): Likewise.
3400 * localedata/locales/hif_FJ (d_t_fmt): Set to
3401 "%A %d %b %Y %I:%M:%S %p".
3402 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
3404 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
3405 * localedata/locales/ar_BH (t_fmt): Likewise.
3406 * localedata/locales/ar_DZ (t_fmt): Likewise.
3407 * localedata/locales/ar_EG (t_fmt): Likewise.
3408 * localedata/locales/ar_IQ (t_fmt): Likewise.
3409 * localedata/locales/ar_JO (t_fmt): Likewise.
3410 * localedata/locales/ar_KW (t_fmt): Likewise.
3411 * localedata/locales/ar_LB (t_fmt): Likewise.
3412 * localedata/locales/ar_LY (t_fmt): Likewise.
3413 * localedata/locales/ar_OM (t_fmt): Likewise.
3414 * localedata/locales/ar_QA (t_fmt): Likewise.
3415 * localedata/locales/ar_SD (t_fmt): Likewise.
3416 * localedata/locales/ar_SS (t_fmt): Likewise.
3417 * localedata/locales/ar_SY (t_fmt): Likewise.
3418 * localedata/locales/ar_TN (t_fmt): Likewise.
3419 * localedata/locales/ar_YE (t_fmt): Likewise.
3421 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
3422 (t_fmt_ampm): Likewise.
3423 * localedata/locales/gez_ET (t_fmt): Likewise.
3424 (t_fmt_ampm): Likewise.
3426 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
3427 (t_fmt_ampm): Likewise.
3428 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
3430 * localedata/locales/zh_HK (t_fmt):
3431 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
3433 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
3434 because this locale does not use the 12-hour clock.
3435 (t_fmt): Set to "%Z %H:%M:%S".
3436 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
3438 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
3439 because this locale does not use the 12-hour clock.
3440 (t_fmt): Set to "%H:%M:%S %Z".
3441 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
3443 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
3444 because this locale does not use the 12-hour clock.
3445 (t_fmt): Set to "%T".
3446 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
3447 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
3449 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
3450 because this locale does not use the 12-hour clock.
3451 (t_fmt): Set to "%H:%M:%S %Z".
3452 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
3454 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
3455 because this locale does not use the 12-hour clock.
3456 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
3457 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
3459 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3463 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
3464 (t_fmt_ampm): Likewise.
3465 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
3466 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
3467 (d_fmt): Set to "%-d.%-m.%y".
3469 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3471 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
3472 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
3473 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
3475 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
3476 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
3477 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
3479 * support/blob_repeat.c (check_mul_overflow_size_t,
3480 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
3482 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
3484 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
3486 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
3488 regex: simplify Gnulib port
3489 This simplifies the code, by removing stuff intended for porting
3490 to Gnulib but no longer needed there.
3491 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
3492 uses of libc_hidden_def, weak_alias.
3493 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
3494 _Restrict_ except for public-facing headers.
3495 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
3496 Remove; already defined elsewhere.
3497 * posix/regex.c, posix/regex_internal.h:
3498 Use __GNUC_PREREQ instead of rolling our own.
3499 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
3501 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
3503 * benchtests/bench-strlen.c (generic_strlen): New function.
3504 (memchr_strlen): New function.
3506 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3508 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
3509 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
3510 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
3512 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3514 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3516 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3518 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
3519 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
3520 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
3521 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
3522 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
3523 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
3524 <sysdeps/ieee754/flt-32/s_sincosf.c>.
3526 2018-12-21 Joseph Myers <joseph@codesourcery.com>
3529 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
3530 PLT reference in libc.so.
3531 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
3532 _Q_lltoq and _Q_qtod PLT references in libc.so.
3534 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
3536 * benchtests/bench-memchr.c: Cleanup defines.
3537 * benchtests/bench-memcmp.c: Likewise.
3538 * benchtests/bench-memset.c: Likewise.
3539 * benchtests/bench-memset-large.c: Likewise.
3540 * benchtests/bench-memset-walk.c: Likewise.
3541 * benchtests/bench-stpcpy.c: Likewise.
3542 * benchtests/bench-stpncpy.c: Likewise.
3543 * benchtests/bench-strcat.c: Likewise.
3544 * benchtests/bench-strchr.c: Likewise.
3545 * benchtests/bench-strcmp.c: Likewise.
3546 * benchtests/bench-strcpy.c: Likewise.
3547 * benchtests/bench-strcspn.c: Likewise.
3548 * benchtests/bench-string.h: Likewise.
3549 * benchtests/bench-strlen.c: Likewise.
3550 * benchtests/bench-strncat.c: Likewise.
3551 * benchtests/bench-strncmp.c: Likewise.
3552 * benchtests/bench-strncpy.c: Likewise.
3553 * benchtests/bench-strnlen.c: Likewise.
3554 * benchtests/bench-strpbrk.c: Likewise.
3555 * benchtests/bench-strrchr.c: Likewise.
3556 * benchtests/bench-strspn.c: Likewise.
3558 2018-12-21 Joseph Myers <joseph@codesourcery.com>
3560 * stdlib/longlong.h: Update from GCC.
3563 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
3564 * configure: Regenerated.
3565 * manual/install.texi (Tools for Compilation): Update minimum GCC
3567 * INSTALL: Regenerated.
3569 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
3571 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
3573 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
3575 * malloc/malloc.c (mremap_chunk): Additional checks.
3577 2018-12-21 Mao Han <han_mao@c-sky.com>
3579 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
3580 * scripts/build-many-glibcs.py: Add C-SKY targets.
3581 * sysdeps/csky/Implies: New file.
3582 * sysdeps/csky/Makefile: Likewise.
3583 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
3584 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
3585 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
3586 * sysdeps/csky/abiv2/memcmp.S: Likewise.
3587 * sysdeps/csky/abiv2/memcpy.S: Likewise.
3588 * sysdeps/csky/abiv2/memmove.S: Likewise.
3589 * sysdeps/csky/abiv2/memset.S: Likewise.
3590 * sysdeps/csky/abiv2/setjmp.S: Likewise.
3591 * sysdeps/csky/abiv2/start.S: Likewise.
3592 * sysdeps/csky/abiv2/strcmp.S: Likewise.
3593 * sysdeps/csky/abiv2/strcpy.S: Likewise.
3594 * sysdeps/csky/abiv2/strlen.S: Likewise.
3595 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
3596 * sysdeps/csky/abort-instr.h: Likewise.
3597 * sysdeps/csky/atomic-machine.h: Likewise.
3598 * sysdeps/csky/bits/endian.h: Likewise.
3599 * sysdeps/csky/bits/fenv.h: Likewise.
3600 * sysdeps/csky/bits/link.h: Likewise.
3601 * sysdeps/csky/bits/setjmp.h: Likewise.
3602 * sysdeps/csky/bsd-_setjmp.S: Likewise.
3603 * sysdeps/csky/bsd-setjmp.S: Likewise.
3604 * sysdeps/csky/configure: Likewise.
3605 * sysdeps/csky/configure.ac: Likewise.
3606 * sysdeps/csky/dl-machine.h: Likewise.
3607 * sysdeps/csky/dl-procinfo.c: Likewise.
3608 * sysdeps/csky/dl-procinfo.h: Likewise.
3609 * sysdeps/csky/dl-sysdep.h: Likewise.
3610 * sysdeps/csky/dl-tls.h: Likewise.
3611 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
3612 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
3613 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
3614 * sysdeps/csky/fpu/fegetenv.c: Likewise.
3615 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
3616 * sysdeps/csky/fpu/fegetmode.c: Likewise.
3617 * sysdeps/csky/fpu/fegetround.c: Likewise.
3618 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
3619 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
3620 * sysdeps/csky/fpu/fenv_private.h: Likewise.
3621 * sysdeps/csky/fpu/fesetenv.c: Likewise.
3622 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
3623 * sysdeps/csky/fpu/fesetmode.c: Likewise.
3624 * sysdeps/csky/fpu/fesetround.c: Likewise.
3625 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
3626 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
3627 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
3628 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
3629 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
3630 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
3631 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
3632 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
3633 * sysdeps/csky/fpu_control.h: Likewise.
3634 * sysdeps/csky/gccframe.h: Likewise.
3635 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
3636 * sysdeps/csky/ldsodefs.h: Likewise.
3637 * sysdeps/csky/libc-tls.c: Likewise.
3638 * sysdeps/csky/linkmap.h: Likewise.
3639 * sysdeps/csky/machine-gmon.h: Likewise.
3640 * sysdeps/csky/memusage.h: Likewise.
3641 * sysdeps/csky/nofpu/Implies: Likewise.
3642 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
3643 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
3644 * sysdeps/csky/nptl/Makefile: Likewise.
3645 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
3646 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
3647 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
3648 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
3649 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
3650 * sysdeps/csky/nptl/tls.h: Likewise.
3651 * sysdeps/csky/preconfigure: Likewise.
3652 * sysdeps/csky/sfp-machine.h: Likewise.
3653 * sysdeps/csky/sotruss-lib.c: Likewise.
3654 * sysdeps/csky/stackinfo.h: Likewise.
3655 * sysdeps/csky/sysdep.h: Likewise.
3656 * sysdeps/csky/tininess.h: Likewise.
3657 * sysdeps/csky/tst-audit.h: Likewise.
3658 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
3659 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
3660 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
3661 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
3662 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
3663 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
3664 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
3665 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
3666 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
3667 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
3668 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
3669 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
3670 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
3671 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
3672 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
3673 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
3674 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
3675 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
3676 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
3677 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
3678 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
3679 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
3680 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
3681 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
3682 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
3683 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
3684 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
3685 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
3686 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
3687 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
3688 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
3689 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
3690 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
3691 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
3692 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
3693 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
3694 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
3695 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
3696 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
3697 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
3698 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
3699 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
3700 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
3701 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
3703 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
3705 * include/time.h (__difftime64): Add.
3706 * time/difftime.c (subtract): convert to 64-bit time.
3707 * time/difftime.c (__difftime64): Add.
3708 * time/difftime.c (__difftime): Wrap around __difftime64.
3710 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3712 * manual/examples/add.c: Remove redundant "if not".
3713 * manual/examples/argp-ex1.c: Likewise.
3714 * manual/examples/argp-ex2.c: Likewise.
3715 * manual/examples/argp-ex3.c: Likewise.
3716 * manual/examples/argp-ex4.c: Likewise.
3717 * manual/examples/atexit.c: Likewise.
3718 * manual/examples/db.c: Likewise.
3719 * manual/examples/dir.c: Likewise.
3720 * manual/examples/dir2.c: Likewise.
3721 * manual/examples/execinfo.c: Likewise.
3722 * manual/examples/filecli.c: Likewise.
3723 * manual/examples/filesrv.c: Likewise.
3724 * manual/examples/fmtmsgexpl.c: Likewise.
3725 * manual/examples/genpass.c: Likewise.
3726 * manual/examples/inetcli.c: Likewise.
3727 * manual/examples/inetsrv.c: Likewise.
3728 * manual/examples/isockad.c: Likewise.
3729 * manual/examples/longopt.c: Likewise.
3730 * manual/examples/memopen.c: Likewise.
3731 * manual/examples/memstrm.c: Likewise.
3732 * manual/examples/mkdirent.c: Likewise.
3733 * manual/examples/mkfsock.c: Likewise.
3734 * manual/examples/mkisock.c: Likewise.
3735 * manual/examples/mygetpass.c: Likewise.
3736 * manual/examples/pipe.c: Likewise.
3737 * manual/examples/popen.c: Likewise.
3738 * manual/examples/rprintf.c: Likewise.
3739 * manual/examples/search.c: Likewise.
3740 * manual/examples/select.c: Likewise.
3741 * manual/examples/setjmp.c: Likewise.
3742 * manual/examples/sigh1.c: Likewise.
3743 * manual/examples/sigusr.c: Likewise.
3744 * manual/examples/stpcpy.c: Likewise.
3745 * manual/examples/strdupa.c: Likewise.
3746 * manual/examples/strftim.c: Likewise.
3747 * manual/examples/subopt.c: Likewise.
3748 * manual/examples/swapcontext.c: Likewise.
3749 * manual/examples/termios.c: Likewise.
3750 * manual/examples/testopt.c: Likewise.
3751 * manual/examples/testpass.c: Likewise.
3752 * manual/examples/timeval_subtract.c: Likewise.
3754 2018-12-19 Joseph Myers <joseph@codesourcery.com>
3756 * sysdeps/x86/fpu/math_private.h: New file.
3757 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
3759 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
3764 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3766 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
3767 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
3768 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
3769 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
3771 (_dl_show_auxv): Give a special treatment to
3772 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
3773 and AT_L3_CACHEGEOMETRY.
3774 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
3775 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
3776 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
3777 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
3779 2018-12-19 Andreas Schwab <schwab@suse.de>
3781 * nscd/connections.c (check_use): Don't abort on invalid len.
3783 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
3785 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
3786 values in the 64bit value cases.
3788 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
3794 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
3800 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
3803 (__gmtime64_r): Add.
3805 (__gmtime64_r): Add.
3806 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3812 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3815 (__localtime64_r): Add.
3817 (__localtime64_r): Add.
3818 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
3820 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3822 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
3823 kernel_sigction definition.
3825 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
3827 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
3829 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
3830 __syscall_rt_sigaction.
3831 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
3832 (kernel_sigaction): Use Linux generic defintion.
3834 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
3835 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
3836 (__syscall_rt_sigaction): Remove implementation.
3837 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
3839 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
3840 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
3841 INTERNAL_SYSCALL): Remove definitions.
3842 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
3843 action and signal set size.
3844 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
3845 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
3847 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3848 James Clarke <jrtc27@jrtc27.com>
3851 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
3852 Define if SA_RESTORER is defined.
3853 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
3854 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
3856 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
3857 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
3859 (HAS_SA_RESTORER): Define.
3860 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
3861 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
3862 (HAS_SA_RESTORER): Define.
3863 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
3864 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
3865 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
3866 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
3867 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3869 2018-12-18 Joseph Myers <joseph@codesourcery.com>
3871 * sysdeps/unix/sysv/linux/kernel-features.h
3872 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
3873 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3874 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
3875 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3876 (__ASSUME_ST_INO_64_BIT): Likewise.
3877 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3878 <kernel-features.h>.
3879 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3880 Remove conditional code.
3881 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3882 <kernel-features.h>.
3883 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3884 Remove conditional code.
3885 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
3886 <kernel-features.h>.
3887 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3888 Remove conditional code.
3889 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
3890 <kernel-features.h>.
3891 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
3892 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
3894 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3896 * sysdeps/s390/multiarch/ifunc-resolve.h
3897 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
3898 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
3899 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
3900 Delete macro definition.
3901 (s390_libc_ifunc_init): Rename to
3902 s390_libc_ifunc_expr_stfle_init.
3903 * sysdeps/s390/bzero: Use
3904 s390_libc_ifunc_expr_stfle_init instead of
3905 s390_libc_ifunc_init.
3906 * sysdeps/s390/memcmp.c: Likewise.
3907 * sysdeps/s390/memcpy.c: Likewise.
3908 * sysdeps/s390/mempcpy.c: Likewise.
3909 * sysdeps/s390/memset.c: Likewise.
3911 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3913 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
3914 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
3916 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3918 * sysdeps/s390/multiarch/Makefile
3919 (sysdep_routines): Remove wmemcmp variants.
3920 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
3921 * sysdeps/s390/multiarch/ifunc-impl-list.c
3922 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
3923 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
3924 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
3925 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
3926 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
3927 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
3928 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
3929 * sysdeps/s390/ifunc-wmemcmp.h: New file.
3931 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3933 * sysdeps/s390/multiarch/Makefile
3934 (sysdep_routines): Remove wmemset variants.
3935 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
3936 * sysdeps/s390/multiarch/ifunc-impl-list.c
3937 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
3938 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
3939 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
3940 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
3941 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
3942 * sysdeps/s390/multiarch/wmemset.c: Move to ...
3943 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
3944 * sysdeps/s390/ifunc-wmemset.h: New file.
3946 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3948 * sysdeps/s390/multiarch/Makefile
3949 (sysdep_routines): Remove wmemchr variants.
3950 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
3951 * sysdeps/s390/multiarch/ifunc-impl-list.c
3952 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
3953 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
3954 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
3955 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
3956 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
3957 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
3958 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
3959 * sysdeps/s390/ifunc-wmemchr.h: New file.
3961 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3963 * sysdeps/s390/multiarch/Makefile
3964 (sysdep_routines): Remove wcscspn variants.
3965 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
3966 * sysdeps/s390/multiarch/ifunc-impl-list.c
3967 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
3968 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
3969 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
3970 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
3971 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
3972 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
3973 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
3974 * sysdeps/s390/ifunc-wcscspn.h: New file.
3976 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3978 * sysdeps/s390/multiarch/Makefile
3979 (sysdep_routines): Remove wcspbrk variants.
3980 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
3981 * sysdeps/s390/multiarch/ifunc-impl-list.c
3982 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
3983 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
3984 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
3985 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
3986 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
3987 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
3988 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
3989 * sysdeps/s390/ifunc-wcspbrk.h: New file.
3991 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3993 * sysdeps/s390/multiarch/Makefile
3994 (sysdep_routines): Remove wcsspn variants.
3995 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
3996 * sysdeps/s390/multiarch/ifunc-impl-list.c
3997 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
3998 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
3999 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
4000 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
4001 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
4002 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
4003 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
4004 * sysdeps/s390/ifunc-wcsspn.h: New file.
4006 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4008 * sysdeps/s390/multiarch/Makefile
4009 (sysdep_routines): Remove wcsrchr variants.
4010 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
4011 * sysdeps/s390/multiarch/ifunc-impl-list.c
4012 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
4013 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
4014 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
4015 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
4016 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
4017 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
4018 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
4019 * sysdeps/s390/ifunc-wcsrchr.h: New file.
4021 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4023 * sysdeps/s390/multiarch/Makefile
4024 (sysdep_routines): Remove wcschrnul variants.
4025 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
4026 * sysdeps/s390/multiarch/ifunc-impl-list.c
4027 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
4028 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
4029 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
4030 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
4031 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
4032 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
4033 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
4034 * sysdeps/s390/ifunc-wcschrnul.h: New file.
4036 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4038 * sysdeps/s390/multiarch/Makefile
4039 (sysdep_routines): Remove wcschr variants.
4040 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
4041 * sysdeps/s390/multiarch/ifunc-impl-list.c
4042 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
4043 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
4044 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
4045 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
4046 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
4047 * sysdeps/s390/multiarch/wcschr.c: Move to ...
4048 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
4049 * sysdeps/s390/ifunc-wcschr.h: New file.
4051 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4053 * sysdeps/s390/multiarch/Makefile
4054 (sysdep_routines): Remove wcsncmp variants.
4055 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
4056 * sysdeps/s390/multiarch/ifunc-impl-list.c
4057 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
4058 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
4059 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
4060 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
4061 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
4062 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
4063 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
4064 * sysdeps/s390/ifunc-wcsncmp.h: New file.
4066 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4068 * sysdeps/s390/multiarch/Makefile
4069 (sysdep_routines): Remove wcscmp variants.
4070 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
4071 * sysdeps/s390/multiarch/ifunc-impl-list.c
4072 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
4073 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
4074 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
4075 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
4076 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
4077 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
4078 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
4079 * sysdeps/s390/ifunc-wcscmp.h: New file.
4081 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4083 * sysdeps/s390/multiarch/Makefile
4084 (sysdep_routines): Remove wcsncat variants.
4085 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
4086 * sysdeps/s390/multiarch/ifunc-impl-list.c
4087 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
4088 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
4089 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
4090 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
4091 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
4092 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
4093 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
4094 * sysdeps/s390/ifunc-wcsncat.h: New file.
4096 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4098 * sysdeps/s390/multiarch/Makefile
4099 (sysdep_routines): Remove wcscat variants.
4100 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
4101 * sysdeps/s390/multiarch/ifunc-impl-list.c
4102 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
4103 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
4104 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
4105 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
4106 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
4107 * sysdeps/s390/multiarch/wcscat.c: Move to ...
4108 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
4109 * sysdeps/s390/ifunc-wcscat.h: New file.
4111 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4113 * sysdeps/s390/multiarch/Makefile
4114 (sysdep_routines): Remove wcpncpy variants.
4115 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
4116 * sysdeps/s390/multiarch/ifunc-impl-list.c
4117 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
4118 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
4119 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
4120 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
4121 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
4122 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
4123 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
4124 * sysdeps/s390/ifunc-wcpncpy.h: New file.
4126 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4128 * sysdeps/s390/multiarch/Makefile
4129 (sysdep_routines): Remove wcsncpy variants.
4130 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
4131 * sysdeps/s390/multiarch/ifunc-impl-list.c
4132 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
4133 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
4134 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
4135 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
4136 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
4137 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
4138 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
4139 * sysdeps/s390/ifunc-wcsncpy.h: New file.
4141 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4143 * sysdeps/s390/multiarch/Makefile
4144 (sysdep_routines): Remove wcpcpy variants.
4145 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
4146 * sysdeps/s390/multiarch/ifunc-impl-list.c
4147 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
4148 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
4149 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
4150 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
4151 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
4152 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
4153 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
4154 * sysdeps/s390/ifunc-wcpcpy.h: New file.
4156 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4158 * sysdeps/s390/multiarch/Makefile
4159 (sysdep_routines): Remove wcscpy variants.
4160 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
4161 * sysdeps/s390/multiarch/ifunc-impl-list.c
4162 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
4163 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
4164 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
4165 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
4166 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
4167 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
4168 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
4169 * sysdeps/s390/ifunc-wcscpy.h: New file.
4171 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4173 * sysdeps/s390/multiarch/Makefile
4174 (sysdep_routines): Remove wcsnlen variants.
4175 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
4176 * sysdeps/s390/multiarch/ifunc-impl-list.c
4177 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
4178 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
4179 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
4180 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
4181 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
4182 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
4183 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
4184 * sysdeps/s390/ifunc-wcsnlen.h: New file.
4186 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4188 * sysdeps/s390/multiarch/Makefile
4189 (sysdep_routines): Remove wcslen variants.
4190 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
4191 * sysdeps/s390/multiarch/ifunc-impl-list.c
4192 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
4193 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
4194 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
4195 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
4196 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
4197 * sysdeps/s390/multiarch/wcslen.c: Move to ...
4198 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
4199 * sysdeps/s390/ifunc-wcslen.h: New file.
4201 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4203 * sysdeps/s390/multiarch/Makefile
4204 (sysdep_routines): Remove memrchr variants.
4205 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
4206 * sysdeps/s390/multiarch/ifunc-impl-list.c
4207 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
4208 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
4209 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
4210 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
4211 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
4212 * sysdeps/s390/multiarch/memrchr.c: Move to ...
4213 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
4214 * sysdeps/s390/ifunc-memrchr.h: New file.
4216 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4218 * sysdeps/s390/multiarch/Makefile
4219 (sysdep_routines): Remove memccpy variants.
4220 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
4221 * sysdeps/s390/multiarch/ifunc-impl-list.c
4222 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
4223 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
4224 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
4225 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
4226 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
4227 * sysdeps/s390/multiarch/memccpy.c: Move to ...
4228 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
4229 * sysdeps/s390/ifunc-memccpy.h: New file.
4231 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4233 * sysdeps/s390/multiarch/Makefile
4234 (sysdep_routines): Remove rawmemchr variants.
4235 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
4236 * sysdeps/s390/multiarch/ifunc-impl-list.c
4237 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
4238 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
4239 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
4240 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
4241 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
4242 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
4243 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
4244 * sysdeps/s390/ifunc-rawmemchr.h: New file.
4246 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4248 * sysdeps/s390/multiarch/Makefile
4249 (sysdep_routines): Remove memchr variants.
4250 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
4251 * sysdeps/s390/multiarch/ifunc-impl-list.c
4252 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
4253 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
4254 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
4255 * sysdeps/s390/multiarch/memchr.c: Move to ...
4256 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
4257 * sysdeps/s390/ifunc-memchr.h: New file.
4258 * sysdeps/s390/s390-64/memchr.S: Move to ...
4259 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
4260 for 31/64bit and ifunc handling.
4261 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
4262 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
4263 * sysdeps/s390/s390-32/memchr.S: Likewise.
4265 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4267 * sysdeps/s390/multiarch/Makefile
4268 (sysdep_routines): Remove strcspn variants.
4269 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
4270 * sysdeps/s390/multiarch/ifunc-impl-list.c
4271 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
4272 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
4273 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
4274 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
4275 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
4276 * sysdeps/s390/multiarch/strcspn.c: Move to ...
4277 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
4278 * sysdeps/s390/ifunc-strcspn.h: New file.
4280 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4282 * sysdeps/s390/multiarch/Makefile
4283 (sysdep_routines): Remove strpbrk variants.
4284 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
4285 * sysdeps/s390/multiarch/ifunc-impl-list.c
4286 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
4287 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
4288 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
4289 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
4290 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
4291 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
4292 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
4293 * sysdeps/s390/ifunc-strpbrk.h: New file.
4295 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4297 * sysdeps/s390/multiarch/Makefile
4298 (sysdep_routines): Remove strspn variants.
4299 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
4300 * sysdeps/s390/multiarch/ifunc-impl-list.c
4301 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
4302 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
4303 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
4304 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
4305 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
4306 * sysdeps/s390/multiarch/strspn.c: Move to ...
4307 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
4308 * sysdeps/s390/ifunc-strspn.h: New file.
4310 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4312 * sysdeps/s390/multiarch/Makefile
4313 (sysdep_routines): Remove strrchr variants.
4314 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
4315 * sysdeps/s390/multiarch/ifunc-impl-list.c
4316 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
4317 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
4318 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
4319 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
4320 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
4321 * sysdeps/s390/multiarch/strrchr.c: Move to ...
4322 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
4323 * sysdeps/s390/ifunc-strrchr.h: New file.
4325 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4327 * sysdeps/s390/multiarch/Makefile
4328 (sysdep_routines): Remove strchrnul variants.
4329 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
4330 * sysdeps/s390/multiarch/ifunc-impl-list.c
4331 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
4332 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
4333 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
4334 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
4335 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
4336 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
4337 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
4338 * sysdeps/s390/ifunc-strchrnul.h: New file.
4340 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4342 * sysdeps/s390/multiarch/Makefile
4343 (sysdep_routines): Remove strchr variants.
4344 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
4345 * sysdeps/s390/multiarch/ifunc-impl-list.c
4346 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
4347 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
4348 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
4349 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
4350 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
4351 * sysdeps/s390/multiarch/strchr.c: Move to ...
4352 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
4353 * sysdeps/s390/ifunc-strchr.h: New file.
4355 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4357 * sysdeps/s390/multiarch/Makefile
4358 (sysdep_routines): Remove strncmp variants.
4359 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
4360 * sysdeps/s390/multiarch/ifunc-impl-list.c
4361 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
4362 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
4363 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
4364 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
4365 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
4366 * sysdeps/s390/multiarch/strncmp.c: Move to ...
4367 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
4368 * sysdeps/s390/ifunc-strncmp.h: New file.
4370 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4372 * sysdeps/s390/multiarch/Makefile
4373 (sysdep_routines): Remove strcmp variants.
4374 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
4375 * sysdeps/s390/multiarch/ifunc-impl-list.c
4376 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
4377 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
4378 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
4379 * sysdeps/s390/multiarch/strcmp.c: Move to ...
4380 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
4381 * sysdeps/s390/ifunc-strcmp.h: New file.
4382 * sysdeps/s390/s390-64/strcmp.S: Move to ...
4383 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
4384 for 31/64bit and ifunc handling.
4385 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
4386 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
4387 * sysdeps/s390/s390-32/strcmp.S: Likewise.
4389 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4391 * sysdeps/s390/multiarch/Makefile
4392 (sysdep_routines): Remove strncat variants.
4393 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
4394 * sysdeps/s390/multiarch/ifunc-impl-list.c
4395 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
4396 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
4397 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
4398 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
4399 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
4400 * sysdeps/s390/multiarch/strncat.c: Move to ...
4401 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
4402 * sysdeps/s390/ifunc-strncat.h: New file.
4404 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4406 * sysdeps/s390/multiarch/Makefile
4407 (sysdep_routines): Remove strcat variants.
4408 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
4409 * sysdeps/s390/multiarch/ifunc-impl-list.c
4410 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
4411 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
4412 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
4413 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
4414 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
4415 * sysdeps/s390/multiarch/strcat.c: Move to ...
4416 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
4417 * sysdeps/s390/ifunc-strcat.h: New file.
4419 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4421 * sysdeps/s390/multiarch/Makefile
4422 (sysdep_routines): Remove stpncpy variants.
4423 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
4424 * sysdeps/s390/multiarch/ifunc-impl-list.c
4425 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
4426 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
4427 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
4428 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
4429 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
4430 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
4431 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
4432 * sysdeps/s390/ifunc-stpncpy.h: New file.
4434 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4436 * sysdeps/s390/multiarch/Makefile
4437 (sysdep_routines): Remove strncpy variants.
4438 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
4439 * sysdeps/s390/multiarch/ifunc-impl-list.c
4440 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
4441 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
4442 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
4443 * sysdeps/s390/multiarch/strncpy.c: Move to ...
4444 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
4445 * sysdeps/s390/ifunc-strncpy.h: New file.
4446 * sysdeps/s390/s390-64/strncpy.S: Move to ...
4447 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
4448 and adjust ifunc handling.
4449 * sysdeps/s390/s390-32/strncpy.S: Move to ...
4450 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
4451 and adjust ifunc handling.
4452 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
4453 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
4455 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4457 * sysdeps/s390/multiarch/Makefile
4458 (sysdep_routines): Remove stpcpy variants.
4459 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
4460 * sysdeps/s390/multiarch/ifunc-impl-list.c
4461 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
4462 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
4463 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
4464 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
4465 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
4466 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
4467 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
4468 * sysdeps/s390/ifunc-stpcpy.h: New file.
4470 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4472 * sysdeps/s390/multiarch/Makefile
4473 (sysdep_routines): Remove strcpy variants.
4474 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
4475 * sysdeps/s390/multiarch/ifunc-impl-list.c
4476 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
4477 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
4478 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
4479 * sysdeps/s390/multiarch/strcpy.c: Move to ...
4480 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
4481 * sysdeps/s390/ifunc-strcpy.h: New file.
4482 * sysdeps/s390/s390-64/strcpy.S: Move to ...
4483 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
4484 for 31/64bit and ifunc handling.
4485 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
4486 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
4487 * sysdeps/s390/s390-32/strcpy.S: Likewise.
4489 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4491 * sysdeps/s390/multiarch/Makefile
4492 (sysdep_routines): Remove strnlen variants.
4493 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
4494 * sysdeps/s390/multiarch/ifunc-impl-list.c
4495 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
4496 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
4497 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
4498 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
4499 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
4500 * sysdeps/s390/multiarch/strnlen.c: Move to ...
4501 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
4502 * sysdeps/s390/ifunc-strnlen.h: New file.
4504 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4506 * sysdeps/s390/multiarch/Makefile
4507 (sysdep_routines): Remove strlen variants.
4508 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
4509 * sysdeps/s390/multiarch/ifunc-impl-list.c
4510 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
4511 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
4512 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
4513 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
4514 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
4515 * sysdeps/s390/multiarch/strlen.c: Move to ...
4516 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
4517 * sysdeps/s390/ifunc-strlen.h: New file.
4519 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4521 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
4522 * sysdeps/s390/multiarch/ifunc-impl-list.c
4523 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
4524 * sysdeps/s390/ifunc-memmem.h: New file.
4525 * sysdeps/s390/memmem.c: Likewise.
4526 * sysdeps/s390/memmem-c.c: Likewise.
4527 * sysdeps/s390/memmem-vx.c: Likewise.
4529 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4531 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
4532 * sysdeps/s390/multiarch/ifunc-impl-list.c
4533 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
4534 * sysdeps/s390/ifunc-strstr.h: New file.
4535 * sysdeps/s390/strstr.c: Likewise.
4536 * sysdeps/s390/strstr-c.c: Likewise.
4537 * sysdeps/s390/strstr-vx.c: Likewise.
4539 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4541 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
4542 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
4543 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
4544 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
4546 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
4547 * sysdeps/s390/memmove-c.c: New file.
4548 * sysdeps/s390/memmove.c: Likewise.
4549 * sysdeps/s390/multiarch/ifunc-impl-list.c
4550 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
4552 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4554 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
4555 * sysdeps/s390/configure.ac: Add check for z13 support.
4556 * sysdeps/s390/configure: Regenerated.
4558 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4560 * sysdeps/s390/memcopy.h: New file.
4562 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4564 * sysdeps/s390/s390-32/bcopy.S: Remove.
4565 * sysdeps/s390/s390-64/bcopy.S: Likewise.
4567 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4569 * sysdeps/s390/ifunc-memcpy.h: New File.
4570 * sysdeps/s390/memcpy.S: Move to ...
4571 * sysdeps/s390/memcpy-z900.S ... here.
4572 Move implementations from memcpy-s390x.s to here.
4573 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
4574 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4575 Remove memcpy/mempcpy variants.
4576 * sysdeps/s390/Makefile (sysdep_routines):
4577 Add memcpy/mempcpy variants.
4578 * sysdeps/s390/multiarch/ifunc-impl-list.c
4579 (__libc_ifunc_impl_list): Adjust ifunc variants for
4581 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
4583 * sysdeps/s390/memcpy.c: ... here.
4584 Adjust ifunc variants for memcpy.
4585 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
4586 * sysdeps/s390/mempcpy.c: ... here.
4587 Adjust ifunc variants for mempcpy.
4588 * sysdeps/s390/mempcpy.S: Delete file.
4590 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4592 * sysdeps/s390/s390-64/memcpy.S: Move to ...
4593 * sysdeps/s390/memcpy.S: ... here.
4594 Adjust to be usable for 31/64bit.
4595 * sysdeps/s390/s390-32/memcpy.S: Delete File.
4596 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
4597 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
4598 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4599 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
4600 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
4601 Adjust to be usable for 31/64bit.
4602 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
4603 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
4604 * sysdeps/s390/multiarch/memcpy.c: ... here.
4605 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
4607 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4609 * sysdeps/s390/ifunc-memcmp.h: New File.
4610 * sysdeps/s390/memcmp.S: Move to ...
4611 * sysdeps/s390/memcmp-z900.S ... here.
4612 Move implementations from memcmp-s390x.s to here.
4613 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
4614 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4615 Remove memcmp variants.
4616 * sysdeps/s390/Makefile (sysdep_routines):
4617 Add memcmp variants.
4618 * sysdeps/s390/multiarch/ifunc-impl-list.c
4619 (__libc_ifunc_impl_list): Adjust ifunc variants for
4621 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
4623 * sysdeps/s390/memcmp.c: ... here.
4624 Adjust ifunc variants for memcmp.
4626 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4628 * sysdeps/s390/s390-64/memcmp.S: Move to ...
4629 * sysdeps/s390/memcmp.S: ... here.
4630 Adjust to be usable for 31/64bit.
4631 * sysdeps/s390/s390-32/memcmp.S: Delete File.
4632 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
4633 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4635 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4636 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
4637 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
4638 Adjust to be usable for 31/64bit.
4639 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
4640 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
4641 * sysdeps/s390/multiarch/memcmp.c: ... here.
4642 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
4644 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4646 * sysdeps/s390/s390-32/bzero.S: Delete file.
4647 * sysdeps/s390/s390-64/bzero.S: Likewise.
4648 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
4649 * sysdeps/s390/bzero.c: New file.
4650 * sysdeps/s390/memset-z900.S: Add bzero entry points.
4651 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
4652 * sysdeps/s390/multiarch/ifunc-impl-list.c
4653 (__libc_ifunc_impl_list): Add bzero ifunc variants.
4655 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4657 * sysdeps/s390/ifunc-memset.h: New File.
4658 * sysdeps/s390/memset.S: Move to ...
4659 * sysdeps/s390/memset-z900.S ... here.
4660 Move implementations from memset-s390x.s to here.
4661 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
4662 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4663 Remove memset variants.
4664 * sysdeps/s390/Makefile (sysdep_routines):
4665 Add memset variants.
4666 * sysdeps/s390/multiarch/ifunc-impl-list.c
4667 (__libc_ifunc_impl_list): Adjust ifunc variants for
4669 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
4671 * sysdeps/s390/memset.c: ... here.
4672 Adjust ifunc variants for memset.
4674 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4676 * sysdeps/s390/s390-64/memset.S: Move to ...
4677 * sysdeps/s390/memset.S: ... here.
4678 Adjust to be usable for 31/64bit.
4679 * sysdeps/s390/s390-32/memset.S: Delete File.
4680 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
4681 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4683 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4684 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
4685 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
4686 Adjust to be usable for 31/64bit.
4687 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
4688 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
4689 * sysdeps/s390/multiarch/memset.c: ... here.
4690 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
4692 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4694 * sysdeps/s390/multiarch/ifunc-resolve.h
4695 (s390_libc_ifunc_init, s390_libc_ifunc,
4696 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
4698 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4700 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
4701 * sysdeps/s390/configure.ac: Add check for z10 support.
4702 * sysdeps/s390/configure: Regenerated.
4704 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
4706 * sysdeps/i386/atomic-machine.h: Merged with ...
4707 * sysdeps/x86_64/atomic-machine.h: To ...
4708 * sysdeps/x86/atomic-machine.h: This. New file.
4710 2018-12-18 Florian Weimer <fweimer@redhat.com>
4712 Rewrite locale/gen-translit.pl in Python.
4713 * locale/Makefile (generated): Add C-translit.h.
4714 (before-compile): Add $(objpfx)C-translit.h.
4715 (C-translit.h): Move to $(objpfx). Create target directory.
4716 Build using Python script.
4717 * locale/gen-translit.py: New file.
4718 * locale/gen-translit.pl: Remove file.
4719 * locale/C-translit.h.in: Change comment character to '#' for
4720 easier parsing without a C preprocessor.
4721 * locale/C-translit.h: Remove generated file.
4722 * manual/install.texi (Tools for Compilation): Do not mention
4724 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
4725 Remove locale/C-translit.h.
4726 * scripts/update-copyrights: Likewise.
4727 * INSTALL: Regenerate.
4729 2018-12-18 Florian Weimer <fweimer@redhat.com>
4732 * localedata/locales/bi_VU: Remove executable bit from file.
4734 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
4737 (__localtime64): Add.
4738 * manual/maint.texi: Document Y2038 symbol handling.
4740 (__localtime64): Add.
4741 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
4743 2018-12-17 Joseph Myers <joseph@codesourcery.com>
4745 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
4748 * scripts/glibcextract.py (compare_macro_consts): Take parameters
4749 to allow extra macros from first or second sources.
4750 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
4751 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4752 (tests-special): Add $(objpfx)tst-mman-consts.out.
4753 ($(objpfx)tst-mman-consts.out): New makefile target.
4755 2018-12-17 Mao Han <han_mao@c-sky.com>
4757 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
4758 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
4759 without stat64 system call support.
4760 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
4761 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
4762 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4763 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
4764 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
4765 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
4766 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
4767 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
4768 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
4769 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
4770 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
4772 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
4774 regex: fix storage-exhaustion error
4776 * posix/regexec.c (get_subexp):
4777 Do not continue if storage is exhausted.
4779 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
4781 regex: fix heap-use-after-free error
4783 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
4784 https://debbugs.gnu.org/32592
4785 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
4786 call extend_buffers which reallocates the re_string_t internal buffer.
4787 Local variable 'buf' was not updated in such case, resulting in
4789 * posix/regexec.c (get_subexp): Update 'buf' after call to
4792 2018-12-15 Florian Weimer <fweimer@redhat.com>
4794 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
4795 (minimum_stride_size): Use it.
4796 (support_blob_repeat_allocate): Likewise.
4798 2018-12-14 Joseph Myers <joseph@codesourcery.com>
4800 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
4805 2018-12-14 Florian Weimer <fweimer@redhat.com>
4807 * manual/process.texi (Process Creation Concepts): Remove
4808 documentation of process (ID) lifetime. List more process
4809 creation functions. Reference Process Identification section.
4810 (Process Identification): Add information about process ID
4811 lifetime. Describe Linux thread/task IDs.
4812 * manual/signal.texi (Signaling Another Process): Mention that the
4813 signal is always sent to the process.
4815 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4817 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
4818 and tst-ldbl-efgcvt.
4819 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
4820 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
4821 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
4822 (fcvt_tests, output_error, output_r_error, do_test): Use the
4823 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
4824 select the type of floating-point variables and arguments; to
4825 produce extra tests for double and conversion specifiers for
4826 printf; and to set the names of called functions.
4827 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
4828 in tst-efgcvt-template.c.
4829 * misc/tst-ldbl-efgcvt.c: Likewise.
4831 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
4833 * nss/Makefile (tst-nss-test3.out): New rule.
4835 2018-12-13 Joseph Myers <joseph@codesourcery.com>
4837 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
4840 2018-12-13 fanjinke <fanjinke@hygon.cn>
4842 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
4845 2018-12-13 Andreas Schwab <schwab@suse.de>
4848 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
4849 (__pthread_rwlock_rdlock_full): Update expected value for
4850 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
4851 * nptl/tst-rwlock-pwn.c: New file.
4852 * nptl/Makefile (tests): Add tst-rwlock-pwn.
4854 2018-12-12 Joseph Myers <joseph@codesourcery.com>
4856 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
4859 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4861 * benchtests/scripts/compare_bench.py (do_compare): write to
4862 stderr in casestat is not present.
4863 * benchtests/scripts/compare_bench.py (plot_graphs): write to
4864 stderr in case timings field is not present. Also string showing
4865 the output filename goes into the stderr.
4867 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4869 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
4870 and ZeroDivisorError exceptions.
4871 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
4872 argument to loop through user provided statistics.
4873 * benchtests/scripts/compare_bench.py (main): Include the --stats
4876 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4878 * benchtests/scripts/compare_bench.py (compare_runs): Continue
4881 2018-12-12 Florian Weimer <fweimer@redhat.com>
4883 * sysdeps/posix/timespec_get.c: Add missing “any later version”
4884 clause to copyright header.
4886 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4889 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
4890 registers saved in the stack frame.
4891 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
4892 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
4894 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4896 * include/bits/monetary-ldbl.h: New file.
4897 * include/bits/printf-ldbl.h: Likewise.
4898 * include/bits/stdio-ldbl.h: Likewise.
4899 * include/bits/stdlib-ldbl.h: Likewise.
4900 * include/bits/syslog-ldbl.h: Likewise.
4901 * include/bits/wchar-ldbl.h: Likewise.
4903 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4905 * libio/libio.h: Remove redirection for _IO_vfprintf.
4907 2018-12-11 Andreas Schwab <schwab@suse.de>
4909 * Makerules: Remove all references to abilist-pattern.
4910 (update-all-abi): Simplify find expression.
4912 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4915 * math/auto-libm-test-in: Add new test case.
4916 * math/auto-libm-test-out-pow: Regenerated.
4917 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
4919 2018-12-10 DJ Delorie <dj@redhat.com>
4922 * support/test-container.c: Move postclean step to before we
4925 2018-12-10 Joseph Myers <joseph@codesourcery.com>
4927 * scripts/gen-as-const.py (main): Handle --python option.
4928 * scripts/gen-py-const.awk: Remove.
4929 * Makerules (py-const-script): Use gen-as-const.py.
4930 ($(py-const)): Likewise.
4931 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
4932 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
4933 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
4934 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
4935 ~PTHREAD_MUTEX_NO_ELISION_NP.
4936 * manual/README.pretty-printers: Update reference to
4939 * scripts/glibcextract.py: New file.
4940 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
4941 or tempfile. Import glibcexctract.
4942 (compute_c_consts): Remove. Moved to glibcextract.py.
4943 (gen_test): Update reference to compute_c_consts.
4945 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
4946 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
4947 * sysdeps/unix/sysv/linux/Makefile
4948 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
4949 Redirect stderr as well as stdout.
4951 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
4954 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
4955 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
4956 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
4957 ALWAYS_USE_VSYSCALL.
4958 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
4959 ALWAYS_USE_VSYSCALL.
4960 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
4961 ALWAYS_USE_VSYSCALL.
4963 2018-12-10 Florian Weimer <fweimer@redhat.com>
4966 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
4967 offset instead of count for clarity. Fix typo in comment.
4968 (__old_getdents64): Keep track of previous offset. Use it to call
4970 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
4971 that d_off is never zero.
4973 2018-12-10 Andreas Schwab <schwab@suse.de>
4975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
4976 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
4977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
4978 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
4979 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
4981 2018-12-10 Joseph Myers <joseph@codesourcery.com>
4983 * timezone/private.h: Update from tzcode 2018g.
4984 * timezone/tzfile.h: Likewise.
4985 * timezone/tzselect.ksh: Likewise.
4986 * timezone/zdump.c: Likewise.
4987 * timezone/zic.c: Likewise.
4989 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4992 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
4993 (do_test): Adjust buffer size and fix format.
4995 2018-12-07 DJ Delorie <dj@redhat.com>
4998 * malloc/tst-tcfree3.c: New.
4999 * malloc/Makefile: Add it.
5001 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5003 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
5005 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5007 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
5008 used as a mask for the mode argument of __vfscanf_internal and
5009 __vfwscanf_internal.
5010 * stdio-common/vfscanf-internal.c
5011 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
5012 (__strtof128_internal): Define to __wcstof128_internal.
5013 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
5014 __strtof128_internal or __wcstof128_internal when the format of
5015 long double is the same as _Float128.
5017 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
5019 * include/unistd.h (__confstr): Add prototype and hidden prototype.
5020 * posix/confstr.c (confstr): Rename to __confstr.
5021 (__confstr): Add hidden def.
5022 (confstr): Add weak alias for __confstr.
5023 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
5026 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5028 * NEWS: Mention getcpu.
5029 * include/sched.h (__getcpu): New libc_hidden_proto.
5030 * manual/resource.texi: Document getcpu.
5031 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
5032 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
5033 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
5034 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5035 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5036 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5037 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5038 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5039 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5040 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5041 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5042 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5043 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
5045 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5046 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5047 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5056 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
5057 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5058 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5059 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5060 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5061 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5062 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5063 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5064 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
5065 * sysdeps/unix/sysv/linux/getcpu.c: New file.
5066 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
5069 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5071 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
5073 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
5075 2018-12-07 Florian Weimer <fweimer@redhat.com>
5078 * posix/Makefile (routines): Add spawn_faction_addfchdir.
5079 * posix/Versions (GLIBC_2.29): Export
5080 posix_spawn_file_actions_addfchdir_np.
5081 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
5082 * posix/spawn_faction_destroy.c
5083 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
5084 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
5085 and the field action.fchdir_action.
5086 * posix/tst-spawn-chdir.c (add_chdir): New function.
5087 (do_test): Add do_fchdir loop. Call add_chdir.
5088 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
5089 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5090 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5091 posix_spawn_file_actions_addfchdir_np.
5092 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5094 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5096 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5097 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5099 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5101 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5103 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5105 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5107 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5109 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5110 (GLIBC_2.29): Likewise.
5111 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5112 (GLIBC_2.29): Likewise.
5113 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5114 (GLIBC_2.29): Likewise.
5115 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5116 (GLIBC_2.29): Likewise.
5117 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5120 (GLIBC_2.29): Likewise.
5121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5122 (GLIBC_2.29): Likewise.
5123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5124 (GLIBC_2.29): Likewise.
5125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5126 (GLIBC_2.29): Likewise.
5127 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5129 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5131 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5133 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5134 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5136 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5138 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5140 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5143 2018-12-06 Joseph Myers <joseph@codesourcery.com>
5145 * manual/texinfo.tex: Update to version 2018-09-21.20 with
5146 trailing whitespace removed.
5147 * scripts/config.guess: Update to version 2018-11-28.
5148 * scripts/config.sub: Update to version 2018-11-28.
5149 * scripts/install-sh: Update to version 2018-03-11.20.
5150 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
5151 * scripts/move-if-change: Update to version 2018-03-07 03:47.
5153 2018-12-07 Florian Weimer <fweimer@redhat.com>
5157 * inet/tst-if_index-long.c: New file.
5158 * inet/Makefile (tests): Add tst-if_index-long.
5160 2018-12-07 Florian Weimer <fweimer@redhat.com>
5162 * support/check.h (support_record_failure_is_failed): Declare.
5163 * support/descriptors.h: New file.
5164 * support/support_descriptors.c: Likewise.
5165 * support/tst-support_descriptors.c: Likewise.
5166 * support/support_record_failure.c
5167 (support_record_failure_is_failed): New function.
5168 * support/Makefile (libsupport-routines): Add support_descriptors.
5169 (tests): Add tst-support_descriptors.
5171 2018-12-05 Zack Weinberg <zackw@panix.com>
5172 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5174 * stdio-common/vfprintf-internal.c
5175 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
5176 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
5177 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
5178 and __no_long_double.
5179 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
5180 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
5181 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
5182 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
5183 and __nldbl_*syslog* functions.
5184 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
5185 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
5186 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
5187 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
5188 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
5189 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
5190 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
5191 (__nldbl_vwprintf, __nldbl_wprintf):
5192 Directly call the appropriate __v*printf_internal routine, passing
5193 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
5195 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
5196 (__nldbl___printf_chk, __nldbl___snprintf_chk)
5197 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
5198 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
5199 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
5200 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
5201 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
5202 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
5203 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
5204 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
5205 Likewise, and also pass PRINTF_FORTIFY when appropriate.
5206 (__nldbl_syslog, __nldbl_vsyslog):
5207 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
5208 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
5210 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
5213 2018-12-05 Zack Weinberg <zackw@panix.com>
5214 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5217 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
5218 Moved here from debug/vsprintf_chk.c.
5219 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
5220 and completion logic for the strfile to match exactly what
5221 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
5222 _IO_str_init_static_internal instead of maxlen-1.
5223 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
5224 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
5225 __vsprintf_internal.
5227 * debug/vsprintf_chk.c (__vsprintf_chk)
5228 * debug/sprintf_chk.c (__sprintf_chk):
5229 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
5230 'flags' argument is positive, and slen as maxlen. No need to lock
5231 the FILE and/or construct a temporary FILE. Minimize and normalize
5232 header inclusions and variable names. Do not libc_hidden_def anything.
5234 * debug/asprintf_chk.c (__asprintf_chk)
5235 * debug/dprintf_chk.c (__dprintf_chk)
5236 * debug/fprintf_chk.c (__fprintf_chk)
5237 * debug/fwprintf_chk.c (__fwprintf_chk)
5238 * debug/printf_chk.c (__printf_chk)
5239 * debug/snprintf_chk.c (__snprintf_chk)
5240 * debug/swprintf_chk.c (__swprintf_chk)
5241 * debug/vasprintf_chk.c (__vasprintf_chk)
5242 * debug/vdprintf_chk.c (__vdprintf_chk)
5243 * debug/vfprintf_chk.c (__vfprintf_chk)
5244 * debug/vfwprintf_chk.c (__vfwprintf_chk)
5245 * debug/vprintf_chk.c (__vprintf_chk)
5246 * debug/vsnprintf_chk.c (__vsnprintf_chk)
5247 * debug/vswprintf_chk.c (__vswprintf_chk)
5248 * debug/vwprintf_chk.c (__vwprintf_chk)
5249 * debug/wprintf_chk.c (__wprintf_chk):
5250 Directly call the corresponding vxxprintf_internal function, passing
5251 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
5252 the FILE and/or construct a temporary FILE. Minimize and normalize
5253 header inclusions and variable names. Do not libc_hidden_def anything.
5255 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
5256 __obstack_vprintf_internal.
5257 (__obstack_vprintf_chk): Convert into a wrapper that calls
5258 __obstack_vprintf_internal (these two functions already had the
5259 same code) and move to new file...
5260 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
5262 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
5263 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
5264 * debug/Makefile (routines): Add vobprintf_chk.
5266 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5267 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
5268 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
5269 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
5270 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
5271 (__nldbl___obstack_vfprintf_chk):
5272 Directly call the corresponding vxxprintf_internal function,
5273 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
5274 duplicate comparison of slen with 0 or maxlen from the corresponding
5275 non-__nldbl function.
5277 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
5278 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
5279 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
5280 Remove libc_hidden_proto.
5282 * stdio-common/vfprintf-internal.c
5283 (__vfprintf_internal, __vfwprintf_internal):
5284 Do not check _IO_FLAGS2_FORTIFY.
5285 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
5286 * libio/libioP.h: Update prototype of __vsprintf_internal and add
5287 a comment explaining why it has the maxlen argument.
5288 (_IO_acquire_lock_clear_flags2_fct): Remove.
5289 (_IO_acquire_lock_clear_flags2): Remove.
5290 (_IO_release_lock): Remove conditional statement which will
5292 (_IO_acquire_lock): Remove variable which is now unused.
5293 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5294 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5296 * stdio-common/Makefile (tests): Add tst-bz11319 and
5297 tst-bz11319-fortify2.
5298 (CFLAGS-tst-bz11319-fortify2.c): New macro.
5299 * stdio-common/tst-bz11319-fortify2.c: New file.
5300 * stdio-common/tst-bz11319.c: Likewise.
5302 2018-12-05 Zack Weinberg <zackw@panix.com>
5303 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5305 * misc/syslog.c: Include libioP.h, not iolibio.h.
5306 (__vsyslog_internal): New function with the former body of
5307 __vsyslog_chk; takes mode_flags argument same as
5308 __v*printf_internal. Call __vfprintf_internal directly.
5310 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
5311 Remove libc_hidden_def.
5312 (__syslog, __syslog_chk): Use __vsyslog_internal.
5313 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
5315 * include/sys/syslog.h: Add multiple inclusion guard.
5316 Add prototype for __vsyslog_internal.
5317 Remove declaration and libc_hidden_proto for __vsyslog_chk.
5319 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
5320 Use __vsyslog_internal.
5322 2018-12-05 Zack Weinberg <zackw@panix.com>
5323 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5325 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
5326 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
5327 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
5329 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
5330 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
5332 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
5333 Include wctype.h here if COMPILE_WPRINTF is defined.
5334 Define __vfprintf_internal or __vfwprintf_internal, depending
5336 Temporarily, on entry to this function, update mode_flags
5337 according to the environmental settings corresponding to
5338 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
5339 Throughout, check mode_flags instead of __ldbl_is_dbl and
5340 _IO_FLAGS2_FORTIFY on the destination FILE.
5341 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
5342 Include vfprintf-internal.c. Don't include wctype.h.
5343 * stdio-common/vfprintf.c: New file. Just define __vfprintf
5344 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
5346 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
5347 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
5349 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
5351 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
5352 and add mode_flags argument; use __vfprintf_internal.
5353 (__vdprintf): New function. Alias vdprintf to this.
5354 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
5355 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
5356 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
5357 (__obstack_printf): Use __obstack_printf_internal.
5358 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
5359 public aliases __vsnprintf and vsnprintf.
5360 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
5362 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
5363 public aliases _IO_vsprintf and vsprintf.
5364 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
5365 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
5366 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
5367 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
5368 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
5370 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
5371 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
5372 * stdio-common/fprintf.c, stdio-common/fxprintf.c
5373 * stdio-common/printf.c: Use __vfprintf_internal.
5375 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
5376 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
5377 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
5379 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
5380 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
5381 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
5382 __vfwprintf_internal.
5384 * libio/libio.h: Remove libc_hidden_proto and declaration for
5386 Remove declaration of _IO_vfwprintf.
5387 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
5389 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
5391 * include/stdio.h: Add prototype for __vasprintf.
5392 (__vsnprintf): Remove declaration, because there are no more
5394 * include/wchar.h (__vfwprintf, __vswprintf): Remove
5395 declaration, because there are no more internal calls.
5397 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
5398 __vsnprintf_internal, instead of _IO_vsnprintf.
5399 * argp/argp-help.c (__argp_error, __argp_failure): Use
5400 __vasprintf_internal, instead of _IO_vasprintf.
5401 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
5402 redefine, because there are no more internal calls.
5404 2018-12-05 Zack Weinberg <zackw@panix.com>
5405 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5407 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
5408 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
5409 Include libio/strfile.h instead of libioP.h.
5410 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
5411 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
5412 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
5413 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
5414 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
5415 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
5416 necessary. Do not set __no_long_double. Normalize variable names.
5417 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
5418 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
5419 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
5420 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
5421 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
5422 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
5423 Call __vfscanf_internal / __vfwscanf_internal directly, passing
5424 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
5425 Do not set __no_long_double. Normalize variable names.
5427 2018-12-05 Zack Weinberg <zackw@panix.com>
5428 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5430 * stdio-common/isoc99_scanf.c
5431 * stdio-common/isoc99_fscanf.c
5432 * stdio-common/isoc99_sscanf.c
5433 * stdio-common/isoc99_vscanf.c
5434 * stdio-common/isoc99_vfscanf.c
5435 * stdio-common/isoc99_vsscanf.c
5436 * wcsmbs/isoc99_wscanf.c
5437 * wcsmbs/isoc99_fwscanf.c
5438 * wcsmbs/isoc99_swscanf.c
5439 * wcsmbs/isoc99_vwscanf.c
5440 * wcsmbs/isoc99_vfwscanf.c
5441 * wcsmbs/isoc99_vswscanf.c:
5442 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
5443 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
5444 No need to lock and unlock the FILE passed to that function.
5446 * stdio-common/vfscanf-internal.c
5447 (__vfscanf_internal, __vfwscanf_internal):
5448 Don't look at _IO_FLAGS2_SCANF_STD.
5449 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
5450 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
5451 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
5453 2018-12-05 Zack Weinberg <zackw@panix.com>
5454 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5456 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
5457 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
5458 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
5459 * libio/strfile.h: Add multiple inclusion guard.
5460 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
5462 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
5463 consistency with the other version of this file.
5464 (ldbl_compat_symbol): New macro.
5465 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
5468 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
5469 Define __vfscanf_internal or __vfwscanf_internal, depending on
5470 COMPILE_WSCANF; don't define any other public symbols.
5471 Remove errval and code to set errp.
5472 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
5473 as the mode_flags argument.
5474 (encode_error, conv_error, input_error): Don't set errval.
5475 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
5476 Include vfscanf-internal.c.
5477 * stdio-common/vfscanf.c: New file defining the public entry
5478 point vfscanf, which calls __vfscanf_internal.
5479 * stdio-common/vfwscanf.c: New file defining the public entry
5480 point vfwscanf, which calls __vfwscanf_internal.
5482 * stdio-common/iovfscanf.c: New file.
5483 * stdio-common/iovfwscanf.c: Likewise.
5485 * stdio-common/Makefile (routines): Add vfscanf-internal,
5486 vfwscanf-internal, iovfscanf, iovfwscanf.
5487 * stdio-common/Versions: Mention GLIBC_2.29, so that
5488 it can be used in SHLIB_COMPAT expressions.
5489 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
5490 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
5491 Call __vfscanf_internal, instead of _IO_vfscanf.
5492 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
5494 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
5497 * libio/iovsscanf.c: Clean up includes, when possible. Use
5498 _IO_strfile_read or _IO_strfile_readw, when needed. Call
5499 __vfscanf_internal or __vfwscanf_internal directly.
5500 * libio/iovswscanf.c: Likewise.
5501 * libio/swscanf.c: Likewise.
5502 * libio/vscanf.c: Likewise.
5503 * libio/vwscanf.c: Likewise.
5504 * libio/wscanf.c: Likewise.
5505 * stdio-common/isoc99_fscanf.c: Likewise.
5506 * stdio-common/isoc99_scanf.c: Likewise.
5507 * stdio-common/isoc99_sscanf.c: Likewise.
5508 * stdio-common/isoc99_vfscanf.c: Likewise.
5509 * stdio-common/isoc99_vscanf.c: Likewise.
5510 * stdio-common/isoc99_vsscanf.c: Likewise.
5511 * stdio-common/scanf.c: Likewise.
5512 * stdio-common/sscanf.c: Likewise.
5513 * wcsmbs/isoc99_fwscanf.c: Likewise.
5514 * wcsmbs/isoc99_swscanf.c: Likewise.
5515 * wcsmbs/isoc99_vfwscanf.c: Likewise.
5516 * wcsmbs/isoc99_vswscanf.c: Likewise.
5517 * wcsmbs/isoc99_vwscanf.c: Likewise.
5518 * wcsmbs/isoc99_wscanf.c: Likewise.
5520 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
5523 (__tz_compute): Replace time_t with __time64_t.
5524 (__tz_convert): Replace time_t* with __time64_t.
5525 (__offtime): Replace time_t* with __time64_t.
5527 (__gmtime_r): Adjust call to __tz_convert.
5530 (__localtime_r): Likewise.
5531 (localtime): Likewise.
5532 * time/offtime.c: Replace time_t with __time64_t.
5533 * time/tzset.c: Likewise.
5535 2018-12-04 Joseph Myers <joseph@codesourcery.com>
5537 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
5538 dynamic linker unless [$(run-built-tests) = yes].
5540 2018-12-03 DJ Delorie <dj@delorie.com>
5542 * support/test-container.c (check_for_unshare_hints): New.
5543 (main): Call it if unshare fails. Add support for "su" scriptlet
5546 2018-12-03 Joseph Myers <joseph@codesourcery.com>
5548 * scripts/gen-as-const.py (compute_c_consts): Take an argument
5549 'START' to indicate that start text should be output.
5550 (gen_test): Likewise.
5551 (main): Generate 'START' for first symbol or '--' line, or at end
5552 of input if not previously generated.
5554 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
5557 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
5558 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
5559 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
5560 ALWAYS_USE_VSYSCALL.
5562 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5565 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
5568 2018-12-03 Carlos O'Donell <carlos@redhat.com>
5571 * locale/programs/localedef.c: Declare boolean hard_links default true.
5572 (options): Add --no-hard-links option.
5573 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
5574 * locale/programs/localedef.h: Declare prototype for hard_links.
5575 * locale/programs/locfile.c (write_locale_data): Don't use hard
5576 links if hard_links is false.
5578 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
5580 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
5582 (__cache_sysconf): Likewise.
5583 (init_cacheinfo): Likewise.
5584 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
5585 populate COMMON_CPUID_INDEX_80000007 and
5586 COMMON_CPUID_INDEX_80000008.
5587 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
5588 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
5589 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
5590 (init_cpu_features): Use _Static_assert on
5591 index_arch_Fast_Unaligned_Load.
5592 __get_cpuid_registers and __get_arch_feature. Updated for
5593 cpu_features_basic. Set stepping in cpu_features.
5594 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
5595 (FEATURE_INDEX_2): New.
5596 (FEATURE_INDEX_MAX): Changed to enum.
5597 (COMMON_CPUID_INDEX_D_ECX_1): New.
5598 (COMMON_CPUID_INDEX_80000007): Likewise.
5599 (COMMON_CPUID_INDEX_80000008): Likewise.
5600 (cpuid_registers): Likewise.
5601 (cpu_features_basic): Likewise.
5602 (CPU_FEATURE_USABLE): Likewise.
5603 (bit_arch_XXX_Usable): Likewise.
5604 (cpu_features): Use cpuid_registers and cpu_features_basic.
5605 (bit_arch_XXX): Reweritten.
5606 (bit_cpu_XXX): Likewise.
5607 (index_cpu_XXX): Likewise.
5608 (reg_XXX): Likewise.
5609 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
5611 (CHECK_CPU_FEATURE): New.
5612 (CHECK_CPU_FEATURE_USABLE): Likewise.
5613 (cpu_kinds): Likewise.
5614 (do_test): Print vendor, family, model and stepping. Check
5615 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
5616 (TEST_FUNCTION): Removed.
5617 Include <support/test-driver.c> instead of
5618 "../../test-skeleton.c".
5619 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
5620 Check POPCNT instead of POPCOUNT.
5621 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
5623 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5625 * scripts/gen-as-const.py (main): Avoid emitting empty line when
5626 there is no element in `consts'.
5628 2018-12-01 Florian Weimer <fweimer@redhat.com>
5630 * support/support_capture_subprocess.c
5631 (support_capture_subprocess): Check that pipe descriptors have
5632 expected values. Close original pipe descriptors in subprocess.
5634 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
5637 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
5638 attr with __pthread_default_barrierattr.
5639 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
5640 attr with __pthread_default_condattr.
5641 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
5642 attr with __pthread_default_mutexattr.
5643 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
5644 attr with __pthread_default_rwlockattr.
5646 2018-12-01 Kemi Wang <kemi.wang@intel.com>
5648 * manual/tunables.texi (POSIX Thread Tunables): New node.
5649 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
5650 * nptl/nptl-init.c: Include pthread_mutex_conf.h
5651 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
5652 __pthread_tunables_init.
5653 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
5654 (max_adaptive_count): Define.
5655 * nptl/pthread_mutex_conf.c: New file.
5656 * nptl/pthread_mutex_conf.h: New file.
5657 * sysdeps/generic/adaptive_spin_count.h: New file.
5658 * sysdeps/nptl/dl-tunables.list: New file.
5659 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
5660 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
5661 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
5664 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
5667 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
5668 * stdlib/on_exit.c (__on_exit): Likewise.
5669 * stdlib/Makefile (tests): Add tst-bz20544.
5670 * stdlib/tst-bz20544.c: New test.
5672 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
5675 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
5676 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
5679 2018-11-30 Florian Weimer <fweimer@redhat.com>
5681 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
5682 Extend error logging.
5683 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
5686 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5688 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
5689 __sigismember instead of sigismember.
5690 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
5691 cancel_handler): New definitions.
5692 (do_system): Use posix_spawn instead of fork and execl and remove
5694 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
5695 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
5696 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
5697 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5698 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5699 * sysdeps/unix/sysv/linux/system.c: Likewise.
5703 * NEWS: Add new semantic for atfork with popen and system.
5704 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
5707 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5710 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
5711 modification order when accessing reloc_result->addr.
5712 * include/link.h (reloc_result): Add field init.
5713 * nptl/Makefile (tests): Add tst-audit-threads.
5714 (modules-names): Add tst-audit-threads-mod1 and
5715 tst-audit-threads-mod2.
5716 Add rules to build tst-audit-threads.
5717 * nptl/tst-audit-threads-mod1.c: New file.
5718 * nptl/tst-audit-threads-mod2.c: Likewise.
5719 * nptl/tst-audit-threads.c: Likewise.
5720 * nptl/tst-audit-threads.h: Likewise.
5722 2018-11-30 Joseph Myers <joseph@codesourcery.com>
5724 * scripts/gen-as-const.py: New file.
5725 * scripts/gen-as-const.awk: Remove.
5726 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
5728 ($(objpfx)test-as-const-%.c): Likewise.
5730 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5732 * elf/dl-exception.c: Include <_itoa.h>.
5734 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
5736 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
5737 returned by __f_setlk.
5739 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5740 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5742 * elf/Makefile (tests-internal): Add tst-create_format1.
5743 * elf/dl-exception.c (_dl_exception_create_format): Support
5745 * elf/tst-create_format1.c: New file.
5747 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
5749 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
5750 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
5752 * argp/argp-help.c (__argp_failure): Likewise.
5754 2018-11-29 Mao Han <han_mao@c-sky.com>
5756 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
5757 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
5758 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
5759 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
5760 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
5761 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
5762 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
5763 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
5764 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
5765 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
5766 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
5767 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
5768 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
5769 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
5770 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
5771 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
5772 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
5773 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
5774 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
5775 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
5776 (R_CKCORE_TLS_TPOFF32): New defines.
5778 2018-11-29 Florian Weimer <fweimer@redhat.com>
5780 * posix/Makefile (before-compile): Remove testcases.h and
5782 (generated): Add testcases.h and ptestcases.h.
5783 (testcases.h, ptestcases.h): Move to $(objpfx).
5784 (runtests.o): Add dependency on testcases.h.
5785 (runptests.o): Add dependency on ptestcases.h.
5786 * posix/testcases.h, posix/ptestcases.h: Remove files.
5787 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
5788 not touch posix/testcases.h and posix/ptestcases.h.
5790 2018-11-28 Florian Weimer <fweimer@redhat.com>
5792 support: Add signal support to support_capture_subprocess_check.
5793 * support/capture_subprocess.h (support_capture_subprocess_check):
5794 Adjust comment and rename parameter.
5795 * support/support_capture_subprocess_check.c
5796 (print_actual_status): New function.
5797 (support_capture_subprocess_check): Support negative
5798 status_or_signal. Call print_actual_status.
5799 * support/tst-support_capture_subprocess.c (do_test): Call
5800 support_capture_subprocess_check.
5801 * libio/tst-vtables-common.c (termination_status)
5802 (init_termination_status): Remove.
5803 (check_for_termination): Adjust support_capture_subprocess_check
5805 (do_test): Remove call to init_termination_status.
5807 2018-11-28 Joseph Myers <joseph@codesourcery.com>
5809 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
5810 source directory instead of a copy.
5811 (CommandList.create_copy_dir): Remove.
5813 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
5815 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5817 2018-11-28 Florian Weimer <fweimer@redhat.com>
5819 * support/support.h (support_quote_string): Do not use str
5822 2018-11-27 Joseph Myers <joseph@codesourcery.com>
5824 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
5825 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
5827 2018-11-27 Florian Weimer <fweimer@redhat.com>
5829 * support/support.h (support_quote_string): Declare.
5830 * support/support_quote_string.c: New file.
5831 * support/tst-support_quote_string.c: Likewise.
5832 * support/Makefile (libsupport-routines): Add
5833 support_quote_string.
5834 (tests): Add tst-support_quote_string.
5836 2018-11-27 Florian Weimer <fweimer@redhat.com>
5840 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
5841 descriptor leak in case of ENODEV error.
5843 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
5846 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
5847 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
5848 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
5850 2018-11-26 Carlos O'Donell <carlos@redhat.com>
5852 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
5853 Error for unknown lines.
5855 2018-11-26 Joseph Myers <joseph@codesourcery.com>
5857 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5858 Touch additional files.
5860 2018-11-26 Florian Weimer <fweimer@redhat.com>
5863 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
5866 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
5869 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
5870 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
5871 SHARED. Include sysdep.h.
5872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
5873 ALWAYS_USE_VSYSCALL.
5874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
5875 ALWAYS_USE_VSYSCALL.
5877 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
5880 * nptl/Makefile (tests-static): Add tst-cond11-static.
5882 * nptl/tst-cond11-static.c: New File.
5883 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
5884 tst-affinity-static.
5886 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
5888 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
5889 (USE_VSYSCALL): Likewise.
5890 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
5891 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
5893 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
5895 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
5898 2018-11-23 Joseph Myers <joseph@codesourcery.com>
5901 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5902 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
5905 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
5907 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
5908 (tst-cet-legacy-1a-ARGS): New.
5909 ($(objpfx)tst-cet-legacy-1a): New target.
5910 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
5912 2018-11-22 Joseph Myers <joseph@codesourcery.com>
5914 * conform/conformtest.py (CompileSubTest.__init__): Set
5915 self.run_early to False.
5916 (ExecuteSubTest.__init__): Likewise.
5917 (HeaderTests.run): Try running all non-optional, non-XFAILed
5918 compilation tests in a single execution of the compiler.
5920 * conform/conformtest.py (CompileSubTest): New class.
5921 (ExecuteSubTest): Likewise.
5922 (ElementTest.run): Rename to gen_subtests. Append tests to
5923 self.subtests instead of running them.
5924 (ConstantTest.run): Likewise.
5925 (SymbolTest.run): Likewise.
5926 (TypeTest.run): Likewise.
5927 (TagTest.run): Likewise.
5928 (FunctionTest.run): Likewise.
5929 (VariableTest.run): Likewise.
5930 (MacroFunctionTest.run): Likewise.
5931 (MacroStrTest.run): Likewise.
5932 (HeaderTests.handle_test_line): Generate subtests for tests.
5933 (HeaderTests.run): Run subtests for tests.
5935 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5937 * math/Versions (GLIBC_2.29): Add pow.
5938 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
5940 * math/w_pow.c: New file.
5941 * sysdeps/i386/fpu/w_pow.c: New file.
5942 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
5943 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
5944 and add necessary aliases.
5945 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
5946 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
5947 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5948 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5949 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5950 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5951 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5952 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5953 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5954 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5955 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5956 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5957 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5958 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5959 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5964 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5965 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5966 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5967 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5968 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5969 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5970 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5971 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
5973 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
5974 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
5975 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
5977 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5979 * math/Versions (GLIBC_2.29): Add log2.
5980 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
5982 * math/w_log2.c: New file.
5983 * sysdeps/i386/fpu/w_log2.c: New file.
5984 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
5985 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
5986 and add necessary aliases.
5987 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
5988 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
5989 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5990 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5991 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5992 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5993 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5994 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5995 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5996 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5997 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5998 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5999 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6000 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6001 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6006 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6007 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6008 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6009 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6010 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6011 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6012 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6014 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6016 * math/Versions (GLIBC_2.29): Add log.
6017 * math/w_log_compat.c (__log_compat): Change to versioned compat
6019 * math/w_log.c: New file.
6020 * sysdeps/i386/fpu/w_log.c: New file.
6021 * sysdeps/ia64/fpu/e_log.S: Update.
6022 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
6023 and add necessary aliases.
6024 * sysdeps/ieee754/dbl-64/w_log.c: New file.
6025 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
6026 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6027 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6028 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6029 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6030 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6031 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6032 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6033 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6034 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6035 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6036 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6037 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6038 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6043 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6044 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6045 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6046 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6047 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6048 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6049 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6050 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
6052 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
6053 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
6054 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
6055 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
6057 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6059 * math/Versions (GLIBC_2.29): Add exp and exp2.
6060 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
6061 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
6062 * math/w_exp_compat.c (__exp_compat): Likewise.
6063 * math/w_exp.c: New file.
6064 * math/w_exp2.c: New file.
6065 * sysdeps/i386/fpu/w_exp.c: New file.
6066 * sysdeps/i386/fpu/w_exp2.c: New file.
6067 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
6068 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
6069 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
6070 and add necessary aliases.
6071 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
6072 and add necessary aliases.
6073 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
6074 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
6075 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
6076 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
6077 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6078 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6079 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6080 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6081 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6082 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6083 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6084 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6085 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6086 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6087 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6088 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6089 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6094 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6095 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6096 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6097 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6098 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6099 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6100 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6101 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
6102 (__ieee754_exp): Rename to __exp.
6103 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
6104 (__ieee754_exp): Rename to __exp.
6105 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
6106 (__ieee754_exp): Rename to __exp.
6107 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
6109 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
6111 2018-11-20 DJ Delorie <dj@redhat.com>
6113 * malloc/malloc.c (tcache_entry): Add key field.
6114 (tcache_put): Set it.
6115 (tcache_get): Likewise.
6116 (_int_free): Check for double free in tcache.
6117 * malloc/tst-tcfree1.c: New.
6118 * malloc/tst-tcfree2.c: New.
6119 * malloc/Makefile: Run the new tests.
6120 * manual/probes.texi: Document memory_tcache_double_free probe.
6122 * dlfcn/dlerror.c (check_free): Prevent double frees.
6124 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
6126 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
6128 2018-11-20 Joseph Myers <joseph@codesourcery.com>
6130 * conform/conformtest.py (ElementTest.run): Use unique identifiers
6131 in tests. Use names for format arguments.
6132 (ConstantTest.run): Likewise.
6133 (SymbolTest.run): Likewise.
6134 (TypeTest.run): Likewise.
6135 (TagTest.run): Likewise.
6136 (FunctionTest.run): Likewise.
6137 (VariableTest.run): Likewise.
6138 (MacroFunctionTest.run): Likewise.
6139 (MacroStrTest.run): Likewise.
6140 (HeaderTests.__init__): Set self.num_tests.
6141 (HeaderTests.handle_test_line): Set test.num. Increment
6144 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
6146 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
6147 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
6150 2018-11-19 Mao Han <han_mao@c-sky.com>
6152 * scripts/config.guess: Update to version 2018-08-29.
6153 * scripts/config.sub: Update to version 2018-08-29.
6155 2018-11-19 Florian Weimer <fweimer@redhat.com>
6157 support: Print timestamps in timeout handler.
6158 * support/support_test_main.c (print_timestamp): New function.
6159 (signal_handler): Use it to print the termination time and the
6160 time of the last write to standard output.
6162 2018-11-16 Zack Weinberg <zackw@panix.com>
6163 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6165 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
6166 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
6168 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
6169 and add flags argument. Check flags instead of __ldbl_is_dbl when
6170 deciding whether to set is_long_double.
6171 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
6172 passing zero for flags argument.
6173 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
6175 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6176 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
6177 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
6178 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
6179 variable names. Remove libc_hidden_def/libc_hidden_proto from
6180 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
6181 longer called from within the library.
6182 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
6183 for __nldbl___vstrfmon_l, declare it explicitly.
6185 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
6187 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
6189 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
6191 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
6192 F_SETLK64, F_SETLKW64, respectively.
6193 * sysdeps/mach/hurd/f_setlk.c: New file.
6194 * sysdeps/mach/hurd/f_setlk.h: New file.
6195 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
6197 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
6198 (__libc_fcntl): Move non-flock operations to...
6199 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
6200 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
6202 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
6204 mktime: DEBUG_MKTIME cleanup
6205 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
6206 And it’s no longer needed now that glibc and Gnulib both have
6207 their own testing mechanisms for mktime.
6208 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
6210 mktime: fix non-EOVERFLOW errno handling
6212 mktime was not properly reporting failures when the underlying
6213 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
6214 them like EOVERFLOW failures, and set errno to EOVERFLOW.
6215 The problem could happen on non-glibc platforms, with Gnulib.
6216 * time/mktime.c (guess_time_tm): Remove, replacing with ...
6217 (tm_diff): ... this simpler function, which does not change errno.
6218 All callers changed to deal with errno themselves.
6219 (ranged_convert, __mktime_internal): Return failure immediately if
6220 the underlying function reports any failure other than EOVERFLOW.
6221 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
6224 mktime: fix bug with Y2038 DST transition
6226 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
6227 mishandle a DST transition that jumps over the Y2038 boundary.
6228 No such DST transitions are known so this is only a theoretical
6229 bug, but we might as well do things right.
6231 mktime: make more room for overflow
6233 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
6234 This is so that we can add tm_diff results to a previous guess,
6235 which will be useful in a later patch.
6237 mktime: simplify offset guess
6239 * time/mktime.c (__mktime_internal): Omit excess precision.
6241 mktime: new test for mktime failure
6243 Based on a test suggested by Albert Aribaud in:
6244 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
6245 * time/Makefile (tests): Add bug-mktime4.
6246 * time/bug-mktime4.c: New file.
6248 mktime: fix EOVERFLOW bug
6250 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
6251 Include libc-config.h, not config.h, for __set_errno.
6252 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
6254 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
6256 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
6257 __attribute_copy__ to copy attributes from name. Drop static qualifier
6258 to avoid warnings about leaf attribute not having effect on static
6261 2018-11-13 Florian Weimer <fweimer@redhat.com>
6263 * malloc/malloc.c (fastbin_push_entry): New function.
6264 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
6265 (REMOVE_FB): Remove macro.
6266 (_int_malloc): Use fastbin_pop_entry and reindent.
6267 (_int_free): Use fastbin_push_entry.
6268 (malloc_consolidate): Use atomic_exchange_acquire.
6270 2018-11-13 Joseph Myers <joseph@codesourcery.com>
6272 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
6273 alias attribute, not with strong_alias.
6275 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
6276 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
6277 with additional parameter thread.
6278 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
6279 in terms of __hidden_ver2.
6280 (hidden_tls_def): New macro.
6281 (libc_hidden_tls_def): Likewise.
6282 (rtld_hidden_tls_def): Likewise.
6283 (libm_hidden_tls_def): Likewise.
6284 (libmvec_hidden_tls_def): Likewise.
6285 (libresolv_hidden_tls_def): Likewise.
6286 (librt_hidden_tls_def): Likewise.
6287 (libdl_hidden_tls_def): Likewise.
6288 (libnss_files_hidden_tls_def): Likewise.
6289 (libnsl_hidden_tls_def): Likewise.
6290 (libnss_nisplus_hidden_tls_def): Likewise.
6291 (libutil_hidden_tls_def): Likewise.
6292 (libutil_hidden_tls_def): Likweise.
6293 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
6294 libc_hidden_tls_def.
6295 (__sim_disabled_exceptions_thread): Likewise.
6296 (__sim_round_mode_thread): Likewise.
6298 * sysdeps/sparc/sparc-ifunc.h [SHARED]
6299 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
6300 copy attributes from name.
6302 2018-11-12 Joseph Myers <joseph@codesourcery.com>
6304 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
6305 Use __attribute_copy__ to copy attributes from name.
6307 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
6308 with __hidden_ver1 call.
6309 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
6310 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
6311 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
6312 (__cosf): Do not declare here.
6313 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
6314 (__sincosf): Do not declare here.
6315 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
6316 (__sinf): Do not declare here.
6318 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
6319 (__BIG_ENDIAN): Likewise.
6320 (__BYTE_ORDER): Likewise.
6321 (strong_alias): Likewise.
6322 (_strong_alias): Likewise.
6324 2018-11-12 Florian Weimer <fweimer@redhat.com>
6326 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
6327 function. Move after the definition of in_smallbin_range. Do not
6328 use __builtin_expect for paths that lead to a noreturn function.
6329 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
6330 because it is unclear whether this is in fact an unlikely
6332 (_int_malloc, _int_free): Adjust.
6333 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
6335 * malloc/arena.c (heap_trim): Likewise.
6337 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6339 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
6340 it, free it if needed.
6341 (reauthenticate): Test and use ccwdir.
6342 (child_init_port): In non-resetids case, test and use ccwdir.
6343 (child_chdir): New nested function to set ccwdir.
6344 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
6345 * hurd/hurd/port.h (_hurd_port_move): New function.
6346 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
6347 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
6348 * hurd/Versions (_hurd_port_move): Export function.
6349 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
6351 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
6352 of dtablesize for allocating dtable_cloexec.
6354 2018-11-09 Martin Sebor <msebor@redhat.com>
6356 * include/libc-symbols.h (__attribute_copy__): Define macro unless
6357 it's already defined.
6358 (_strong_alias): Use __attribute_copy__.
6359 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
6360 * misc/sys/cdefs.h (__attribute_copy__): New macro.
6361 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
6362 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
6363 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
6364 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
6365 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
6366 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
6367 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
6368 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
6369 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
6370 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
6371 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
6372 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
6373 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
6374 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
6375 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
6376 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
6377 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
6379 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6381 * misc/tst-efgcvt.c: Include support/check.h and
6382 support/test-driver.c. Do not include test-skeleton.c.
6383 (error_count): Remove.
6384 (output_error): Replace increments to error_count with calls to
6385 support_record_failure.
6386 (output_r_error): Likewise.
6387 (special): Likewise.
6388 (do_test): Unconditionally return zero.
6389 (TEST_FUNCTION): Remove.
6391 2018-11-09 Joseph Myers <joseph@codesourcery.com>
6393 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
6395 ($(linknamespace-header-tests)): Likewise.
6397 * conform/conformtest.py: New file.
6398 * conform/conformtest.pl: Remove.
6399 * conform/GlibcConform.pm: Likewise.
6400 * conform/glibcconform.py (KEYWORDS_C90): New constant.
6401 (KEYWORDS_C99): Likewise.
6402 (KEYWORDS): Likewise.
6403 * conform/Makefile ($(conformtest-header-tests)): Use
6404 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
6405 option. Use --header instead of --headers.
6406 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
6408 * conform/data/spawn.h-data: Likewise.
6409 * conform/data/fcntl.h-data (openat): Add space after function
6411 * conform/data/wchar.h-data (wcscasecmp): Likewise.
6412 (wcscasecmp_l): Likewise.
6413 * conform/data/termios.h-data (c_cc): Add space after element
6416 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6418 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
6419 instead of manually comparing and reporting mismatching strings.
6420 * misc/tst-ldbl-error.c (do_one_test): Likewise.
6421 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
6423 2018-11-08 Joseph Myers <joseph@codesourcery.com>
6425 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
6426 __ASSUME_SOCKETCALL.
6427 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6428 (__ASSUME_SOCKETCALL): Remove.
6429 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6430 (__ASSUME_SOCKETCALL): Likewise.
6431 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6432 (__ASSUME_SOCKETCALL): Likewise.
6433 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6434 (__ASSUME_SOCKETCALL): Likewise.
6435 * sysdeps/unix/sysv/linux/s390/kernel-features.h
6436 (__ASSUME_SOCKETCALL): Likewise.
6437 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6438 (__ASSUME_SOCKETCALL): Likewise.
6439 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6440 (__ASSUME_SOCKETCALL): Likewise.
6442 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
6445 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
6446 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
6447 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
6448 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
6449 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
6452 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
6455 * resolv/tst-resolv-network.c: Add test for getnetbyname.
6457 2018-11-07 Joseph Myers <joseph@codesourcery.com>
6460 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6461 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
6462 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6463 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
6465 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6467 * support/support_test_compare_string.c
6468 (support_test_compare_string): Fix printf format.
6470 2018-11-07 Florian Weimer <fweimer@redhat.com>
6472 Implement TEST_COMPARE_STRING.
6473 * support/check.h (TEST_COMPARE_STRING): Define.
6474 (support_test_compare_string): Declare.
6475 * support/Makefile (libsupport-routines): Add
6476 support_test_compare_string.
6477 (tests): Add tst-test_compare_string.
6478 * support/support_test_compare_string.c: New file.
6479 * support/tst-test_compare_string.c: Likewise.
6481 2018-11-07 Andreas Schwab <schwab@suse.de>
6484 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
6485 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
6488 2018-11-06 Joseph Myers <joseph@codesourcery.com>
6491 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6492 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
6493 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
6494 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
6497 2018-11-06 Florian Weimer <fweimer@redhat.com>
6500 * posix/Makefile (routines): Add spawn_faction_addchdir.
6501 (tests): Add tst-spawn-chdir.
6502 * posix/Versions (GLIBC_2.29): Add
6503 posix_spawn_file_actions_addchdir_np.
6504 * posix/spawn_faction_addchdir.c: New file.
6505 * posix/spawn_faction_destroy.c
6506 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
6507 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
6508 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
6510 * posix/tst-spawn-chdir.c: New file.
6511 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
6512 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6513 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6514 posix_spawn_file_actions_addchdir_np.
6515 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6517 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6519 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6520 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6522 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6524 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6526 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6528 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6530 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6532 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6533 (GLIBC_2.29): Likewise.
6534 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6535 (GLIBC_2.29): Likewise.
6536 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6537 (GLIBC_2.29): Likewise.
6538 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6539 (GLIBC_2.29): Likewise.
6540 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6543 (GLIBC_2.29): Likewise.
6544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6545 (GLIBC_2.29): Likewise.
6546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6547 (GLIBC_2.29): Likewise.
6548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6549 (GLIBC_2.29): Likewise.
6550 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6552 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6554 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6556 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6557 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6559 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6561 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6563 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6566 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6568 * misc/Makefile (tests): Add tst-ldbl-error.
6569 * misc/tst-ldbl-error.c: New file.
6571 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6573 * misc/Makefile (tests): Add tst-ldbl-warn.
6574 * misc/tst-ldbl-warn.c: New file.
6576 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6578 * argp/Makefile (tests): Add tst-ldbl-argp.
6579 * argp/tst-ldbl-argp.c: New file.
6581 2018-11-05 Arjun Shankar <arjun@redhat.com>
6583 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
6584 __gconv_path_elem and call __gconv_get_path unconditionally.
6586 2018-11-05 Andreas Schwab <schwab@suse.de>
6589 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
6590 creating the first helper thread failed.
6592 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6594 * sysdeps/mach/hurd/msync.c: New file.
6596 2018-11-02 Florian Weimer <fweimer@redhat.com>
6598 * support/shell-container.c (copy_func): Call
6599 support_copy_file_range instead of copy_file_range to support
6600 cross-device copies.
6602 2018-11-02 Florian Weimer <fweimer@redhat.com>
6604 * support/test-container.c: Include <libc-pointer-arith.h> for
6607 2018-11-01 Zong Li <zong@andestech.com>
6609 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
6610 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
6611 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
6612 (__FP_FRAC_SET_8): Add implementation for RV32 use.
6614 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
6615 variable to avoid overlap arguments.
6617 2018-11-01 Joseph Myers <joseph@codesourcery.com>
6619 * posix/bug-regex22.c (main): Use puts with distinct error
6620 messages for unexpected success of re_compile_pattern, not printf
6621 with NULL argument to %s.
6623 * stdio-common/bug22.c: Include <libc-diag.h>.
6624 (do_test): Disable -Wformat-overflow= warnings around fprintf
6625 calls outputting more than INT_MAX characters.
6626 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
6627 around printf call with NULL %s argument.
6630 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
6631 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
6633 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6634 (__ASSUME_RECVMSG_SYSCALL): Likewise.
6635 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6636 (__ASSUME_SENDTO_SYSCALL): Likewise.
6637 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6638 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
6640 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6641 (__ASSUME_CONNECT_SYSCALL): Likewise.
6642 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6643 (__ASSUME_RECVFROM_SYSCALL): Likewise.
6644 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
6646 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
6648 [__LINUX_KERNEL_VERSION >= 0x040400]
6649 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6650 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
6653 (setsockopt): Likewise.
6655 2018-11-01 Fredrik Noring <noring@nocrew.org>
6657 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
6658 with the ISA override.
6660 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
6662 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
6665 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
6667 * manual/errno.texi (EIEIO): Document how translators should
6668 translate the error message.
6669 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
6670 printing trailing whitespaces refused by git.
6671 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
6672 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6673 * hurd/Makefile (user-interfaces): Add pci.
6675 2018-10-30 Joseph Myers <joseph@codesourcery.com>
6677 * conform/linknamespace.py: New file.
6678 * conform/linknamespace.pl: Remove file.
6679 * conform/Makefile ($(linknamespace-header-tests)): Use
6680 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
6683 2018-10-30 Florian Weimer <fweimer@redhat.com>
6685 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
6688 2018-10-30 Florian Weimer <fweimer@redhat.com>
6690 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
6692 2018-10-30 Florian Weimer <fweimer@redhat.com>
6694 * stdlib/tst-strtod-overflow.c (do_test): Switch to
6695 support_blob_repeat.
6697 2018-10-30 Florian Weimer <fweimer@redhat.com>
6699 Avoid spurious test failures in stdlib/test-bz22786.
6700 * support/Makefile (libsupport-routines): Add blob_repeat.
6701 (tests): Add tst-support_blob_repeat.
6702 * support/blob_repeat.h: New file.
6703 * support/blob_repeat.c: Likewise.
6704 * support/tst-support_blob_repeat.c: Likewise.
6705 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
6706 support_blob_repeat_allocate.
6708 2018-10-30 Andreas Schwab <schwab@suse.de>
6711 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
6712 Don't use tail call.
6713 * elf/tst-unwind-main.c: New file.
6714 * elf/Makefile (tests): Add tst-unwind-main.
6715 (CFLAGS-tst-unwind-main.c): Define.
6717 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
6720 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
6722 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
6724 2018-10-29 Joseph Myers <joseph@codesourcery.com>
6726 * conform/glibcconform.py: Do not import shutil.
6727 (list_exported_functions): Use tempfile.TemporaryDirectory instead
6730 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
6731 critic_missing for versions before 3.4.
6732 * configure: Regenerated.
6733 * manual/install.texi (Tools for Compilation): Document
6734 requirement for Python to build glibc.
6735 * INSTALL: Regenerated.
6736 * Rules [PYTHON]: Make code unconditional.
6737 * benchtests/Makefile [PYTHON]: Likewise.
6738 * conform/Makefile [PYTHON]: Likewise.
6739 * manual/Makefile [PYTHON]: Likewise.
6740 * math/Makefile [PYTHON]: Likewise.
6742 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6744 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
6745 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
6746 answer to interrupt_operation, return EIEIO instead of EINTR.
6747 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
6748 _hurd_intr_rpc_msg_about_to global point to start of controlled
6749 assembly snippet. Make it check canceled flag.
6750 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
6751 the _hurd_intr_rpc_msg_about_to point.
6752 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
6753 issue, remove cancel flag check.
6755 2018-10-26 Joseph Myers <joseph@codesourcery.com>
6757 * scripts/build-many-glibcs.py: Remove compatibility for missing
6758 os.cpu_count and re.fullmatch.
6760 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
6763 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
6764 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
6765 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
6767 2018-10-25 Joseph Myers <joseph@codesourcery.com>
6769 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
6772 2018-10-25 Florian Weimer <fweimer@redhat.com>
6776 XFAIL siginfo_t si_band conform test on sparc64.
6777 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
6778 (__SI_BAND_TYPE): Only override long int default type on sparc64.
6779 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6780 (conformtest-xfail-conds): Add sparc64-linux.
6781 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
6783 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
6785 2018-10-25 Joseph Myers <joseph@codesourcery.com>
6787 * elf/elf.h (NT_MIPS_DSP): New macro.
6788 (NT_MIPS_FP_MODE): Likewise.
6790 2018-10-25 Zong Li <zong@andestech.com>
6792 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
6793 name by adding the file extension (.so).
6795 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
6797 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
6798 (test-xfail-ISO11/threads.h/linknamespace,
6799 test-xfail-ISO11/threads.h/conform): Add.
6801 2018-10-24 Joseph Myers <joseph@codesourcery.com>
6803 * math/gen-libm-test.py: Import os.
6804 (ALL_FLOATS_MANUAL): New constant.
6805 (ALL_FLOATS_SUFFIX): Likewise.
6806 (Ulps.all_functions): New function.
6807 (real_all_ulps): Likewise.
6808 (generate_err_table_sub): Likewise.
6809 (generate_err_table): Likewise.
6810 (main): Handle -s and -m options.
6811 * manual/libm-err-tab.pl: Remove.
6812 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
6813 instead of libm-err-tab.pl.
6814 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
6816 * manual/install.texi (Tools for Compilation): Document
6817 requirement for Python to build manual.
6818 * INSTALL: Regenerated.
6820 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
6822 * bits/time64.h: New file.
6823 * include/time.h: Replace internal_time_t with __time64_t.
6824 * posix/bits/types (__time64_t): Add.
6825 * stdlib/Makefile: Add bits/time64.h to includes.
6826 * time/tzfile.c: Replace internal_time_t with __time64_t.
6828 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6830 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
6831 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
6832 __posix_spawn_file_actions_init, __posix_spawnattr_init,
6833 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
6834 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
6836 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
6837 * posix/spawn_faction_addclose.c
6838 (__posix_spawn_file_actions_addclose): Add hidden definition.
6839 * posix/spawn_faction_adddup2.c
6840 (__posix_spawn_file_actions_adddup2): Likewise.
6841 * posix/spawn_faction_destroy.c
6842 (__posix_spawn_file_actions_destroy): Likewise.
6843 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
6845 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
6846 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
6847 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
6849 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
6850 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
6853 2018-10-24 Andreas Schwab <schwab@suse.de>
6856 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
6858 * elf/cache.c (print_cache): Likewise.
6860 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
6862 * bits/timesize.h: New file.
6863 * stdlib/Makefile (headers): Add bits/timesize.h.
6864 * sysdeps/unix/sysv/linux/bits/msq-pad.h
6865 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
6866 * sysdeps/unix/sysv/linux/bits/sem-pad.h
6867 (__SEM_PAD_AFTER_TIME): Likewise.
6868 * sysdeps/unix/sysv/linux/bits/shm-pad.h
6869 (__SHM_PAD_AFTER_TIME): Likewise.
6870 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
6871 (__MSQ_PAD_BEFORE_TIME): Likewise.
6872 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
6873 (__SEM_PAD_BEFORE_TIME): Likewise.
6874 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
6875 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6876 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
6877 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
6878 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
6879 (__MSQ_PAD_BEFORE_TIME): Likewise.
6880 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
6881 (__SEM_PAD_BEFORE_TIME): Likewise.
6882 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
6883 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6884 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
6885 (__MSQ_PAD_BEFORE_TIME): Likewise.
6886 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
6887 (__SEM_PAD_BEFORE_TIME): Likewise.
6888 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
6889 (__SHM_PAD_BEFORE_TIME): Likewise.
6890 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
6891 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6892 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
6894 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
6896 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
6897 USE_RDTSCP is defined.
6898 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
6899 USE_RDTSCP is defined.
6901 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6903 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
6907 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
6908 independently of other flags.
6910 2018-10-23 Florian Weimer <fweimer@redhat.com>
6912 * time/tst-mktime2.c (N_STRINGS): Remove.
6913 (set_timezone): New function.
6914 (spring_forward_gap): Call it. Use FAIL_EXIT1.
6915 (mktime_test1): Report localtime failure and check errno value.
6917 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
6918 (do_test): Remove alarm call. Use set_timezone and array_length.
6920 2018-10-23 Andreas Schwab <schwab@suse.de>
6922 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
6923 (__start_context): Use END instead of PSEUDO_END.
6925 2018-10-22 Joseph Myers <joseph@codesourcery.com>
6927 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6930 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6934 * wcsmbs/c32rtomb.c: New file.
6935 * wcsmbs/mbrtoc32.c: Likewise.
6936 * wcsmbs/tst-c32-state.c: Likewise.
6937 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
6938 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
6939 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
6940 (tests): Add tst-c32-state.
6941 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
6944 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
6946 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
6947 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
6949 2018-10-19 Joseph Myers <joseph@codesourcery.com>
6952 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
6953 pair and return 0 in that case, and use saved character to
6954 interpret following character.
6955 * wcsmbs/tst-c16-surrogate.c: New file.
6956 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
6957 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
6958 Depend on $(gen-locales)
6960 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
6963 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
6964 (struct siginfo_t): Use correct type for si_band.
6966 2018-10-19 Florian Weimer <fweimer@redhat.com>
6969 * resource/bits/types/struct_rusage.h (struct rusage): Update
6970 comment on struct. Remove extraneous field comment.
6972 2018-10-18 David S. Miller <davem@davemloft.net>
6974 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
6975 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
6976 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
6977 sysdep_routines in subdir elf.
6978 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
6979 version for __vdso_clock_gettime.
6980 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
6982 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6983 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6985 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
6987 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
6989 * sysdeps/i386/init-arch.h: Removed.
6990 * sysdeps/i386/i586/init-arch.h: Likewise.
6991 * sysdeps/i386/i686/init-arch.h: Likewise.
6992 * sysdeps/i386/i686/hp-timing.h: Likewise.
6993 * sysdeps/x86_64/hp-timing.h: Likewise.
6994 * sysdeps/i386/isa.h: New file.
6995 * sysdeps/i386/i586/isa.h: Likewise.
6996 * sysdeps/i386/i686/isa.h: Likewise.
6997 * sysdeps/x86_64/isa.h: Likewise.
6998 * sysdeps/x86/hp-timing.h: New file.
6999 * sysdeps/x86/init-arch.h: Include <isa.h>.
7001 2018-10-17 Joseph Myers <joseph@codesourcery.com>
7003 * math/libm-test-pow.inc (pow_test_data): Do not allow
7004 divide-by-zero exception for pow(+/- 0, -Inf).
7006 2018-10-17 Zack Weinberg <zackw@panix.com>
7008 * manual/job.texi (Job Control is Optional): Remove node, as
7009 job control has not been optional in quite some time.
7010 (Job Control): Mention briefly that systems older than
7011 POSIX.1-2001 might not support job control.
7012 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
7013 defined on systems conforming to POSIX.1-2001.
7015 2018-10-17 Arjun Shankar <arjun@redhat.com>
7018 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
7020 * (__gconv_read_conf): Mark function static.
7021 * (once): New static variable.
7022 * (__gconv_load_conf): New function.
7023 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
7024 * iconv/gconv_db.c (once): Remove static variable.
7025 * (__gconv_compare_alias): Use __gconv_load_conf instead of
7027 * (__gconv_find_transform): Likewise.
7028 * iconv/tst-iconv-mt.c: New test.
7029 * iconv/Makefile: Add tst-iconv_mt.
7031 2018-10-17 Joseph Myers <joseph@codesourcery.com>
7033 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7035 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
7036 (shmatt_t): Define as __syscall_ulong_t.
7037 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
7038 and [__SHM_PAD_AFTER_TIME].
7039 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
7040 Define shm_segsz and associated padding based on
7041 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
7042 Use __syscall_ulong_t instead of unsigned long int.
7043 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
7045 [__USE_MISC] (struct shm_info): Likewise.
7046 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
7047 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
7048 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
7049 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
7050 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
7051 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7052 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
7053 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
7054 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7055 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7056 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7058 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7060 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
7061 (SHMLBA): Remove macro.
7062 (__getpagesize): Remove function declaration.
7063 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
7065 (SHMLBA): Remove macro.
7066 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
7068 (SHMLBA): Remove macro.
7069 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
7071 (SHMLBA): Remove macro.
7072 (__getpagesize): Remove function declaration.
7073 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
7075 (SHMLBA): Remove macro.
7076 (__getshmlba): Remove function declaration.
7077 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
7078 (SHMLBA): Remove macro.
7079 (__getpagesize): Remove function declaration.
7080 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
7081 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
7082 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7083 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
7084 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
7085 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
7086 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
7087 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
7088 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
7089 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
7091 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
7094 * nptl/tst-mutex10.c: New File.
7095 * nptl/Makefile (tests): Add tst-mutex10.
7096 (tst-mutex10-ENV): New variable.
7097 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
7098 Ensure that elision path is used if elision is available.
7099 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
7101 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
7103 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
7104 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
7105 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
7106 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
7108 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
7109 (__pthread_mutex_cond_lock_adjust): Likewise.
7110 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7112 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
7113 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7114 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7115 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
7117 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
7118 Use atomic_load_relaxed and atomic_store_relaxed.
7119 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
7120 Use atomic_store_relaxed.
7122 2018-10-17 Andreas Schwab <schwab@suse.de>
7124 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
7125 * crypt/badsalttest.c (TIMEOUT): Likewise.
7126 * crypt/sha256c-test.c (TIMEOUT): Likewise.
7127 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
7128 * io/test-lfs.c (TIMEOUT): Likewise.
7129 * libio/tst-atime.c (TIMEOUT): Likewise.
7130 * localedata/tst-leaks.c (TIMEOUT): Likewise.
7131 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
7132 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
7133 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
7134 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
7135 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
7136 * nptl/tst-cond11.c (TIMEOUT): Likewise.
7137 * nptl/tst-cond14.c (TIMEOUT): Likewise.
7138 * nptl/tst-cond15.c (TIMEOUT): Likewise.
7139 * nptl/tst-cond24.c (TIMEOUT): Likewise.
7140 * nptl/tst-cond25.c (TIMEOUT): Likewise.
7141 * nptl/tst-kill2.c (TIMEOUT): Likewise.
7142 * nptl/tst-kill3.c (TIMEOUT): Likewise.
7143 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
7144 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
7145 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
7146 * nptl/tst-once2.c (TIMEOUT): Likewise.
7147 * nptl/tst-once3.c (TIMEOUT): Likewise.
7148 * nptl/tst-once4.c (TIMEOUT): Likewise.
7149 * nptl/tst-robust8.c (TIMEOUT): Likewise.
7150 * nptl/tst-robust9.c (TIMEOUT): Likewise.
7151 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
7152 * nptl/tst-sem14.c (TIMEOUT): Likewise.
7153 * nptl/tst-sem6.c (TIMEOUT): Likewise.
7154 * nptl/tst-signal3.c (TIMEOUT): Likewise.
7155 * nptl/tst-spin4.c (TIMEOUT): Likewise.
7156 * nptl/tst-tls3.c (TIMEOUT): Likewise.
7157 * nptl/tst-tls4.c (TIMEOUT): Likewise.
7158 * posix/tst-chmod.c (TIMEOUT): Likewise.
7159 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
7160 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
7161 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
7162 * posix/tst-regex2.c (TIMEOUT): Likewise.
7163 * posix/tst-waitid.c (TIMEOUT): Likewise.
7164 * rt/tst-aio.c (TIMEOUT): Likewise.
7165 * rt/tst-aio10.c (TIMEOUT): Likewise.
7166 * rt/tst-aio4.c (TIMEOUT): Likewise.
7167 * rt/tst-aio5.c (TIMEOUT): Likewise.
7168 * rt/tst-aio6.c (TIMEOUT): Likewise.
7169 * rt/tst-aio64.c (TIMEOUT): Likewise.
7170 * rt/tst-aio7.c (TIMEOUT): Likewise.
7171 * rt/tst-aio9.c (TIMEOUT): Likewise.
7172 * rt/tst-clock.c (TIMEOUT): Likewise.
7173 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
7174 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
7175 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
7176 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
7177 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
7178 * rt/tst-timer4.c (TIMEOUT): Likewise.
7179 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
7180 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
7181 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
7182 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
7183 * time/tst-ftime.c (TIMEOUT): Likewise.
7184 * timezone/tst-tzset.c (TIMEOUT): Likewise.
7186 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
7188 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
7189 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
7192 2018-10-15 Joseph Myers <joseph@codesourcery.com>
7194 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7196 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
7197 instead of <bits/wordsize.h>.
7198 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
7199 and [__SEM_PAD_AFTER_TIME].
7200 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
7201 __syscall_ulong_t instead of unsigned long int.
7202 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
7203 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
7204 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
7205 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
7206 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
7207 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
7208 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
7209 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
7210 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7211 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7212 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7214 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
7216 regex: simplify by using intprops.h
7218 * posix/regex_internal.h [_LIBC]: Include intprops.h.
7219 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
7220 intprops.h defines them.
7222 regex: __builtin_expect → __glibc_unlikely
7224 This refactoring was prompted by a problem when the regex code is
7225 used as part of Gnulib and when the builder’s compiler does not grok
7226 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
7227 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
7228 Although this refactoring does not fix the problem directly,
7229 we might as well have Gawk use the now-preferred glibc style for when
7230 __builtin_expect is unavailable.
7231 * posix/regex_internal.h (BE): Remove.
7232 All uses replaced by __glibc_unlikely or __glibc_likely.
7234 2018-10-11 Joseph Myers <joseph@codesourcery.com>
7236 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7238 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
7239 instead of <bits/wordsize.h>.
7240 (msgqnum_t): Define as __syscall_ulong_t.
7241 (msglen_t): Likewise.
7242 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
7243 and [__MSQ_PAD_AFTER_TIME].
7244 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
7245 __syscall_ulong_t instead of unsigned long int.
7246 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
7247 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
7248 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
7249 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
7250 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
7251 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
7252 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
7253 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
7254 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7255 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7256 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7258 2018-10-10 Joseph Myers <joseph@codesourcery.com>
7260 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
7261 (struct shmid_ds): Condition padding after time fields on
7263 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
7264 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
7265 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7267 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
7268 (struct semid_ds): Condition padding after time fields on
7270 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
7271 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
7272 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
7273 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7275 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
7276 (struct msqid_ds): Condition padding after time fields on
7278 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
7279 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
7280 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
7281 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7283 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7285 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
7287 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7289 * libio/tst-readline.c (TIMEOUT): Define.
7291 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
7293 mktime fix for Gnulib + coreutils
7295 This fix affects only Gnulib. Problem discovered when
7296 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
7298 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
7299 Do not define since it is not used. Defining an unused static
7300 function prompts a warning from GCC when Coreutils is configured
7301 with --enable-gcc-warnings.
7303 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7305 * benchtests/scripts/compare_bench.py (main): set float type on
7308 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
7311 * localedata/locales/kl_GL (mon): Update, the relative case.
7312 (alt_mon): Add, fill with month names in the nominative case.
7313 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
7314 (d_fmt): Set to "%b %d %Y".
7316 2018-10-04 Joseph Myers <joseph@codesourcery.com>
7318 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
7319 <bits/mman-linux.h>.
7320 (PROT_READ): Don't define here.
7321 (PROT_WRITE): Likewise.
7322 (PROT_EXEC): Likewise.
7323 (PROT_NONE): Likewise.
7324 (PROT_GROWSDOWN): Likewise.
7325 (PROT_GROWSUP): Likewise.
7326 (MAP_SHARED): Likewise.
7327 (MAP_PRIVATE): Likewise.
7328 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
7329 [__USE_MISC] (MAP_FILE): Likewise.
7330 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
7331 [__USE_MISC] (MAP_ANON): Likewise.
7332 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
7333 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
7334 (MCL_CURRENT): Likewise.
7335 (MCL_FUTURE): Likewise.
7336 (MCL_ONFAULT): Likewise.
7337 [__USE_MISC] (MADV_NORMAL): Likewise.
7338 [__USE_MISC] (MADV_RANDOM): Likewise.
7339 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
7340 [__USE_MISC] (MADV_WILLNEED): Likewise.
7341 [__USE_MISC] (MADV_DONTNEED): Likewise.
7342 [__USE_MISC] (MADV_FREE): Likewise.
7343 [__USE_MISC] (MADV_REMOVE): Likewise.
7344 [__USE_MISC] (MADV_DONTFORK): Likewise.
7345 [__USE_MISC] (MADV_DOFORK): Likewise.
7346 [__USE_MISC] (MADV_HWPOISON): Likewise.
7347 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
7348 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
7349 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
7350 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
7351 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
7352 (__MAP_ANONYMOUS): New macro.
7353 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
7354 <bits/mman-linux.h> inclusion.
7355 (MAP_FIXED): Likewise.
7356 (MS_SYNC): Likewise.
7357 (MS_ASYNC): Likewise.
7358 (MS_INVALIDATE): Likewise.
7359 [__USE_MISC] (MADV_MERGEABLE): Likewise.
7360 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
7361 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
7362 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
7363 [__USE_MISC] (MADV_DONTDUMP): Likewise.
7364 [__USE_MISC] (MADV_DODUMP): Likewise.
7365 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
7366 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
7369 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
7371 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
7372 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
7373 Add test-nldbl-redirect.
7374 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
7375 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
7376 $(objpfx)libnldbl_nonshared.a.
7378 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
7380 * support/support.h (support_objdir_elf_ldso): New variable.
7381 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
7382 * support/Makefile (CFLAGS-support_paths.c): Add definition
7383 for OBJDIR_ELF_LDSO_PATH.
7384 * support/test-container.c (main): Search for the ld.so
7385 which is also used by the testsuite.
7387 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
7390 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
7391 should be "sap" rather than "sab".
7392 (day): Fix spelling of Sunday, should be "sapaat" rather than
7395 2018-10-02 Joseph Myers <joseph@codesourcery.com>
7397 * math/libm-test-fma.inc (fma_test_data): Add more tests.
7399 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
7402 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
7403 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
7404 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
7406 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7408 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
7410 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
7412 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
7414 (CFLAGS-elision-unlock.c): Likewise.
7415 (CFLAGS-elision-timed.c): Likewise.
7416 (CFLAGS-elision-trylock.c): Likewise.
7417 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
7419 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7422 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
7423 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
7424 new fd_to_filename interface.
7425 * libio/freopen64.c (freopen64): Likewise.
7426 * libio/tst-memstream.h: New file.
7427 * libio/tst-memstream4.c: Likewise.
7428 * libio/tst-wmemstream4.c: Likewise.
7429 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
7430 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
7431 and remove internal dynamic allocation.
7433 2018-10-01 Joseph Myers <joseph@codesourcery.com>
7435 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
7436 (MREMAP_MAYMOVE): Do not define here.
7437 [__USE_GNU] (MREMAP_FIXED): Likewise.
7438 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
7439 (MREMAP_MAYMOVE): Define here instead.
7440 [__USE_GNU] (MREMAP_FIXED): Likewise.
7441 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
7442 (MREMAP_MAYMOVE): Remove.
7443 [__USE_GNU] (MREMAP_FIXED): Likewise.
7445 2018-09-28 Joseph Myers <joseph@codesourcery.com>
7447 * math/fromfp.h: Do not include <math_private.h>.
7448 * math/s_cacosh_template.c: Likewise.
7449 * math/s_casin_template.c: Likewise.
7450 * math/s_casinh_template.c: Likewise.
7451 * math/s_ccos_template.c: Likewise.
7452 * math/s_cproj_template.c: Likewise.
7453 * math/s_fdim_template.c: Likewise.
7454 * math/s_fmaxmag_template.c: Likewise.
7455 * math/s_fminmag_template.c: Likewise.
7456 * math/s_iseqsig_template.c: Likewise.
7457 * math/s_ldexp_template.c: Likewise.
7458 * math/s_nextdown_template.c: Likewise.
7459 * math/w_log1p_template.c: Likewise.
7460 * math/w_scalbln_template.c: Likewise.
7461 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7462 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7463 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7464 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7465 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
7466 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
7467 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
7468 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
7469 * sysdeps/i386/fpu/s_atanl.c: Likewise.
7470 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
7471 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
7472 * sysdeps/i386/fpu/s_fdim.c: Likewise.
7473 * sysdeps/i386/fpu/s_logbl.c: Likewise.
7474 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7475 * sysdeps/i386/fpu/s_significandl.c: Likewise.
7476 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
7477 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
7478 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7479 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7480 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7481 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7482 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7483 * sysdeps/ieee754/k_standardf.c: Likewise.
7484 * sysdeps/ieee754/k_standardl.c: Likewise.
7485 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7486 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
7487 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
7488 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
7489 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
7490 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
7491 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7492 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7493 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7494 * sysdeps/ieee754/s_signgam.c: Likewise.
7495 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
7496 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
7497 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
7498 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7499 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7500 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7501 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7502 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7503 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7504 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7505 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7506 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7507 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7508 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7509 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7510 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7511 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7512 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7513 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7514 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7515 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7516 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
7517 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
7518 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7519 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
7520 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7521 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
7522 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
7523 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
7524 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
7525 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
7526 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
7527 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
7528 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
7529 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7530 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7531 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
7533 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7535 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
7538 * sysdeps/i386/dl-cet.c: Removed.
7539 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
7541 (_dl_runtime_profile_shstk): Likewise.
7542 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
7543 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
7545 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7548 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
7549 do_test_with_invalid_iov): New tests.
7550 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
7551 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
7552 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
7554 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
7555 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
7556 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
7558 2018-09-27 Joseph Myers <joseph@codesourcery.com>
7560 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7561 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
7562 (MATH_REDIRECT_BINARY_ARGS): New macro.
7563 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7564 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
7565 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
7567 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
7568 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7569 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
7570 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7571 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7572 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7573 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
7576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
7578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
7579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
7580 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
7581 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
7582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
7584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
7586 * sysdeps/generic/math_private_calls.h
7587 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
7588 Do not declare and define as an inline function.
7589 * math/divtc3.c (__divtc3): Use copysign functions instead of
7590 __copysign variants.
7591 * math/multc3.c (__multc3): Likewise.
7592 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
7593 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
7594 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7595 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7597 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7598 (__ieee754_yn): Likewise.
7599 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7600 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
7601 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7602 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7603 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
7605 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
7606 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7608 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7610 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7612 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7613 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7615 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7616 (__ieee754_ynf): Likewise.
7617 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
7618 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7619 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7620 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7622 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7623 (__ieee754_ynl): Likewise.
7624 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7625 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7626 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7628 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7629 (__ieee754_ynl): Likewise.
7630 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
7631 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7632 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7633 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7635 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7637 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
7638 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7639 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
7640 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7641 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7643 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7644 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
7645 using MATH_REDIRECT.
7646 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
7648 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
7649 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7650 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7651 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
7652 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7653 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7654 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
7656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
7657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
7658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
7659 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7660 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7661 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7662 (round): Redirect to __round.
7663 (__roundl): Call round instead of __round.
7664 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
7666 [_ARCH_PWR5X] (__roundf): Likewise.
7667 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
7668 functions instead of __round variants.
7669 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7670 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7672 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7674 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7676 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
7677 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
7679 (__ieee754_expl): Call roundl instead of __roundl.
7681 2018-09-27 Andreas Schwab <schwab@suse.de>
7684 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
7685 (do_test): Make st1 static.
7687 2018-09-26 Andreas Schwab <schwab@suse.de>
7690 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
7691 * elf/Makefile (tests): Add tst-unwind-ctor.
7692 (modules-names): Add tst-unwind-ctor-lib.
7693 ($(objpfx)tst-unwind-ctor): Depend on
7694 $(objpfx)tst-unwind-ctor-lib.so.
7696 2018-09-26 Joseph Myers <joseph@codesourcery.com>
7698 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
7699 file. Most contents moved from ....
7700 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
7701 and include <bits/mman-map-flags-generic.h>.
7702 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7703 (sysdep_headers): Add bits/mman-map-flags-generic.h.
7704 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
7705 <bits/mman-map-flags-generic.h>.
7706 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
7707 macros defined in <bits/mman-map-flags-generic.h>.
7708 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
7709 <bits/mman-map-flags-generic.h>.
7710 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
7711 defined in <bits/mman-map-flags-generic.h>.
7713 2018-09-26 Andreas Schwab <schwab@suse.de>
7715 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
7718 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
7719 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7720 Fangrui Song <maskray@google.com>
7723 * config.make.in (have-textrel_ifunc): New define.
7724 * configure.ac: Add check if linker supports textrel relocation with
7726 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
7728 (CFLAGS-tst-ifunc-textrel.c): New rule.
7729 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
7730 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
7731 * elf/tst-ifunc-textrel.c: New file.
7733 2018-09-25 Joseph Myers <joseph@codesourcery.com>
7735 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7736 <bits/procfs-prregset.h>.
7737 (prgregset_t): Define using __prgregset_t.
7738 (prfpregset_t): Define using __prfpregset_t.
7739 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7740 (sysdep_headers): Add bits/procfs-prregset.h.
7741 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
7742 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
7743 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
7744 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
7746 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7747 <bits/procfs-id.h> and <bits/procfs-extra.h>.
7748 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
7750 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7751 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
7752 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
7753 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
7754 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
7755 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
7756 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
7757 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
7758 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
7759 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
7760 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
7761 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
7762 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
7763 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
7764 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
7765 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
7766 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
7767 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
7768 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
7769 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
7770 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
7771 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
7772 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7773 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
7775 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
7776 AArch64 version. Include <bits/procfs.h>.
7777 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7778 (sysdep_headers): Add bits/procfs.h.
7779 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
7780 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
7781 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
7782 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
7783 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
7784 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
7785 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
7786 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
7787 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
7788 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
7789 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
7790 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
7791 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
7792 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
7793 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
7794 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7795 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
7797 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7799 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
7802 2018-09-25 Arjun Shankar <arjun@redhat.com>
7804 * iconv/gconv_int.h (__gconv_path_elem): Remove.
7805 (__gconv_max_path_elem_len): Likewise.
7806 (__gconv_nmodules): Likewise.
7807 (__gconv_get_path): Likewise.
7808 (path_elem): Move to ...
7809 * iconv/gconv_conf.c: ... here.
7810 (__gconv_get_path): Mark function static.
7811 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
7812 * iconv/gconv_open.c: ... here.
7814 2018-09-24 Andreas Schwab <schwab@suse.de>
7816 * scripts/haveversions.awk: New file.
7817 * Makerules ($(common-objpfx)Versions.def)
7818 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7819 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7821 * Makeconfig ($(common-objpfx)Versions.def)
7822 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7823 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7825 ($(common-objpfx)Versions.mk): New rule. Include it.
7826 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
7827 Emit error if build-obsolete-nsl = yes.
7828 * manual/install.texi (Configuring and compiling): Describe
7829 --enable-obsolete-nsl as unavaiable after version 2.28.
7830 * INSTALL: Regenerate.
7832 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7834 * NEWS: Add note about new TLE support on powerpc64le.
7835 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
7836 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
7838 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
7839 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
7840 * sysdeps/powerpc/powerpc32/sysdep.h,
7841 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
7842 ABORT_TRANSACTION): Remove macros.
7843 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
7844 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
7845 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
7846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
7847 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7848 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
7850 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
7852 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
7855 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
7856 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
7857 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
7858 which is the same as in it_IT.
7859 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
7860 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
7862 2018-09-20 Joseph Myers <joseph@codesourcery.com>
7864 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7865 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
7866 using MATH_REDIRECT.
7867 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
7869 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
7870 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7871 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
7872 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7873 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7874 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
7876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
7877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
7878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
7879 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7880 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7881 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
7882 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
7883 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
7884 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
7885 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
7886 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7887 (ceil): Redirect to __ceil.
7888 (floor): Redirect to __floor.
7889 (trunc): Redirect to __trunc.
7890 (__truncl): Call trunc instead of __trunc.
7891 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
7893 [_ARCH_PWR5X] (__truncf): Likewise.
7894 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
7895 trunc functions instead of __trunc variants.
7896 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7898 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7900 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7902 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7905 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
7906 [__i586__ || __pentium__].
7907 [__i486__]: Handle explicitly.
7908 (HAS_CPUID): Define to 1 if above macros are undefined.
7909 (HAS_I586): Likewise.
7910 (HAS_I686): Likewise.
7912 2018-09-20 Florian Weimer <fweimer@redhat.com>
7914 * misc/tst-gethostid.c: New file.
7915 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
7916 (tst-gethostid): Link with -ldl.
7918 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
7920 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
7921 value from gethostbyname_r.
7923 2018-09-19 Carlos O'Donell <carlos@redhat.com>
7925 * stdlib/tst-setcontext9.c (f1): Rename to...
7927 (f1b): New function implementing lower half of f1 in alternate stack.
7929 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
7931 Fix mktime localtime offset confusion
7933 * include/time.h (__mktime_internal): The localtime offset is now
7934 of type long int instead of time_t. This is the longstanding type
7935 in glibc, and it is more than enough to represent difference
7936 between localtime and gmtime even if it is 32 bits and time_t is
7937 64. Changing it now will let us avoid an unnecessary change when
7938 time_t is widened to 64 bits on 32-bit platforms.
7939 * time/mktime-internal.h (mktime_offset_t): Now long int.
7941 Merge mktime, timegm from upstream Gnulib
7942 [BZ #23603][BZ #16346]
7943 This fixes some obscure problems with integer overflow.
7944 Although it looks scary, it is almost all a byte-for-byte copy
7945 from Gnulib, and the Gnulib code has been tested reasonably well.
7946 * include/intprops.h: New file, copied from Gnulib.
7947 * include/verify.h, time/mktime-internal.h:
7948 New tiny files, simplified from Gnulib.
7949 * time/mktime.c: Copy from Gnulib. This has the following changes:
7950 Do not include config.h if DEBUG_MKTIME is nonzero.
7951 Include stdbool.h, intprops.h, verify.h.
7952 Include string.h only if needed.
7953 Include stdlib.h on MS-Windows.
7954 Include mktime-internal.h.
7955 (DEBUG_MKTIME): Default to 0, and simplify later uses.
7956 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
7957 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
7958 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
7959 simplify later conditionals; default the others to zero. Use
7960 these conditionals to express only the code needed on the current
7961 platform. In uses of these conditionals, explicitly spell out how
7962 _LIBC affects things, so it’s easier to review from a glibc
7964 (WRAPV): Remove; no longer needed now that we have
7965 systematic overflow checking.
7966 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
7967 compartmentalize tzset issues. Move system-dependent tzsettish
7968 code here from mktime.
7969 (verify): Remove; now done by verify.h. All uses changed.
7970 (long_int): Use a more-conservative definition, to avoid
7972 (SHR): Remove, replacing with ...
7973 (shr): New function, which means we needn’t worry about side
7974 effects in args, and conversion analysis is simpler.
7975 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
7976 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
7977 (time_t_avg, time_t_add_ok): Remove.
7978 (mktime_min, mktime_max): New constants.
7979 (leapyear, isdst_differ): Use bool for booleans.
7980 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
7981 Use long_int, not time_t, for mktime differences.
7982 (long_int_avg): New function, replacing time_t_avg.
7983 INT_ADD_WRAPV replaces time_t_add_ok.
7984 (guess_time_tm): 6th arg is now long_int, not time_t const *.
7986 (convert_time): New function.
7987 (ranged_convert): Use it.
7988 (__mktime_internal): Last arg now points to mktime_offset_t, not
7989 time_t. All uses changed. This is a no-op on glibc, where
7990 mktime_offset_t is always time_t. Use int, not time_t, for UTC
7991 offset guess. Directly check for integer overflow instead of
7992 using a heuristic that works only 99.9...% of the time.
7993 Access *OFFSET only once, to avoid an unlikely race if the
7994 compiler delays a load and if this cascades into a signed integer
7996 (mktime): Move tzsettish code to my_tzset, and move
7997 localtime_offset to within mktime so that it doesn’t
7998 need a separate ifdef.
7999 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
8000 instead of localtime.
8001 * time/timegm.c: Copy from Gnulib. This has the following changes:
8002 Include mktime-internal.h.
8003 [!_LIBC]: Include config.h and time.h. Do not include
8004 timegm.h or time_r.h. Make __mktime_internal a macro,
8005 and include mktime-internal.h to get its declaration.
8006 (timegm): Temporary is now mktime_offset_t, not time_t.
8007 This affects only Gnulib.
8009 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
8012 * string/test-strstr.c (pr23637): New function.
8013 (test_main): Add tests with longer needles.
8014 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
8015 * string/strstr.c (AVAILABLE): Likewise.
8017 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8019 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
8021 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8023 * NEWS: Mention pow improvements.
8024 * math/Makefile (type-double-routines): Add e_pow_log_data.
8025 * sysdeps/generic/math_private.h (__exp1): Remove.
8026 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
8027 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
8028 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
8030 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
8031 (exp_inline): Remove.
8032 (__ieee754_exp): Only single double input is handled.
8033 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
8034 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
8035 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
8036 (__pow_log_data): Define.
8037 * sysdeps/ieee754/dbl-64/upow.h: Remove.
8038 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
8039 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
8040 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
8042 (CFLAGS-e_pow-fma4.c): Likewise.
8044 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
8046 Simplify tzfile fstat failure code
8048 * time/tzfile.c (__tzfile_read): Simplify slightly.
8050 Fix tzfile low-memory assertion failure
8052 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
8053 when registering time zone abbreviations.
8055 2018-09-18 Joseph Myers <joseph@codesourcery.com>
8057 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
8058 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
8059 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
8060 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
8061 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
8062 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
8063 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
8064 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8065 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8067 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
8069 (__ceill): Call ceil instead of __ceil.
8070 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
8072 (__floorl): Call floor instead of __floor.
8074 2018-09-17 Joseph Myers <joseph@codesourcery.com>
8076 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8077 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
8078 using MATH_REDIRECT.
8079 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
8081 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
8082 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8083 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8084 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
8085 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8086 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8087 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8088 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
8089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
8090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
8091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
8092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
8093 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8094 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8095 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
8096 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
8097 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
8098 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
8099 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
8101 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
8102 functions instead of __ceil variants.
8103 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8104 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8106 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8108 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8109 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8111 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8112 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8115 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
8117 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
8118 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
8119 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
8120 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
8121 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
8122 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
8123 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
8124 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
8125 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
8126 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
8127 (ILL_BADIADDR): Remove constant.
8128 (TRAP_BRANCH): Likewise.
8129 (TRAP_HWBKPT): Likewise.
8131 2018-09-14 Joseph Myers <joseph@codesourcery.com>
8134 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
8135 Remove [_MIPS_SIM = _ABIN32] conditional case.
8136 (struct elf_prpsinfo): Likewise.
8139 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
8140 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
8141 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
8143 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
8144 elf_prpsinfo): Likewise.
8145 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
8146 elf_prpsinfo): Likewise.
8147 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
8150 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8151 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
8152 using MATH_REDIRECT.
8153 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
8155 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
8156 * sysdeps/alpha/fpu/s_rint.c: Likewise.
8157 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
8158 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8159 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8160 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8161 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
8162 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8163 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8164 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8165 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
8166 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
8167 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
8168 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
8169 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
8170 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8171 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8172 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
8173 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
8175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
8176 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
8177 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
8178 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
8179 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
8180 * sysdeps/x86_64/fpu/math_private.h: Remove file.
8181 * math/e_scalb.c (invalid_fn): Use rint functions instead of
8183 * math/e_scalbf.c (invalid_fn): Likewise.
8184 * math/e_scalbl.c (invalid_fn): Likewise.
8185 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8187 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8189 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8190 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
8191 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8193 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8195 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8197 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
8198 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
8200 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8201 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
8203 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8204 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
8205 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8206 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
8207 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8208 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
8209 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8210 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
8211 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8212 && !NO_MATH_REDIRECT] (floor): Likewise.
8213 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
8215 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
8216 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8217 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8218 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
8219 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8220 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8221 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8222 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
8223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
8224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
8225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
8226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
8227 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8228 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8229 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
8230 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
8231 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
8232 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
8233 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
8235 [_ARCH_PWR5X] (__floorf): Likewise.
8236 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
8238 [__SSE4_1__] (__floorf): Likewise.
8239 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
8240 instead of __floor variants.
8241 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
8242 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
8243 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
8244 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
8245 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
8246 * math/w_tgamma_compat.c (__tgamma): Likewise.
8247 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
8248 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
8249 * math/w_tgammal_compat.c (__tgammal): Likewise.
8250 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
8251 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
8253 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
8254 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
8255 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
8256 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8258 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
8259 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
8261 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
8262 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
8264 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8265 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
8267 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
8268 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8269 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
8270 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
8271 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8272 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8274 2018-09-12 Joseph Myers <joseph@codesourcery.com>
8276 * elf/Makefile (modules-names-tests): New variable.
8278 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8280 * NEWS: Mention log2 improvements.
8281 * math/Makefile (type-double-routines): Add e_log2_data.
8282 * sysdeps/i386/fpu/e_log2_data.c: New file.
8283 * sysdeps/ia64/fpu/e_log2_data.c: New file.
8284 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
8285 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
8286 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
8287 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
8288 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
8290 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8292 * NEWS: Mention log improvement.
8293 * math/Makefile (type-double-routines): Add e_log_data.
8294 * sysdeps/i386/fpu/e_log_data.c: New file.
8295 * sysdeps/ia64/fpu/e_log_data.c: New file.
8296 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
8297 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
8298 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
8299 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
8300 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
8301 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
8303 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
8304 Xuepeng Guo <xuepeng.guo@intel.com>
8307 * sysdeps/i386/start.S: Include <sysdep.h>
8308 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
8309 enabled. Add cfi_undefined (eip).
8311 2018-09-11 Joseph Myers <joseph@codesourcery.com>
8313 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
8315 (EXTRACT_WORDS64): Likewise.
8316 (INSERT_WORDS64): Likewise.
8317 (GET_FLOAT_WORD): Likewise.
8318 (SET_FLOAT_WORD): Likewise.
8320 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
8322 (Config.build_gcc): Use --disable-libsanitizer for first GCC
8323 build, but not for second build if --full-gcc. Use
8324 --enable-languages=all for second build if --full-gcc.
8325 (get_parser): Add --full-gcc option.
8326 (main): Update call to Context.
8328 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
8331 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
8332 Single Quotation Mark).
8333 (thousands_sep): Likewise.
8334 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
8335 * localedata/locales/it_IT (thousands_sep): Use ".".
8336 (grouping): Use "3;3".
8338 2018-09-10 Joseph Myers <joseph@codesourcery.com>
8340 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
8341 x86_64 and i686 configs using --enable-obsolete-rpc
8342 --enable-obsolete-nsl.
8344 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
8346 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8348 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
8350 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
8351 Increment size of new_argv by one.
8353 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
8356 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
8357 * localedata/locales/ar_IN (d_fmt): Likewise.
8358 * localedata/locales/bhb_IN (d_fmt): Likewise.
8359 * localedata/locales/bho_IN (d_fmt): Likewise.
8360 * localedata/locales/bn_BD (d_fmt): Likewise.
8361 * localedata/locales/bn_IN (d_fmt): Likewise.
8362 * localedata/locales/doi_IN (d_fmt): Likewise.
8363 * localedata/locales/gu_IN (d_fmt): Likewise.
8364 * localedata/locales/hi_IN (d_fmt): Likewise.
8365 * localedata/locales/hne_IN (d_fmt): Likewise.
8366 * localedata/locales/kn_IN (d_fmt): Likewise.
8367 * localedata/locales/mag_IN (d_fmt): Likewise.
8368 * localedata/locales/mai_IN (d_fmt): Likewise.
8369 * localedata/locales/mjw_IN (d_fmt): Likewise.
8370 * localedata/locales/ml_IN (d_fmt): Likewise.
8371 * localedata/locales/mni_IN (d_fmt): Likewise.
8372 * localedata/locales/mr_IN (d_fmt): Likewise.
8373 * localedata/locales/pa_IN (d_fmt): Likewise.
8374 * localedata/locales/raj_IN (d_fmt): Likewise.
8375 * localedata/locales/sat_IN (d_fmt): Likewise.
8376 * localedata/locales/sd_IN (d_fmt): Likewise.
8377 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
8378 * localedata/locales/ta_IN (d_fmt): Likewise.
8379 * localedata/locales/ta_LK (d_fmt): Likewise.
8380 * localedata/locales/tcy_IN (d_fmt): Likewise.
8381 * localedata/locales/ur_IN (d_fmt): Likewise.
8383 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
8384 * localedata/locales/ks_IN (d_fmt): Likewise.
8385 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
8387 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
8388 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
8389 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
8390 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
8392 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
8394 * NEWS: Mention exp and exp2 improvements.
8395 * math/Makefile (libm-support): Remove t_exp.
8396 (type-double-routines): Add math_err and e_exp_data.
8397 * sysdeps/aarch64/libm-test-ulps: Update.
8398 * sysdeps/arm/libm-test-ulps: Update.
8399 * sysdeps/i386/fpu/e_exp_data.c: New file.
8400 * sysdeps/i386/fpu/math_err.c: New file.
8401 * sysdeps/i386/fpu/t_exp.c: Remove.
8402 * sysdeps/ia64/fpu/e_exp_data.c: New file.
8403 * sysdeps/ia64/fpu/math_err.c: New file.
8404 * sysdeps/ia64/fpu/t_exp.c: Remove.
8405 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
8406 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
8407 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
8408 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
8409 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
8410 * sysdeps/ieee754/dbl-64/math_config.h: New file.
8411 * sysdeps/ieee754/dbl-64/math_err.c: New file.
8412 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
8413 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
8414 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
8415 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
8416 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
8417 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
8418 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
8419 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8420 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8422 2018-09-05 Joseph Myers <joseph@codesourcery.com>
8424 * sysdeps/alpha/fpu/math_private.h: Remove.
8426 * sysdeps/generic/math_private.h
8427 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
8428 Move this inline function ....
8429 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
8430 * include/math.h [!_ISOMAC]: To here....
8432 2018-09-04 Joseph Myers <joseph@codesourcery.com>
8434 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
8436 [!FE_HAVE_ROUNDING_MODES]: And this code ....
8437 * include/fenv.h [!_ISOMAC]: ... to here.
8438 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
8439 (feraiseexcept): Likewise.
8440 * math/fromfp.h: Do not include <fenv_private.h>.
8441 * math/s_cexp_template.c: Likewise.
8442 * math/s_csin_template.c: Likewise.
8443 * math/s_csinh_template.c: Likewise.
8444 * math/s_ctan_template.c: Likewise.
8445 * math/s_ctanh_template.c: Likewise.
8446 * math/s_iseqsig_template.c: Likewise.
8447 * math/w_acos_compat.c: Likewise.
8448 * math/w_acosf_compat.c: Likewise.
8449 * math/w_acosl_compat.c: Likewise.
8450 * math/w_asin_compat.c: Likewise.
8451 * math/w_asinf_compat.c: Likewise.
8452 * math/w_asinl_compat.c: Likewise.
8453 * math/w_j0_compat.c: Likewise.
8454 * math/w_j0f_compat.c: Likewise.
8455 * math/w_j0l_compat.c: Likewise.
8456 * math/w_j1_compat.c: Likewise.
8457 * math/w_j1f_compat.c: Likewise.
8458 * math/w_j1l_compat.c: Likewise.
8459 * math/w_jn_compat.c: Likewise.
8460 * math/w_jnf_compat.c: Likewise.
8461 * math/w_log10_compat.c: Likewise.
8462 * math/w_log10f_compat.c: Likewise.
8463 * math/w_log10l_compat.c: Likewise.
8464 * math/w_log2_compat.c: Likewise.
8465 * math/w_log2f_compat.c: Likewise.
8466 * math/w_log2l_compat.c: Likewise.
8467 * math/w_log_compat.c: Likewise.
8468 * math/w_logf_compat.c: Likewise.
8469 * math/w_logl_compat.c: Likewise.
8470 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8471 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8472 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8473 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8474 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8475 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8476 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8477 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8478 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8479 * sysdeps/ieee754/k_standardl.c: Likewise.
8480 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8481 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8482 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8483 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8484 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8485 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8486 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8487 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8488 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8489 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8490 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8491 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8492 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8493 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8494 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8495 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8496 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8497 * math/w_ilogb_template.c: Include <fenv.h> instead of
8499 * math/w_llogb_template.c: Likewise.
8500 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8501 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8503 2018-09-03 Joseph Myers <joseph@codesourcery.com>
8505 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
8506 * math/fromfp.h: Include <fenv_private.h>.
8507 * math/math-narrow.h: Likewise.
8508 * math/s_cexp_template.c: Likewise.
8509 * math/s_csin_template.c: Likewise.
8510 * math/s_csinh_template.c: Likewise.
8511 * math/s_ctan_template.c: Likewise.
8512 * math/s_ctanh_template.c: Likewise.
8513 * math/s_iseqsig_template.c: Likewise.
8514 * math/w_acos_compat.c: Likewise.
8515 * math/w_acosf_compat.c: Likewise.
8516 * math/w_acosl_compat.c: Likewise.
8517 * math/w_asin_compat.c: Likewise.
8518 * math/w_asinf_compat.c: Likewise.
8519 * math/w_asinl_compat.c: Likewise.
8520 * math/w_ilogb_template.c: Likewise.
8521 * math/w_j0_compat.c: Likewise.
8522 * math/w_j0f_compat.c: Likewise.
8523 * math/w_j0l_compat.c: Likewise.
8524 * math/w_j1_compat.c: Likewise.
8525 * math/w_j1f_compat.c: Likewise.
8526 * math/w_j1l_compat.c: Likewise.
8527 * math/w_jn_compat.c: Likewise.
8528 * math/w_jnf_compat.c: Likewise.
8529 * math/w_llogb_template.c: Likewise.
8530 * math/w_log10_compat.c: Likewise.
8531 * math/w_log10f_compat.c: Likewise.
8532 * math/w_log10l_compat.c: Likewise.
8533 * math/w_log2_compat.c: Likewise.
8534 * math/w_log2f_compat.c: Likewise.
8535 * math/w_log2l_compat.c: Likewise.
8536 * math/w_log_compat.c: Likewise.
8537 * math/w_logf_compat.c: Likewise.
8538 * math/w_logl_compat.c: Likewise.
8539 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8540 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8541 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8542 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8543 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8544 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8545 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8546 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8547 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8548 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8549 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8550 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8551 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
8552 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
8553 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8554 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8555 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8556 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8557 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8558 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8559 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8560 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8561 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8562 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8563 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8564 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8565 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8566 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
8567 * sysdeps/ieee754/float128/float128_private.h: Likewise.
8568 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8569 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8570 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8571 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
8572 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8573 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8574 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8575 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8576 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8577 * sysdeps/ieee754/k_standardl.c: Likewise.
8578 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8579 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8580 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8581 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8582 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8583 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8584 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8585 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8586 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8587 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8588 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8589 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8590 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8591 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8592 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8593 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
8594 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8595 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
8596 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8597 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8598 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8599 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8600 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8601 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8602 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8603 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8604 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8605 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8606 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
8607 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8608 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8609 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8610 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8611 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8612 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8613 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8614 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8615 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8616 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8617 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8618 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
8619 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8620 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
8621 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8622 * sysdeps/riscv/rvd/s_finite.c: Likewise.
8623 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
8624 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
8625 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
8626 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
8627 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
8628 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
8629 * sysdeps/riscv/rvf/fegetround.c: Likewise.
8630 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
8631 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
8632 * sysdeps/riscv/rvf/fesetround.c: Likewise.
8633 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
8634 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8635 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8636 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8637 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8638 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8639 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8640 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8641 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8642 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8643 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8644 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8645 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8646 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8647 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8648 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8650 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8653 * include/stdio.h (__libc_fatal): Mention newline in comment.
8654 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
8655 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
8656 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8657 * nss/nsswitch.c (__nss_next2): Likewise.
8658 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
8659 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
8660 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
8661 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8662 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
8663 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
8664 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
8665 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
8666 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
8667 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
8668 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
8669 * sysdeps/unix/sysv/linux/netlink_assert_response.c
8670 (__netlink_assert_response): Likewise.
8672 2018-08-31 Joseph Myers <joseph@codesourcery.com>
8674 * conform/glibcconform.py: New file.
8675 * conform/list-header-symbols.py: Likewise.
8676 * conform/list-header-symbols.pl: Remove.
8677 * conform/Makefile (tests-special): Only add linknamespace tests
8679 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
8681 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
8684 * support/Makefile (libsupport-routines): Add
8685 support_copy_file_range and xcopy_file_range.
8686 * support/support.h: Include <sys/types.h>.
8687 (support_copy_file_range): New prototype.
8688 * support/support_copy_file_range.c: New file. Copied and
8689 modified from io/copy_file_range-compat.c.
8690 * support/test-container.c (copy_one_file): Call xcopy_file_rang
8691 instead of copy_file_range.
8692 * support/xcopy_file_range.c: New file.
8693 * support/xunistd.h (xcopy_file_range): New prototype.
8695 2018-08-30 Carlos O'Donell <carlos@redhat.com>
8697 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
8698 xpthread_create and xpthread_join.
8700 2018-08-30 Florian Weimer <fweimer@redhat.com>
8702 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
8704 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
8706 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
8709 2018-08-29 Joseph Myers <joseph@codesourcery.com>
8711 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
8712 and minus_oflow as non-finite.
8714 2018-08-28 Joseph Myers <joseph@codesourcery.com>
8716 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
8717 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
8718 moved to fenv_private.h except for ...
8719 (TOINT_INTRINSICS): Kept in math_private.h.
8720 (roundtoint): Likewise.
8721 (converttoint): Likewise.
8722 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
8723 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8724 * sysdeps/arm/math_private.h: Remove.
8725 * sysdeps/generic/fenv_private.h: New file. Contents moved from
8727 * sysdeps/generic/math_private.h: ... this file. Include
8728 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
8729 Include <fenv_private.h>. Remove functions and macros moved to
8731 * sysdeps/i386/fpu/math_private.h: Remove.
8732 * sysdeps/mips/math_private.h: Move to ....
8733 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
8734 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
8735 [__mips_hard_float] conditional. Include next <fenv_private.h>.
8736 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
8737 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8738 * sysdeps/powerpc/fpu/math_private.h: Do not include
8740 * sysdeps/riscv/rvf/math_private.h: Move to ....
8741 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
8742 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
8744 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
8745 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8746 * sysdeps/sparc/fpu/math_private.h: Remove.
8747 * sysdeps/i386/fpu/fenv_private.h: Move to ....
8748 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
8749 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
8751 * sysdeps/x86_64/fpu/math_private.h: Do not include
8752 <sysdeps/i386/fpu/fenv_private.h>.
8754 2018-08-28 Florian Weimer <fweimer@redhat.com>
8757 * posix/tst-regcomp-truncated.c: New file.
8758 * posix/Makefile (tests): Add it.
8759 (tst-regcomp-truncated.out): Depend on generated locales.
8761 2018-08-28 Florian Weimer <fweimer@redhat.com>
8763 * support/test-container.c (main): Treat unshare failure with
8764 EPERM as an unsupported test.
8766 2018-08-28 Florian Weimer <fweimer@redhat.com>
8769 nscd: Fix use-after-free in addgetnetgrentX and its callers.
8770 * nscd/netgroupcache.c
8771 (addgetnetgrentX): Add tofreep parameter. Do not free
8772 heap-allocated buffer.
8773 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
8774 (addgetnetgrentX_ignore): New function.
8775 (addgetnetgrent): Call it.
8776 (readdgetnetgrent): Likewise.
8778 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8780 * string/memmem.c: Use memcmp for first match.
8782 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
8785 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
8787 2018-08-27 DJ Delorie <dj@redhat.com>
8789 * support/Makefile (others): Don't list programs explicitly as a
8790 dependency of "others".
8792 2018-08-27 Joseph Myers <joseph@codesourcery.com>
8794 * sysdeps/generic/math-tests-trap-force.h: New file.
8795 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
8796 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
8797 * sysdeps/powerpc/math-tests.h: Remove file.
8798 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
8800 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
8801 Torvald Riegel <triegel@redhat.com>
8804 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
8805 Update r to include the set wake-request flag if waiters are
8806 remaining after spinning.
8808 2018-08-27 Joseph Myers <joseph@codesourcery.com>
8810 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
8812 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
8815 regex: fix uninitialized memory access
8816 I introduced this bug into gnulib in commit
8817 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
8818 eventually it was merged into glibc. The bug was found by
8819 project-repo <bugs@feusi.co> and reported here:
8820 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
8821 Diagnosis and draft fix reported by Assaf Gordon here:
8822 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
8823 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
8824 * posix/regex_internal.c (build_wcs_upper_buffer):
8825 Fix bug when mbrtowc returns 0.
8827 2018-08-24 Carlos O'Donell <carlos@redhat.com>
8829 * po/be.po: Update translation.
8831 2018-08-24 DJ Delorie <dj@delorie.com>
8833 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
8836 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8839 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
8840 create temporary files in source tree.
8842 2018-08-24 Joseph Myers <joseph@codesourcery.com>
8844 * sysdeps/generic/math-tests-trap.h: New file.
8845 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
8846 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
8847 * sysdeps/aarch64/math-tests.h: Remove file.
8848 * sysdeps/arm/math-tests.h: Likewise.
8849 * sysdeps/riscv/math-tests.h: Likewise.
8850 * sysdeps/aarch64/math-tests-trap.h: New file.
8851 * sysdeps/arm/math-tests-trap.h: Likewise.
8852 * sysdeps/riscv/math-tests-trap.h: Likewise.
8854 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
8856 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
8857 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
8858 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
8859 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
8860 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
8861 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
8862 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8863 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
8864 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
8865 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8866 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8867 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8868 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8869 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
8870 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
8871 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
8872 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8873 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8875 2018-08-23 Joseph Myers <joseph@codesourcery.com>
8877 * sysdeps/generic/math-tests-exceptions.h: New file.
8878 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
8879 (EXCEPTION_TESTS_float): Do not define here.
8880 (EXCEPTION_TESTS_double): Likewise.
8881 (EXCEPTION_TESTS_long_double): Likewise.
8882 (EXCEPTION_TESTS_float128): Likewise.
8883 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
8885 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
8886 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
8887 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
8888 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
8889 * sysdeps/mips/math-tests.h: Likewise.
8890 * sysdeps/nios2/math-tests.h: Likewise.
8891 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8892 (EXCEPTION_TESTS_float): Do not define here.
8893 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
8894 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
8895 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
8897 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
8899 * NEWS: Move optimized sinf entry to 2.29.
8901 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
8903 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
8905 2018-08-22 DJ Delorie <dj@redhat.com>
8907 * Makefile (testroot.pristine): New rules to initialize the
8908 test-in-container "testroot".
8909 * Makerules (all-testsuite): Add tests-container.
8910 * Rules (tests-expected): Add tests-container.
8911 (binaries-all-tests): Likewise.
8912 (tests-container): New, run these tests in the testroot container.
8913 * support/Makefile (others): Add *-container, support_paths.c,
8914 xmkdirp, and links-dso-program.
8915 * support/links-dso-program-c.c: New.
8916 * support/links-dso-program.cc: New.
8917 * support/test-container.c: New.
8918 * support/shell-container.c: New.
8919 * support/echo-container.c: New.
8920 * support/true-container.c: New.
8921 * support/xmkdirp.c: New.
8922 * support/xsymlink.c: New.
8923 * support/support_paths.c: New.
8924 * support/support.h: Add support paths prototypes.
8925 * support/xunistd.h: Add xmkdirp () and xsymlink ().
8927 * nss/tst-nss-test3.c: Convert to test-in-container.
8928 * nss/tst-nss-test3.root/: New.
8930 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
8932 regex: port Gnulib code to z/OS POSIX environment
8933 Problem reported by Arnold Robbins in:
8934 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
8935 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
8938 2018-08-22 Joseph Myers <joseph@codesourcery.com>
8940 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
8941 (ROUNDING_TESTS_double): Remove.
8942 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
8943 (ROUNDING_TESTS_double): Remove.
8944 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
8945 (ROUNDING_TESTS_double): Remove.
8946 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
8947 (ROUNDING_TESTS_float): Remove.
8948 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
8949 (ROUNDING_TESTS_float): Remove.
8950 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
8951 (ROUNDING_TESTS_float): Remove.
8952 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
8954 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8955 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8957 * sysdeps/generic/math-tests-rounding.h: New file.
8958 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
8959 (ROUNDING_TESTS_float): Do not define here.
8960 (ROUNDING_TESTS_double): Likewise.
8961 (ROUNDING_TESTS_long_double): Likewise.
8962 (ROUNDING_TESTS_float128): Likewise.
8963 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
8964 (ROUNDING_TESTS_double): Undefine before defining.
8965 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
8966 (ROUNDING_TESTS_double): Undefine before defining.
8967 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
8968 (ROUNDING_TESTS_double): Undefine before defining.
8969 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
8970 (ROUNDING_TESTS_float): Undefine before defining.
8971 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
8972 (ROUNDING_TESTS_float): Undefine before defining.
8973 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
8974 (ROUNDING_TESTS_float): Undefine before defining.
8975 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
8976 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
8978 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
8979 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
8980 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
8981 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8982 (ROUNDING_TESTS_float): Do not define here.
8983 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
8984 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
8985 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
8986 (ROUNDING_TESTS_float): Likewise.
8987 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
8988 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
8989 * sysdeps/mips/math-tests.h [__mips_soft_float]
8990 (ROUNDING_TESTS_float): Likewise.
8991 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
8992 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
8993 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
8994 (ROUNDING_TESTS_double): Likewise.
8995 (ROUNDING_TESTS_long_double): Likewise.
8997 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
8999 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
9000 (PF_XDP): New macro.
9001 (AF_XDP): New macro.
9002 (SOL_XDP): New macro.
9004 2018-08-21 Joseph Myers <joseph@codesourcery.com>
9006 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
9007 (TCP_INQ): Likewise.
9008 (TCP_CM_INQ): Likewise.
9009 (TCP_REPAIR_ON): Likewise.
9010 (TCP_REPAIR_OFF): Likewise.
9011 (TCP_REPAIR_OFF_NO_WP): Likewise.
9012 (struct tcp_zerocopy_receive): New type.
9014 2018-08-21 Florian Weimer <fweimer@redhat.com>
9016 * support/support.h (support_descriptor_supports_holes): Declare.
9017 * support/Makefile (libsupport-routines): Add
9018 support_descriptor_supports_holes.
9019 * support/support_descriptor_supports_holes.c: New file.
9020 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
9021 and stop testing if holes are not supported.
9022 * io/test-lfs.c (do_prepare): Likewise.
9023 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
9025 * timezone/tst-tzset.c (create_tz_file): Likewise.
9026 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
9028 (do_prepare): Set it.
9029 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
9031 2018-08-21 Florian Weimer <fweimer@redhat.com>
9034 * Makeconfig (+cflags): Do not sort (and deduplicate).
9036 2018-08-21 Florian Weimer <fweimer@redhat.com>
9038 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
9039 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
9041 2018-08-20 Florian Weimer <fweimer@redhat.com>
9043 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
9044 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
9046 2018-08-20 Joseph Myers <joseph@codesourcery.com>
9048 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
9049 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
9050 and ssi_arch members.
9052 * elf/elf.c (NT_VMCOREDD): New macro.
9053 (AT_MINSIGSTKSZ): Likewise.
9055 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9057 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
9058 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
9059 s_cosf-ppc64 and s_cosf-power8.
9060 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
9061 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9062 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9063 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
9065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
9066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
9067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
9068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
9069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
9070 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
9071 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
9073 2018-08-17 Florian Weimer <fweimer@redhat.com>
9075 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9077 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
9079 * malloc/malloc.c (_int_malloc): Additional binning code checks.
9081 2018-08-16 Florian Weimer <fweimer@redhat.com>
9083 * configure.ac: Add --with-nonshared-cflags option.
9084 * config.make.in (extra-nonshared-cflags): Set variable.
9085 * Makeconfig (CFLAGS-.oS): Use it.
9086 * manual/install.texi (Configuring and compiling): Document
9087 --with-nonshared-cflags.
9088 * configure: Regenerate.
9089 * INSTALL: Likewise.
9091 2018-08-16 Florian Weimer <fweimer@redhat.com>
9093 * Makeconfig (ASFLAGS): Always append required assembler flags.
9095 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
9097 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
9098 (malloc_consolidate): Likewise.
9100 2018-08-16 Pochang Chen <johnchen902@gmail.com>
9102 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
9104 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
9106 * benchtests/bench-strlen.c (do_test): Allocate buffers before
9109 * benchtests/bench-strlen.c: Print performance numbers in json.
9111 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9113 * sysdeps/powerpc/powerpc64/multiarch/Makefile
9114 (sysdep_routines): Build strcmp-power9 and strncmp-power9
9115 only for little endian.
9116 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9117 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
9118 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
9119 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
9120 Add check for little endian.
9121 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
9122 (__strcmp_power9): Add check for little endian.
9123 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
9124 Add check for little endian.
9125 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
9126 (__strncmp_power9): Add check for little endian.
9127 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
9128 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
9129 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
9130 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
9131 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
9133 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
9135 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
9136 [!STRLEN](STRLEN): Set to __strlen.
9137 * sysdeps/aarch64/multiarch/strlen.c: New file.
9138 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
9139 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
9140 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
9141 (__libc_ifunc_impl_list): Add strlen.
9142 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
9143 strlen_generic and strlen_asimd.
9145 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
9147 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
9148 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
9149 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
9151 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
9153 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
9155 2018-08-14 Florian Weimer <fweimer@redhat.com>
9158 * include/stdio.h (__vfxprintf): Declare.
9159 * stdio-common/fxprintf.c (__vfxprintf): New function.
9160 (__fxprintf): Call it.
9161 * misc/err.c (convert_and_print): Remove function.
9162 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
9163 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
9164 * misc/Makefile (tests): Add tst-warn-wide.
9165 * misc/tst-warn-wide.c: New file.
9167 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
9168 Szabolcs Nagy <szabolcs.nagy@arm.com>
9170 * NEWS: Mention sinf, cosf, sincosf.
9171 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
9172 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
9173 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
9174 constants rather than including generic sincosf.h.
9175 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
9176 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
9177 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
9178 (reduced_cos): Remove.
9179 (sinf_poly): New function.
9180 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
9182 2018-08-14 Florian Weimer <fweimer@redhat.com>
9186 * nss/nss_files/files-alias.c (get_next_alias): During :include:
9187 processing, bail out if no room, and close the stream before
9189 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
9190 (tst-nss-files-alias-leak): Link with libdl.
9191 (tst-nss-files-alias-leak.out): Depend on nss_files.
9193 * nss/tst-nss-files-alias-leak.c: New file.
9195 2018-08-14 Florian Weimer <fweimer@redhat.com>
9197 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
9198 server_user, stat_user.
9200 2018-08-13 Joseph Myers <joseph@codesourcery.com>
9202 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9204 (io_pgetevents): New syscall.
9207 * manual/install.texi (Configuring and compiling): Do not list
9208 tools used for testing pretty printers here.
9209 (Tools for Compilation): List Python, PExpect and GDB here.
9210 Update descriptions of uses of Perl and Python.
9211 * INSTALL: Regenerate.
9213 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9216 2018-08-13 Florian Weimer <fweimer@redhat.com>
9218 * misc/error.c (error): Add missing va_end call.
9219 (error_at_line): Likewise.
9221 2018-08-13 Florian Weimer <fweimer@redhat.com>
9223 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
9225 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
9227 * benchtests/scripts/benchout.schema.json (properties): Add
9230 * benchtests/bench-skeleton.c (main): Add duration and
9231 iterations attributes.
9233 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
9235 regex: Gnulib unibyte RRI uses bytes not chars
9236 Adjust the non-glibc code to agree with what Gawk needs for
9237 rational range interpretation (RRI) for regular expression ranges.
9238 In unibyte locales, Gawk wants ranges to use the underlying byte
9239 rather than the character code point. This change does not affect
9241 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
9242 In unibyte locales, use the byte value rather than
9243 running it through btowc.
9245 2018-08-10 Joseph Myers <joseph@codesourcery.com>
9247 * sysdeps/generic/math-tests-snan.h: New file.
9248 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
9249 (SNAN_TESTS_float): Do not define here.
9250 (SNAN_TESTS_double): Likewise.
9251 (SNAN_TESTS_long_double): Likewise.
9252 (SNAN_TESTS_float128): Likewise.
9253 * sysdeps/i386/fpu/math-tests-snan.h: New file.
9254 * sysdeps/i386/fpu/math-tests.h: Remove file.
9255 * sysdeps/ia64/math-tests-snan.h: New file.
9256 * sysdeps/ia64/math-tests.h: Remove file.
9257 * sysdeps/x86/math-tests.h: Likewise.
9258 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
9260 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9261 Szabolcs Nagy <szabolcs.nagy@arm.com>
9263 * math/Makefile: Add s_sincosf_data.c.
9264 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
9265 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
9266 (sincosf_poly): Likewise.
9267 (reduce_small): Likewise.
9268 (reduce_large): Likewise.
9269 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
9270 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
9271 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
9272 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
9274 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9275 Szabolcs Nagy <szabolcs.nagy@arm.com>
9277 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
9278 (converttoint): Use lround.
9279 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
9280 document the semantics when TOINT_INTRINSICS is set.
9281 (converttoint): Likewise.
9282 (TOINT_RINT): Remove.
9283 (TOINT_SHIFT): Remove.
9284 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
9287 2018-08-10 Florian Weimer <fweimer@redhat.com>
9290 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
9292 (__old_getdents64): Use getdents64. Convert entries without
9294 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
9295 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
9296 tst-readdir64-compat.
9298 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9300 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
9303 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9305 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
9306 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
9307 code to s390x-mcount.h and #include it.
9308 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
9309 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9312 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9314 * stdlib/Versions: Remove __fentry__.
9315 * sysdeps/i386/Versions: Add __fentry__.
9316 * sysdeps/x86_64/Versions: Add __fentry__.
9318 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9320 * sysdeps/s390/Makefile: Register the new tests.
9321 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
9322 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
9323 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
9324 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
9325 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
9326 * sysdeps/s390/tst-dl-runtime.c: New file.
9328 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9330 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9333 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9335 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9338 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9340 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9343 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9345 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9348 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9350 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9351 Use symbolic offsets for stack variables.
9353 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9355 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9356 Use symbolic offsets for stack variables.
9358 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9360 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9361 Use symbolic offsets for stack variables.
9363 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9365 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9366 Use symbolic offsets for stack variables.
9368 2018-08-09 Joseph Myers <joseph@codesourcery.com>
9370 * math/gen-libm-test.py: New file.
9371 * math/gen-libm-test.pl: Remove.
9372 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
9373 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
9375 ($(libm-test-c-noauto-obj)): Likewise.
9376 ($(libm-test-c-auto-obj)): Likewise.
9377 ($(libm-test-c-narrow-obj)): Likewise.
9378 (regen-ulps): Likewise.
9379 * math/README.libm-test: Update references to gen-libm-test.pl.
9380 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
9381 referencing gen-libm-test.pl.
9382 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
9383 * math/libm-test-support.c: Likewise.
9384 * math/libm-test-support.h: Likewise.
9385 * sysdeps/generic/libm-test-ulps: Likewise.
9387 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
9389 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
9392 2018-08-08 Joseph Myers <joseph@codesourcery.com>
9394 * math/libm-test-nextdown.inc (do_test): Move comment to ....
9395 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
9397 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
9399 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
9401 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
9402 __pthread_setspecific): Add hidden proto.
9403 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
9404 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
9406 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
9408 * benchtests/bench-string.h (buf1_size, buf2_size): New
9410 (init_sizes): New function.
9411 (test_init): Use it.
9412 (alloc_buf, exit_error): New functions.
9413 (alloc_bufs): Use ALLOC_BUF.
9414 (realloc_bufs): Remove.
9415 * benchtests/bench-memcmp.c (do_test): Adjust.
9416 * benchtests/bench-memset-large.c (do_test): Likewise.
9417 * benchtests/bench-memset-walk.c (do_test): Likewise.
9418 * benchtests/bench-memset.c (do_test): Likewise.
9419 * benchtests/bench-strncmp.c (do_test): Likewise.
9421 2018-08-06 Andreas Schwab <schwab@suse.de>
9423 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
9424 of CONST_THREAD_AREA.
9426 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
9428 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
9429 (STATE_SAVE_MASK): Likewise.
9430 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
9431 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
9432 (STATE_SAVE_MASK): Likewise.
9433 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
9434 instead of <cpu-features.h>.
9436 2018-08-03 DJ Delorie <dj@redhat.com>
9438 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
9439 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
9441 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
9443 2018-08-03 Joseph Myers <joseph@codesourcery.com>
9445 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
9447 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
9448 * math/libm-test-logb.inc (logb_test_data): Likewise.
9450 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
9452 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
9453 * string/strstr.c (AVAILABLE): Likewise.
9455 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
9457 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
9459 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
9460 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
9461 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
9463 2018-08-03 Carlos O'Donell <carlos@redhat.com>
9465 * po/be.po: Update translation.
9467 * po/be.po: Update translation.
9469 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
9471 * sysdeps/x86/cpu-features-offsets.sym
9472 (rtld_global_ro_offsetof): Removed.
9473 (CPU_FEATURES_SIZE): Likewise.
9474 (CPUID_OFFSET): Likewise.
9475 (CPUID_SIZE): Likewise.
9476 (CPUID_EAX_OFFSET): Likewise.
9477 (CPUID_EBX_OFFSET): Likewise.
9478 (CPUID_ECX_OFFSET): Likewise.
9479 (CPUID_EDX_OFFSET): Likewise.
9480 (FAMILY_OFFSET): Likewise.
9481 (MODEL_OFFSET): Likewise.
9482 (FEATURE_OFFSET): Likewise.
9483 (FEATURE_SIZ): Likewise.
9484 (COMMON_CPUID_INDEX_1): Likewise.
9485 (COMMON_CPUID_INDEX_7): Likewise.
9486 (FEATURE_INDEX_1): Likewise.
9487 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
9489 2018-08-02 Carlos O'Donell <carlos@redhat.com>
9491 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
9492 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
9493 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
9494 (install-locales): Depend on install-locale-archive.
9495 (install-locale-archive): Define.
9496 (install-locale-files): Define.
9497 (build-one-locale): Define macro.
9498 * manual/install.texi (Running make install): Document.
9499 * manual/INSTALL: Regenerate.
9501 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
9503 * benchtests/scripts/compare_strings.py: Import traceback.
9504 (parse_file): Pretty-print error.
9506 * NEWS: Mention the change.
9507 * elf/dl-tunables.list: Rename tune namespace to cpu.
9508 * sysdeps/powerpc/dl-tunables.list: Likewise.
9509 * sysdeps/x86/dl-tunables.list: Likewise.
9510 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
9512 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
9513 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
9514 * manual/README.tunables: Likewise.
9515 * manual/tunables.texi: Likewise.
9516 * sysdeps/powerpc/cpu-features.c: Likewise.
9517 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
9518 (init_cpu_features): Likewise.
9519 * sysdeps/x86/cpu-features.c: Likewise.
9520 * sysdeps/x86/cpu-features.h: Likewise.
9521 * sysdeps/x86/cpu-tunables.c: Likewise.
9522 * sysdeps/x86_64/Makefile: Likewise.
9523 * sysdeps/x86/dl-cet.c: Likewise.
9525 2018-08-02 Joseph Myers <joseph@codesourcery.com>
9528 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
9529 [__mips_hard_float].
9530 (FE_UNDERFLOW): Likewise.
9531 (FE_OVERFLOW): Likewise.
9532 (FE_DIVBYZERO): Likewise.
9533 (FE_INVALID): Likewise.
9534 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
9535 (FE_TOWARDZERO): Define only if [__mips_hard_float].
9536 (FE_UPWARD): Likewise.
9537 (FE_DOWNWARD): Likewise.
9538 (__FE_UNDEFINED): Define if [!__mips_hard_float]
9539 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
9540 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
9541 [__mips_hard_float].
9542 (FP_ROUNDMODE): Likewise.
9543 (FP_RND_NEAREST): Likewise.
9544 (FP_RND_ZERO): Likewise.
9545 (FP_RND_PINF): Likewise.
9546 (FP_RND_MINF): Likewise.
9547 (FP_EX_INVALID): Likewise.
9548 (FP_EX_OVERFLOW): Likewise.
9549 (FP_EX_UNDERFLOW): Likewise.
9550 (FP_EX_DIVZERO): Likewise.
9551 (FP_EX_INEXACT): Likewise.
9552 (FP_INIT_ROUNDMODE): Likewise.
9553 * sysdeps/mips/nofpu/fesetenv.c: New file.
9554 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
9556 2018-08-01 Joseph Myers <joseph@codesourcery.com>
9558 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
9559 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
9560 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
9561 conditional on [FE_UPWARD].
9563 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
9565 regex: fix memory leak in Gnulib
9566 Problem and fix reported by Assaf Gordon in:
9567 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
9568 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
9569 range_ends members too, as they are defined in 'struct
9570 re_charset_t' even if not _LIBC. This affects only Gnulib.
9572 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
9574 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
9576 (get_common_indices): This.
9577 (init_cpu_features): Updated.
9579 2018-08-01 Joseph Myers <joseph@codesourcery.com>
9581 * sysdeps/generic/math-tests-snan-payload.h: New file.
9582 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
9583 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
9584 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
9585 * sysdeps/generic/math-tests.h: Include
9586 <math-tests-snan-payload.h>.
9587 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
9588 * sysdeps/hppa/math-tests.h: Remove file.
9589 * sysdeps/mips/math-tests.h [!__mips_nan2008]
9590 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
9591 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
9594 * sysdeps/generic/math-tests-snan-cast.h: New file.
9595 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
9596 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
9597 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
9598 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
9600 2018-08-01 Carlos O'Donel <carlos@redhat.com>
9602 * version.h (RELEASE): Set to "development".
9603 (VERSION): Set to "2.28.9000".
9604 * NEWS (2.29): New section.
9606 * version.h (RELEASE): Set to "stable".
9607 (VERSION): Set to "2.28".
9608 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
9609 * NEWS: Add the list of bugs fixed in 2.28.
9611 * po/ca.po: Update to latest version.
9612 * po/cs.po: Likewise
9613 * po/da.po: Likewise
9614 * po/el.po: Likewise
9615 * po/eo.po: Likewise
9616 * po/es.po: Likewise
9617 * po/fi.po: Likewise
9618 * po/fr.po: Likewise
9619 * po/gl.po: Likewise
9620 * po/hu.po: Likewise
9621 * po/ia.po: Likewise
9622 * po/id.po: Likewise
9623 * po/it.po: Likewise
9624 * po/ja.po: Likewise
9625 * po/ko.po: Likewise
9626 * po/lt.po: Likewise
9627 * po/nb.po: Likewise
9628 * po/nl.po: Likewise
9629 * po/pt_BR.po: Likewise
9630 * po/ru.po: Likewise
9631 * po/rw.po: Likewise
9632 * po/sk.po: Likewise
9633 * po/sl.po: Likewise
9634 * po/tr.po: Likewise
9635 * po/zh_CN.po: Likewise
9636 * po/zh_TW.po: Likewise
9638 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9640 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
9642 (init): ... before initializing libpthread.
9644 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
9645 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
9646 (__mach_setup_tls): ... new function.
9647 (mach_setup_tls): New alias.
9648 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
9649 __mach_setup_thread.
9650 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
9651 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
9652 * mach/Versions [libc] (mach_setup_tls): Add symbol.
9653 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
9655 2018-07-31 Carlos O'Donell <carlos@redhat.com>
9657 * manual/install.texi: Update versions.
9658 * INSTALL: Regenerate.
9660 * manual/contrib.texi (Contributors): Update contributions.
9662 2018-07-31 Carlos O'Donell <carlos@redhat.com>
9664 * po/be.po: Update translations.
9666 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9668 * sysdeps/sh/libm-test-ulps: Update.
9670 2018-07-30 Carlos O'Donell <carlos@redhat.com>
9672 * po/bg.po: Update translations.
9673 * po/de.po: Likewise.
9674 * po/hr.po: Likewise.
9675 * po/pt_BR.po: Likewise.
9676 * po/sv.po: Likewise.
9677 * po/vi.po: Likewise.
9679 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
9682 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9683 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
9684 (CFLAGS-tst-cet-property-1.o): New.
9685 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
9686 ($(objpfx)tst-cet-property-2): Likewise.
9687 ($(objpfx)tst-cet-property-2.out): Likewise.
9688 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
9689 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
9690 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
9691 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
9692 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
9694 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
9697 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
9699 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
9701 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
9702 __sbrk): Do not set attribute_hidden.
9703 * sysdeps/mach/hurd/not-errno.h: New file.
9704 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9705 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
9707 2018-07-27 Carlos O'Donell <carlos@redhat.com>
9709 * po/uk.po: Update translations.
9710 * po/cs.po: Likewise.
9711 * po/pl.po: Likewise.
9713 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
9715 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
9716 parse beyond the note end.
9718 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9720 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
9721 kernel does not support OFD locks.
9722 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
9724 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9726 * sysdeps/mach/hurd/Versions (libc): Make __access and
9727 __access_noerrno external so they can override the ld symbols.
9728 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
9729 __writev, __open64, __access_noerrno extern so they can be overrided.
9730 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
9731 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9733 2018-07-26 Carlos O'Donell <carlos@redhat.com>
9735 * po/libc.pot: Regenerate.
9737 2018-07-26 Joseph Myers <joseph@codesourcery.com>
9739 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
9741 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9744 * sysdeps/x86/cpu-features.c (get_extended_indices): New
9746 (init_cpu_features): Call get_extended_indices for both Intel
9748 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
9749 Remove "for AMD" comment.
9751 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9754 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
9755 COMMON_CPUID_INDEX_80000001.
9757 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
9759 * string/tst-xbzero-opt.c (use_test_buffer): New function.
9760 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
9762 2018-07-26 Florian Weimer <fweimer@redhat.com>
9764 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
9765 aliases for symbols not in the implementation namespace.
9767 2018-07-25 Carlos O'Donell <carlos@redhat.com>
9770 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
9771 lowercase in LATIN script.
9772 * localedata/Makefile (test-input): Add en_US.UTF-8.
9773 * localedata/en_US.UTF-8.in: New file.
9774 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
9775 and restore old tests.
9776 * posix/tst-regexloc.c (do_test): Add back range expression test.
9778 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9780 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
9782 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9784 * nptl/threads.h: Move to ...
9785 * sysdeps/nptl/threads.h: ... here.
9786 * sysdeps/hurd/stdc-predef.h: New file.
9788 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9790 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9791 tst-cet-setcontext-1 if CET is enabled.
9792 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
9793 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
9795 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9797 * include/threads.h: Move to ...
9798 * sysdeps/nptl/threads.h: ... here.
9799 * sysdeps/htl/threads.h: New file.
9800 * conform/Makefile (linknamespace-libs-ISO11): Use
9801 static-thread-library instead of linking libpthread.
9802 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
9804 2018-07-25 Florian Weimer <fweimer@redhat.com>
9806 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
9807 nanoseconds into seconds.
9808 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
9809 (do_test): Likewise.
9810 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
9811 (do_test): Likewise. Avoid nanosecond overflow and spurious
9812 timeouts due to system load.
9813 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
9814 (child_wait): Increment it.
9815 (do_test): Wait as long as necessary until all expected threads
9818 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
9819 H.J. Lu <hongjiu.lu@intel.com>
9821 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
9823 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
9824 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
9825 (__push___start_context): New.
9826 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
9828 (__getcontext): Record the current shadow stack base. Save the
9829 caller's shadow stack pointer and base.
9830 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
9831 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
9832 (__push___start_context): New prototype.
9833 (__makecontext): Call __push___start_context to allocate a new
9834 shadow stack, push __start_context onto the new stack as well
9835 as the new shadow stack.
9836 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
9838 (__setcontext): Restore the target shadow stack.
9839 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
9841 (__swapcontext): Record the current shadow stack base. Save
9842 the caller's shadow stack pointer and base. Restore the target
9844 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9845 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
9846 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
9848 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9850 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
9851 tst-setcontext8 and tst-setcontext9.
9852 * stdlib/tst-setcontext6.c: New file.
9853 * stdlib/tst-setcontext7.c: Likewise.
9854 * stdlib/tst-setcontext8.c: Likewise.
9855 * stdlib/tst-setcontext9.c: Likewise.
9857 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9859 * stdlib/Makefile ((tests): Add tst-setcontext5.
9860 * stdlib/tst-setcontext5.c: New file.
9862 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9864 * stdlib/Makefile (tests): Add tst-setcontext4.
9865 * stdlib/tst-setcontext4.c: New file.
9867 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9869 * stdlib/Makefile (tests): Add tst-swapcontext1.
9870 * stdlib/tst-swapcontext1.c: New test.
9872 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9874 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
9875 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
9876 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
9877 and tst-cet-legacy-4c.
9878 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
9879 and tst-cet-legacy-mod-4.
9880 (CFLAGS-tst-cet-legacy-2.c): New.
9881 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
9882 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
9883 (CFLAGS-tst-cet-legacy-3.c): Likewise.
9884 (CFLAGS-tst-cet-legacy-4.c): Likewise.
9885 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
9886 ($(objpfx)tst-cet-legacy-1): Likewise.
9887 ($(objpfx)tst-cet-legacy-2): Likewise.
9888 ($(objpfx)tst-cet-legacy-2.out): Likewise.
9889 ($(objpfx)tst-cet-legacy-2a): Likewise.
9890 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
9891 ($(objpfx)tst-cet-legacy-4): Likewise.
9892 ($(objpfx)tst-cet-legacy-4.out): Likewise.
9893 ($(objpfx)tst-cet-legacy-4a): Likewise.
9894 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
9895 (tst-cet-legacy-4a-ENV): Likewise.
9896 ($(objpfx)tst-cet-legacy-4b): Likewise.
9897 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
9898 (tst-cet-legacy-4b-ENV): Likewise.
9899 ($(objpfx)tst-cet-legacy-4c): Likewise.
9900 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
9901 (tst-cet-legacy-4c-ENV): Likewise.
9902 * sysdeps/x86/tst-cet-legacy-1.c: New file.
9903 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
9904 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
9905 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
9906 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
9907 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
9908 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
9909 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
9910 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
9911 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
9912 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
9914 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9916 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9917 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9919 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9920 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9923 2018-07-25 Andreas Schwab <schwab@suse.de>
9926 * locale/weightwc.h (findidx): Handle the case where usrc is a
9927 prefix of cp but one character too short.
9929 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9931 * NEWS: Add ISO C threads addition.
9933 2018-07-24 Florian Weimer <fweimer@redhat.com>
9935 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9936 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
9937 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
9940 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9942 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
9943 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
9944 <sys/prctl.h> and <asm/prctl.h>.
9945 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
9946 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
9948 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
9949 ARCH_CET_LEGACY_BITMAP.
9950 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
9951 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
9952 * sysdeps/x86/libc-start.c: Include <startup.h>.
9954 2018-07-24 Florian Weimer <fweimer@redhat.com>
9956 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
9957 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
9959 2018-07-24 Rical Jasan <rj@2c3t.io>
9960 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9961 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9964 * manual/debug.texi: Update adjacent chapter name.
9965 * manual/probes.texi: Likewise.
9966 * manual/threads.texi (ISO C Threads): New section.
9967 (POSIX Threads): Convert to a section.
9969 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9970 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9973 * nptl/Makefile (tests): Add new test files.
9974 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
9975 * nptl/tst-cnd-basic.c: Likewise.
9976 * nptl/tst-cnd-broadcast.c: Likewise.
9977 * nptl/tst-cnd-timedwait.c: Likewise.
9978 * nptl/tst-mtx-basic.c: Likewise.
9979 * nptl/tst-mtx-recursive.c: Likewise.
9980 * nptl/tst-mtx-timedlock.c: Likewise.
9981 * nptl/tst-mtx-trylock.c: Likewise.
9982 * nptl/tst-thrd-basic.c: Likewise.
9983 * nptl/tst-thrd-detach.c: Likewise.
9984 * nptl/tst-thrd-sleep.c: Likewise.
9985 * nptl/tst-tss-basic.c: Likewise.
9987 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9990 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9991 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
9993 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9994 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9995 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9996 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9997 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9998 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9999 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10000 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10001 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10002 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10003 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10004 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
10011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10012 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10013 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10014 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10015 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10016 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10017 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10018 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10019 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10020 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
10021 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
10022 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
10023 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
10024 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
10026 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
10027 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
10028 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
10029 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
10030 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
10031 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
10032 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
10033 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
10034 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
10035 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
10036 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
10037 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
10039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
10040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10044 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
10045 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
10046 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
10047 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
10048 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
10049 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
10050 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
10051 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
10054 * conform/data/threads.h-data (thread_local): New macro.
10055 (TSS_DTOR_ITERATIONS): Likewise.
10057 (tss_dtor_t): Likewise.
10058 (tss_create): New function.
10059 (tss_get): Likewise.
10060 (tss_set): Likewise.
10061 (tss_delete): Likewise.
10062 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
10063 tss_get, and tss_set objects.
10064 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10065 * nptl/tss_create.c: New file.
10066 * nptl/tss_delete.c: Likewise.
10067 * nptl/tss_get.c: Likewise.
10068 * nptl/tss_set.c: Likewise.
10069 * sysdeps/nptl/threads.h (thread_local): New define.
10070 (TSS_DTOR_ITERATIONS): Likewise.
10071 (tss_t): New typedef.
10072 (tss_dtor_t): Likewise.
10073 (tss_create): New prototype.
10074 (tss_get): Likewise.
10075 (tss_set): Likewise.
10076 (tss_delete): Likewise.
10079 * conform/data/threads.h-data (cnd_t): New type.
10080 (cnd_init): New function.
10081 (cnd_signal): Likewise.
10082 (cnd_broadcast): Likewise.
10083 (cnd_wait): Likewise.
10084 (cnd_timedwait): Likewise.
10085 (cnd_destroy): Likewise.
10086 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
10087 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
10089 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10090 * nptl/cnd_broadcast.c: New file.
10091 * nptl/cnd_destroy.c: Likewise.
10092 * nptl/cnd_init.c: Likewise.
10093 * nptl/cnd_signal.c: Likewise.
10094 * nptl/cnd_timedwait.c: Likewise.
10095 * nptl/cnd_wait.c: Likewise.
10096 * sysdeps/nptl/threads.h (cnd_t): New type.
10097 (cnd_init): New prototype.
10098 (cnd_signa): Likewise.
10099 (cnd_broadcast): Likewise.
10100 (cnd_wait): Likewise.
10101 (cnd_timedwait): Likewise.
10102 (cnd_destroy): Likewise.
10105 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
10106 (once_flag): New type.
10107 (call_once): New function.
10108 * nptl/Makefile (libpthread-routines): Add call_once object.
10109 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
10110 * nptl/call_once.c: New file.
10111 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
10112 (once_flag): New type.
10113 (call_once): New prototype.
10116 * conform/data/threads.h-data (mtx_plain): New constant.
10117 (mtx_recursive): Likewise.
10118 (mtx_timed): Likewise.
10120 (mtx_init): New function.
10121 (mtx_lock): Likewise.
10122 (mtx_timedlock): Likewise.
10123 (mtx_trylock): Likewise.
10124 (mtx_unlock): Likewise.
10125 (mtx_destroy): Likewise.
10126 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
10127 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
10128 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
10129 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
10130 * nptl/mtx_destroy.c: New file.
10131 * nptl/mtx_init.c: Likewise.
10132 * nptl/mtx_lock.c: Likewise.
10133 * nptl/mtx_timedlock.c: Likewise.
10134 * nptl/mtx_trylock.c: Likewise.
10135 * nptl/mtx_unlock.c: Likewise.
10136 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
10137 (mtx_recursive): Likewise.
10138 (mtx_timed): Likewise.
10140 (mtx_init): New prototype.
10141 (mtx_lock): Likewise.
10142 (mtx_timedlock): Likewise.
10143 (mtx_trylock): Likewise.
10144 (mtx_unlock): Likewise.
10145 (mtx_destroy): Likewise.
10148 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
10149 (linknamespace-libs-ISO11): Add libpthread.a.
10150 * conform/data/threads.h-data: New file: add C11 thrd_* types and
10152 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
10153 * nptl/Makefile (headers): Add threads.h.
10154 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
10155 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
10157 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
10158 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
10159 thrd_join, thrd_sleep, and thrd_yield symbols.
10160 * nptl/descr.h (struct pthread): Add c11 field.
10161 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
10162 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
10163 routine with expected function prototype.
10164 (__pthread_create_2_1): Add C11 threads check based on attribute
10166 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
10167 * nptl/thrd_create.c: New file.
10168 * nptl/thrd_current.c: Likewise.
10169 * nptl/thrd_detach.c: Likewise.
10170 * nptl/thrd_equal.c: Likewise.
10171 * nptl/thrd_exit.c: Likewise.
10172 * nptl/thrd_join.c: Likewise.
10173 * nptl/thrd_priv.h: Likewise.
10174 * nptl/thrd_sleep.c: Likewise.
10175 * nptl/thrd_yield.c: Likewise.
10176 * include/threads.h: Likewise.
10178 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10180 * bits/indirect-return.h: New file.
10181 * misc/sys/cdefs.h (__glibc_has_attribute): New.
10182 * sysdeps/x86/bits/indirect-return.h: Likewise.
10183 * stdlib/Makefile (headers): Add bits/indirect-return.h.
10184 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
10185 (swapcontext): Add __INDIRECT_RETURN.
10186 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
10187 (prepare_test_buffer): Use it.
10189 2018-07-24 Andreas Schwab <schwab@suse.de>
10192 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
10193 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
10195 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10197 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
10198 Redefine if shadow stack is enabled.
10199 (SYSCALL_ERROR_LABEL): Likewise.
10200 (__vfork): Pop shadow stack and jump back to to caller directly
10201 when shadow stack is in use.
10202 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
10203 Redefine if shadow stack is enabled.
10204 (SYSCALL_ERROR_LABEL): Likewise.
10205 (__vfork): Pop shadow stack and jump back to to caller directly
10206 when shadow stack is in use.
10208 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10210 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
10213 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
10216 2018-07-20 Joseph Myers <joseph@codesourcery.com>
10218 * scripts/build-many-glibcs.py (Context.checkout): Default
10219 binutils version to 2.31 branch.
10221 2018-07-20 Zong Li <zong@andestech.com>
10223 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
10224 URL of gcc's tarball.
10226 2018-07-20 Florian Weimer <fweimer@redhat.com>
10229 * posix/regcomp.c (build_equiv_class): When comparing weights, do
10230 not compare an extra byte after the end of the weights.
10232 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
10234 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
10236 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
10238 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
10239 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
10240 * scripts/check-execstack.awk: Consider `xfail' variable containing a
10241 list of libraries whose stack executability is expected.
10242 * elf/Makefile ($(objpfx)check-execstack.out): Pass
10243 $(check-execstack-xfail) to check-execstack.awk through `xfail'
10245 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
10246 libc.so libpthread.so.
10248 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
10250 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
10252 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
10254 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
10256 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
10258 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10260 * benchtests/scripts/compare_bench.py (__main__): use the argparse
10261 library to improve command line parsing.
10262 (__main__): make schema file as optional parameter (--schema),
10263 defaulting to benchtests/scripts/benchout.schema.json.
10264 (main): move out of the parsing stuff to __main_ and leave it
10265 only as caller of main comparison functions.
10267 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
10269 * NEWS: Add a note for Intel CET status.
10270 * manual/install.texi: Likewise.
10271 * INSTALL: Regenerated.
10273 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
10276 * localedata/locales/oc_FR (mon): Rename to...
10277 (alt_mon): This, then update October (typo fix).
10278 (mon): New content (genitive case, month names preceded by
10282 * localedata/locales/oc_FR (abday): Update all items.
10283 (day): Update Wednesday and Saturday (typo fixes).
10284 (abmon): Update all items, except May.
10285 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
10286 (LC_IDENTIFICATION): Bump the revision number and date.
10287 Keep the "category" entries in alphabetic order.
10288 (LC_ADDRESS): Remove no longer needed comment.
10289 (LC_COLLATE): Use “copy "ca_ES"”.
10290 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
10293 2018-07-18 Joseph Myers <joseph@codesourcery.com>
10295 * grp/tst_fgetgrent.c: Include <unistd.h>.
10296 (main): Use mkstemp instead of tmpnam.
10297 * io/test-utime.c (main): Likewise.
10298 * posix/annexc.c (macrofile): Change to modifiable array.
10299 (main): Remove macrofile here.
10300 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10302 (check_header): Do not remove macrofile here.
10303 * posix/bug-getopt1.c: Include <stdlib.h>.
10304 (do_test): Use mkstemp instead of tmpnam.
10305 * posix/bug-getopt2.c: Include <stdlib.h>.
10306 (do_test): Use mkstemp instead of tmpnam.
10307 * posix/bug-getopt3.c: Include <stdlib.h>.
10308 (do_test): Use mkstemp instead of tmpnam.
10309 * posix/bug-getopt4.c: Include <stdlib.h>.
10310 (do_test): Use mkstemp instead of tmpnam.
10311 * posix/bug-getopt5.c: Include <stdlib.h>.
10312 (do_test): Use mkstemp instead of tmpnam.
10313 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
10314 (main): Use mkstemp instead of tmpnam.
10315 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
10316 (main): Use mkstemp instead of tmpnam.
10317 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
10318 (main): use mkstemp instead of tmpnam.
10319 * stdlib/isomac.c (macrofile): Change to modifiable array.
10320 (main): Remove macrofile here.
10321 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10323 (check_header): Do not remove macrofile here.
10325 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10327 * manual/tunables.texi: Document glibc.tune.x86_ibt and
10328 glibc.tune.x86_shstk.
10330 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10332 * NEWS: Mention --enable-cet.
10333 * manual/install.texi: Document --enable-cet.
10334 * INSTALL: Regenerated.
10336 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10338 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
10339 Add _CET_NOTRACK before indirect jump to jump table.
10341 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10343 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
10344 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10347 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10349 * sysdeps/i386/i686/multiarch/strcat-sse2.S
10350 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10353 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10355 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
10356 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10359 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10361 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
10362 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10365 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10367 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
10368 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10370 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
10372 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10374 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
10375 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10378 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10380 * sysdeps/i386/i686/multiarch/memset-sse2.S
10381 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10384 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10386 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
10387 indirect jump to jump table.
10389 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10391 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
10392 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10394 (MEMCPY): Likewise.
10396 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10398 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
10399 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10401 (MEMCPY): Likewise.
10403 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10405 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
10406 _CET_NOTRACK before indirect jump to jump table.
10408 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10410 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
10411 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10414 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10416 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
10417 indirect jump to jump table.
10419 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
10422 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
10423 (LOCALES): Likewise.
10424 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
10425 * localedata/locales/sah_RU: New file.
10426 * localedata/sah_RU.UTF-8.in: New file.
10428 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10430 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
10432 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
10433 _CET_ENDBR to indirect jump targets and adjust jump destination
10435 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
10437 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
10438 _CET_ENDBR to indirect jump targets and adjust jump destination
10440 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
10442 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
10443 _CET_ENDBR to indirect jump targets and adjust jump destination
10446 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10448 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
10451 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10453 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
10455 (_dl_tlsdesc_undefweak): Likewise.
10456 (_dl_tlsdesc_dynamic): Likewise.
10457 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
10458 (_dl_tlsdesc_resolve_rel): Likewise.
10459 (_dl_tlsdesc_resolve_rela): Likewise.
10460 (_dl_tlsdesc_resolve_hold): Likewise.
10461 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
10462 (_dl_tlsdesc_undefweak): Likewise.
10463 (_dl_tlsdesc_dynamic): Likewise.
10464 (_dl_tlsdesc_resolve_rela): Likewise.
10465 (_dl_tlsdesc_resolve_hold): Likewise.
10467 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10469 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
10471 * sysdeps/x86_64/crti.S (_init): Likewise.
10474 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
10477 * localedata/locales/os_RU (mon): Rename to...
10479 (mon): Import from CLDR (genitive case).
10481 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10483 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
10484 cet-tunables.h> when CET is enabled.
10486 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
10489 * configure.ac: Add --enable-cet.
10490 * configure: Regenerated.
10491 * elf/Makefille (all-built-dso): Add a comment.
10492 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
10493 Include <dl-prop.h>.
10494 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
10496 * elf/dl-open.c: Include <dl-prop.h>.
10497 (dl_open_worker): Call _dl_open_check.
10498 * elf/rtld.c: Include <dl-prop.h>.
10499 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
10501 * sysdeps/generic/dl-prop.h: New file.
10502 * sysdeps/i386/dl-cet.c: Likewise.
10503 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
10504 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
10505 * sysdeps/x86/cet-tunables.h: Likewise.
10506 * sysdeps/x86/check-cet.awk: Likewise.
10507 * sysdeps/x86/configure: Likewise.
10508 * sysdeps/x86/configure.ac: Likewise.
10509 * sysdeps/x86/dl-cet.c: Likewise.
10510 * sysdeps/x86/dl-procruntime.c: Likewise.
10511 * sysdeps/x86/dl-prop.h: Likewise.
10512 * sysdeps/x86/libc-start.h: Likewise.
10513 * sysdeps/x86/link_map.h: Likewise.
10514 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
10516 (_dl_runtime_profile): Likewise.
10517 (_dl_runtime_resolve_shstk): New.
10518 (_dl_runtime_profile_shstk): Likewise.
10519 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
10521 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
10522 (CFLAGS-.os): Likewise.
10523 (CFLAGS-.op): Likewise.
10524 (CFLAGS-.oS): Likewise.
10525 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
10527 (tests-special): Add $(objpfx)check-cet.out.
10528 (cet-built-dso): New.
10529 (+$(cet-built-dso:=.note)): Likewise.
10530 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
10531 ($(objpfx)check-cet.out): New.
10532 (generated): Add check-cet.out.
10533 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
10535 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
10536 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
10537 (init_cpu_features): Call get_cet_status to check CET status
10538 and update dl_x86_feature_1 with CET status. Call
10539 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
10540 (set_x86_shstk). Disable and lock CET in libc.a.
10541 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
10542 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
10543 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
10544 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
10545 (_CET_ENDBR): Define if not defined.
10546 (ENTRY): Add _CET_ENDBR.
10547 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
10549 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
10551 (_dl_runtime_profile): Likewise.
10553 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
10556 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
10557 restore r2 on longjmp.
10558 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
10560 Added rules to build test tst-setjmp-bug21895-static.
10561 Added module setjmp-bug21895 and rules to build a shared object from it.
10562 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
10563 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
10565 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
10567 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
10568 * benchtests/bench-strstr.c: Likewise.
10569 * string/memmem.c (FASTSEARCH): Define.
10570 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
10571 Add support for FASTSEARCH.
10572 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
10573 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
10574 (FASTSEARCH): Define.
10575 * string/test-strcasestr.c: Rename __strnlen to strnlen.
10576 * string/test-strstr.c: Likewise.
10578 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
10580 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
10581 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
10583 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
10584 H.J. Lu <hongjiu.lu@intel.com>
10586 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
10587 (__longjmp): Restore shadow stack pointer if shadow stack is
10588 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
10589 isn't defined for __longjmp_cancel.
10590 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
10591 (_setjmp): Save shadow stack pointer if shadow stack is enabled
10592 and SHADOW_STACK_POINTER_OFFSET is defined.
10593 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
10594 (setjmp): Save shadow stack pointer if shadow stack is enabled
10595 and SHADOW_STACK_POINTER_OFFSET is defined.
10596 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
10597 (__sigsetjmp): Save shadow stack pointer if shadow stack is
10598 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10599 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
10601 (____longjmp_chk): Restore shadow stack pointer if shadow stack
10602 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10603 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
10604 Remove jmp_buf-ssp.sym.
10605 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10607 (____longjmp_chk): Restore shadow stack pointer if shadow stack
10608 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10609 * sysdeps/x86/Makefile (gen-as-const-headers): Add
10611 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
10612 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
10613 (__longjmp): Restore shadow stack pointer if shadow stack is
10614 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
10615 isn't defined for __longjmp_cancel.
10616 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
10617 (__sigsetjmp): Save shadow stack pointer if shadow stack is
10618 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10620 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
10623 * nptl/pthread_create.c: Include <tls-setup.h>.
10624 (__pthread_create_2_1): Call tls_setup_tcbhead.
10625 * sysdeps/generic/tls-setup.h: New file.
10626 * sysdeps/x86/nptl/tls-setup.h: Likewise.
10627 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
10628 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
10630 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
10632 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
10633 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
10634 (X86_FEATURE_1_SHSTK): Likewise.
10635 (CET_ENABLED): Likewise.
10636 (IBT_ENABLED): Likewise.
10637 (SHSTK_ENABLED): Likewise.
10639 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
10642 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
10643 (LOCALES): Likewise.
10644 * localedata/dsb_DE.UTF-8.in: New file.
10645 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
10647 2018-07-12 Florian Weimer <fweimer@redhat.com>
10649 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
10650 __mprotect, not mprotect.
10652 2018-07-11 Florian Weimer <fweimer@redhat.com>
10654 * io/Makefile (headers): Add bits/statx.h.
10656 2018-07-10 Mike FABIAN <mfabian@redhat.com>
10658 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
10659 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
10661 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
10662 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
10665 2018-07-10 Florian Weimer <fweimer@redhat.com>
10667 * io/Makefile (routines): Add statx.
10668 (tests-internal): Add tst-statx.
10669 * io/Versions (GLIBC_2.28): Export statx.
10670 * io/bits/statx.h: New file.
10671 * io/sys/stat.h [__USE_GNU]: Include it.
10672 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
10673 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
10675 * io/statx.c: New file.
10676 * io/statx_generic.: Likewise.
10677 * io/tst-statx.: Likewise.
10678 * include/bits/statx.h: Likewise.
10679 * sysdeps/unix/sysv/linux/kernel-features.h
10680 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
10681 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10682 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
10683 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
10685 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10686 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
10687 * sysdeps/unix/sysv/linux/statx.c: New file.
10688 * manual/filesys.texi: Note that statx is undocumented.
10689 * sysdeps/**/libc*.abilist: Update.
10691 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10693 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
10694 a kernel issue which lead to test failure in some cases.
10696 2018-07-10 Florian Weimer <fweimer@redhat.com>
10699 * posix/regexec.c (check_node_accept_bytes): When comparing
10700 weights, do not compare an extra byte after the end of the
10703 2018-07-10 Florian Weimer <fweimer@redhat.com>
10705 * libio/readline.c: Fix copyright year.
10706 * libio/tst-readline.c Likewise.
10707 * nss/tst-nss-files-hosts-getent.c: Likewise.
10709 2018-07-06 Florian Weimer <fweimer@redhat.com>
10712 * nss/nss_files/files-XXX.c (internal_getent): Use
10713 __libc_readline_unlocked. Seek back to the start of the line if
10714 parsing failes with ERANGE.
10715 (get_contents_ret, get_contents): Remove.
10716 * nss/tst-nss-files-hosts-getent.c: New file.
10717 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
10718 (tst-nss-files-hosts-getent): Link with -ldl.
10720 2018-07-06 Florian Weimer <fweimer@redhat.com>
10722 * include/stdio.h (__libc_readline_unlocked): Declare.
10723 (__ftello64, __fseeko64): Declare aliases.
10724 * libio/readline.c: New file.
10725 * libio/tst-readline.c: Likewise.
10726 (routines): Add readline.
10727 (tests-internal): Add tst-readlime.
10728 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
10729 __libc_readline_unlocked.
10730 * libio/fseeko.c (__fseeko): Rename from fseeko.
10731 (fseeko): Add alias.
10732 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
10733 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
10734 (fseeko64): Add alias.
10735 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
10736 * libio/ftello64.c (__ftello64): Rename from ftello64.
10737 (ftello64): Add alias.
10739 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10741 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
10744 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10746 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
10747 Use dl_hwcap without masking.
10748 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
10749 Remove HWCAP_CPUID.
10751 2018-07-06 Florian Weimer <fweimer@redhat.com>
10753 * conform/conformtest.pl (checknamespace): Escape literal braces
10754 in regular expressions.
10756 2018-07-06 Amit Pawar <amit.pawar@amd.com>
10758 * sysdeps/x86/cpu-features.c (get_common_indeces):
10759 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
10760 * sysdeps/x86/cpu-features.c (init_cpu_features):
10761 AVX_Fast_Unaligned_Load is disabled for Excavator core.
10763 2018-07-05 Florian Weimer <fweimer@redhat.com>
10765 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
10767 (CFLAGS-elf-init.oS): Likewise.
10769 2018-07-05 Florian Weimer <fweimer@redhat.com>
10770 Carlos O'Donell <carlos@redhat.com>
10772 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
10773 $(no-stack-protector). stack_chk_fail_local.c can be compiled
10774 with stack protector enabled because there is no risk of infinite
10777 2018-07-05 Maciej W. Rozycki <macro@mips.com>
10781 * libc-abis (ABSOLUTE): New ABI.
10782 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
10783 * NEWS: Mention the new ABI.
10785 2018-07-05 Florian Weimer <fweimer@redhat.com>
10788 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
10789 (RENAME_WHITEOUT): Define.
10790 [__USE_GNU] (renameat2): Declare.
10791 * stdio-common/Makefile (routines): Add renameat2.
10792 (tests): Add tst-renameat2.
10793 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
10794 * stdio-common/renameat2.c: New file.
10795 * stdio-common/tst-renameat2.c: Likewise.
10796 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
10797 * manual/filesys.texi (Temporary Files): Note that renameat2 is
10799 * sysdeps/unix/sysv/linux/kernel-features.h
10800 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
10801 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10802 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10803 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10804 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10805 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10806 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
10807 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10808 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
10809 * include/stdio.h (__renameat): Add alias for renameat.
10810 * stdio-common/renameat.c (__renameat): Rename from renameat.
10811 Add hidden definition and alias.
10812 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
10813 * sysdeps/mach/hurd/renameat.c: Likewise.
10814 * sysdeps/**/libc*.abilist: Add renameat2.
10816 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10818 * posix/bug-regex33.c: Fix build after regex sync.
10820 2018-07-04 Carlos O'Donell <carlos@redhat.com>
10823 * localedata/tst-langinfo-setlocale.c: New file.
10824 * localedata/tst-langinfo-setlocale-static.c: New file.
10825 * localedata/tst-langinfo-newlocale.c: New file.
10826 * localedata/tst-langinfo-newlocale-static.c: New file.
10827 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
10828 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
10829 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
10830 (tests-static): Remove tst-langinfo-static. Add
10831 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
10832 (tests-special): Remove $(objpfx)tst-langinfo.out,
10833 $(objpfx)tst-langinfo-static.out. Add
10834 $(objpfx)tst-langinfo-setlocale.out,
10835 $(objpfx)tst-langinfo-newlocale.out,
10836 $(objpfx)tst-langinfo-setlocale-static.out,
10837 $(objpfx)tst-langinfo-newlocale-static.out.
10838 ($(objpfx)tst-langinfo.out): Remove.
10839 ($(objpfx)tst-langinfo-static.out): Remove.
10840 ($(objpfx)tst-langinfo-newlocale.out): New target.
10841 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
10842 (test-xfail-tst-langinfo-newlocale-static): Add.
10843 ($(objpfx)tst-langinfo-setlocale.out): New target.
10844 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
10845 * localedata/tst-langinfo.c: Call test_locale.
10846 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
10849 2018-07-04 Florian Weimer <fweimer@redhat.com>
10851 testrun.sh: Implement --tool=strace, --tool=valgrind
10852 * Makefile (testrun-script): Define variable.
10853 (testrun.sh): Use variable.
10854 * manual/install.texi (Tools for Compilation): make 4.0 or later
10856 * configure.ac: Check for make 4.0 or later.
10857 * INSTALL: Regenerate.
10858 * configure: Likewise.
10860 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10866 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
10867 * posix/PCRE.tests: Remove invalid test.
10868 * posix/bug-regex28.c: Fix expected values for used syntax.
10869 * posix/bug-regex37.c: New file.
10870 * posix/bug-regex38.c: Likewise.
10871 * posix/regcomp.c: Sync with gnulib.
10872 * posix/regex.c: Likewise.
10873 * posix/regex.h: Likewise.
10874 * posix/regex_internal.c: Likewise.
10875 * posix/regex_internal.h: Likewise.
10876 * posix/regexec.c: Likewise.
10878 2018-06-26 Mike FABIAN <mfabian@redhat.com>
10881 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
10882 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
10883 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
10884 * localedata/unicode-gen/PropList.txt: likewise.
10885 * localedata/unicode-gen/UnicodeData.txt: likewise.
10886 * localedata/charmaps/UTF-8: Regenerate.
10887 * localedata/locales/i18n_ctype: likewise.
10888 * localedata/locales/tr_TR: likewise.
10889 * localedata/locales/translit_circle: likewise.
10890 * localedata/locales/translit_cjk_compat: likewise.
10891 * localedata/locales/translit_combining: likewise.
10892 * localedata/locales/translit_compat: likewise.
10893 * localedata/locales/translit_font: likewise.
10894 * localedata/locales/translit_fraction: likewise.
10896 2018-07-03 Florian Weimer <fweimer@redhat.com>
10899 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
10900 * stdio-common/tst-printf.sh: Adjust expected output.
10901 * LICENSES: Update.
10903 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10905 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
10908 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10910 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
10911 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
10912 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
10913 * stdio-common/tst-printfsz-islongdouble.c: New file.
10914 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
10915 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
10916 [subdir == stdio-common] (routines): Add ieee128-printf_size.
10917 [subdir == stdio-common] (tests-internal): Add
10918 test-printf-size-ieee128, and test-printf-size-ibm128.
10919 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
10920 (CFLAGS-test-printf-size-ibm128.c): New variables.
10921 [subdir == stdio-common] (tests-special): Add
10922 $(objpfx)test-printf-size-ieee128.out and
10923 $(objpfx)test-printf-size-ibm128.out.
10924 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
10925 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
10926 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
10927 __printf_sizeieee128.
10928 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
10930 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
10932 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
10935 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
10937 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
10938 (exp2f_inline): Likewise.
10939 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
10940 (__math_uflowf): Likewise.
10941 (__math_may_uflowf): Likewise.
10942 (__math_divzerof): Likewise.
10943 (__math_invalidf): Likewise.
10944 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
10945 (__math_oflowf): Likewise.
10946 (__math_uflowf): Likewise.
10947 (__math_may_uflowf): Likewise.
10948 (__math_divzerof): Likewise.
10949 (__math_invalidf): Likewise.
10951 2018-06-29 DJ Delorie <dj@redhat.com>
10952 Carlos O'Donell <carlos@redhat.com>
10955 * include/libc-symbols.h: Comment the freeres framework.
10956 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
10957 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
10958 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
10959 * dlfcn/dlerror.c: Include libc-symbols.h
10960 (__dlerror_main_freeres): New function.
10961 * dlfcn/dlfreeres.c: New file.
10962 * dlfcn/sdlfreeres.c: New file.
10963 * include/dlfcn.h: Declare __dlerror_main_freeres.
10964 * malloc/set-freeres.c: Declare __libdl_freeres, and
10965 __libpthread_freeres.
10966 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
10967 the releavant libraries are loaded.
10968 * malloc/thread-freeres.c: Add comments.
10969 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
10970 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
10971 * nptl/allocatestack.c (__nptl_free_stacks): New function.
10972 (__free_stacks): Rename to...
10973 (free_stacks): ...this. Mark static.
10974 (queue_stack): Call free_stacks.
10975 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
10976 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
10977 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
10978 ptr_freeres element from struct.
10979 (pthread_functions): Remove .ptr_freeres from struct initializer.
10980 [SHARED] (nptl_freeres): Remove.
10981 * nptl/nptlfreeres.c: New file.
10983 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
10984 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
10986 (__free_stacks): Rename to...
10987 (__nptl_stacks_freeres): ...this.
10988 (__shm_directory_freeres): Declare.
10989 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
10990 (__nptl_unwind_freeres): ...this.
10991 * resolv/res-close.c: Add comment.
10992 * resolv/resolv_conf.c: Include libc-symbols.h.
10993 * string/strerror_l.c: Include libc-symbols.h.
10994 * sunrpc/rpc_thread.c: Include libc-symbols.h.
10995 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
10996 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
10997 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
10999 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11001 * stdlib/tst-strfmon_l.c: Add tests for long double.
11003 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
11006 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
11007 * localedata/locales/dsb_DE: New file.
11009 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11012 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
11014 (alt_mon): New entry, import from CLDR (nominative case).
11016 2018-06-29 Sylvain Lesage <severo@rednegra.net>
11019 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
11021 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
11023 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11024 Use vector registers.
11026 * sysdeps/aarch64/multiarch/memmove_falkor.S
11027 (__memcpy_falkor): Use vector registers.
11029 2018-06-29 Martin Sebor <msebor@redhat.com>
11031 * manual/stdio.texi (Customizing Printf): Mention interaction
11032 with GCC built-ins.
11034 2018-06-29 Maciej W. Rozycki <macro@mips.com>
11037 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
11038 `st_value' is 0 if `st_shndx' is SHN_ABS.
11039 * elf/tst-absolute-zero.c: New file.
11040 * elf/tst-absolute-zero-lib.c: New file.
11041 * elf/tst-absolute-zero-lib.lds: New file.
11042 * elf/Makefile (tests): Add `tst-absolute-zero'.
11043 (modules-names): Add `tst-absolute-zero-lib'.
11044 (LDLIBS-tst-absolute-zero-lib.so): New variable.
11045 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
11046 ($(objpfx)tst-absolute-zero: New dependency.
11048 2018-06-29 Zack Weinberg <zackw@panix.com>
11050 * configure.ac: New command-line option --disable-crypt.
11051 Force --disable-nss-crypt when --disable-crypt is given, with a
11052 warning if it was explicitly enabled.
11053 * configure: Regenerate.
11054 * config.make.in: New boolean substitution variable $(build-crypt).
11055 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
11056 when $(build-crypt).
11057 * manual/install.texi: Document --disable-crypt.
11058 * INSTALL: Regenerate.
11060 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
11061 which is never set.
11062 * conform/Makefile: Only include libcrypt.a in
11063 linknamespace-libs-xsi and linknamespace-libs-XPG4
11064 when $(build-crypt).
11065 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
11066 USE_CRYPT to 1 when $(build-crypt).
11067 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
11068 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
11069 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
11071 2018-06-29 Zack Weinberg <zackw@panix.com>
11073 * crypt/crypt.h, posix/unistd.h: Update comments and
11074 prototypes for crypt and crypt_r.
11076 * manual/crypt.texi (Cryptographic Functions): New initial
11078 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
11079 (Unpredictable Bytes): Improve initial exposition. Clarify error
11080 behavior of getentropy and getrandom.
11081 * manual/examples/genpass.c: Generate a salt using getentropy
11082 instead of the current time. Use hash $5$ (SHA-2-256).
11083 * manual/examples/testpass.c: Demonstrate validation against
11084 hashes generated with three different one-way functions.
11086 * manual/intro.texi: crypt.texi does not need an overview
11089 * manual/nss.texi, manual/memory.texi, manual/socket.texi
11090 * manual/terminal.texi: Consistently refer to "passphrases"
11091 * instead of "passwords", and to the "user database" instead
11092 * of the "password database".
11093 * manual/users.texi: Similarly. Add notes about how actual
11094 passphrase hashes are now stored in the shadow database.
11095 Remove 20-year-old junk todo note.
11097 2018-06-29 Zack Weinberg <zackw@panix.com>
11099 * manual/crypt.texi: Use a normal top-level @node declaration.
11100 Move most of the introductory text to the 'crypt' section.
11101 Move the example programs below the @deftypefun for 'crypt_r'.
11102 Move the 'getpass' section...
11103 * manual/terminal.texi: ...here.
11105 2018-06-29 Zack Weinberg <zackw@panix.com>
11106 Florian Weimer <fweimer@redhat.com>
11108 * posix/unistd.h: Do not declare encrypt.
11109 (_XOPEN_CRYPT): Remove macro definition.
11110 (crypt): Declare only for _USE_MISC.
11111 * stdlib/stdlib.h: Do not declare setkey.
11112 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
11113 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
11115 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
11116 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
11117 into compat symbols. Don't define initial_perm if it's not
11119 * crypt/cert.c: Link explicitly with the expected versions for
11120 setkey and encrypt. If they are not available at all, mark
11121 the test as unsupported.
11123 * sunrpc/des_crypt.c: Unconditionally block linkage with
11124 cbc_crypt and ecb_crypt for new binaries.
11125 * sunrpc/des_soft.c: Unconditionally block linkage with
11126 des_setparity for new binaries.
11128 * manual/crypt.texi: Remove the entire "DES Encryption"
11129 section. Also remove the paragraph talking about FIPS 140-2
11130 from the introduction.
11131 * manual/string.texi (strfry, memfrob): Revise. Recommend use
11132 of libgcrypt for "real" encryption, not DES.
11133 * manual/conf.texi (Constants for Sysconf): Mention that
11134 _XOPEN_CRYPT is no longer impelemented.
11136 * conform/data/unistd.h-data: Remove crypt function declaration.
11138 2018-06-29 Florian Weimer <fweimer@redhat.com>
11141 * malloc/hooks.c: Update comments on restoring of dumped heaps.
11142 (disallow_malloc_check): Remove variable.
11143 (__malloc_check_init): Adjust.
11144 (malloc_set_state): Update comment.
11145 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
11148 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11151 * localedata/locales/ast_ES (mon): Rename to...
11153 (mon): Import from CLDR (genitive case).
11155 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
11156 Jakub Sitnicki <jkbs@redhat.com>
11159 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
11160 on NLM_F_DUMP_INTR.
11162 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
11164 * manual/llio.texi: Remove spurious space.
11166 2018-06-28 Florian Weimer <fweimer@redhat.com>
11169 * time/bits/types/struct_timespec.h: Change header inclusion guard to
11172 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11174 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
11175 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
11176 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
11177 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
11178 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
11179 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
11180 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
11182 2018-06-27 Maciej W. Rozycki <macro@mips.com>
11185 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
11186 Copy and null-terminate entries that are not terminated, in
11187 addition to empty ones.
11189 2018-06-27 Florian Weimer <fweimer@redhat.com>
11192 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
11193 (extend_alloca_account): Remove.
11194 * manual/stdio.texi (Variable Arguments Output): Update comment.
11196 2018-06-27 Joseph Myers <joseph@codesourcery.com>
11198 * nptl/sockperf.c: Remove file.
11200 2018-06-27 Florian Weimer <fweimer@redhat.com>
11203 * elf/dl-deps.c (_dl_map_object_deps): Use struct
11204 scratch_buffer instead of extend_alloca.
11206 2018-06-27 Florian Weimer <fweimer@redhat.com>
11209 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
11210 scratch_buffer instead of extend_alloca. Update comments.
11212 2018-06-27 Florian Weimer <fweimer@redhat.com>
11215 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
11216 instead of extend_alloca.
11218 2018-06-26 Joseph Myers <joseph@codesourcery.com>
11221 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
11222 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
11224 * scripts/test-installation.pl: Put temporary files in build
11225 directory, not /tmp.
11226 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
11227 (CFLAGS-bug4.c): Likewise.
11228 (CFLAGS-bug5.c): Likewise.
11229 (CFLAGS-test-fseek.c): Likewise.
11230 (CFLAGS-test-popen.c): Likewise.
11231 (CFLAGS-test_rdwr.c): Likewise.
11232 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
11234 * stdio-common/bug4.c (main): Likewise.
11235 * stdio-common/bug5.c (main): Likewise.
11236 * stdio-common/test-fseek.c (TESTFILE): Likewise.
11237 * stdio-common/test-popen.c (do_test): Likewise.
11238 * stdio-common/test_rdwr.c (main): Likewise.
11240 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
11242 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
11243 (sem_open): Set sem.newsem.pad to zero for valgrind.
11245 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11248 * NEWS: Mention fcntl64 addition.
11249 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
11250 * login/utmp_file.c: Likewise.
11251 * sysdeps/posix/fdopendir.c: Likewise.
11252 * sysdeps/posix/opendir.c: Likewise.
11253 * sysdeps/unix/pt-fcntl.c: Likewise.
11254 * include/fcntl.h (__libc_fcntl64, __fcntl64,
11255 __fcntl64_nocancel_adjusted): New prototype.
11256 (__fcntl_nocancel_adjusted): Remove prototype.
11257 * io/Makefile (routines): Add fcntl64.
11258 (CFLAGS-fcntl64.c): New rule.
11259 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
11260 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
11261 * io/fcntl.h (fcntl64): Add prototype and redirect if
11262 __USE_FILE_OFFSET64 is defined.
11263 * io/fcntl64.c: New file.
11264 * manual/llio.text: Add a note for which commands fcntl acts a
11265 cancellation point.
11266 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
11267 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
11268 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
11270 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
11271 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
11273 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
11274 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
11275 to __fcntl64_nocancel.
11276 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
11277 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
11278 to __fcntl64_nocancel.
11279 * sysdeps/generic/not-cancel.h: Likewise.
11280 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
11281 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
11282 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11283 (fcntl64): New symbol.
11284 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11285 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11286 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11289 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11290 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11291 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11292 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11293 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11294 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
11295 fcntl64): Likewise.
11296 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11297 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
11298 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11299 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11300 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11301 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11302 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11303 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11304 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11309 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11310 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11311 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11313 2018-06-26 Florian Weimer <fweimer@redhat.com>
11315 Run thread shutdown functions in an explicit order.
11316 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
11318 (__libc_thread_freeres): Call thread shutdown functions
11320 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
11321 * include/string.h (__strerror_thread_freeres): Declare.
11322 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
11323 arena_thread_freeres. No longer static. Remove thread shutdown
11325 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
11327 * resolv/res-close.c (__res_thread_freeres): Renamed from
11328 res_thread_freeres. No longer static. Remove thread shutdown
11330 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
11331 * resolv/resolv_conf.c (freeres): Remove incorrect section
11332 attribute and use libc_freeres_fn.
11333 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
11334 strerror_thread_freeres. No longer static. Remove thread
11335 shutdown hook registration.
11336 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
11337 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
11338 shutdown hook registration.
11339 * Makerules (shlib.lds): Do not provide section boundary symbols
11340 for __libc_thread_subfreeres.
11341 * manual/memory.texi (Basic Allocation): Update comment.
11343 2018-06-26 Florian Weimer <fweimer@redhat.com>
11345 Remove always-defined _RPC_THREAD_SAFE_ macro.
11346 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
11347 Do not define _RPC_THREAD_SAFE_.
11348 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
11350 * sunrpc/clnt_perr.c: Likewise.
11351 * sunrpc/clnt_raw.c: Likewise.
11352 * sunrpc/clnt_simp.c: Likewise.
11353 * sunrpc/key_call.c: Likewise.
11354 * sunrpc/rpc_common.c: Likewise.
11355 * sunrpc/rpc_main.c: Likewise.
11356 * sunrpc/rpc_thread.c: Likewise.
11357 * sunrpc/svc.c: Likewise.
11358 * sunrpc/svc_raw.c: Likewise.
11359 * sunrpc/svc_simple.c: Likewise.
11360 * sumrpc/svcauth_des.c: Likewise.
11362 2018-06-26 Florian Weimer <fweimer@redhat.com>
11364 * libio/Makefile (tests-internal): Add tst-vtables,
11365 tst-vtables-interposed.
11366 * libio/tst-vtables.c: New file.
11367 * libio/tst-vtables-common.c: Likewise.
11368 * libio/tst-vtables-interposed.c: Likewise.
11370 2018-06-26 Florian Weimer <fweimer@redhat.com>
11372 * support/support_test_main.c (support_test_main): Only call
11373 setvbuf if not disables.
11374 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
11375 * support/test-driver.h (struct test_config): Add no_setvbuf member.
11377 2018-06-26 Florian Weimer <fweimer@redhat.com>
11380 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
11382 2018-06-25 Florian Weimer <fweimer@redhat.com>
11385 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11386 Use struct scratch_buffer instead of extend_alloca.
11388 2018-06-25 Florian Weimer <fweimer@redhat.com>
11391 * nss/getent.c (initgroups_keys): Use dynarray instead of
11394 2018-06-25 Florian Weimer <fweimer@redhat.com>
11397 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
11398 Use struct scratch_buffer instead of extend_alloca.
11400 2018-06-25 Florian Weimer <fweimer@redhat.com>
11403 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
11404 back to malloc directly, without stack allocations.
11406 2018-06-25 Florian Weimer <fweimer@redhat.com>
11409 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
11412 2018-06-25 Florian Weimer <fweimer@redhat.com>
11415 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
11417 * nscd/hstcache.c (addhstbyX): Likewise.
11418 * nscd/pwdcache.c (addpwbyX): Likewise.
11419 * nscd/servicescache.c (addservbyX): Likewise.
11421 2018-06-25 Florian Weimer <fweimer@redhat.com>
11424 * nscd/connections.c (read_cmdline): New function.
11425 (restart): Use it. Update comment.
11427 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
11430 * localedata/locales/csb_PL (mon): Rename to...
11432 (abmon): Rename to...
11433 (ab_alt_mon): This.
11434 (mon): Add with proper genitive forms, copy from Wikipedia.
11437 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
11440 * localedata/locales/csb_PL (mon): Fix typos:
11441 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
11442 (yesstr): Add, value is "jo".
11443 (nostr): Add, value is "nié".
11445 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11447 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
11448 all log1p and significand functions on m680x0.
11449 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
11450 of s_significand.c..
11451 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
11452 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
11453 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
11454 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
11455 s_log1p.c and include it..
11457 2018-06-21 Vincent Chen <vincentc@andestech.com>
11459 * elf/elf.h (R_NDS32_NONE): New define.
11460 (R_NDS32_32_RELA): Likewise.
11461 (R_NDS32_COPY): Likewise.
11462 (R_NDS32_GLOB_DAT): Likewise.
11463 (R_NDS32_JUMP_SLOT): Likewise.
11464 (R_NDS32_RELATIVE): Likewise.
11465 (R_NDS32_TLS_TPOFF): Likewise.
11466 (R_NDS32_TLS_DESC): Likewise.
11468 2018-06-21 Mark Wielaard <mark@klomp.org>
11470 * elf/elf.h (R_BPF_MAP_FD): Removed.
11471 (R_BPF_64_64, R_BPF_64_32): New.
11473 2018-06-21 Florian Weimer <fweimer@redhat.com>
11476 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
11477 Renamed from libc_feholdsetround_ctx.
11478 (default_libc_feresetround_ctx): Renamed from
11479 libc_feresetround_ctx.
11480 (default_libc_feholdsetround_noex_ctx): Renamed from
11481 libc_feholdsetround_noex_ctx.
11482 (default_libc_feresetround_noex_ctx): Renamed from
11483 libc_feresetround_noex_ctx.
11484 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
11485 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
11486 forwardning to the old implementations under the new names.
11487 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
11488 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
11489 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
11490 (libc_feresetround_ctx): Forward to default implements for i386
11491 and MATH_SET_BOTH_ROUNDING_MODES.
11492 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
11493 Add -DMATH_SET_BOTH_ROUNDING_MODES.
11495 2018-06-20 Joseph Myers <joseph@codesourcery.com>
11497 * string/tst-cmp.c: Include <libc-diag.h>.
11498 (strncmp_max): Disable -Wstringop-overflow= around call to
11500 (strncasecmp_max): Disable -Wstringop-overflow= around call to
11503 * string/bug-strpbrk1.c: Include <libc-diag.h>.
11504 (main): Disable -Wunused-value around call to strpbrk.
11505 * string/bug-strspn1.c: Include <libc-diag.h>.
11506 (main): Disable -Wunused-value around call to strspn.
11508 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11509 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11511 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
11512 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
11514 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11516 * math/Makefile (libm-calls): Move s_significandF to...
11517 (gen-libm-calls): ... here.
11518 * math/s_significand_template.c: New file.
11519 * math/s_significand.c: Removed.
11520 * math/s_significandf.c: Removed.
11521 * math/s_significandl.c: Removed.
11522 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
11523 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
11525 * math/e_exp2_template.c (declare_mgen_finite_alias,
11526 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
11527 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
11528 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
11530 2018-06-20 Florian Weimer <fweimer@redhat.com>
11532 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
11534 2018-06-19 Joseph Myers <joseph@codesourcery.com>
11537 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
11538 floating-point number to strtod functions rather than possibly
11539 negating result of those functions.
11540 * stdio-common/tst-scanf-round.c: New file.
11541 * stdio-common/Makefile (tests): Add tst-scanf-round.
11542 ($(objpfx)tst-scanf-round): Depend on $(libm).
11544 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
11546 * sysdeps/mach/hurd/localplt.data: Move to...
11547 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
11548 R_386_GLOB_DAT like on Linux i386.
11550 2018-06-18 Joseph Myers <joseph@codesourcery.com>
11552 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
11553 (SHM_STAT_ANY): New macro.
11554 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
11555 (SHM_STAT_ANY): Likewise.
11556 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
11557 (SHM_STAT_ANY): Likewise.
11558 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
11559 (SHM_STAT_ANY): Likewise.
11560 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
11561 (SHM_STAT_ANY): Likewise.
11562 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
11563 (SHM_STAT_ANY): Likewise.
11564 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
11565 (SHM_STAT_ANY): Likewise.
11566 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
11567 (SHM_STAT_ANY): Likewise.
11568 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
11569 (SHM_STAT_ANY): Likewise.
11570 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
11571 (SHM_STAT_ANY): Likewise.
11572 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
11573 (SHM_STAT_ANY): Likewise.
11574 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
11575 (SHM_STAT_ANY): Likewise.
11577 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
11578 (SEM_STAT_ANY): New macro.
11579 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
11580 (SEM_STAT_ANY): Likewise.
11581 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
11582 (SEM_STAT_ANY): Likewise.
11583 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
11584 (SEM_STAT_ANY): Likewise.
11585 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
11586 (SEM_STAT_ANY): Likewise.
11587 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
11588 (SEM_STAT_ANY): Likewise.
11589 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
11590 (SEM_STAT_ANY): Likewise.
11591 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
11592 (SEM_STAT_ANY): Likewise.
11593 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
11594 (SEM_STAT_ANY): Likewise.
11595 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
11596 (SEM_STAT_ANY): Likewise.
11598 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
11599 (MSG_STAT_ANY): New macro.
11600 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
11601 (MSG_STAT_ANY): Likewise.
11602 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
11603 (MSG_STAT_ANY): Likewise.
11604 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
11605 (MSG_STAT_ANY): Likewise.
11606 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
11607 (MSG_STAT_ANY): Likewise.
11608 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
11609 (MSG_STAT_ANY): Likewise.
11610 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
11611 (MSG_STAT_ANY): Likewise.
11612 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
11613 (MSG_STAT_ANY): Likewise.
11614 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
11615 (MSG_STAT_ANY): Likewise.
11616 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
11617 (MSG_STAT_ANY): Likewise.
11619 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11620 (MAP_TYPE): Change value to 0x2b.
11622 2018-06-18 Florian Weimer <fweimer@redhat.com>
11625 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
11626 socket with SOCK_CLOEXEC.
11628 2018-06-18 Joseph Myers <joseph@codesourcery.com>
11631 * sysdeps/powerpc/powerpc64/le/Makefile
11632 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
11633 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
11634 (gnulib-tests): Also add $(f128-loader-link) for
11635 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
11637 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
11639 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
11640 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
11642 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
11643 (sendfile64): New strong alias.
11644 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
11645 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
11646 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
11647 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
11649 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
11650 ___pthread_get_cleanup_stack.
11651 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
11652 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
11653 * mach/shortcut.awk: Make syscall stubs include
11654 <mach-shortcuts-hidden.h> and add hidden definition.
11655 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
11656 (__mach_msg): Add hidden prototype.
11657 * mach/msg.c: Include <mach.h>.
11658 (__mach_msg): Add hidden definition.
11659 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
11660 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
11661 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
11662 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
11663 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
11664 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
11665 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
11666 prototype and definition.
11667 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
11668 hidden target for _hurd_self_sigstate.
11670 2018-06-15 Joseph Myers <joseph@codesourcery.com>
11673 * stdlib/tst-strtod-nan-sign-main.c: New file.
11674 * stdlib/tst-strtod-nan-sign.c: Likewise.
11675 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
11676 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
11677 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
11678 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
11679 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
11681 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
11684 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
11687 2018-06-14 Florian Weimer <fweimer@redhat.com>
11690 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
11691 that the result stays within the ISO-8859-1 range.
11692 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
11693 characters are defined in IBM273.
11695 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
11697 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
11698 __mach_task_self): Remove attribute_hidden.
11700 2018-06-14 Joseph Myers <joseph@codesourcery.com>
11702 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
11703 ignore -Wrestrict for one test.
11705 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
11706 Szabolcs Nagy <szabolcs.nagy@arm.com>
11708 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
11710 2018-06-14 Florian Weimer <fweimer@redhat.com>
11712 * scripts/update-abilist.sh: Accept empty list of files to patch.
11714 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
11716 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
11717 test-xfail-check-abi-libmachuser): Add.
11718 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
11719 __libc_read and __libc_write to __read and __write.
11720 * sysdeps/hurd/include/hurd/port.h: New file.
11721 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
11722 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
11723 __thread_switch, __evc_wait): Move declarations to...
11724 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
11726 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
11727 use PLT to call _hurd_self_sigstate.
11729 2018-06-13 Joseph Myers <joseph@codesourcery.com>
11732 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
11733 MAX_EXP as overflowing.
11734 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
11736 (round_str): Output also whether result overflows in each rounding
11738 * stdlib/tst-strtod-round-data: Add more tests.
11739 * stdlib/tst-strtod-round-data.h: Regenerated.
11740 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
11741 (TEST): Handle extra arguments for overflow flags.
11742 (struct test_overflow): New type.
11743 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
11744 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
11745 (test_in_one_mode): Take argument with overflow information.
11746 (do_test): Update calls to test_in_one_mode.
11748 2018-06-12 Carlos O'Donell <carlos@redhat.com>
11750 * elf/dl-load (_dl_dst_substitute): Correct comment.
11751 (_dl_dst_count): Likewise.
11753 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
11754 lll_futex_timed_wait.
11756 2018-06-12 Joseph Myers <joseph@codesourcery.com>
11759 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
11761 * math/test-nan-const.c: New file.
11762 * math/Makefile (tests): Add test-nan-const.
11763 (CFLAGS-test-nan-const.c): New variable.
11765 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11767 * benchtests/scripts/compare_strings.py (process_results): Add
11768 funcs argument. Compare only functions which are selected.
11769 (main): Check if base function is among selected functions.
11770 Pass selected functions to process_results.
11771 (__main__): Add -f/--functions argument.
11773 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
11774 Hongbo Zhang <hongbo.zhang@linaro.org>
11776 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
11777 __memcpy_falkor for phecda core.
11778 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
11779 __memmove_falkor for phecda core.
11780 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
11781 __memset_falkor for phecda core.
11782 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
11784 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
11785 macro to identify phecda core.
11787 2018-06-12 Carlos O'Donell <carlos@redhat.com>
11788 Andreas Schwab <schwab@suse.de>
11789 Dmitry V. Levin <ldv@altlinux.org>
11790 Florian Weimer <fweimer@redhat.com>
11797 * elf/dl-dst.h: Remove DL_DST_COUNT.
11798 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
11799 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
11800 (is_dst): Comment. Support ELF gABI.
11801 (_dl_dst_count): Comment. Simplify and count DSTs.
11802 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
11803 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
11806 2018-06-12 Zack Weinberg <zackw@panix.com>
11808 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
11809 * sysdeps/unix/sysv/linux/dl-sysdep.c
11810 Include not-cancel.h. Use __close_nocancel instead of __close,
11811 __open64_nocancel instead of __open, __read_nocancel instead of
11812 __libc_read, and __write_nocancel instead of __libc_write.
11814 * csu/check_fds.c (check_one_fd)
11815 * sysdeps/posix/fdopendir.c (__fdopendir)
11816 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
11817 instead of __fcntl and/or __libc_fcntl.
11819 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
11820 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
11821 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
11822 Use __open64_nocancel instead of __open_nocancel.
11824 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
11825 hidden_proto declarations to the end and issue them if either
11826 IS_IN(libc) or IS_IN(rtld).
11827 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
11828 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
11829 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
11830 read_nocancel, waitpid_nocancel, write_nocancel.
11832 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
11833 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
11834 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
11836 * nptl/pt-fcntl.c: New file.
11837 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
11838 (libpthread-routines): Add pt-fcntl.
11839 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
11840 (__libc_fcntl): Remove attribute_hidden.
11841 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
11842 __fcntl_nocancel_adjusted, not fcntl_common.
11843 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
11844 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
11845 to fcntl_nocancel.c.
11846 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
11847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
11848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11849 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
11851 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
11852 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
11853 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
11854 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
11855 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
11856 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
11857 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
11858 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
11859 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
11860 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
11861 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
11862 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
11863 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
11864 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
11865 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
11866 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
11867 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
11868 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
11869 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
11870 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
11872 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
11873 libpthread-routines.
11874 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
11877 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
11878 __libc_read, and __write instead of __libc_write. Define
11879 __open64 in addition to __open.
11881 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11885 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
11886 to _private_tm[3] and add __glibc_reserved2.
11887 Add _Static_assert of offset of __private_ss == 0x30.
11888 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
11889 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
11891 2018-06-12 Florian Weimer <fweimer@redhat.com>
11893 x86: Make strncmp usable from rtld.
11894 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
11895 __strncmp_ia32 if in libc (and not in rtld).
11896 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
11897 strncmp if not in libc (and not to __strncmp_sse2).
11899 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
11902 * localedata/locales/gd_GB (mon): Rename to...
11904 (mon): Import from CLDR (genitive case).
11905 * localedata/locales/hsb_DE (mon): Rename to...
11907 (mon): Import from CLDR (genitive case).
11908 * localedata/locales/wa_BE (mon): Rename to...
11910 (mon): Add, fill with the proper genitive forms, but CLDR data
11911 is incomplete; completed according to the comments in this file.
11912 (d_t_fmt): Do not use "di" before the month name, no longer needed.
11914 * localedata/locales/wa_BE (country_name): Reword
11915 "Beljike" -> "Beldjike".
11917 2018-06-11 Joseph Myers <joseph@codesourcery.com>
11920 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
11921 cases of non-finite arguments.
11922 * math/libm-test-fma.inc (fma_test_data): Add more tests.
11924 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
11927 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
11929 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11932 * include/unistd.h (__execvpex): New prototype.
11933 * posix/Makefile (tests): Add tst-spawn4.
11934 (tests-internal): Add tst-spawn4-compat.
11935 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
11936 * posix/tst-spawn4-compat.c: New file.
11937 * posix/tst-spawn4.c: Likewise.
11938 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
11939 binaries as shell scripts.
11940 * sysdeps/posix/spawni.c (__spawni): Likewise.
11942 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
11945 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
11946 ($(all-built-dso:=.dynsym): New target.
11947 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
11948 ($(objpfx)check-initfini.out): New target.
11949 (generated): Add check-initfini.out.
11950 * scripts/check-initfini.awk: New file.
11951 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
11953 * sysdeps/alpha/crti.S (_init): Mark as hidden.
11955 * sysdeps/arm/crti.S (_init): Mark as hidden.
11957 * sysdeps/hppa/crti.S (_init): Mark as hidden.
11959 * sysdeps/i386/crti.S (_init): Mark as hidden.
11961 * sysdeps/ia64/crti.S (_init): Mark as hidden.
11963 * sysdeps/m68k/crti.S (_init): Mark as hidden.
11965 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
11967 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
11969 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
11971 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
11973 * sysdeps/nios2/crti.S (_init): Mark as hidden.
11975 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
11977 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
11979 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
11981 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
11983 * sysdeps/sh/crti.S (_init): Mark as hidden.
11985 * sysdeps/sparc/crti.S (_init): Mark as hidden.
11987 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
11990 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11992 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
11993 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
11994 and TF redirection to KFtype and KF only when the default
11995 long double type is not the IEEE 128-bit floating point type.
11997 2018-06-05 Joseph Myers <joseph@codesourcery.com>
11999 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
12001 (HWCAP_USCAT): Likewise.
12002 (HWCAP_ILRCPC): Likewise.
12003 (HWCAP_FLAGM): Likewise.
12004 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12006 (_dl_aarch64_cap_flags): Add new flag names.
12008 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
12009 (MAP_FIXED_NOREPLACE): New macro.
12010 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
12011 (MAP_FIXED_NOREPLACE): Likewise.
12012 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
12013 (MAP_FIXED_NOREPLACE): Likewise.
12014 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12015 (MAP_FIXED_NOREPLACE): Likewise.
12016 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
12017 (MAP_FIXED_NOREPLACE): Likewise.
12018 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
12019 (MAP_FIXED_NOREPLACE): Likewise.
12020 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
12021 (MAP_FIXED_NOREPLACE): Likewise.
12022 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
12023 (MAP_FIXED_NOREPLACE): Likewise.
12024 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
12025 (MAP_FIXED_NOREPLACE): Likewise.
12026 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
12027 (MAP_FIXED_NOREPLACE): Likewise.
12028 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
12029 (MAP_FIXED_NOREPLACE): Likewise.
12030 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
12031 (MAP_FIXED_NOREPLACE): Likewise.
12032 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
12033 (MAP_FIXED_NOREPLACE): Likewise.
12034 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
12035 (MAP_FIXED_NOREPLACE): Likewise.
12036 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
12037 (MAP_FIXED_NOREPLACE): Likewise.
12039 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12042 2018-06-04 Joseph Myers <joseph@codesourcery.com>
12044 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12047 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12049 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
12051 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
12053 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12055 * benchtests/scripts/compare_string.py: (process_results) Catch
12056 exception in non-existent base_func and catch exception in
12057 non-existent attribute.
12058 (parse_file) Catch exception if input file does not exist.
12060 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12062 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
12063 options to avoid diff calculation and omit header, respectively.
12064 (main): process --no-diff and --no-header
12066 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12067 H.J. Lu <hongjiu.lu@intel.com>
12069 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12070 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
12072 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12073 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
12074 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
12075 and __wcsncmp_sse2.
12076 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
12077 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
12078 AVX unaligned load is fast and vzeroupper is preferred.
12079 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
12080 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
12081 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
12082 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
12083 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
12084 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
12085 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
12086 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
12087 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
12088 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
12091 2018-06-01 Florian Weimer <fweimer@redhat.com>
12093 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
12094 configuring with --disable-multi-arch, building with
12095 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
12098 2018-06-01 Florian Weimer <fweimer@redhat.com>
12100 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
12101 results from building with “-march=x86-64 -mtune=generic
12102 -mfpmath=sse” and running on a Haswell-era CPU.
12104 2018-06-01 Joseph Myers <joseph@codesourcery.com>
12107 * soft-fp/sqrttf2.c: Remove file.
12108 * soft-fp/sqrtdf2.c: Move to ....
12109 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
12111 (__sqrtdf2): Make conditional on
12112 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12114 * soft-fp/sqrtsf2.c: Move to ....
12115 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
12117 (__sqrtsf2): Make conditional on
12118 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12120 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
12121 (gcc-double-routines): Remove sqrtdf2.
12122 (gcc-quad-routines): Remove sqrttf2.
12123 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12124 Do not filter out sqrtsf2 and sqrtdf2.
12125 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12126 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
12128 2018-06-01 Florian Weimer <fweimer@redhat.com>
12130 * sysdeps/generic/libcidn.abilist: Remove file.
12132 2018-06-01 Florian Weimer <fweimer@redhat.com>
12135 * libio/strfile.h (struct _IO_str_fields): Rename members to
12136 discourage their use and add comment.
12137 (_IO_STR_DYNAMIC): Remove unused macro.
12138 * libio/strops.c (_IO_str_init_static_internal): Do not use
12139 callback pointers. Call malloc and free.
12140 (_IO_str_overflow): Do not use callback pointers. Call malloc
12142 (enlarge_userbuf): Likewise.
12143 (_IO_str_finish): Call free.
12144 * libio/wstrops.c (_IO_wstr_init_static): Initialize
12145 _allocate_buffer_unused.
12146 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
12148 (enlarge_userbuf): Likewise.
12149 (_IO_wstr_finish): Call free.
12150 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
12151 _allocate_buffer_unused, _free_buffer_unused.
12152 * libio/memstream.c (__open_memstream): Likewise.
12153 * libio/vasprintf.c (_IO_vasprintf): Likewise.
12154 * libio/wmemstream.c (open_wmemstream): Likewise.
12156 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
12158 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
12161 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12163 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
12164 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
12165 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
12167 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
12169 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
12171 2018-05-29 Florian Weimer <fweimer@redhat.com>
12173 * support/Makefile (libsupport-routines): Add
12174 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
12175 xpthread_barrierattr_setpshared.
12176 * support/xpthread_barrierattr_destroy.c: New file.
12177 * support/xpthread_barrierattr_init.c: Likewise.
12178 * support/xpthread_barrierattr_setpshared.c: Likewise.
12180 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
12183 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
12184 _r_debug and update DT_DEBUG for debugger.
12186 2018-05-29 Florian Weimer <fweimer@redhat.com>
12188 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
12189 (tst-strtod5i.out): Likewise.
12191 2018-05-25 Joseph Myers <joseph@codesourcery.com>
12193 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
12194 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
12195 (sparc64-quad-routines): New variable. Moved from ....
12196 [$(subdir) = soft-fp] (sysdep_routines): Add
12197 $(sparc64-quad-routines). Moved from ....
12198 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
12199 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
12200 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
12202 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
12203 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
12204 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
12205 * sysdeps/sparc/sparc64/qp_add.c: ... here.
12206 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
12207 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
12208 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
12209 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
12210 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
12211 * sysdeps/sparc/sparc64/qp_div.c: ... here.
12212 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
12213 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
12214 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
12215 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
12216 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
12217 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
12218 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
12219 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
12220 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
12221 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
12222 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
12223 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
12224 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
12225 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
12226 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
12227 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
12228 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
12229 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
12230 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
12231 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
12232 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
12233 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
12234 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
12235 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
12236 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
12237 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
12238 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
12239 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
12240 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
12241 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
12242 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
12243 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
12244 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
12245 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
12246 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
12247 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
12248 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
12249 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
12250 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
12251 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
12252 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
12253 * sysdeps/sparc/sparc64/qp_util.c: ... here.
12254 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
12255 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
12256 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
12257 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
12258 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
12259 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
12261 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
12262 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
12263 (sparc32-quad-routines): New variable. Moved from ....
12264 [$(subdir) = soft-fp] (sysdep_routines): Add
12265 $(sparc32-quad-routines). Moved from ....
12266 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
12267 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
12269 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
12270 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
12271 * sysdeps/sparc/sparc32/q_add.c: ... here.
12272 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
12273 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
12274 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
12275 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
12276 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
12277 * sysdeps/sparc/sparc32/q_div.c: ... here.
12278 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
12279 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
12280 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
12281 * sysdeps/sparc/sparc32/q_feq.c: ... here.
12282 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
12283 * sysdeps/sparc/sparc32/q_fge.c: ... here.
12284 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
12285 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
12286 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
12287 * sysdeps/sparc/sparc32/q_fle.c: ... here.
12288 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
12289 * sysdeps/sparc/sparc32/q_flt.c: ... here.
12290 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
12291 * sysdeps/sparc/sparc32/q_fne.c: ... here.
12292 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
12293 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
12294 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
12295 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
12296 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
12297 * sysdeps/sparc/sparc32/q_mul.c: ... here.
12298 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
12299 * sysdeps/sparc/sparc32/q_neg.c: ... here.
12300 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
12301 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
12302 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
12303 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
12304 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
12305 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
12306 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
12307 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
12308 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
12309 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
12310 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
12311 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
12312 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
12313 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
12314 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
12315 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
12316 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
12317 * sysdeps/sparc/sparc32/q_sub.c: ... here.
12318 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
12319 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
12320 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
12321 * sysdeps/sparc/sparc32/q_util.c: ... here.
12322 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
12323 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
12324 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
12325 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
12327 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12328 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12330 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
12331 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
12332 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
12333 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
12335 2018-05-24 Joseph Myers <joseph@codesourcery.com>
12337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
12339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12341 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
12342 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
12344 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12347 * math/math.h [C++] (iseqsig): Fix parameter type for the long
12350 2018-05-23 Joseph Myers <joseph@codesourcery.com>
12352 * sysdeps/sh/Implies: Remove sh/soft-fp.
12353 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
12354 * sysdeps/sh/sfp-machine.h: ... here.
12356 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
12358 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12359 (__mempcpy_erms): Skip zero length.
12360 (__memmove_erms): Likewise.
12361 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12362 (__memset_erms): Likewise.
12364 2018-05-23 Joseph Myers <joseph@codesourcery.com>
12366 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
12367 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12368 Add functions moved from ....
12369 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
12370 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
12371 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
12373 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
12374 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
12375 * sysdeps/alpha/e_sqrtl.c: ... here.
12376 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
12377 * sysdeps/alpha/local-soft-fp.h: ... here.
12378 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
12379 * sysdeps/alpha/ots_add.c: ... here.
12380 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
12381 * sysdeps/alpha/ots_cmp.c: ... here.
12382 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
12383 * sysdeps/alpha/ots_cmpe.c: ... here.
12384 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
12385 * sysdeps/alpha/ots_cvtqux.c: ... here.
12386 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
12387 * sysdeps/alpha/ots_cvtqx.c: ... here.
12388 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
12389 * sysdeps/alpha/ots_cvttx.c: ... here.
12390 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
12391 * sysdeps/alpha/ots_cvtxq.c: ... here.
12392 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
12393 * sysdeps/alpha/ots_cvtxt.c: ... here.
12394 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
12395 * sysdeps/alpha/ots_div.c: ... here.
12396 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
12397 * sysdeps/alpha/ots_mul.c: ... here.
12398 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
12399 * sysdeps/alpha/ots_nintxq.c: ... here.
12400 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
12401 * sysdeps/alpha/ots_sub.c: ... here.
12402 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
12403 * sysdeps/alpha/sfp-machine.h: ... here.
12405 2018-05-23 Florian Weimer <fweimer@redhat.com>
12413 Switch to extern IDNA implementation (libidn2).
12414 * libidn: Remove subdirectory.
12415 * LICENSES: Do not mention licensing conditions for the removed
12417 * config.h.in (HAVE_LIBIDN): Remove.
12418 * include/dlfcn.h (__libc_dlopen): Update comment.
12419 * include/idna.h: Remove file.
12420 * inet/Makefile (routines): Add idna.
12421 (tests-static, tests-internal): Add tst-idna_name_classify.
12422 (LOCALES): Generate locales for tests.
12423 (tst-idna_name_classify.out): Depend on generated locales.
12424 * inet/idna_name_classify.c: New file.
12425 * inet/tst-idna_name_classify.c: Likewise.
12426 * inet/net-internal.h (__idna_to_dns_encoding)
12427 (__idna_from_dns_encoding): Declare.
12428 * inet/net-internal.h (enum idna_name_classification): Define.
12429 (__idna_name_classify): Declare.
12430 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
12431 __idna_from_dns_encoding.
12432 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
12433 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
12434 name as a fallback in case of encoding errors.
12435 (getnameinfo): Use DEPRECATED_NI_IDN.
12436 * inet/idna.c: New file.
12437 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
12438 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
12439 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
12440 (modules-names): Add tst-no-libidn2.
12441 (extra-test-objs): Add tst-no-libidn2.os.
12442 (LDFLAGS-tst-no-libidn2.so): Set soname.
12443 (LOCALES): Set, and generate locales.
12444 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
12445 (tst-resolv-ai_idn-latin1): Likewise.
12446 (tst-resolv-ai_idn-nolibidn2): Likewise.
12447 (tst-resolv-ai_idn.out): Depend on locales.
12448 (tst-resolv-ai_idn-latin1.out): Depend on locales.
12449 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
12451 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
12452 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
12453 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
12454 * resolv/tst-resolv-ai_idn.c: New file.
12455 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
12456 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
12457 * resolv/tst-no-libidn2.c: Likewise.
12458 * support/support_format_addrinfo.c (format_ai_flags): Do not
12459 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
12460 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
12461 (gaih_inet): Call __idna_to_dns_encoding and
12462 __idna_from_dns_encoding, and use the original (punycode) name if
12463 __idna_from_dns_encoding fails due to an encoding error.
12464 (getaddrinfo): Use DEPRECATED_AI_IDN.
12465 * sysdeps/unix/inet/Subdirs (libidn): Remove.
12466 * sysdeps/unix/inet/configure: Remove file.
12467 * sysdeps/unix/inet/configure.ac: Likewise.
12469 2018-05-23 Florian Weimer <fweimer@redhat.com>
12471 Implement allocate_once.
12472 * include/allocate_once.h: New file.
12473 * misc/allocate_once.c: Likewise.
12474 * misc/tst-allocate_once.c: Likewise.
12475 * misc/Makefile (routines): Add allocate_once.
12476 (tests-internal): Add tst-allocate_once.
12477 (generated): Add tst-allocate_once.mtrace,
12478 tst-allocate_once-mem.out.
12479 (tests-special): Add tst-allocate_once-mem.out.
12480 (tst-allocate_once-ENV): Set MALLOC_TRACE.
12481 (tst-allocate_once-mem.out): Call mtrace.
12482 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
12484 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
12487 * string/test-memcpy.c (do_test1): New function.
12488 (test_main): Call it.
12490 2018-05-23 Andreas Schwab <schwab@suse.de>
12494 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
12495 (L(preloop_large)): Save initial destination pointer in %r11 and
12496 use it instead of %rax after the loop.
12497 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
12499 2018-05-22 Joseph Myers <joseph@codesourcery.com>
12501 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
12502 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
12503 -I../soft-fp. Moved from ....
12504 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
12505 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
12506 * sysdeps/aarch64/e_sqrtl.c: ... here.
12507 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
12508 * sysdeps/aarch64/sfp-machine.h: ... here.
12510 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
12511 -Wmaybe-uninitialized around access to fq[0].
12512 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12516 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
12517 aliases for non-libc case of versioned symbols.
12518 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
12519 (llseek): Define as compat symbol if
12520 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
12522 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
12523 Make into a compat symbol, disabled for minimum symbol version
12524 GLIBC_2.28 and later.
12525 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
12527 2018-05-22 Florian Weimer <fweimer@redhat.com>
12529 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
12530 not add -mpreferred-stack-boundary=4.
12531 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
12532 (stack-align-test-flags): Likewise.
12533 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
12535 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
12536 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
12537 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
12538 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
12539 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
12540 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
12541 (CFLAGS-tst-align2.c): Likewise.
12543 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
12545 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
12546 (index_arch_Prefer_FSRM): Likewise.
12547 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
12548 Also check Prefer_FSRM.
12549 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
12550 Also return OPTIMIZE (erms) for Prefer_FSRM.
12552 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
12554 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
12555 (index_cpu_FSRM): Likewise.
12556 (reg_FSRM): Likewise.
12558 2018-05-18 Joseph Myers <joseph@codesourcery.com>
12560 * math/gen-tgmath-tests.py: Import sys.
12561 (Tests.__init__): Initialize macros_seen.
12562 (Tests.add_tests): Add macro to macros_seen. Only generate tests
12563 if requested to do so for this macro.
12564 (Tests.add_all_tests): Take argument for macro for which to
12566 (Tests.check_macro_list): New function.
12567 (main): Handle check-list argument and argument specifying macro
12568 for which to generate tests.
12569 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
12570 [PYTHON] (tgmath3-macro-tests): Likewise.
12571 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
12572 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
12573 not test-tgmath3.c.
12574 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
12575 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
12577 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
12578 [PYTHON] ($(foreach
12579 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
12581 [PYTHON] (tests-special): Add
12582 $(objpfx)test-tgmath3-macro-list.out.
12583 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
12585 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
12586 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
12590 * time/tzset.c (SECSPERDAY): Cast to time_t.
12591 * time/tst-y2039.c: New file.
12592 * time/Makefile (tests): Add tst-y2039.
12594 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12596 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12597 (PREFETCH_ONE_SET): Remove duplicate line.
12599 2018-05-17 Florian Weimer <fweimer@redhat.com>
12601 * sysdeps/generic/math-type-macros-double.h: Include
12602 <math-nan-payload-double.h> after <libm-alias-double.h>.
12603 * sysdeps/generic/math-type-macros-float.h: Include
12604 <math-nan-payload-float.h> after <libm-alias-float.h>.
12605 * sysdeps/generic/math-type-macros-float128.h: Include
12606 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
12607 * sysdeps/generic/math-type-macros-ldouble.h: Include
12608 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
12610 2018-05-17 Andreas Schwab <schwab@suse.de>
12612 * resolv/res_send.c (__res_context_send): Don't set errno when
12613 returing error after malloc failure.
12615 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
12617 * nptl/allocatestack.c (allocate_stack): Remove the
12618 !__ASSUME_PRIVATE_FUTEX paths.
12619 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
12620 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12622 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
12623 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12624 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12625 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12626 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
12627 !__ASSUME_PRIVATE_FUTEX path.
12628 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
12629 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
12630 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
12631 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
12632 !__ASSUME_PRIVATE_FUTEX macros.
12633 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12634 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
12635 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
12636 * sysdeps/unix/sysv/linux/kernel-features.h
12637 (__ASSUME_PRIVATE_FUTEX): Removed.
12639 2018-05-17 Joseph Myers <joseph@codesourcery.com>
12641 * math/Makefile (libm-narrow-fns): Add div.
12642 (libm-test-funcs-narrow): Likewise.
12643 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
12644 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
12645 * math/gen-auto-libm-tests.c (test_functions): Add div.
12646 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
12647 (NARROW_DIV_ROUND_TO_ODD): Likewise.
12648 (NARROW_DIV_TRIVIAL): Likewise.
12649 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
12651 (__ddivl): Likewise.
12652 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
12654 (CFLAGS-nldbl-ddiv.c): New variable.
12655 (CFLAGS-nldbl-fdiv.c): Likewise.
12656 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12658 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
12660 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
12661 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
12662 * math/auto-libm-test-in: Add tests of div.
12663 * math/auto-libm-test-out-narrow-div: New generated file.
12664 * math/libm-test-narrow-div.inc: New file.
12665 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
12666 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
12667 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
12668 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
12669 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
12670 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
12671 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
12672 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
12673 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
12674 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
12675 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
12676 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
12677 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
12678 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
12679 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
12680 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
12681 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
12682 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
12683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12684 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12685 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12686 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12687 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12688 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12689 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12690 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12691 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12692 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12693 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12694 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12695 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12696 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12701 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12702 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12703 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12704 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12705 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12706 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12707 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12708 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12710 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12713 * nscd/nscd-client.h (sendfileall): Remove prototype.
12714 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
12715 (handle_request): Use writeall instead of sendfileall.
12716 * nscd/aicache.c (addhstaiX): Likewise.
12717 * nscd/grpcache.c (cache_addgr): Likewise.
12718 * nscd/hstcache.c (cache_addhst): Likewise.
12719 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12720 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
12721 * nscd/pwdcache.c (cache_addpw): Likewise.
12722 * nscd/servicescache.c (cache_addserv): Likewise.
12723 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
12724 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
12725 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
12728 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
12730 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
12731 Include <string/strncat.c>.
12732 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
12734 (__GI___strncat): New hidden alias.
12736 2018-05-16 Joseph Myers <joseph@codesourcery.com>
12738 * sysdeps/mips/mips32/libm-test-ulps: Update.
12739 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12741 2018-05-16 Florian Weimer <fweimer@redhat.com>
12743 * support/Makefile (libsupport-routines): Add support_quote_blob,
12744 support_test_compare_blob.
12745 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
12746 * support/check.h (TEST_COMPARE_BLOB): Define.
12747 (support_test_compare_blob): Declare.
12748 * support/support.h (support_quote_blob): Declare.
12749 * support/support_quote_blob.c: New file.
12750 * support/support_test_compare_blob.c: Likewise.
12751 * support/tst-support_quote_blob.c: Likewise.
12752 * support/tst-test_compare_blob.c: Likewise.
12754 2018-05-16 Florian Weimer <fweimer@redhat.com>
12756 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
12757 of <strtod_nan_double.h>.
12758 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
12759 instead of SET_MANTISSA.
12760 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
12761 of include <strtod_nan_float.h>.
12762 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
12763 instead of <strtod_nan_ldouble.h>.
12764 * stdlib/strtod_nan_double.h: Move to ...
12765 * sysdeps/generic/math-nan-payload-double.h: ... here.
12766 (FLOAT): Remove definition.
12767 (SET_MANTISSA): Rename to ...
12768 (SET_NAN_PAYLOAD): ... this.
12769 * stdlib/strtod_nan_float.h: Move to ...
12770 * sysdeps/generic/math-nan-payload-float.h: ... here.
12771 (FLOAT): Remove definition.
12772 (SET_MANTISSA): Rename to ...
12773 (SET_NAN_PAYLOAD): ... this.
12774 * sysdeps/generic/math-type-macros-double.h: Include
12775 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
12776 instead of <math-svid-compat.h>.
12777 * sysdeps/generic/math-type-macros-float.h: Include
12778 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
12779 instead of <math-svid-compat.h>.
12780 * sysdeps/generic/math-type-macros-float128.h: Include
12781 <math-nan-payload-float128.h>.
12782 * sysdeps/generic/math-type-macros-ldouble.h: Include
12783 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
12784 instead of <math-svid-compat.h>.
12785 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
12786 check for definition.
12787 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
12788 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
12789 Include <ieee754_float128.h>.
12790 (FLOAT): Remove definition.
12791 (SET_MANTISSA): Rename to ...
12792 (SET_NAN_PAYLOAD): ... this.
12793 * sysdeps/ieee754/float128/strtof128_nan.c: Include
12794 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
12795 Do not include <float128_private.h>.
12796 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
12797 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
12798 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
12799 (FLOAT): Remove definition.
12800 (SET_MANTISSA): Rename to ...
12801 (SET_NAN_PAYLOAD): ... this.
12802 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
12803 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
12804 (FLOAT): Remove definition.
12805 (SET_MANTISSA): Rename to ...
12806 (SET_NAN_PAYLOAD): ... this.
12807 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
12808 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
12809 (FLOAT): Remove definition.
12810 (SET_MANTISSA): Rename to ...
12811 (SET_NAN_PAYLOAD): ... this.
12812 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
12813 of "../stdlib/strtod_nan_double.h".
12814 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
12815 of "../stdlib/strtod_nan_float.h".
12816 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
12817 instead of "../stdlib/strtod_nan_ldouble.h".
12818 * manual/arith.texi (Parsing of Floats): Adjust comment.
12820 2018-05-16 Joseph Myers <joseph@codesourcery.com>
12822 * math/Makefile (libm-narrow-fns): Add mul.
12823 (libm-test-funcs-narrow): Likewise.
12824 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
12825 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
12826 * math/gen-auto-libm-tests.c (test_functions): Add mul.
12827 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
12828 (NARROW_MUL_ROUND_TO_ODD): Likewise.
12829 (NARROW_MUL_TRIVIAL): Likewise.
12830 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
12831 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
12833 (__dmull): Likewise.
12834 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
12836 (CFLAGS-nldbl-dmul.c): New variable.
12837 (CFLAGS-nldbl-fmul.c): Likewise.
12838 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12840 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
12842 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
12843 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
12844 * math/auto-libm-test-in: Add tests of mul.
12845 * math/auto-libm-test-out-narrow-mul: New generated file.
12846 * math/libm-test-narrow-mul.inc: New file.
12847 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
12848 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
12849 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
12850 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
12851 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
12852 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
12853 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
12854 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
12855 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
12856 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
12857 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
12858 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
12859 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
12860 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
12861 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
12862 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
12863 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
12864 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
12865 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12866 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12867 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12868 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12869 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12870 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12871 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12872 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12873 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12874 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12875 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12876 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12877 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12878 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12883 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12884 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12885 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12886 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12887 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12888 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12889 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12890 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12892 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12894 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
12895 with *%eax in call.
12897 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12899 * sysdeps/i386/ldsodefs.h: Removed.
12900 * sysdeps/x86_64/ldsodefs.h: Moved to ...
12901 * sysdeps/x86/ldsodefs.h: This.
12902 (La_i86_regs): New.
12903 (La_i86_retval): Likewise.
12904 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
12905 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
12907 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12909 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
12912 2018-05-13 Alan Modra <amodra@gmail.com>
12914 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
12915 R_PARISC_TLS_DTPOFF32 reloc addend.
12917 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12919 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
12920 * math/math.h: Restrict the prototype definition for the functions
12921 issignaling(_Float128) and iszero(_Float128); and template
12922 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
12923 __HAVE_FLOAT128_UNLIKE_LDBL.
12924 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
12925 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
12926 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
12927 __f128() constants; define the type _Float128 as long double;
12928 and reuse long double in __CFLOAT128.
12930 2018-05-11 Joseph Myers <joseph@codesourcery.com>
12932 * sysdeps/generic/math_private.h: Do not include
12934 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
12936 * math/fromfp.h: Include <math-barriers.h>.
12937 * math/math-narrow.h: Likewise.
12938 * math/s_nextafter.c: Likewise.
12939 * math/s_nexttowardf.c: Likewise.
12940 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
12941 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
12942 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
12943 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
12944 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12945 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12946 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12947 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12948 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12949 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12950 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12951 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12952 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12953 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12954 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12955 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12956 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12957 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12958 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12959 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12960 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12961 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12962 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12963 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12964 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12965 * sysdeps/ieee754/k_standardl.c: Likewise.
12966 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12967 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12968 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12969 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12970 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12971 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12972 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12973 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12974 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12975 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12976 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12977 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12978 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12979 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12980 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12981 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12982 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12983 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12984 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12985 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12986 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
12987 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
12989 2018-05-11 Florian Weimer <fweimer@redhat.com>
12991 Use 64-bit epoch values in the time zone file parser.
12992 * include/time.h (internal_time_t): Define.
12993 (__tzfile_compute): Use it.
12994 * time/tzfile.c (struct leap): Use internal_time_t for epoch
12996 (transitions): Switch to internal_time_t.
12997 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
12999 (__tzfile_compute): Use internal_time_t for timer argument. Check
13000 for truncation before calling __offtime.
13002 2018-05-11 Florian Weimer <fweimer@redhat.com>
13005 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
13006 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
13008 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
13009 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
13010 export without --enable-obsolete-rpc.
13011 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
13012 symbol. This should not have been exported, ever.
13014 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
13017 * localedata/locales/gd_GB (abmon): Fix typo in May:
13018 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
13020 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13022 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
13023 Use multiple registers to copy data in loop tail.
13025 * sysdeps/aarch64/multiarch/memmove_falkor.S
13026 (__memmove_falkor): Use multiple registers to move data in
13029 2018-05-10 Joseph Myers <joseph@codesourcery.com>
13031 * math/math-underflow.h: New file.
13032 * sysdeps/generic/math_private.h: Do not include <float.h>.
13033 (fabs_tg): Remove macro. Moved to math-underflow.h.
13034 (min_of_type_f): Likewise.
13035 (min_of_type_): Likewise.
13036 (min_of_type_l): Likewise.
13037 (min_of_type_f128): Likewise.
13038 (min_of_type): Likewise.
13039 (math_check_force_underflow): Likewise.
13040 (math_check_force_underflow_nonneg): Likewise.
13041 (math_check_force_underflow_complex): Likewise.
13042 * math/e_exp2_template.c: Include <math-underflow.h>.
13043 * math/k_casinh_template.c: Likewise.
13044 * math/s_catan_template.c: Likewise.
13045 * math/s_catanh_template.c: Likewise.
13046 * math/s_ccosh_template.c: Likewise.
13047 * math/s_cexp_template.c: Likewise.
13048 * math/s_clog10_template.c: Likewise.
13049 * math/s_clog_template.c: Likewise.
13050 * math/s_csin_template.c: Likewise.
13051 * math/s_csinh_template.c: Likewise.
13052 * math/s_csqrt_template.c: Likewise.
13053 * math/s_ctan_template.c: Likewise.
13054 * math/s_ctanh_template.c: Likewise.
13055 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13056 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13057 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13058 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13059 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13060 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13061 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13062 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13063 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13064 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13065 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13066 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13067 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13068 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13069 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13070 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13071 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13072 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13073 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13074 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13075 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13076 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13077 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13078 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13079 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13080 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13081 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13082 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13083 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13084 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13085 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13086 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13087 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13088 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13089 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13090 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13091 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13092 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13093 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13094 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13095 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13096 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13097 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13098 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13099 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13100 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13101 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13102 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13103 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13104 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13105 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13106 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13107 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13108 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13109 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13110 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13111 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13112 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13113 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13114 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13115 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13116 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13117 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13118 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13119 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13120 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13121 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13122 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13123 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13124 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13125 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13126 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13127 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13128 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
13129 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13130 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13131 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13132 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13133 * sysdeps/x86/fpu/powl_helper.c: Likewise.
13134 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
13135 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
13136 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13137 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
13138 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
13140 2018-05-09 Joseph Myers <joseph@codesourcery.com>
13142 * sysdeps/generic/math-barriers.h: New file.
13143 * sysdeps/generic/math_private.h [!math_opt_barrier]
13144 (math_opt_barrier): Move to math-barriers.h.
13145 [!math_opt_barrier] (math_force_eval): Likewise.
13146 * sysdeps/aarch64/fpu/math-barriers.h: New file.
13147 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
13149 (math_force_eval): Likewise.
13150 * sysdeps/alpha/fpu/math-barriers.h: New file.
13151 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
13153 (math_force_eval): Likewise.
13154 * sysdeps/x86/fpu/math-barriers.h: New file.
13155 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
13157 (math_force_eval): Likewise.
13158 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
13159 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
13160 multiple-include guard for rename.
13161 * sysdeps/powerpc/fpu/math-barriers.h: New file.
13162 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
13164 (math_force_eval): Likewise.
13166 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
13170 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
13172 * stdlib/Makefile (test-bz22786): New test.
13173 * stdlib/test-bz22786.c: New test.
13175 2018-05-09 Joseph Myers <joseph@codesourcery.com>
13177 * include/math-narrow-eval.h: New file. Contents moved from ....
13178 * sysdeps/generic/math_private.h: ... here.
13179 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
13180 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
13181 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
13182 * stdlib/strtod_l.c: Likewise.
13183 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
13184 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
13185 * sysdeps/i386/fpu/s_fdim.c: Likewise.
13186 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13187 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13188 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13189 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13190 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13191 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13192 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
13193 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13194 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
13195 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13196 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13197 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13198 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13199 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13200 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13201 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13202 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13203 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13204 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13205 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13206 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13207 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13208 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13209 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13210 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13211 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13213 2018-05-08 Andreas Schwab <schwab@suse.de>
13215 * sysdeps/nptl/internaltypes.h: Fix comment.
13217 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
13219 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13220 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
13223 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
13225 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
13226 of I into loop header.
13227 * benchtests/bench-memmove-walk.c
13228 (test_main): Likewise.
13230 2018-05-07 Alexandre Oliva <oliva@gnu.org>
13233 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
13234 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
13236 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13239 * elf/dl-load.c (open_verify): Fix stack overflow.
13240 * elf/Makefile (tst-big-note): New test.
13241 * elf/tst-big-note-lib.S: New.
13242 * elf/tst-big-note.c: New.
13244 2018-05-04 Joseph Myers <joseph@codesourcery.com>
13246 * scripts/abilist.awk: Ignore absolute symbols.
13247 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
13248 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
13249 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
13250 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
13251 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
13252 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
13253 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13254 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
13255 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
13256 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
13257 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
13258 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
13259 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13260 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
13261 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
13262 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13263 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
13264 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
13265 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13266 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
13267 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
13268 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
13269 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
13270 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
13271 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
13272 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13273 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
13274 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
13275 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13276 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
13277 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
13278 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13279 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
13280 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
13281 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
13282 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
13283 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
13284 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
13285 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13286 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
13287 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
13288 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13289 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
13290 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
13291 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13292 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
13293 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
13294 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
13295 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
13296 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
13297 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
13298 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13299 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
13300 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
13301 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13302 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
13303 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
13304 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13305 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
13306 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
13307 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
13308 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
13309 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
13310 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
13311 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13312 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
13313 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
13314 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13315 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
13316 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
13317 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13318 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
13319 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
13320 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
13321 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
13322 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
13323 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
13324 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13325 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
13326 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
13327 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13328 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
13329 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
13330 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13331 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
13332 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
13333 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
13334 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
13335 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
13336 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
13337 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13338 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
13340 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
13341 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13342 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
13343 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
13344 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13345 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
13346 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
13347 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
13348 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
13349 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
13350 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
13351 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13352 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
13354 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
13355 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13356 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
13357 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
13358 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13359 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
13360 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
13361 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
13362 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
13363 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
13364 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
13365 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13366 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
13367 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
13368 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13369 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
13370 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
13371 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13372 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
13373 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
13374 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
13375 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
13376 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
13377 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
13378 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13379 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13380 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13382 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
13383 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
13384 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
13385 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
13386 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13387 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
13388 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
13389 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
13390 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
13391 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
13392 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
13393 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
13394 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
13395 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
13396 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
13397 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
13398 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
13399 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
13400 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13401 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13403 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
13404 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
13405 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
13406 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13407 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
13408 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
13409 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
13410 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
13411 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
13412 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13413 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13414 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
13415 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13416 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13417 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
13418 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13419 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
13420 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
13421 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13422 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
13423 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
13424 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13425 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
13426 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
13427 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
13428 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
13429 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
13430 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
13431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
13432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
13436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
13437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
13438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
13439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
13440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
13442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
13444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
13445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
13447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
13448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
13456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
13458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
13460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
13461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
13466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
13467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
13468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
13472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
13473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
13479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
13481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
13482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
13483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
13485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
13487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
13489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
13490 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
13491 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
13493 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
13494 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13495 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
13496 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
13497 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13498 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
13499 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
13500 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
13501 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
13502 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
13503 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
13504 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
13505 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13506 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13508 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13509 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
13510 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
13511 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13512 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
13513 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
13514 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
13515 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
13516 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
13517 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
13518 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13519 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13521 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13522 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
13523 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
13524 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13525 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
13526 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
13527 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
13528 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
13529 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
13530 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
13531 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13532 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
13533 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
13534 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13535 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
13536 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
13537 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13538 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
13539 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
13540 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
13541 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
13542 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
13543 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
13544 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13545 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
13547 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
13548 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13549 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
13550 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
13551 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13552 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
13553 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
13554 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
13555 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
13556 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
13557 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
13558 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13559 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
13561 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
13562 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13563 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
13564 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
13565 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13566 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
13567 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
13568 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
13569 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
13570 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
13571 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
13572 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13573 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
13574 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
13575 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13576 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
13577 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
13578 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13579 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
13580 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
13581 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
13582 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
13583 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
13584 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
13585 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
13586 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13587 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
13588 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
13589 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13590 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
13591 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
13592 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13593 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
13594 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
13595 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
13596 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
13597 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
13598 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
13600 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
13603 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
13604 Use atomic_load_acquire to load __tid.
13606 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13608 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
13609 Restore the pointer into %rdx, after syscall and use %rdx,
13610 instead of %rsi, to restore context.
13612 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13614 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
13615 Pop the pointer into %rdx after syscall and use %rdx, instead
13616 of %rsi, to restore context.
13618 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13620 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
13621 handlers after setjmp.
13622 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
13624 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
13625 <libc-pointer-arith.h>.
13626 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
13627 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
13628 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
13629 _JUMP_BUF_SIGSET_BITS_PER_WORD.
13630 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
13631 * sysdeps/x86/__longjmp_cancel.S: New file.
13632 * sysdeps/x86/longjmp.c: Likewise.
13633 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
13635 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13637 * NEWS: Add ustat.h deprecation entry.
13638 * bits/ustat.h: Remove file.
13639 * misc/sys/ustat.h: Likewise.
13640 * misc/ustat.h: Likewise.
13641 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
13642 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
13643 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
13644 compatibility mode.
13645 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
13646 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
13647 generic Linux implementation.
13649 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13651 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
13652 * math/w_expl_compat.c: Likewise.
13653 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
13655 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
13657 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
13659 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13661 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
13662 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
13663 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
13665 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
13666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13667 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13668 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
13669 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
13672 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13674 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
13676 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
13677 * math/w_asin_template.c: Likewise.
13678 * math/w_atanh_template.c: Likewise.
13680 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13682 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
13683 to powerpc/powerpc64/be for big-endian.
13684 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
13687 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
13688 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
13689 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
13690 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
13691 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
13692 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
13693 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
13694 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
13695 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
13696 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13697 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
13698 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
13699 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
13700 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
13701 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
13702 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
13703 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
13704 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
13705 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
13706 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
13707 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
13708 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13709 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
13710 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
13711 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
13712 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13713 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
13714 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
13715 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
13716 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
13717 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
13718 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
13720 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
13721 adjusted to imply powerpc64 and older processors on powerpc64/be.
13722 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
13723 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
13724 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
13725 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
13726 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
13727 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
13728 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
13729 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
13730 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
13731 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
13732 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
13733 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
13734 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
13735 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
13736 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
13737 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
13738 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
13739 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
13740 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
13741 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
13742 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
13743 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
13744 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
13745 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
13746 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
13747 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
13748 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
13749 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
13750 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
13751 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
13752 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
13754 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
13755 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
13756 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
13757 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
13759 * sysdeps/powerpc/powerpc64/be/Implies: New file.
13760 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
13761 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
13762 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
13764 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
13765 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
13766 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
13767 * sysdeps/powerpc/powerpc64le/configure: Likewise.
13768 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
13769 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
13770 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
13771 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
13772 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
13773 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
13774 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
13776 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
13777 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
13778 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
13779 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
13780 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
13781 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
13782 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
13783 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
13784 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
13785 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
13786 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
13788 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
13789 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
13790 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
13791 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
13792 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
13793 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
13794 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
13795 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
13796 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
13797 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
13798 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
13799 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
13801 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
13802 and adjusted to imply olders processors.
13803 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
13804 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
13805 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
13806 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
13807 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
13808 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
13809 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
13810 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
13811 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
13812 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
13813 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
13815 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
13817 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
13818 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
13820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
13822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
13823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
13825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
13827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
13829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
13831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
13832 powerpc64 and adjusted.
13833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
13834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
13835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
13838 2018-04-27 Joseph Myers <joseph@codesourcery.com>
13840 * sysdeps/tile: Remove.
13841 * sysdeps/unix/sysv/linux/tile: Likewise.
13842 * README (tilegx-*-linux-gnu): Remove from list of supported
13844 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
13845 contribution of support for generic Linux kernel syscall
13847 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
13848 tilegx configurations.
13849 (Config.install_linux_headers): Do not handle tile.
13850 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
13852 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
13853 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
13854 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13855 conditional undefine and redefine.
13856 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
13858 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13859 conditional undefine and redefine.
13861 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
13863 * signal/tst-sigaction.c: New file to test BZ #23069.
13864 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
13866 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13869 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
13870 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
13871 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
13872 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
13874 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13876 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
13877 _DIRENT_MATCHES_DIRENT64 is not defined.
13878 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
13879 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
13881 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
13882 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
13884 2018-04-25 Joseph Myers <joseph@codesourcery.com>
13886 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
13887 version to GCC 8 branch.
13889 2018-04-24 Joseph Myers <joseph@codesourcery.com>
13891 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
13892 (check_no_hidden): Use type of original function when declaring
13895 * sysdeps/unix/sysv/linux/sys/ptrace.h
13896 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
13897 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
13898 (struct __ptrace_seccomp_metadata): New type.
13899 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13900 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13901 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
13902 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13903 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
13904 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13905 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13906 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13907 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
13908 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13909 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
13910 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13911 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
13912 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13913 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
13914 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13916 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13918 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
13920 * dirent/versionsort.c (versionsort): Likewise.
13921 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
13922 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
13923 * dirent/versionsort64.c (versionsort64): Likewise.
13924 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
13925 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
13926 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
13927 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
13928 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
13929 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
13930 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
13931 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
13932 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
13933 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
13934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
13935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
13936 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
13937 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
13939 2018-04-23 Joseph Myers <joseph@codesourcery.com>
13941 * elf/elf.h (NT_PPC_PKEY): New macro.
13943 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
13946 * localedata/locales/hr_HR: fix thousands_sep and
13949 2018-04-20 Joseph Myers <joseph@codesourcery.com>
13951 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
13952 (XTABS): Define to TAB3.
13954 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13956 * sysdeps/hppa/fpu/libm-test-ulps: Update.
13958 * dirent/scandir-tail-common.c: New file.
13959 * dirent/scandir-tail.c: Use scandir-tail-common.c.
13960 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
13961 * dirent/scandir.c: Use scandir-tail-common.c.
13962 * dirent/scandirat.c: Likewise.
13963 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
13964 * dirent/scandir64.c (scandir64): Always build and alias to scandir
13965 if _DIRENT_MATCHES_DIRENT64 is defined.
13966 * dirent/scandirat64.c (scandirat64): Likewise.
13967 * include/dirent.h (__scandir_tail): Only define iff
13968 _DIRENT_MATCHES_DIRENT64 is not defined.
13969 (__scandir64_tail): Define regardless.
13970 (__scandirat, scandirat64): Remove libc_hidden_proto.
13971 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
13972 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
13973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
13974 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
13975 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13976 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
13977 * sysdeps/unix/sysv/linux/scandir64.c: New file.
13979 2018-04-20 Joseph Myers <joseph@codesourcery.com>
13981 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
13983 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13985 (_dl_aarch64_cap_flags): Add asimdfhm.
13987 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
13989 * sysdeps/nios2/libm-test-ulps: Update.
13991 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13993 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
13994 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
13996 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
13998 (_DIRENT_MATCHES_DIRENT64): Undef
13999 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
14000 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
14001 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
14002 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
14003 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
14004 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
14005 use getdents64 syscalls as base.
14006 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
14007 symbol if required.
14008 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
14009 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
14010 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
14011 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
14012 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
14013 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
14014 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
14015 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
14016 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14017 (__get_clockfreq_via_proc_openprom): Use __getdents64.
14018 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
14020 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14022 * scripts/test_printers_common.py (init_test): Disable lock elision.
14024 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14026 * math/test-tgmath.c (count_double, count_float,
14027 count_ldouble, count_cdouble, count_cfloat,
14028 count_cldouble): Use volatile int.
14030 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
14032 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
14033 (conformtest-xfail-conds): Add i386-gnu.
14034 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
14036 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
14037 ipc_perm.cuid, ipc_perm.cgid): Likewise.
14038 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
14039 msqid_ds.msg_lrpid): Likewise.
14040 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
14042 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
14043 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
14044 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
14045 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
14047 (struct statvfs64): Likewise.
14048 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
14050 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
14051 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
14052 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
14053 instead of wait_queue.
14054 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
14055 instead of vm_area_struct.
14056 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
14057 struct sched_param definition to it.
14058 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14059 * bits/types/struct_sched_param.h: New file.
14060 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
14061 <bits/types/struct_sched_param.h> instead of <sched.h>.
14062 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
14063 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
14064 generic version but include <bits/pthreadtypes.h> to make struct
14065 sigevent's sigev_notify_attributes field a pthread_attr_t*.
14066 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
14068 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
14069 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
14070 [__USE_XOPEN] (OFDEL): New macro.
14071 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
14072 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
14073 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
14075 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
14076 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
14077 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
14079 * sysdeps/i386/sys/ucontext.h: Likewise.
14080 * sysdeps/m68k/sys/ucontext.h: Likewise.
14081 * sysdeps/mips/sys/ucontext.h: Likewise.
14082 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
14083 * sysdeps/mach/hurd/i386/Makefile
14084 (test-xfail-POSIX/fcntl.h/conform): Add.
14085 (test-xfail-POSIX/signal.h/conform): Add.
14086 (test-xfail-POSIX/semaphore.h/conform): Add.
14087 (test-xfail-POSIX/regex.h/conform): Add.
14088 (test-xfail-POSIX/aio.h/conform): Add.
14089 (test-xfail-POSIX/mqueue.h/conform): Add.
14090 (test-xfail-POSIX/sys/types.h/conform): Add.
14091 (test-xfail-UNIX98/fcntl.h/conform): Add.
14092 (test-xfail-UNIX98/netdb.h/conform): Add.
14093 (test-xfail-UNIX98/signal.h/conform): Add.
14094 (test-xfail-UNIX98/semaphore.h/conform): Add.
14095 (test-xfail-UNIX98/regex.h/conform): Add.
14096 (test-xfail-UNIX98/aio.h/conform): Add.
14097 (test-xfail-UNIX98/ftw.h/conform): Add.
14098 (test-xfail-UNIX98/mqueue.h/conform): Add.
14099 (test-xfail-UNIX98/netinet/in.h/conform): Add.
14100 (test-xfail-UNIX98/sys/wait.h/conform): Add.
14101 (test-xfail-UNIX98/sys/sem.h/conform): Add.
14102 (test-xfail-UNIX98/sys/uio.h/conform): Add.
14103 (test-xfail-UNIX98/sys/socket.h/conform): Add.
14104 (test-xfail-UNIX98/sys/types.h/conform): Add.
14105 (test-xfail-UNIX98/stdlib.h/conform): Add.
14106 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
14107 (test-xfail-POSIX2008/fcntl.h/conform): Add.
14108 (test-xfail-POSIX2008/netdb.h/conform): Add.
14109 (test-xfail-POSIX2008/signal.h/conform): Add.
14110 (test-xfail-POSIX2008/semaphore.h/conform): Add.
14111 (test-xfail-POSIX2008/regex.h/conform): Add.
14112 (test-xfail-POSIX2008/aio.h/conform): Add.
14113 (test-xfail-POSIX2008/mqueue.h/conform): Add.
14114 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
14115 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
14116 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
14117 (test-xfail-POSIX2008/sys/types.h/conform): Add.
14118 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
14119 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
14120 (test-xfail-XOPEN2K/netdb.h/conform): Add.
14121 (test-xfail-XOPEN2K/signal.h/conform): Add.
14122 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
14123 (test-xfail-XOPEN2K/regex.h/conform): Add.
14124 (test-xfail-XOPEN2K/aio.h/conform): Add.
14125 (test-xfail-XOPEN2K/ftw.h/conform): Add.
14126 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
14127 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
14128 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
14129 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
14130 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
14131 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
14132 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
14133 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
14134 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
14135 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
14136 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
14137 (test-xfail-XOPEN2K8/signal.h/conform): Add.
14138 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
14139 (test-xfail-XOPEN2K8/regex.h/conform): Add.
14140 (test-xfail-XOPEN2K8/aio.h/conform): Add.
14141 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
14142 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
14143 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
14144 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
14145 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
14146 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
14147 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
14148 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
14149 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
14150 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
14151 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
14153 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
14154 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
14156 2018-04-18 Joseph Myers <joseph@codesourcery.com>
14158 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
14159 --enable-obsolete for powerpc-linux-gnuspe.
14161 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14163 * conform/data/sys/un.h-data: Allow sun_ prefix.
14164 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
14166 * sysdeps/mach/include/mach.h: Likewise.
14167 * sysdeps/mach/include/mach/mig_support.h: Likewise.
14168 * sysdeps/mach/include/mach_error.h: Likewise.
14170 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14172 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
14173 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
14174 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
14175 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
14177 2018-04-16 Andreas Schwab <schwab@suse.de>
14180 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
14182 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
14184 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
14185 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
14187 2018-04-12 DJ Delorie <dj@redhat.com>
14189 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14192 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
14194 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
14195 (struct kernel_sigaction): Use the same definition on 31bit as is used
14198 2018-04-09 Florian Weimer <fweimer@redhat.com>
14201 * resolv/res_send.c (send_dg): Use designated initializers instead
14202 of assignment to zero-initialize other fields of struct mmsghdr.
14204 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14206 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
14207 __READDIR_ALIAS): Undefine after usage.
14208 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
14209 __READDIR_R_ALIAS): Likewise.
14210 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
14211 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
14212 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
14213 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
14214 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
14215 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
14216 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14217 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14218 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
14219 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
14220 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
14221 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
14222 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14223 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
14224 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
14225 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
14226 * sysdeps/unix/sysv/linux/readdir.c: New file.
14227 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
14228 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
14229 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
14231 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
14233 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
14235 * manual/charset.texi (Converting a Character): Fix typo.
14237 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14239 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14241 * sysdeps/arm/libm-test-ulps: Update.
14243 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
14244 as base implementation.
14245 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14246 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14247 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14248 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14249 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14250 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
14251 remove unrequired definitions and update comments.
14252 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
14253 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
14254 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
14255 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
14256 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
14257 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
14258 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
14259 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
14260 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
14261 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
14262 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
14263 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14264 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14265 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
14266 and RESET_SA_RESTORER hooks.
14268 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
14270 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14272 2018-04-05 Florian Weimer <fweimer@redhat.com>
14274 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
14275 integer overflow, memory leak on error, and indeterminate errno
14276 value. Add a null wide character to terminate the result string.
14277 * manual/charset.texi (Converting a Character): Mention embedded
14278 null bytes in the mbrtowc input string. Explain what happens in
14279 the -2 result case. Do not claim that mbrtowc is simple or
14280 obvious to use. Adjust the description of the code example. Use
14281 @code, not @var, for concrete variables.
14283 2018-04-05 Florian Weimer <fweimer@redhat.com>
14285 * manual/examples/mbstouwcs.c: New file.
14286 * manual/charset.texi (Converting a Character): Include it.
14288 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14290 * include/dirent.h (dirfd): Add hidden proto.
14291 * dirent/dirfd.c (dirfd): Add hidden def.
14292 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
14293 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
14295 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14297 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
14298 sin, cos and sincos to 1 ULP.
14300 2018-04-04 Maciej W. Rozycki <macro@mips.com>
14303 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
14305 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
14306 * elf/tst-absolute-sym.c: New file.
14307 * elf/tst-absolute-sym-lib.c: New file.
14308 * elf/tst-absolute-sym-lib.lds: New file.
14309 * elf/Makefile (tests): Add `tst-absolute-sym'.
14310 (modules-names): Add `tst-absolute-sym-lib'.
14311 (LDLIBS-tst-absolute-sym-lib.so): New variable.
14312 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
14313 ($(objpfx)tst-absolute-sym): New dependency.
14316 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
14318 (SYMBOL_ADDRESS): New macro.
14319 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
14320 SYMBOL_ADDRESS for symbol address calculation.
14321 * elf/dl-runtime.c (_dl_fixup): Likewise.
14322 (_dl_profile_fixup): Likewise.
14323 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
14324 * elf/rtld.c (dl_main): Likewise.
14325 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
14326 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
14327 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
14328 (elf_machine_rela): Likewise.
14329 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
14330 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
14331 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14332 (elf_machine_rela): Likewise.
14333 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14334 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
14335 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
14336 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
14338 (elf_machine_reloc): Likewise.
14339 (elf_machine_got_rel): Likewise.
14340 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
14341 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
14342 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14344 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14346 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
14347 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14349 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14351 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14352 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14354 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14356 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
14357 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14359 2018-04-04 Zack Weinberg <zackw@panix.com>
14361 * sysdeps/generic/internal-signals.h: Include signal.h,
14362 sigsetops.h, and stdbool.h.
14363 (__libc_signal_block_all): Actually block all signals.
14364 (__libc_signal_block_app): Likewise.
14365 (__libc_signal_restore_set): Actually restore the signal mask.
14367 2018-04-04 Florian Weimer <fweimer@redhat.com>
14369 inet: Actually build and run tst-deadline.
14370 * inet/Makefile (tests-internal): Add tst-deadline and do not
14371 overwrite the variable.
14372 (tests-static-internal): Remove variable.
14374 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
14377 * bits/uio-ext.h (RWF_APPEND): New.
14378 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
14379 * manual/llio.texi: Document RWF_APPEND.
14380 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
14381 (RWF_SUPPORTED): Add RWF_APPEND.
14383 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14386 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
14387 check for internal nptl signals.
14388 * nptl/sigaction.c (__sigaction): Likewise.
14389 * signal/sigaddset.c (sigaddset): Likewise.
14390 * signal/sigdelset.c (sigdelset): Likewise.
14391 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
14392 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
14394 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
14395 to filter out internal nptl signals.
14396 * signal/tst-sigset.c (do_test): Check ech signal indidually and
14397 also check realtime signals using standard macros.
14398 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
14399 __is_internal_signal, __libc_signal_block_all,
14400 __libc_signal_block_app, __libc_signal_restore_set): New functions.
14401 * sysdeps/nptl/sigfillset.c: Remove file.
14402 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
14403 Change return to bool.
14404 (__clear_internal_signals): Remove SIGTIMER clean since it is
14405 equal to SIGCANEL on Linux.
14406 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
14407 signal set was constructed using standard functions.
14409 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14411 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
14412 ifname is too long.
14413 * hurd/hurdsig.c (interrupted_reply_port_location): Use
14414 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
14415 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
14417 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
14418 * signal/sigaddset.c: Include <sigsetopts.h>.
14419 * signal/sigdelset.c: Likewise.
14421 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14423 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
14425 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
14426 logic as sin and cos.
14428 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14430 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
14431 inputs. Return correct sign.
14432 (do_sincos): Remove small input check before do_sin, let do_sin set
14437 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14439 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
14440 (do_cos_slow): Likewise.
14441 (do_sin_slow): Likewise.
14442 (reduce_and_compute): Likewise.
14447 (sloww1): Likewise.
14448 (sloww2): Likewise.
14450 (bslow1): Likewise.
14451 (bslow2): Likewise.
14452 (cslow2): Likewise.
14454 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14456 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
14457 (do_cos): Remove corp parameter and calculations.
14458 (do_sin): Likewise.
14459 (do_sincos): Remove cor variable.
14460 (__sin): Use do_sincos for huge inputs.
14462 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
14463 (reduce_and_compute_sincos): Remove unused function.
14465 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14467 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
14468 reduce_sincos, improve accuracy to 136 bits.
14469 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
14470 (__sin): Use improved reduction and simplified do_sincos calculation.
14472 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
14474 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14476 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
14477 (do_sincos_2): Likewise.
14478 (__sin): Remove middle range reduction case.
14480 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
14483 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14485 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
14486 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
14489 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
14491 2018-04-03 Joseph Myers <joseph@codesourcery.com>
14493 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14496 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14498 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
14499 Remove definitions.
14500 (opendir_oflags): Use O_DIRECTORY regardless.
14501 (__opendir, __opendirat): Remove need_isdir_precheck usage.
14502 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
14504 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14506 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
14507 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
14509 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
14510 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
14511 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
14512 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
14513 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
14514 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
14516 * htl/Makefile: Bump licence to LGPL 2.1+.
14517 * htl/alloca_cutoff.c: Likewise.
14518 * htl/cthreads-compat.c: Likewise.
14519 * htl/lockfile.c: Likewise.
14520 * htl/pt-alloc.c: Likewise.
14521 * htl/pt-cancel.c: Likewise.
14522 * htl/pt-cleanup.c: Likewise.
14523 * htl/pt-create.c: Likewise.
14524 * htl/pt-dealloc.c: Likewise.
14525 * htl/pt-detach.c: Likewise.
14526 * htl/pt-exit.c: Likewise.
14527 * htl/pt-getattr.c: Likewise.
14528 * htl/pt-initialize.c: Likewise.
14529 * htl/pt-internal.h: Likewise.
14530 * htl/pt-join.c: Likewise.
14531 * htl/pt-self.c: Likewise.
14532 * htl/pt-setcancelstate.c: Likewise.
14533 * htl/pt-setcanceltype.c: Likewise.
14534 * htl/pt-sigmask.c: Likewise.
14535 * htl/pt-spin-inlines.c: Likewise.
14536 * htl/pt-testcancel.c: Likewise.
14537 * htl/pt-yield.c: Likewise.
14538 * htl/tests/test-1.c: Likewise.
14539 * htl/tests/test-10.c: Likewise.
14540 * htl/tests/test-11.c: Likewise.
14541 * htl/tests/test-12.c: Likewise.
14542 * htl/tests/test-13.c: Likewise.
14543 * htl/tests/test-14.c: Likewise.
14544 * htl/tests/test-15.c: Likewise.
14545 * htl/tests/test-16.c: Likewise.
14546 * htl/tests/test-17.c: Likewise.
14547 * htl/tests/test-2.c: Likewise.
14548 * htl/tests/test-3.c: Likewise.
14549 * htl/tests/test-4.c: Likewise.
14550 * htl/tests/test-5.c: Likewise.
14551 * htl/tests/test-6.c: Likewise.
14552 * htl/tests/test-7.c: Likewise.
14553 * htl/tests/test-8.c: Likewise.
14554 * htl/tests/test-9.c: Likewise.
14555 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
14556 * sysdeps/htl/bits/cancelation.h: Likewise.
14557 * sysdeps/htl/bits/pthread-np.h: Likewise.
14558 * sysdeps/htl/bits/pthread.h: Likewise.
14559 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
14560 * sysdeps/htl/bits/semaphore.h: Likewise.
14561 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
14562 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
14563 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
14564 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
14565 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
14566 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
14567 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
14568 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
14569 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
14570 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
14571 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
14572 * sysdeps/htl/old_pt-atfork.c: Likewise.
14573 * sysdeps/htl/pt-atfork.c: Likewise.
14574 * sysdeps/htl/pt-attr-destroy.c: Likewise.
14575 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
14576 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
14577 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
14578 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
14579 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
14580 * sysdeps/htl/pt-attr-getscope.c: Likewise.
14581 * sysdeps/htl/pt-attr-getstack.c: Likewise.
14582 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
14583 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
14584 * sysdeps/htl/pt-attr-init.c: Likewise.
14585 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
14586 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
14587 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
14588 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
14589 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
14590 * sysdeps/htl/pt-attr-setscope.c: Likewise.
14591 * sysdeps/htl/pt-attr-setstack.c: Likewise.
14592 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
14593 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
14594 * sysdeps/htl/pt-attr.c: Likewise.
14595 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
14596 * sysdeps/htl/pt-barrier-init.c: Likewise.
14597 * sysdeps/htl/pt-barrier-wait.c: Likewise.
14598 * sysdeps/htl/pt-barrier.c: Likewise.
14599 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
14600 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
14601 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
14602 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
14603 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
14604 * sysdeps/htl/pt-cond-destroy.c: Likewise.
14605 * sysdeps/htl/pt-cond-init.c: Likewise.
14606 * sysdeps/htl/pt-cond-signal.c: Likewise.
14607 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
14608 * sysdeps/htl/pt-cond-wait.c: Likewise.
14609 * sysdeps/htl/pt-cond.c: Likewise.
14610 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
14611 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
14612 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
14613 * sysdeps/htl/pt-condattr-init.c: Likewise.
14614 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
14615 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
14616 * sysdeps/htl/pt-destroy-specific.c: Likewise.
14617 * sysdeps/htl/pt-equal.c: Likewise.
14618 * sysdeps/htl/pt-getconcurrency.c: Likewise.
14619 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
14620 * sysdeps/htl/pt-getschedparam.c: Likewise.
14621 * sysdeps/htl/pt-getspecific.c: Likewise.
14622 * sysdeps/htl/pt-init-specific.c: Likewise.
14623 * sysdeps/htl/pt-key-create.c: Likewise.
14624 * sysdeps/htl/pt-key-delete.c: Likewise.
14625 * sysdeps/htl/pt-key.h: Likewise.
14626 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
14627 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
14628 * sysdeps/htl/pt-mutex-init.c: Likewise.
14629 * sysdeps/htl/pt-mutex-lock.c: Likewise.
14630 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
14631 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
14632 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
14633 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
14634 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
14635 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
14636 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
14637 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
14638 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
14639 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
14640 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
14641 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
14642 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
14643 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
14644 * sysdeps/htl/pt-mutexattr.c: Likewise.
14645 * sysdeps/htl/pt-once.c: Likewise.
14646 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
14647 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
14648 * sysdeps/htl/pt-rwlock-init.c: Likewise.
14649 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
14650 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
14651 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
14652 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
14653 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
14654 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
14655 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
14656 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
14657 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
14658 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
14659 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
14660 * sysdeps/htl/pt-setconcurrency.c: Likewise.
14661 * sysdeps/htl/pt-setschedparam.c: Likewise.
14662 * sysdeps/htl/pt-setschedprio.c: Likewise.
14663 * sysdeps/htl/pt-setspecific.c: Likewise.
14664 * sysdeps/htl/pt-spin.c: Likewise.
14665 * sysdeps/htl/pt-startup.c: Likewise.
14666 * sysdeps/htl/pthread.h: Likewise.
14667 * sysdeps/htl/sem-close.c: Likewise.
14668 * sysdeps/htl/sem-destroy.c: Likewise.
14669 * sysdeps/htl/sem-getvalue.c: Likewise.
14670 * sysdeps/htl/sem-init.c: Likewise.
14671 * sysdeps/htl/sem-open.c: Likewise.
14672 * sysdeps/htl/sem-post.c: Likewise.
14673 * sysdeps/htl/sem-timedwait.c: Likewise.
14674 * sysdeps/htl/sem-trywait.c: Likewise.
14675 * sysdeps/htl/sem-unlink.c: Likewise.
14676 * sysdeps/htl/sem-wait.c: Likewise.
14677 * sysdeps/hurd/htl/pt-kill.c: Likewise.
14678 * sysdeps/i386/htl/pt-machdep.h: Likewise.
14679 * sysdeps/mach/htl/pt-block.c: Likewise.
14680 * sysdeps/mach/htl/pt-spin.c: Likewise.
14681 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
14682 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
14683 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
14684 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
14685 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
14686 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
14687 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
14688 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
14689 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
14690 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
14691 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
14692 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
14693 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
14694 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
14695 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
14696 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
14697 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
14698 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
14699 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
14700 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
14701 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
14702 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
14703 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
14704 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
14705 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
14706 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
14707 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
14708 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
14709 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
14710 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
14711 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
14712 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
14713 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
14714 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
14715 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
14716 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
14717 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
14718 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
14719 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
14720 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
14721 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
14722 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
14723 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
14725 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
14726 * README: Remove the mention of out-of-tree patches needed for
14729 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
14730 (UTIME_NOW, UTIME_OMIT): Define macros.
14732 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
14733 instead of pthread_detach.
14734 (__cthread_fork): Call __pthread_create instead of pthread_create.
14735 (__cthread_keycreate): Call __pthread_key_create instead of
14736 pthread_key_create.
14737 (__cthread_getspecific): Call __pthread_getspecific instead of
14738 pthread_getspecific.
14739 (__cthread_setspecific): Call __pthread_setspecific instead of
14740 pthread_setspecific.
14741 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
14742 __pthread_mutex_unlock instead of pthread_mutex_lock and
14743 pthread_mutex_unlock.
14744 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
14745 ___pthread_get_cleanup_stack.
14746 (__pthread_get_cleanup_stack): New strong alias.
14747 * htl/pt-create.c: Include <pthreadP.h>.
14748 (entry_point): Call __pthread_exit instead of pthread_exit.
14749 (pthread_create): Rename to __pthread_create.
14750 (pthread_create): New strong alias.
14751 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
14752 (pthread_detach): New strong alias.
14753 (__pthread_detach): Call __pthread_cond_broadcast instead of
14754 pthread_cond_broadcast.
14755 * htl/pt-exit.c: Include <pthreadP.h>.
14756 (__pthread_exit): Call __pthread_setcancelstate and
14757 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
14758 __pthread_get_cleanup_stack.
14759 * htl/pt-testcancel.c: Include <pthreadP.h>.
14760 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
14761 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
14762 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
14763 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
14764 pthread_attr_getstacksize.
14765 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
14766 Rename to __pthread_attr_getstackaddr.
14767 (pthread_attr_getstackaddr): New strong alias.
14768 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
14769 Rename to __pthread_attr_getstacksize.
14770 (pthread_attr_getstacksize): New strong alias.
14771 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
14772 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
14773 (pthread_attr_setstack): New strong alias.
14774 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
14775 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
14776 pthread_attr_getstacksize, pthread_attr_setstacksize and
14777 pthread_attr_setstackaddr.
14778 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
14779 Rename to __pthread_attr_setstackaddr.
14780 (pthread_attr_setstackaddr): New strong alias.
14781 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
14782 Rename to __pthread_attr_setstacksize.
14783 (pthread_attr_setstacksize): New strong alias.
14784 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
14785 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
14787 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
14788 (__pthread_key_create): New hidden def.
14789 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
14790 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
14791 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
14792 __pthread_exit, __pthread_key_create, __pthread_getspecific,
14793 __pthread_setspecific, __pthread_setcancelstate,
14794 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
14795 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
14796 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
14798 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
14799 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
14800 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
14801 (pthread_attr_setstackaddr): New strong alias.
14802 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
14803 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
14804 (pthread_attr_setstacksize): New strong alias.
14805 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
14806 (call_exit): Call __pthread_exit instead of pthread_exit.
14807 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
14808 (_pthread_mutex_init): New hidden definition.
14809 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
14810 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
14811 instead of pthread_attr_init and pthread_attr_setstack.
14813 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
14814 __vm_deallocate instead of vm_allocate and vm_deallocate.
14815 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
14817 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
14819 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
14821 * hurd/siginfo.c: Include <libioP.h>.
14822 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
14823 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
14825 * mach/devstream.c: Include <libioP.h>.
14826 (dealloc_ref): Call __mach_port_deallocate instead of
14827 mach_port_deallocate.
14828 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
14829 Call __mach_port_deallocate instead of mach_port_deallocate.
14830 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
14832 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
14834 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
14835 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
14836 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
14838 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
14840 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
14841 instead of sysconf.
14842 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
14843 __clock_gettime instead of clock_gettime.
14844 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
14845 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
14846 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
14847 * sysdeps/unix/bsd/stty.c (stty): Likewise.
14848 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
14850 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
14851 __clock_gettime and __nanosleep instead of clock_gettime and
14853 * hurd/catch-signal.c (hurd_catch_signal): Rename to
14854 __hurd_catch_signal.
14855 (hurd_catch_signal): New strong alias.
14856 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
14857 __hurd_catch_signal instead of hurd_catch_signal.
14858 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
14859 * hurd/hurdexec.c (_hurd_init): Add hidden def.
14860 * hurd/hurdinit.c (_hurd_init): Add hidden def.
14861 * hurd/hurdsig.c: Include <mach/mig_support.h>.
14862 (_hurd_thread_sigstate): Add hidden def.
14863 (_hurd_internal_post_signal): Use __mutex_unlock instead of
14865 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
14866 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
14867 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
14868 __hurd_file_name_path_lookup.
14869 (hurd_file_name_path_lookup): New strong alias.
14870 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
14871 hurd_file_name_path_lookup.
14872 * mach/errstring.c (mach_error_type): Add hidden def.
14873 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
14874 * mach/mutex-init.c (__mutex_init): Add hidden def.
14875 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
14876 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
14877 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
14878 * sysdeps/mach/hurd/getcwd.c
14879 (_hurd_canonicalize_directory_name_internal): Rename to
14880 __hurd_canonicalize_directory_name_internal.
14881 (_hurd_canonicalize_directory_name_internal): New strong alias.
14882 (__canonicalize_directory_name_internal, __getcwd): Call
14883 __hurd_canonicalize_directory_name_internal instead of
14884 _hurd_canonicalize_directory_name_internal.
14885 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
14886 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
14888 * sysdeps/hurd/include/hurd.h: New file.
14889 * sysdeps/hurd/include/hurd/fd.h: New file.
14890 * sysdeps/hurd/include/hurd/signal.h: New file.
14891 * sysdeps/mach/include/lock-intern.h: New file.
14892 * sysdeps/mach/include/mach.h: New file.
14893 * sysdeps/mach/include/mach/mig_support.h: New file.
14894 * sysdeps/mach/include/mach_error.h: New file.
14895 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
14897 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
14898 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
14899 _HEADER_H_HIDDEN_DEF macro.
14900 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
14901 _hurd_fd_error_signal): Add hidden prototype.
14902 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
14904 * libio/iolibio.h (_IO_puts): New hidden prototype.
14905 * libio/ioputs.c (_IO_puts): New hidden def.
14906 * sysdeps/mach/hurd/localplt.data: New file.
14908 2018-04-02 Agustina Arzille <avarzille@riseup.net>
14909 Amos Jeffries <squid3@treenet.co.nz>
14910 David Michael <fedora.dm0@gmail.com>
14911 Marco Gerards <marco@gnu.org>
14912 Marcus Brinkmann <marcus@gnu.org>
14913 Neal H. Walfield <neal@gnu.org>
14914 Pino Toscano <toscano.pino@tiscali.it>
14915 Richard Braun <rbraun@sceen.net>
14916 Roland McGrath <roland@gnu.org>
14917 Samuel Thibault <samuel.thibault@ens-lyon.org>
14918 Thomas DiModica <ricinwich@yahoo.com>
14919 Thomas Schwinge <tschwinge@gnu.org>
14921 * htl: New directory.
14922 * sysdeps/htl: New directory.
14923 * sysdeps/hurd/htl: New directory.
14924 * sysdeps/i386/htl: New directory.
14925 * sysdeps/mach/htl: New directory.
14926 * sysdeps/mach/hurd/htl: New directory.
14927 * sysdeps/mach/hurd/i386/htl: New directory.
14928 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
14929 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
14930 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
14932 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14934 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
14935 signals in thread created for runing timers.
14937 2018-04-01 Florian Weimer <fweimer@redhat.com>
14939 * support/support_format_addrinfo.c (support_format_addrinfo):
14940 Include unknown error number in formatted result.
14942 2018-03-29 Florian Weimer <fweimer@redhat.com>
14944 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
14947 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14949 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
14950 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
14951 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14952 (__ASSUME_CLONE_BACKWARDS): Define.
14954 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
14957 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
14958 early when linux sentinel value is set.
14960 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14962 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
14964 2018-03-27 Andreas Schwab <schwab@suse.de>
14967 * resolv/res_send.c (__res_context_send): Return ENOMEM if
14968 allocation of private copy of nsaddr_list fails.
14970 2018-03-26 Joseph Myers <joseph@codesourcery.com>
14973 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
14974 * sysdeps/unix/sysv/linux/umount.c: ... here.
14975 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
14976 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
14977 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
14978 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
14979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
14980 * sysdeps/unix/sysv/linux/umount.S: Likewise.
14981 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
14983 2018-03-26 Andreas Schwab <schwab@suse.de>
14985 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
14986 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
14987 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
14988 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
14989 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
14990 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
14991 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
14992 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
14993 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
14994 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
14995 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
14996 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
14997 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
14998 (R_RISCV_NUM): Define.
15000 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15002 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
15003 TLS declaration of errno.
15004 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
15006 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
15007 (ARCH_SETUP_TLS): Likewise.
15008 * sysdeps/mach/hurd/libc-start.h: New file copied from
15009 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
15010 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
15011 instead of __libc_setup_tls.
15012 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
15013 __libc_setup_tls before initializing libpthread and running _hurd_init
15014 which starts the signal thread.
15015 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
15017 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15019 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
15022 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
15023 after it is defined.
15025 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
15026 Max Horn <max@quendi.de>
15030 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
15032 * string/test-memmove.c (do_test2): New testcase.
15034 2018-03-22 Joseph Myers <joseph@codesourcery.com>
15036 * sysdeps/generic/frame.h: Remove file.
15037 * sysdeps/arm/frame.h: Likewise.
15038 * sysdeps/hppa/frame.h: Likewise.
15039 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
15041 (GET_FRAME): Likewise.
15042 (GET_STACK): Likewise.
15043 (CALL_SIGHANDLER): Likewise.
15044 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
15046 (GET_FRAME): Likewise.
15047 (GET_STACK): Likewise.
15048 (CALL_SIGHANDLER): Likewise.
15049 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
15050 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15051 (GET_FRAME): Likewise.
15052 (GET_STACK): Likewise.
15053 (CALL_SIGHANDLER): Likewise.
15054 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
15055 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15056 (GET_FRAME): Likewise.
15057 (GET_STACK): Likewise.
15058 (ADVANCE_STACK_FRAME): Likewise.
15059 (CALL_SIGHANDLER): Likewise.
15060 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
15061 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15062 (GET_FRAME): Likewise.
15063 (GET_STACK): Likewise.
15064 (CALL_SIGHANDLER): Likewise.
15065 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
15066 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15067 (GET_FRAME): Likewise.
15068 (GET_STACK): Likewise.
15069 (CALL_SIGHANDLER): Likewise.
15070 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
15071 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15072 (GET_FRAME): Likewise.
15073 (GET_STACK): Likewise.
15074 (CALL_SIGHANDLER): Likewise.
15075 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
15076 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15077 (GET_FRAME): Likewise.
15078 (GET_STACK): Likewise.
15079 (CALL_SIGHANDLER): Likewise.
15080 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
15081 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15082 (GET_FRAME): Likewise.
15083 (GET_STACK): Likewise.
15084 (CALL_SIGHANDLER): Likewise.
15085 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
15086 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15087 (GET_FRAME): Likewise.
15088 (GET_STACK): Likewise.
15089 (CALL_SIGHANDLER): Likewise.
15090 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
15091 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15092 (GET_FRAME): Likewise.
15093 (GET_STACK): Likewise.
15094 (CALL_SIGHANDLER): Likewise.
15095 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
15096 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15097 (GET_FRAME): Likewise.
15098 (GET_STACK): Likewise.
15099 (CALL_SIGHANDLER): Likewise.
15100 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
15101 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15102 (GET_FRAME): Likewise.
15103 (GET_STACK): Likewise.
15104 (CALL_SIGHANDLER): Likewise.
15105 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
15106 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15107 (FIRST_FRAME_POINTER): Likewise.
15108 (ADVANCE_STACK_FRAME): Likewise.
15109 (GET_STACK): Likewise.
15110 (GET_FRAME): Likewise.
15111 (CALL_SIGHANDLER): Likewise.
15112 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
15113 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15114 (ADVANCE_STACK_FRAME): Likewise.
15115 (GET_STACK): Likewise.
15116 (GET_FRAME): Likewise.
15117 (CALL_SIGHANDLER): Likewise.
15118 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
15119 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15120 (GET_FRAME): Likewise.
15121 (GET_STACK): Likewise.
15122 (CALL_SIGHANDLER): Likewise.
15123 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
15124 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15125 (GET_FRAME): Likewise.
15126 (GET_STACK): Likewise.
15127 (CALL_SIGHANDLER): Likewise.
15129 2018-03-21 Joseph Myers <joseph@codesourcery.com>
15131 * sysdeps/x86_64/backtrace.c: Move to ....
15132 * debug/backtrace.c: ... here.
15133 * sysdeps/aarch64/backtrace.c: Remove file.
15134 * sysdeps/alpha/backtrace.c: Likewise.
15135 * sysdeps/hppa/backtrace.c: Likewise.
15136 * sysdeps/ia64/backtrace.c: Likewise.
15137 * sysdeps/mips/backtrace.c: Likewise.
15138 * sysdeps/nios2/backtrace.c: Likewise.
15139 * sysdeps/riscv/backtrace.c: Likewise.
15140 * sysdeps/sh/backtrace.c: Likewise.
15141 * sysdeps/tile/backtrace.c: Likewise.
15143 2018-03-20 Joseph Myers <joseph@codesourcery.com>
15146 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
15149 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
15152 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
15153 possibly overflowing computations.
15155 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
15157 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
15158 values from Linux-specific section now that it is in the GNU section.
15159 * sysdeps/gnu/errlist.c: Regenerate.
15161 2018-03-20 Joseph Myers <joseph@codesourcery.com>
15163 * math/Makefile (libm-narrow-fns): Add sub.
15164 (libm-test-funcs-narrow): Likewise.
15165 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
15166 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
15167 * math/gen-auto-libm-tests.c (test_functions): Add sub.
15168 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
15169 (NARROW_SUB_ROUND_TO_ODD): Likewise.
15170 (NARROW_SUB_TRIVIAL): Likewise.
15171 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
15173 (__dsubl): Likewise.
15174 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
15176 (CFLAGS-nldbl-dsub.c): New variable.
15177 (CFLAGS-nldbl-fsub.c): Likewise.
15178 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15180 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
15182 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
15183 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
15184 * math/auto-libm-test-in: Add tests of sub.
15185 * math/auto-libm-test-out-narrow-sub: New generated file.
15186 * math/libm-test-narrow-sub.inc: New file.
15187 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
15188 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
15189 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
15190 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
15191 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
15192 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
15193 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
15194 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
15195 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
15196 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
15197 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
15198 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
15199 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
15200 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
15201 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
15202 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
15203 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
15204 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
15205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15206 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15207 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15208 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15209 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15210 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15211 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15212 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15213 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15214 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15215 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15216 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15217 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15218 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15223 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15224 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15225 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15226 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15227 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15228 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15229 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
15230 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
15231 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15232 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15234 2018-03-19 Joseph Myers <joseph@codesourcery.com>
15237 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
15239 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
15241 * benchtests/bench-timing.h (attribute_hidden): Undefine.
15243 2018-03-18 Richard Braun <rbraun@sceen.net>
15245 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
15248 2018-03-18 Agustina Arzille <avarzille@riseup.net>
15250 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
15251 (__libc_cleanup_fct): Define function.
15252 (__libc_cleanup_region_start, __libc_cleanup_region_end,
15253 __libc_cleanup_end): Rewrite implementation using
15254 __attribute__ ((__cleanup__)).
15255 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
15256 * hurd/Makefile (routines): Add hurdlock.
15257 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
15259 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
15260 * hurd/hurdpid.c: Include <lowlevellock.h>
15261 (_S_msg_proc_newids): Use lll_wait to synchronize.
15262 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
15263 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
15264 * mach/Makefile (lock-headers): Remove machine-lock.h.
15265 * mach/lock-intern.h: Include <lowlevellock.h> instead of
15267 (__spin_lock_t): New type.
15268 (__SPIN_LOCK_INITIALIZER): New macro.
15269 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
15270 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
15271 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
15272 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
15273 (__mutex_init): Initialize with lll.
15274 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
15275 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
15277 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15278 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
15279 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
15280 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
15281 (__setpgid): Use lll for synchronization.
15282 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
15283 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
15284 instead of <cthreads.h>.
15285 (_IO_lock_inexpensive): New macro
15286 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
15287 (__libc_lock_self0): New declaration.
15288 (__libc_lock_owner_self): New macro.
15289 (__libc_key_t): Remove type.
15290 (_LIBC_LOCK_INITIALIZER): New macro.
15291 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
15292 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
15293 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
15294 __libc_lock_define_initialized_recursive,
15295 __rtld_lock_define_initialized_recursive,
15296 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
15297 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
15298 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
15299 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
15300 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
15301 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
15302 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
15304 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
15305 * hurd/hurdlock.c: New file.
15306 * hurd/hurdlock.h: New file.
15307 * mach/lowlevellock.h: New file
15309 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15311 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
15312 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
15313 when opening a symlink with O_NOFOLLOW.
15314 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
15315 path when flags contains O_NOFOLLOW.
15316 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
15317 if flags contains O_DIRECTORY and the result is a directory.
15318 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
15319 oneself when the pointer given in D is nul (as set by ext2fs).
15320 * sysdeps/mach/hurd/mlockall.c: New file.
15321 * sysdeps/mach/hurd/munlockall.c: New file.
15323 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15325 * hurd/hurdsig.c: Include <pthread.h>.
15326 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
15327 get the signal thread stack layout.
15328 * hurd/Makefile (headers): Remove threadvar.h.
15329 (inline-headers): Remove threadvar.h.
15330 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
15331 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
15332 __hurd_threadvar_max, __hurd_errno_location.
15333 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
15334 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
15335 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
15336 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
15337 unless TLS is not initialized yet, in which case we do not need a
15338 critical section yet anyway.
15339 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
15341 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
15343 (__hurd_threadvar_index): Remove enum.
15344 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
15345 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
15347 (__hurd_reply_port0): New variable declaration.
15348 (__hurd_local_reply_port): New macro.
15349 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
15350 (interrupted_reply_port_location): Add thread_t parameter. Use it
15351 with THREAD_TCB to access thread-local variables.
15352 (_hurdsig_abort_rpcs): Pass ss->thread to
15353 interrupted_reply_port_location.
15354 (_hurd_internal_post_signal): Likewise.
15355 (_hurdsig_init): Use presence of cthread_fork instead of
15356 __hurd_threadvar_stack_mask to start signal thread by hand.
15357 Remove signal thread threadvar initialization.
15358 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
15359 * hurd/sigunwind.c: Include <hurd/threadvar.h>
15360 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
15362 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
15364 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
15365 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
15366 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
15367 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
15368 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
15369 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
15370 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
15372 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
15373 <hurd/threadvar.h>.
15374 [IS_IN(rtld)] (rtld_errno): New variable.
15375 [IS_IN(rtld)] (__errno_location): New weak function.
15376 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
15377 * sysdeps/mach/hurd/errno.c: Remove file.
15378 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
15379 (__fork): Remove THREADVAR_SPACE macro and its use.
15380 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
15382 (init): Do not initialize threadvar.
15383 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
15385 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
15386 __hurd_local_reply_port instead of threadvar.
15387 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
15388 _hurd_sigstate fields.
15389 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
15390 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
15391 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
15392 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
15393 instead of threadvar.
15394 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
15395 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
15396 (use_threadvar, global_reply_port): Remove variables.
15397 (__hurd_reply_port0): New variable.
15398 (__mig_get_reply_port): Use __hurd_local_reply_port and
15399 __hurd_reply_port0 instead of threadvar.
15400 (__mig_dealloc_reply_port): Likewise.
15401 (__mig_init): Do not initialize threadvar.
15402 * sysdeps/mach/hurd/profil.c: Fix comment.
15403 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
15404 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
15405 cthread_keycreate, cthread_getspecific, cthread_setspecific to
15406 __cthread_fork, __cthread_detach, __pthread_getattr_np,
15407 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
15408 __cthread_setspecific.
15409 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
15410 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
15411 __cthread_t instead of cthread_fork, cthread_detach,
15412 pthread_getattr_np, pthread_attr_getstack.
15413 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
15414 __cthread_keycreate.
15415 (cthread_getspecific): Rename to __cthread_getspecific.
15416 (cthread_setspecific): Rename to __cthread_setspecific.
15417 (__libc_getspecific): Use __cthread_getspecific instead of
15418 cthread_getspecific.
15419 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
15420 __cthread_keycreate instead of cthread_keycreate.
15421 (__libc_setspecific): Use __cthread_setspecific instead of
15422 cthread_setspecific.
15423 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
15425 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
15426 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
15427 testing whether it is defined.
15429 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15431 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
15433 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
15434 * sysdeps/mach/i386/thread_state.h
15435 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
15437 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
15439 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
15441 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
15442 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
15444 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
15446 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
15447 descriptor instead of creating a new one.
15448 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
15450 * mach/setup-thread.c: Include <ldsodefs.h>.
15451 (__mach_setup_thread): Call _dl_allocate_tls, pass
15452 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
15453 MACHINE_THREAD_STATE_FLAVOR, before getting
15454 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
15455 MACHINE_THREAD_STATE_FLAVOR with the result.
15456 * hurd/hurdfault.c (_hurdsig_fault_init): Call
15457 MACHINE_THREAD_STATE_FIX_NEW.
15458 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
15459 too. Add original thread parameter.
15461 2018-03-16 Joseph Myers <joseph@codesourcery.com>
15463 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
15464 Remove inline function.
15466 * sysdeps/i386/fpu/libm-test-ulps: Update.
15467 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
15469 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
15471 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
15474 2018-03-15 Joseph Myers <joseph@codesourcery.com>
15476 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
15477 (__sincos_code): Remove define and undefine.
15478 [__FAST_MATH__] (__sincos): Remove inline function.
15479 [__FAST_MATH__] (__sincosf): Remove inline function.
15480 [__FAST_MATH__] (__sincosl): Remove inline function.
15481 (__atan2l): Remove inline functions.
15482 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
15483 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
15485 (floor): Remove inline function.
15487 [__FAST_MATH__] (__ldexp_code): Remove macro.
15488 [__FAST_MATH__] (ldexp): Remove inline function.
15489 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
15490 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
15491 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
15492 [__USE_ISOC99] (__lrint_code): Remove macro.
15493 [__USE_ISOC99] (__llrint_code): Likewise.
15494 [__USE_ISOC99] (lrintf): Remove inline function.
15495 [__USE_ISOC99] (lrint): Likewise.
15496 [__USE_ISOC99] (lrintl): Likewise.
15497 [__USE_ISOC99] (llrint): Likewise.
15498 [__USE_ISOC99] (llrintf): Likewise.
15499 [__USE_ISOC99] (llrintl): Likewise.
15501 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15503 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
15504 (__ieee754_sqrtf): Remove.
15505 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
15506 (__ieee754_sqrtf): Remove.
15507 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
15508 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
15509 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
15510 (__ieee754_sqrtf): Remove.
15511 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
15512 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
15515 (__ieee754_sqrt): Remove.
15516 (__ieee754_sqrtf): Remove.
15517 (__ieee754_sqrtl): Remove.
15518 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
15519 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
15520 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
15521 (__ieee754_sqrtf): Remove.
15522 (__ieee754_sqrtl): Remove.
15524 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15526 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
15527 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
15528 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15529 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
15530 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
15531 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15532 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15533 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15535 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
15536 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
15537 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
15538 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
15539 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
15540 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
15541 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
15542 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
15543 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
15544 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
15545 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
15546 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
15547 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
15548 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
15549 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
15550 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15551 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15552 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
15553 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
15554 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
15555 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15556 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15557 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
15558 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
15559 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
15560 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
15561 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15562 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15563 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
15564 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
15565 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
15566 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
15567 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
15568 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
15569 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
15570 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15571 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
15572 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
15573 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
15574 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
15576 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15578 * include/math.h (sqrt): Declare with asm redirect.
15581 (sqrtf128): Likewise.
15582 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
15583 nonlib and libnldbl with -fmath-errno.
15584 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
15585 * math/w_sqrt_template.c: Likewise.
15586 * math/w_sqrtf_compat.c: Likewise.
15587 * math/w_sqrtl_compat.c: Likewise.
15588 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
15589 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
15590 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
15593 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15595 * benchtests/Makefile: Define _ISOMAC.
15596 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
15597 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
15598 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
15599 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
15600 * benchtests/bench-timing.h: Define attribute_hidden.
15602 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
15604 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
15607 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15610 * localedata/locales/cs_CZ (mon): Rename to...
15612 (mon): Import from CLDR (genitive case).
15614 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15617 * localedata/locales/el_CY (abmon): Rename to...
15618 (ab_alt_mon): This.
15619 (abmon): Import from CLDR (abbreviated genitive case).
15620 * localedata/locales/el_GR (abmon): Rename to...
15621 (ab_alt_mon): This.
15622 (abmon): Import from CLDR (abbreviated genitive case).
15624 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15627 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
15629 2018-03-15 Robert Buj <robert.buj@gmail.com>
15632 * localedata/locales/ca_ES (abmon): Rename to...
15633 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
15634 (mon): Rename to...
15636 (abmon): Import from CLDR (genitive case, month names preceded by
15639 (abday): Synchronize with CLDR.
15640 (d_t_fmt): Likewise.
15644 (LC_TIME): Improve indentation.
15645 (LC_TELEPHONE): Likewise.
15646 (LC_NAME): Likewise.
15647 (LC_ADDRESS): Likewise.
15649 2018-03-14 Joseph Myers <joseph@codesourcery.com>
15651 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
15652 (lrintf): Remove definitions used only with old GCC.
15653 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
15654 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
15655 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
15656 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
15657 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
15658 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
15659 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
15660 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
15661 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
15662 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
15663 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
15664 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
15665 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
15666 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
15667 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
15668 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
15669 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
15670 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
15671 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
15672 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
15673 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
15674 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
15675 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
15676 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
15677 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
15678 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
15679 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
15680 [__FAST_MATH__] (__M_SQRT2): Remove macro.
15682 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
15684 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
15685 instruction to unbreak builds with binutils 2.26 and older.
15687 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
15689 * sysdeps/aarch64/strncmp.S (count): New macro.
15690 (strncmp): Store misaligned length in SRC1 in COUNT.
15691 (mutual_align): Adjust.
15692 (misaligned8): Load dword at a time when it is safe.
15694 2018-03-12 Zack Weinberg <zackw@panix.com>
15698 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
15699 if the _IO_EOF_SEEN bit is already set; update commentary.
15700 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
15701 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
15703 * support/support_openpty.c, support/tty.h: New files.
15704 * support/Makefile (libsupport-routines): Add support_openpty.
15706 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
15708 * libio/Makefile (tests): Add tst-fgetc-after-eof.
15709 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
15711 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
15713 * po/pt_BR.po: Update translations.
15715 2018-03-12 David Michael <fedora.dm0@gmail.com>
15717 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
15718 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
15719 get a port to the startup server.
15721 2018-03-11 Zack Weinberg <zackw@panix.com>
15723 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
15724 before nldbl-compat.h.
15726 2018-03-10 Zack Weinberg <zackw@panix.com>
15728 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
15729 math.h or math_private.h.
15731 * sysdeps/alpha/fpu/s_isnan.c
15732 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
15733 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
15734 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
15735 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
15736 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
15737 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
15738 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
15739 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
15740 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
15741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
15742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
15743 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
15744 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
15745 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
15746 Include math_private.h.
15748 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
15749 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
15750 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
15751 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
15752 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
15753 * sysdeps/powerpc/power7/fpu/s_logb.c:
15754 Include math.h and math_private.h.
15756 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
15757 uses of $at in .set noat / .set at.
15759 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
15761 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
15762 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
15763 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
15764 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
15767 2018-03-09 Florian Weimer <fweimer@redhat.com>
15769 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
15772 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
15775 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
15776 Add nop before __startcontext, add explaining comments.
15778 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15781 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
15783 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
15784 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
15785 Do not build hardware transactional code for __SPE__.
15786 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15787 (__lll_trylock_elision): Likewise.
15788 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
15789 (__lll_unlock_elision): Likewise.
15791 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
15792 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
15793 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
15794 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
15795 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
15796 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
15797 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
15798 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
15799 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
15800 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
15801 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
15802 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
15803 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
15804 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
15805 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
15806 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
15807 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
15808 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
15809 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
15810 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
15811 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
15812 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15813 (__ASSUME_CLONE_BACKWARDS): Define.
15814 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
15815 __clone2 if __NR_clone2 is defined.
15816 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15817 (__ASSUME_CLONE_BACKWARDS): Likewise.
15818 * sysdeps/unix/sysv/linux/i386/kernel-features.h
15819 (__ASSUME_CLONE_BACKWARDS): Likewise.
15820 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15821 (__ASSUME_CLONE2): Likewise.
15822 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15823 (__ASSUME_CLONE_BACKWARDS3): Likewise.
15824 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
15825 variants and the define architecture can use.
15826 (__ASSUME_CLONE_DEFAULT): Define as default.
15827 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15828 (__ASSUME_CLONE_BACKWARDS): Likewise.
15829 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15830 (__ASSUME_CLONE_BACKWARDS): Likewise.
15831 * sysdeps/unix/sysv/linux/s390/kernel-features.h
15832 (__ASSUME_CLONE_BACKWARDS2): Likewise.
15834 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
15836 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
15838 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
15841 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
15842 (do_test_limit): Likewise.
15844 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
15845 for every implementation.
15846 (do_test): Likewise.
15848 * benchtests/bench-strncmp.c: Convert output to json.
15850 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15852 * io/futimens.c: Add missing start-of-file descriptive comment.
15853 * io/utime.c: Likewise.
15854 * misc/futimesat.c: Likewise.
15855 * misc/utimes.c: Likewise.
15856 * sysdeps/mach/hurd/futimesat.c: Likewise.
15857 * sysdeps/mach/hurd/utimes.c: Likewise.
15858 * sysdeps/posix/utime.c: Likewise.
15859 * sysdeps/posix/utimes.c: Likewise.
15860 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
15861 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15862 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
15863 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
15865 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15867 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
15869 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
15870 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
15871 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
15872 (__futimens): Move implementation to...
15873 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
15874 utime_tvalue_from_tspec): ... new helper functions.
15875 (hurd_futimens): New function.
15876 * sysdeps/mach/hurd/futimesat.c: New file.
15877 * sysdeps/mach/hurd/utimensat.c: New file.
15879 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
15881 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
15882 UTIME_OMIT): New macros.
15883 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
15884 before reverting to converting time spec to time value and calling
15886 * sysdeps/mach/hurd/utime-helper.c: New file.
15887 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
15888 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
15889 reverting to utime_tvalue_from_tval and __file_utimes.
15890 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
15891 (__lutimes): Just call hurd_futimens after lookup.
15892 * sysdeps/mach/hurd/utimes.c: Likewise.
15894 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15896 * bits/sigaction.h: Add include guard.
15897 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
15898 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
15899 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
15900 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
15901 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
15902 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
15903 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
15904 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
15905 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
15907 2018-03-05 Joseph Myers <joseph@codesourcery.com>
15909 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
15910 -Wmaybe-uninitialized for -Os.
15911 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
15914 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15916 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
15917 __INO_T_MATCHES_INO64_T is defined.
15918 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
15919 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
15921 * dirent/alphasort64.c: Likewise.
15922 * dirent/scandir.c: Likewise.
15923 * dirent/scandir64-tail.c: Likewise.
15924 * dirent/scandir64.c: Likewise.
15925 * dirent/scandirat.c: Likewise.
15926 * dirent/scandirat64.c: Likewise.
15927 * dirent/versionsort.c: Likewise.
15928 * dirent/versionsort64.c: Likewise.
15929 * include/dirent.h: Likewise.
15931 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
15932 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
15933 for socketpair endpoint.
15934 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
15935 WRITE_BUFFER_SIZE as buffer size for sending socket.
15936 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
15937 issue on system where send is implemented with sendto syscall.
15938 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
15939 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
15940 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
15941 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
15944 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
15945 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
15946 sa_restorer for vDSO case.
15947 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
15949 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15951 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
15952 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
15953 * hurd/hurd/ioctl.h: Include <mach/port.h>
15954 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
15955 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
15956 <mach/mach_types.h> and <mach/message.h>.
15957 (headers): Move mach/param.h to bits/mach/param.h.
15958 * sysdeps/mach/i386/mach/param.h: Move file to ...
15959 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
15960 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
15962 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
15963 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
15964 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
15965 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
15966 trivial, for C++ conformity.
15967 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
15968 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
15969 Process mig output through $(migheadersed).
15970 * hurd/Makefile (migheadersed): Define variable.
15971 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
15972 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
15974 * hurd/hurd.h: Include <bits/types/sigset_t.h>
15975 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
15976 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
15977 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
15978 <bits/types/sigset_t.h>.
15979 [!defined __USE_GNU]: Do not #error out.
15980 (struct hurd_sigstate): Use _NSIG instead of NSIG.
15981 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
15982 Include <stddef.h> and <bits/types/sigset_t.h>
15983 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
15984 instead of sighandler_t.
15985 * stdlib/errno.h (error_t): Move definition to...
15986 * bits/types/error_t.h: ... new header.
15987 * stdlib/Makefile (headers): Add bits/types/error_t.h.
15988 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
15989 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
15990 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
15991 * hurd/hurd.h: Include <bits/types/error_t.h>
15992 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
15993 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
15994 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
15995 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
15996 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
15997 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
15998 * sysdeps/mach/hurd/futimens.c: New file.
16000 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
16003 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
16004 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
16005 * nscd/gai.c (__nss_hosts_database): Readd definition.
16006 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
16007 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
16008 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
16010 2018-03-02 Joseph Myers <joseph@codesourcery.com>
16012 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
16013 (ifunc_one): Likewise.
16015 2018-03-01 DJ Delorie <dj@delorie.com>
16018 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
16021 2018-03-01 Maciej W. Rozycki <macro@mips.com>
16023 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
16024 `match_pid' parameter.
16025 (td_ta_thr_iter): Update accordingly.
16027 2018-03-01 Florian Weimer <fweimer@redhat.com>
16029 * nptl/Makefile (install-lib-ldscripts): Remove.
16030 (install): Remove rule.
16031 ($(inst_libdir)/libpthread.so): Likewise.
16033 2018-03-01 Mike FABIAN <mfabian@redhat.com>
16036 * localedata/locales/an_ES: update month and day names,
16037 improve d_fmt, improve postal_fmt, add country_post,
16040 2018-03-01 Mike FABIAN <mfabian@redhat.com>
16042 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
16043 Ukrainian instead of Bulgarian.
16045 2018-03-01 Florian Weimer <fweimer@redhat.com>
16047 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
16050 2018-03-01 Florian Weimer <fweimer@redhat.com>
16052 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
16053 * nptl/Makefile (routines): Add pthread_atfork.
16054 (static-only-routines): Set to pthread_atfork.
16055 (libpthread-routines): Remove pthread_atfork.
16056 (libpthread-static-only-routines): Remove.
16057 (install): Update comment.
16058 (libpthread.so): Do not install libpthread_nonshared.a.
16059 (tests): Do not link with libpthread_nonshared.a.
16060 (generated): Remove libpthread_nonshared.a.
16061 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
16062 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
16063 with libpthread_nonshared.a.
16065 2018-02-28 Joseph Myers <joseph@codesourcery.com>
16068 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
16069 (libc_feholdexcept_setroundf128): New macro.
16070 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
16073 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
16075 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
16076 * include/inttypes.h: New file.
16078 2018-02-27 Joseph Myers <joseph@codesourcery.com>
16080 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
16081 -Os in two more places.
16083 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16085 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
16086 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
16087 be sorted correctly at the moment because of a bug.
16089 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16091 [BZ #22550] - es_ES locale (and other es_* locales): collation should
16092 treat ñ as a primary different character, sync the collation
16093 for Spanish with CLDR.
16094 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
16095 * localedata/Makefile: Add new test files.
16096 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
16097 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
16099 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
16100 * localedata/am_ET.UTF-8.in: New test file.
16101 * localedata/az_AZ.UTF-8.in: Likewise.
16102 * localedata/be_BY.UTF-8.in: Likewise.
16103 * localedata/ber_DZ.UTF-8.in: Likewise.
16104 * localedata/ber_MA.UTF-8.in: Likewise.
16105 * localedata/bg_BG.UTF-8.in: Likewise.
16106 * localedata/br_FR.UTF-8.in: Likewise.
16107 * localedata/cmn_TW.UTF-8.in: Likewise.
16108 * localedata/crh_UA.UTF-8.in: Likewise.
16109 * localedata/csb_PL.UTF-8.in: Likewise.
16110 * localedata/cv_RU.UTF-8.in: Likewise.
16111 * localedata/cy_GB.UTF-8.in: Likewise.
16112 * localedata/dz_BT.UTF-8.in: Likewise.
16113 * localedata/eo.UTF-8.in: Likewise.
16114 * localedata/es_ES.UTF-8.in: Likewise.
16115 * localedata/fa_IR.UTF-8.in: Likewise.
16116 * localedata/fi_FI.UTF-8.in: Likewise.
16117 * localedata/fil_PH.UTF-8.in: Likewise.
16118 * localedata/fur_IT.UTF-8.in: Likewise.
16119 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
16120 * localedata/ha_NG.UTF-8.in: Likewise.
16121 * localedata/ig_NG.UTF-8.in: Likewise.
16122 * localedata/ik_CA.UTF-8.in: Likewise.
16123 * localedata/kk_KZ.UTF-8.in: Likewise.
16124 * localedata/ku_TR.UTF-8.in: Likewise.
16125 * localedata/ky_KG.UTF-8.in: Likewise.
16126 * localedata/ln_CD.UTF-8.in: Likewise.
16127 * localedata/mi_NZ.UTF-8.in: Likewise.
16128 * localedata/ml_IN.UTF-8.in: Likewise.
16129 * localedata/mn_MN.UTF-8.in: Likewise.
16130 * localedata/mr_IN.UTF-8.in: Likewise.
16131 * localedata/mt_MT.UTF-8.in: Likewise.
16132 * localedata/nb_NO.UTF-8.in: Likewise.
16133 * localedata/om_KE.UTF-8.in: Likewise.
16134 * localedata/os_RU.UTF-8.in: Likewise.
16135 * localedata/ps_AF.UTF-8.in: Likewise.
16136 * localedata/ro_RO.UTF-8.in: Likewise.
16137 * localedata/ru_RU.UTF-8.in: Likewise.
16138 * localedata/sc_IT.UTF-8.in: Likewise.
16139 * localedata/se_NO.UTF-8.in: Likewise.
16140 * localedata/sq_AL.UTF-8.in: Likewise.
16141 * localedata/sv_SE.UTF-8.in: Likewise.
16142 * localedata/szl_PL.UTF-8.in: Likewise.
16143 * localedata/tg_TJ.UTF-8.in: Likewise.
16144 * localedata/tk_TM.UTF-8.in: Likewise.
16145 * localedata/tt_RU.UTF-8.in: Likewise.
16146 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
16147 * localedata/ug_CN.UTF-8.in: Likewise.
16148 * localedata/uz_UZ.UTF-8.in: Likewise.
16149 * localedata/vi_VN.UTF-8.in: Likewise.
16150 * localedata/yi_US.UTF-8.in: Likewise.
16151 * localedata/yo_NG.UTF-8.in: Likewise.
16152 * localedata/zh_CN.UTF-8.in: Likewise.
16153 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
16154 file and fix bugs in the collation.
16155 * localedata/locales/az_AZ: Likewise.
16156 * localedata/locales/be_BY: Likewise.
16157 * localedata/locales/ber_DZ: Likewise.
16158 * localedata/locales/ber_MA: Likewise.
16159 * localedata/locales/bg_BG: Likewise.
16160 * localedata/locales/br_FR: Likewise.
16161 * localedata/locales/br_FR@euro: Likewise.
16162 * localedata/locales/ca_ES: Likewise.
16163 * localedata/locales/cns11643_stroke: Likewise.
16164 * localedata/locales/crh_UA: Likewise.
16165 * localedata/locales/cs_CZ: Likewise.
16166 * localedata/locales/csb_PL: Likewise.
16167 * localedata/locales/cv_RU: Likewise.
16168 * localedata/locales/cy_GB: Likewise.
16169 * localedata/locales/da_DK: Likewise.
16170 * localedata/locales/dz_BT: Likewise.
16171 * localedata/locales/en_CA: Likewise.
16172 * localedata/locales/eo: Likewise.
16173 * localedata/locales/es_CU: Likewise.
16174 * localedata/locales/es_EC: Likewise.
16175 * localedata/locales/es_ES: Likewise.
16176 * localedata/locales/es_US: Likewise.
16177 * localedata/locales/et_EE: Likewise.
16178 * localedata/locales/fa_IR: Likewise.
16179 * localedata/locales/fi_FI: Likewise.
16180 * localedata/locales/fil_PH: Likewise.
16181 * localedata/locales/fur_IT: Likewise.
16182 * localedata/locales/gez_ER@abegede: Likewise.
16183 * localedata/locales/ha_NG: Likewise.
16184 * localedata/locales/hr_HR: Likewise.
16185 * localedata/locales/hsb_DE: Likewise.
16186 * localedata/locales/hu_HU: Likewise.
16187 * localedata/locales/ig_NG: Likewise.
16188 * localedata/locales/ik_CA: Likewise.
16189 * localedata/locales/is_IS: Likewise.
16190 * localedata/locales/iso14651_t1_pinyin: Likewise.
16191 * localedata/locales/kk_KZ: Likewise.
16192 * localedata/locales/ku_TR: Likewise.
16193 * localedata/locales/ky_KG: Likewise.
16194 * localedata/locales/ln_CD: Likewise.
16195 * localedata/locales/lt_LT: Likewise.
16196 * localedata/locales/lv_LV: Likewise.
16197 * localedata/locales/mi_NZ: Likewise.
16198 * localedata/locales/ml_IN: Likewise.
16199 * localedata/locales/mn_MN: Likewise.
16200 * localedata/locales/mr_IN: Likewise.
16201 * localedata/locales/mt_MT: Likewise.
16202 * localedata/locales/nb_NO: Likewise.
16203 * localedata/locales/om_KE: Likewise.
16204 * localedata/locales/os_RU: Likewise.
16205 * localedata/locales/pl_PL: Likewise.
16206 * localedata/locales/ps_AF: Likewise.
16207 * localedata/locales/ro_RO: Likewise.
16208 * localedata/locales/ru_RU: Likewise.
16209 * localedata/locales/ru_UA: Likewise.
16210 * localedata/locales/sc_IT: Likewise.
16211 * localedata/locales/se_NO: Likewise.
16212 * localedata/locales/si_LK: Likewise.
16213 * localedata/locales/sq_AL: Likewise.
16214 * localedata/locales/sv_FI: Likewise.
16215 * localedata/locales/sv_FI@euro: Likewise.
16216 * localedata/locales/sv_SE: Likewise.
16217 * localedata/locales/szl_PL: Likewise.
16218 * localedata/locales/tg_TJ: Likewise.
16219 * localedata/locales/ti_ER: Likewise.
16220 * localedata/locales/tk_TM: Likewise.
16221 * localedata/locales/tl_PH: Likewise.
16222 * localedata/locales/tr_TR: Likewise.
16223 * localedata/locales/tt_RU: Likewise.
16224 * localedata/locales/tt_RU@iqtelif: Likewise.
16225 * localedata/locales/ug_CN: Likewise.
16226 * localedata/locales/uk_UA: Likewise.
16227 * localedata/locales/uz_UZ: Likewise.
16228 * localedata/locales/uz_UZ@cyrillic: Likewise.
16229 * localedata/locales/vi_VN: Likewise.
16230 * localedata/locales/yi_US: Likewise.
16231 * localedata/locales/yo_NG: Likewise.
16233 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16235 * gen-locales.mk: Make test files which contain @ modifiers in their
16237 * localedata/gen-locale.sh: Likewise.
16239 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16241 * posix/tst-fnmatch.input: Fix results for range expressions
16243 * posix/tst-regexloc.c: Do not use a range expression for
16244 de_DE.ISO-8859-1 locale.
16246 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16248 * posix/bug-regex5.c: Fix test case because with the new
16249 iso14651_t1_common file, the da_DK locale now has 6 collating elements
16250 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
16253 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16255 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
16256 downloaded from ISO, the collation order of @-. and space has changed.
16257 Therefore, this test file needed to be adapted.
16258 * localedata/fr_CA.UTF-8.in: Likewise.
16259 * localedata/fr_FR.UTF-8.in: Likewise.
16260 * localedata/uk_UA.UTF-8.in: Likewise.
16262 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16264 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
16265 order of ȥ in the new iso14651_t1_common file.
16266 * localedata/pl_PL.UTF-8.in: Likewise.
16268 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16270 * localedata/locales/iso14651_t1_common: Add sections for various
16271 scripts to the iso14651_t1_common file.
16273 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16275 * localedata/locales/iso14651_t1_common: Use the code point of a
16276 character in the fourth collation level instead of IGNORE for all
16277 entries which have IGNORE on all 4 levels.
16279 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16281 * localedata/locales/iso14651_t1_common: Add some convenient collation
16282 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
16283 rules similar to those in CLDR.
16285 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16287 * localedata/locales/iso14651_t1_common: The new version of this
16288 file downloaded from ISO contained several syntax errors which
16289 are fixed by this patch.
16291 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16293 * localedata/locales/iso14651_t1_common: replace all <U.....>
16294 with <U000.....> because glibc understands only 4 digit or 8 digit
16296 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16298 * localedata/locales/iso14651_t1_common: Necessary changes
16299 to make the file downloaded from ISO usable by glibc.
16301 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16304 * localedata/locales/iso14651_t1_common: Update file to
16305 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
16307 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16309 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
16310 of <nptl/pthreadP.h>
16311 (thread_attr_compare): Move function to...
16312 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
16313 * sysdeps/nptl/timer_routines.h: ... new header.
16314 * sysdeps/mach/hurd/gai_misc.h: New file.
16316 2018-02-26 Joseph Myers <joseph@codesourcery.com>
16318 * string/strcoll_l.c: Include <libc-diag.h>.
16319 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
16320 declarations of seq1 and seq2.
16323 * stdlib/atoi.c (atoi): Use libc_hidden_def.
16324 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
16326 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
16330 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
16331 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
16332 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
16333 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
16334 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
16335 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
16337 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16339 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
16340 macros used in __ptrace_request.
16342 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
16345 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
16347 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
16348 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
16349 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
16352 2018-02-23 Joseph Myers <joseph@codesourcery.com>
16355 * ctype/ctype.c (tolower): Use libc_hidden_def.
16356 (toupper): Likewise.
16357 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
16358 [!_ISOMAC] (toupper): Likewise.
16360 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16362 * localedata/Makefile: Remove --quiet argument when
16365 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16368 * localedata/locales/pt_BR (LC_TIME): use / instead of -
16370 * localedata/locales/pt_PT (LC_TIME): likewise
16372 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16375 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
16376 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
16377 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
16379 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16383 * nptl/Makefile (routines): Remove unregister-atfork.
16384 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
16385 (fork_handler_alloc): Remove function.
16386 (fork_handlers, fork_handler_init): New variables.
16387 (__fork_lock): Rename to atfork_lock.
16388 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
16389 to use a dynamic array to add/remove atfork handlers.
16390 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
16391 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
16392 Remove declaration.
16393 (fork_handler): Remove next, refcntr, and need_signal member.
16394 (__run_fork_handler_type): New enum.
16395 (__run_fork_handlers): New prototype.
16396 * nptl/register-atfork.c: Remove file.
16397 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
16399 * sysdeps/nptl/nptl-signals.h: Move to ...
16400 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
16402 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
16403 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
16404 unnecessary check for SIGTIMER.
16405 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
16406 remove unnecessary removal of SIGTIMER.
16407 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
16408 include-signals.h rename.
16409 * nptl/pthreadP.h: Likewise.
16410 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
16411 __is_internal_signal instead of __nptl_is_internal_signal.
16413 2018-02-22 Andrew Waterman <andrew@sifive.com>
16416 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
16417 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
16418 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
16419 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
16421 2018-02-22 DJ Delorie <dj@delorie.com>
16423 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
16425 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
16427 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
16428 do_misaligned, not misaligned8.
16430 2018-02-22 Steve Ellcey <sellcey@cavium.com>
16432 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
16433 Add memcpy_thunderx2.
16434 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
16436 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
16437 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
16438 and IS_THUNDERX2PA checks.
16439 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
16440 Use macro to set name appropriately.
16441 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
16442 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
16443 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
16445 (IS_THUNDERX2): New macro.
16447 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
16449 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16451 2018-02-21 Zack Weinberg <zackw@panix.com>
16453 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
16454 Define here, unconditionally.
16455 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
16456 * libio/libioP.h: Remove #if 0 blocks.
16457 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
16458 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
16459 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
16461 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
16462 Assume weak_alias is always defined.
16464 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
16465 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
16466 Remove #if 0 and #ifdef TODO blocks.
16467 Assume text_set_element is always defined.
16469 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
16470 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
16471 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
16473 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
16474 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
16475 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
16476 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
16477 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
16478 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
16479 Reformat bit flags for _flags field to make occupancy clearer.
16481 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
16482 Keep definitions consistent with those in libio/libio.h.
16484 * libio/libio.h (_IO_file_flags): Remove macro.
16485 All uses changed to _flags.
16487 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
16488 (__HAVE_COLUMN, _IO_BE): Don't define.
16489 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
16490 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
16491 * libio/libioP.h (EOF): Don't define.
16492 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
16493 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
16494 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
16495 testing _IO_UNIFIED_JUMPTABLES.
16497 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
16498 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
16499 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
16500 (_IO_size_t): Delete; all uses changed to size_t.
16501 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
16502 (_IO_off_t): Delete; all uses changed to off_t.
16503 (_IO_off64_t): Delete; all uses changed to off64_t.
16504 (_IO_pid_t): Delete; all uses changed to pid_t.
16505 (_IO_uid_t): Delete; all uses changed to uid_t.
16506 (_IO_wint_t): Delete; all uses changed to wint_t.
16507 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
16508 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
16509 (_IO_cookie_io_functions_t): Delete; all uses changed to
16510 cookie_io_functions_t.
16511 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
16512 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
16513 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
16514 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
16516 * libio/iofopncook.c: Remove unnecessary forward declarations.
16517 * libio/iolibio.h: Correct outdated commentary.
16518 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
16519 * stdio-common/fxprintf.c (__fxprintf_nocancel):
16520 Remove unnecessary casts.
16521 * stdio-common/getline.c: Use _IO_getdelim directly.
16522 Don't redefine ssize_t.
16523 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
16524 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
16525 Remove outdated comments.
16526 * stdio-common/vfscanf.c: Don't redefine va_list.
16528 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
16529 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
16530 Remove preprocessor conditionals on _LIBC and __USE_GNU,
16531 which are always true, and __cplusplus, which is always false.
16533 2018-02-21 Joseph Myers <joseph@codesourcery.com>
16537 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
16538 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
16539 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
16540 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
16542 [!_ISOMAC] (putc_unlocked): Likewise.
16543 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
16544 define inline if [__USE_EXTERN_INLINES].
16545 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
16550 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
16551 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
16552 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
16553 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
16554 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
16556 * time/tzfile.c (__tzfile_read): Likewise.
16558 2018-02-21 Mike FABIAN <mfabian@redhat.com>
16561 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
16563 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
16565 * io/fcntl.h: Fix a typo in a comment.
16567 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
16570 * include/features.h: Add _ISOC11_SOURCE to test for whether to
16571 define _DEFAULT_SOURCE.
16572 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
16574 2018-02-21 Florian Weimer <fweimer@redhat.com>
16577 * elf/cache.c (save_cache): Call fsync on temporary file before
16579 (save_aux_cache): Call fdatasync on temporary file before renaming
16582 2018-02-21 Florian Weimer <fweimer@redhat.com>
16585 * include/caller.h: Remove file.
16586 * elf/dl-caller.c: Likewise.
16587 * elf/Makefile (dl-routines): Remove dl-caller.
16588 (shared-only-routines): Do not add dl-caller.
16589 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
16591 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
16593 (dl_open_worker): Do not call __check_caller.
16594 (_dl_open): Do not set caller_dl_open member.
16595 * elf/rtld.c (_rtld_global_ro): Do not initialize
16596 _dl_check_caller member.
16597 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
16598 _dl_check_caller member.
16599 (_dl_check_caller): Remove declaration.
16600 * sysdeps/unix/sysv/linux/dl-execstack.c
16601 (_dl_make_stack_executable): Do not call __check_caller.
16603 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
16605 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
16606 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
16608 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
16610 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
16613 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
16616 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
16617 of 199606L, 200112L, and 200809L.
16618 (_XOPEN_SOURCE): Document special values of 600 and 700.
16619 (_ISOC11_SOURCE): Document macro.
16620 (_ATFILE_SOURCE): Likewise.
16621 (_FORTIFY_SOURCE): Likewise.
16623 2018-02-19 Joseph Myers <joseph@codesourcery.com>
16627 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
16628 and define as weak alias of __ferror_unlocked. Use
16630 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
16632 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
16633 function if [__USE_EXTERN_INLINES].
16634 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
16637 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
16640 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
16642 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
16645 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
16646 the GLIBC_2.1 version.
16648 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
16651 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
16652 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
16653 intl/tst-gettext-de.po from po/de.po by removing the
16654 POT-Creation-Date line.
16655 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
16657 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
16660 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16662 * mach/Makefile (headers): Add mach/param.h.
16663 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
16664 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
16665 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
16666 (__ptsname_r): Move implementation to...
16667 (__ptsname_internal): ... new function. Add filling the STP
16670 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
16672 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
16675 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
16677 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
16680 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
16682 * nptl/Makefile (tst-mutex8-ENV): Delete.
16683 * nptl/tst-mutex8.c (check_type):
16684 Add runtime check if mutex will be elided.
16686 2018-02-15 Joseph Myers <joseph@codesourcery.com>
16690 * manual/install.texi (Configuring and compiling): Describe
16691 passing CC and CFLAGS on configure command line, not as
16692 environment variables. Use @code markup on those variables.
16693 Specify what options go in CC and what go in CFLAGS. Note the
16694 requirement to compile with optimization.
16695 * INSTALL: Regenerated.
16698 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
16699 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
16700 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
16701 __sigprocmask instead of sigprocmask.
16702 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
16704 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
16705 __sigsetjmp and sigprocmask.
16708 * include/argz.h (argz_next): Use libc_hidden_proto.
16709 (__argz_next): Likewise.
16710 * string-argz-next.c (__argz_next): Use libc_hidden_def.
16711 (argz_next): Use libc_hidden_weak.
16714 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
16716 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
16720 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
16722 * libio/iofputs.c (fputs): Use libc_hidden_weak.
16726 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
16727 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
16728 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
16729 (__feof_unlocked): New declaration, and inline function if
16730 [__USE_EXTERN_INLINES].
16731 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
16732 instead of feof_unlocked.
16733 * intl/localealias.c [_LIBC] (FEOF): Likewise.
16734 * nss/nsswitch.c (nss_parse_file): Likewise.
16735 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
16737 * time/getdate.c (__getdate_r): Likewise.
16738 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
16739 Define as macro to call __feof_unlocked.
16741 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16743 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
16745 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16747 * math/Makefile: Remove mpexp.c and mplog.c
16748 * sysdeps/i386/fpu/mpexp.c: Delete file.
16749 * sysdeps/i386/fpu/mplog.c: Likewise.
16750 * sysdeps/ia64/fpu/mpexp.c: Likewise.
16751 * sysdeps/ia64/fpu/mplog.c: Likewise.
16752 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
16753 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
16754 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
16755 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16756 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
16757 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
16758 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
16759 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
16760 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
16761 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16762 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
16763 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
16764 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16765 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
16766 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
16767 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16769 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
16771 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16773 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16775 * sysdeps/sh/libm-test-ulps: Update.
16777 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16779 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
16782 2018-02-12 Zack Weinberg <zackw@panix.com>
16785 * posix/sys/types.h: Don't include sys/sysmacros.h.
16786 * misc/sys/sysmacros.h: Remove the conditional deprecation
16787 warnings for the macros defined by this header.
16789 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16791 * manual/probes.texi: Remove slowexp probes.
16792 * math/Makefile: Remove slowexp.
16793 * sysdeps/generic/math_private.h (__slowexp): Remove.
16794 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
16795 document error bounds.
16796 * sysdeps/i386/fpu/slowexp.c: Remove.
16797 * sysdeps/ia64/fpu/slowexp.c: Remove.
16798 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
16799 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
16800 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
16801 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
16802 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
16803 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
16804 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
16805 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
16806 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
16807 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
16808 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
16810 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
16813 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
16814 * benchtests/pow-inputs: Update comment for slow path cases.
16815 * manual/probes.texi (slowpow_p10): Delete removed probe.
16816 (slowpow_p10): Likewise.
16817 * math/Makefile: Remove halfulp.c and slowpow.c.
16818 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
16819 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
16820 (__halfulp): Remove.
16821 (__slowpow): Remove.
16822 * sysdeps/i386/fpu/halfulp.c: Delete file.
16823 * sysdeps/i386/fpu/slowpow.c: Likewise.
16824 * sysdeps/ia64/fpu/halfulp.c: Likewise.
16825 * sysdeps/ia64/fpu/slowpow.c: Likewise.
16826 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
16827 improve comments and add error analysis.
16828 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
16829 (power1): Remove function:
16830 (log1): Remove error argument, add error analysis.
16831 (my_log2): Remove function.
16832 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
16833 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16834 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
16835 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
16836 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
16837 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
16838 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
16839 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
16840 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
16841 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
16842 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
16843 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16844 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
16845 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16847 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
16849 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
16850 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
16852 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
16855 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
16856 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
16857 and PTRACE_SETHBPREGS.
16859 2018-02-10 Zack Weinberg <zackw@panix.com>
16862 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
16864 * malloc/tst-malloc-stats-cancellation.c: New test case.
16865 * malloc/Makefile: Add new test case.
16867 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
16869 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
16871 2018-02-10 Joseph Myers <joseph@codesourcery.com>
16873 * math/Makefile (libm-narrow-fns): Add add.
16874 (libm-test-funcs-narrow): Likewise.
16875 * math/Versions (GLIBC_2.28): Add narrowing add functions.
16876 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
16877 * math/gen-auto-libm-tests.c (test_functions): Add add.
16878 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
16879 (NARROW_ADD_ROUND_TO_ODD): Likewise.
16880 (NARROW_ADD_TRIVIAL): Likewise.
16881 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
16883 (__daddl): Likewise.
16884 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
16886 (CFLAGS-nldbl-dadd.c): New variable.
16887 (CFLAGS-nldbl-fadd.c): Likewise.
16888 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16890 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
16892 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
16893 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
16894 * math/auto-libm-test-in: Add tests of add.
16895 * math/auto-libm-test-out-narrow-add: New generated file.
16896 * math/libm-test-narrow-add.inc: New file.
16897 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
16898 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
16899 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
16900 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
16901 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
16902 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
16903 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
16904 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
16905 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
16906 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
16907 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
16908 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
16909 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
16910 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
16911 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
16912 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
16913 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
16914 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
16915 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16916 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16917 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16918 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16919 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16920 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16921 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16922 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16923 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16924 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16925 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16926 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16927 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16928 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16933 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16934 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16935 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16936 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16937 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16938 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16939 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16940 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16941 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16942 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16944 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
16945 (f128-pairs): New variable.
16946 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
16947 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
16949 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
16950 Also make tests add $(f128-loader-link) to gnulib-tests.
16952 2018-02-09 DJ Delorie <dj@redhat.com>
16955 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
16956 64-bit ELF type for 64-bit ELF objects.
16958 2018-02-09 Joseph Myers <joseph@codesourcery.com>
16960 * math/libm-test-driver.c (snan_tests_arg): New variable.
16961 * math/libm-test-support.h (snan_tests_arg): New declaration.
16962 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
16964 * math/Makefile (test-type-pairs): New variable.
16965 (test-type-pairs-f64xf128-yes): Likewise.
16966 (tests): Add test-narrow-macros.
16967 (libm-test-funcs-narrow): New variable.
16968 (libm-test-c-narrow): Likewise.
16969 (generated): Add $(libm-test-c-narrow).
16970 (libm-tests-base-narrow): New variable.
16971 (libm-tests-narrow): Likewise.
16972 (libm-tests): Add $(libm-tests-narrow).
16973 (libm-tests-for-type): Handle $(libm-tests-narrow).
16974 (libm-test-c-narrow-obj): New variable.
16975 ($(libm-test-c-narrow-obj)): New rule.
16976 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
16977 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
16978 $(o-iterator) to set dependencies and CFLAGS.
16979 * math/gen-auto-libm-tests.c: Document use for narrowing
16981 (output_for_one_input_case): Take argument NARROW.
16982 (generate_output): Likewise. Update call to
16983 output_for_one_input_case.
16984 (main): Take --narrow option. Update call to generate_output.
16985 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
16986 (apply_lit): Update call to _apply_lit.
16987 (apply_arglit): New function.
16988 (parse_args): Handle "a" arguments.
16989 (parse_auto_input): Handle format names using ":".
16990 * math/README.libm-test: Document "a" parameter type.
16991 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
16992 (ARG_TYPE_TRUE_MIN): Likewise.
16993 (ARG_TYPE_MAX): Likwise.
16994 (ARG_MIN_EXP): Likewise.
16995 (ARG_MAX_EXP): Likewise.
16996 (ARG_MANT_DIG): Likewise.
16997 (TEST_COND_arg_ibm128): Likewise.
16998 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
16999 (TEST_COND_arg_fmt): New macro.
17000 (init_max_error): Update prototype.
17001 * math/libm-test-support.c (test_ibm128): New variable.
17002 (init_max_error): Take argument testing_ibm128 and set test_ibm128
17003 instead of using [TEST_COND_ibm128] conditional.
17004 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
17005 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
17006 [TEST_NARROW] (TEST_MSG): New definition.
17007 (arg_plus_zero): New macro.
17008 (arg_minus_zero): Likewise.
17009 (arg_plus_infty): Likewise.
17010 (arg_minus_infty): Likewise.
17011 (arg_qnan_value_pl): Likewise.
17012 (arg_qnan_value): Likewise.
17013 (arg_snan_value_pl): Likewise.
17014 (arg_snan_value): Likewise.
17015 (arg_max_value): Likewise.
17016 (arg_min_value): Likewise.
17017 (arg_min_subnorm_value): Likewise.
17018 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
17019 (RUN_TEST_LOOP_aa_f): New macro.
17020 (TEST_SUFF): New macro.
17021 (TEST_SUFF_STR): Likewise.
17022 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
17023 (TEST_COND_any_ibm128): New macro.
17024 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
17025 this_func. Update call to init_max_error.
17026 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
17027 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
17028 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
17029 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
17030 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
17031 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
17032 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
17033 * math/test-math-scalar.h (TEST_NARROW): Likewise.
17034 * math/test-math-vector.h (TEST_NARROW): Likewise.
17035 * math/test-arg-double.h: New file.
17036 * math/test-arg-float128.h: Likewise.
17037 * math/test-arg-float32x.h: Likewise.
17038 * math/test-arg-float64.h: Likewise.
17039 * math/test-arg-float64x.h: Likewise.
17040 * math/test-arg-ldouble.h: Likewise.
17041 * math/test-math-narrow.h: Likewise.
17042 * math/test-narrow-macros.c: Likewise.
17043 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
17044 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
17045 test-narrow-macros-ldbl-64.
17046 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
17048 * math/bits/mathcalls-narrow.h: New file.
17049 * include/bits/mathcalls-narrow.h: Likewise.
17050 * math/math-narrow.h: Likewise.
17051 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
17052 (__MATHCALL_NARROW_ARGS_2): Likewise.
17053 (__MATHCALL_NARROW_ARGS_3): Likewise.
17054 (__MATHCALL_NARROW_NORMAL): Likewise.
17055 (__MATHCALL_NARROW_REDIR): Likewise.
17056 (__MATHCALL_NARROW): Likewise.
17057 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
17058 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
17060 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
17061 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
17062 (libm-narrow-fns): New variable.
17063 (libm-narrow-types-basic): Likewise.
17064 (libm-narrow-types-ldouble-yes): Likewise.
17065 (libm-narrow-types-float128-yes): Likewise.
17066 (libm-narrow-types-float128-alias-yes): Likewise.
17067 (libm-narrow-types): Likewise.
17068 (libm-routines): Add narrowing functions.
17069 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
17070 (libc_feholdexcept_setroundf128): New macro.
17071 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
17072 * sysdeps/ieee754/float128/float128_private.h: Include
17073 <math/math-narrow.h>.
17074 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
17075 Undefine and redefine.
17076 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
17077 (libm_alias_float_ldouble): Undefine and redefine.
17078 (libm_alias_double_ldouble): Likewise.
17080 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
17082 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
17084 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
17087 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
17089 * manual/creature.texi: Convert references to gcc.info to gcc.
17090 * manual/stdio.texi: Likewise.
17091 * manual/string.texi: Likewise.
17093 2018-02-07 Joseph Myers <joseph@codesourcery.com>
17096 * posix/bits/types.h (__int_least8_t): New typedef.
17097 (__uint_least8_t): Likewise.
17098 (__int_least16_t): Likewise.
17099 (__uint_least16_t): Likewise.
17100 (__int_least32_t): Likewise.
17101 (__uint_least32_t): Likewise.
17102 (__int_least64_t): Likewise.
17103 (__uint_least64_t): Likewise.
17104 * sysdeps/generic/stdint.h (int_least8_t): Define using
17106 (int_least16_t): Define using __int_least16_t.
17107 (int_least32_t): Define using __int_least32_t.
17108 (int_least64_t): Define using __int_least64_t.
17109 (uint_least8_t): Define using __uint_least8_t.
17110 (uint_least16_t): Define using __uint_least16_t.
17111 (uint_least32_t): Define using __uint_least32_t.
17112 (uint_least64_t): Define using __uint_least64_t.
17113 * wcsmbs/uchar.h: Include <bits/types.h>.
17114 (char16_t): Define using __uint_least16_t conditional only on
17116 (char32_t): Define using __uint_least32_t conditional only on
17118 * wcsmbs/test-char-types.c: New file.
17119 * wcsmbs/Makefile (tests): Add test-char-types.
17121 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
17124 2018-02-07 Zack Weinberg <zackw@panix.com>
17126 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
17127 Delete all contents except for definitions of _G_HAVE_MMAP and
17128 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
17129 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
17130 sysdeps/unix/sysv/linux/_G_config.h. Make same content
17133 * libio/libio.h: Don't include bits/_G_config.h here.
17134 Include stddef.h with __need_wchar_t defined. Include
17135 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
17136 Define _IO_iconv_t here, directly.
17137 Don't define _IO_HAVE_ST_BLKSIZE.
17138 * libio/libioP.h: Include _G_config.h here. Move include of
17139 shlib-compat.h up with rest of includes. Simplify conditionals
17140 controlling definition of _IO_JUMPS_OFFSET.
17142 * csu/init.c: Remove always-true #if around entire file.
17143 Don't include stdio.h. Set _IO_stdin_used to hardwired
17144 constant 0x20001, and update commentary.
17145 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
17146 Replace all uses of _G_va_list with __gnuc_va_list.
17147 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
17148 instead of #if _IO_HAVE_ST_BLKSIZE.
17149 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
17150 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
17153 * libio/bits/libio.h: Move back to libio/libio.h and adjust
17154 multiple-include guard to match.
17155 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
17157 Remove preprocessor conditionals that are always true and/or
17158 redundant to other preprocessor conditionals in the same nest.
17159 Include shlib-compat.h unconditionally.
17160 Error out if _LIBC is not defined, or if _ISOMAC is defined,
17161 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
17162 defined after including stdio.h.
17163 Use __BEGIN_DECLS/__END_DECLS.
17165 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
17166 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
17167 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
17169 2018-02-07 Zack Weinberg <zackw@panix.com>
17171 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
17172 New single-type headers split from _G_config.h.
17173 * libio/bits/types/cookie_io_functions_t.h
17174 * libio/bits/types/struct_FILE.h
17175 New single-type headers split from libio.h.
17177 * libio/Makefile: Install the above new headers. Don't install
17178 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
17180 * libio/_G_config.h, libio/libio.h: Delete file.
17182 * libio/bits/libio.h: Remove improper-inclusion guard.
17183 Include stdio.h and don't repeat anything that it does.
17184 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
17185 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
17186 __io_read_fn as cookie_read_function_t,
17187 __io_write_fn as cookie_write_function_t,
17188 __io_seek_fn as cookie_seek_function_t,
17189 __io_close_fn as cookie_close_function_t,
17190 and _IO_cookie_io_functions_t as cookie_io_functions_t.
17191 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
17192 here, in the "compatibility defines" section. Remove an #if 0
17193 block. Use the "body" macros from bits/types/struct_FILE.h to
17194 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
17195 and _IO_ferror_unlocked.
17196 Move prototypes of __uflow and __overflow...
17198 * libio/stdio.h: ...here. Don't include bits/libio.h.
17199 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
17200 directly from stdarg.h. Include bits/types/__fpos_t.h,
17201 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
17202 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
17203 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
17204 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
17205 cookie_io_functions_t, not _IO_cookie_io_functions_t;
17206 __ssize_t, not _IO_ssize_t. Unconditionally define
17207 BUFSIZ as 8192 and EOF as (-1).
17209 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
17210 macros from bits/types/struct_FILE.h instead of _IO_* macros
17211 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
17212 instead of _IO_ssize_t.
17213 * libio/bits/stdio2.h: Similarly.
17215 * libio/iolibio.h: Add multiple-include guard.
17216 Include bits/libio.h after stdio.h.
17217 * libio/libioP.h: Add multiple-include guard.
17218 Include stdio.h and bits/libio.h before iolibio.h.
17220 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
17221 * include/bits/types/cookie_io_functions_t.h
17222 * include/bits/types/struct_FILE.h: New wrappers.
17224 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
17225 Get definitions of _G_fpos_t and _G_fpos64_t from
17226 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
17227 respectively. Remove improper-inclusion guards.
17229 * conform/data/stdio.h-data: Update expectations of va_list.
17230 * scripts/check-installed-headers.sh: Remove special case for
17231 libio.h and _G_config.h.
17233 2018-02-07 Joseph Myers <joseph@codesourcery.com>
17237 * include/sys/sysmacros.h [!_ISOMAC]
17238 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
17239 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
17240 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
17241 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
17243 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
17244 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
17246 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
17247 Undefine and redefine to add use __gnu_dev_ prefix.
17248 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
17250 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
17251 and define as hidden inline function.
17252 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
17254 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
17256 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
17257 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
17258 (gnu_dev_minor): Likewise.
17259 (gnu_dev_makedev): Likewise.
17260 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
17262 * posix/wordexp.c (exec_comm_child): Likewise.
17263 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
17264 instead of minor and __gnu_dev_major instead of major.
17265 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
17266 __gnu_dev_major instead of major.
17267 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
17268 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
17269 instead of gnu_dev_minor.
17270 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
17271 (SLAVE_P): Likewise.
17272 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
17273 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
17277 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
17279 * locale/weightwc.h (findidx): Likewise.
17281 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
17283 * manual/probes.texi (slowlog): Delete documentation of removed probe.
17284 (slowlog_inexact): Likewise
17285 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
17286 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
17288 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
17291 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
17292 missing second underscore to parameter name.
17294 2018-02-06 Joseph Myers <joseph@codesourcery.com>
17300 * bits/byteswap.h: Update file comment. Do not include
17301 <bits/byteswap-16.h>.
17302 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
17304 (__bswap_16): Define as inline function.
17305 (__bswap_constant_32): Reformat definition.
17306 (__bswap_32): Always define as inline function, not macro, using
17307 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
17308 otherwise __bswap_constant_32.
17309 (__bswap_constant_64): Reformat definition. Do not use
17310 __extension__ here.
17311 (__bswap_64): Always define as inline function, not macro. Use
17312 __extension__ on function definition. Use __builtin_bswap64 if
17313 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
17314 * string/test-endian-file-scope.c: New file.
17315 * string/test-endian-sign-conversion.c: Likewise.
17316 * string/Makefile (headers): Remove bits/byteswap-16.h.
17317 (tests): Add test-endian-file-scope and
17318 test-endian-sign-conversion.
17319 (CFLAGS-test-endian-sign-conversion.c): New variable.
17320 * bits/byteswap-16.h: Remove file.
17321 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
17322 * sysdeps/ia64/bits/byteswap.h: Likewise.
17323 * sysdeps/m68k/bits/byteswap.h: Likewise.
17324 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17325 * sysdeps/s390/bits/byteswap.h: Likewise.
17326 * sysdeps/tile/bits/byteswap.h: Likewise.
17327 * sysdeps/x86/bits/byteswap-16.h: Likewise.
17328 * sysdeps/x86/bits/byteswap.h: Likewise.
17331 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
17332 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
17333 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
17334 199901L] (__restrict): Define to restrict.
17337 * string/testcopy.c: Include <support/support.h>. Do not include
17338 <malloc.h>. Use <support/test-driver.c>.
17339 (main): Rename to do_test. Make static. Use xmalloc instead of
17343 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
17344 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
17345 (SSIZE_MAX): Define to INT_MAX.
17346 * posix/test-ssize-max.c: New file.
17347 * posix/Makefile (tests): Add test-ssize-max.
17350 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
17351 <support/support.h>. Do not include <malloc.h>.
17352 (query_auxv): Use xmalloc instead of malloc.
17355 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
17356 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
17359 2018-02-06 Florian Weimer <fweimer@redhat.com>
17362 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17363 Use scratch_buffer instead of extend_alloca.
17365 2018-02-06 Zack Weinberg <zackw@panix.com>
17367 * libio/stdio.h: Don't define getc or putc as macros.
17368 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
17369 not _IO_getc and _IO_putc.
17371 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
17372 * stdio-common/tstgetln.c: Don't redefine ssize_t.
17374 2018-02-06 Joseph Myers <joseph@codesourcery.com>
17376 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
17377 (TCP_FASTOPEN_NO_COOKIE): Likewise.
17379 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
17382 * elf/elf.h (NT_PRFPREG): New macro.
17383 (NT_S390_VXRS_LOW): Likewise.
17384 (NT_S390_VXRS_HIGH): Likewise.
17385 (NT_S390_GS_CB): Likewise.
17386 (NT_S390_GS_BC): Likewise.
17387 (NT_S390_RI_CB): Likewise.
17389 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
17390 (MAP_SYNC): New macro.
17391 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
17393 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
17394 (MAP_SYNC): Likewise.
17395 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
17396 (MAP_SYNC): Likewise.
17397 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
17398 (MAP_SYNC): Likewise.
17399 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
17400 (MAP_SYNC): Likewise.
17401 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
17402 (MAP_SYNC): Likewise.
17403 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
17404 (MAP_SYNC): Likewise.
17405 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
17407 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
17410 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
17411 (MAP_SHARED_VALIDATE): New macro.
17412 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
17413 (MAP_SHARED_VALIDATE): Likewise.
17415 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17417 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
17418 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
17419 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
17421 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17423 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
17424 (DT_NUM): Updated to 35.
17426 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17428 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
17429 __builtin_expect with __glibc_likely and __glibc_unlikely.
17430 (elf_machine_rela): Likewise.
17431 (elf_machine_lazy_rel): Likewise.
17433 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17435 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
17436 __builtin_expect with __glibc_likely and __glibc_unlikely.
17437 (elf_machine_lazy_rel): Likewise.
17439 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17442 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
17444 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
17446 2018-02-05 Andreas Schwab <schwab@suse.de>
17449 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
17452 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17454 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
17455 not check against PTHREAD_STACK_MIN.
17457 2018-02-02 Sean McKean <smckean83@gmail.com>
17460 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
17462 2018-02-02 Florian Weimer <fweimer@redhat.com>
17465 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
17466 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
17467 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
17468 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
17469 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
17470 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
17471 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
17472 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
17473 * manual/llio.texi (Scatter-Gather): Mention offset -1.
17474 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
17475 * misc/tst-preadvwritev2.c (do_test): Call it.
17476 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
17478 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
17480 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
17482 * benchtests/bench-memcmp.c: Print json instead of plain text.
17484 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
17487 2018-02-01 Joseph Myers <joseph@codesourcery.com>
17489 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
17491 (s390_sthyi): New syscall.
17493 * sysdeps/generic/ldbl-classify-compat.h: New file.
17494 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
17495 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
17496 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
17497 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
17498 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
17499 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
17500 * sysdeps/ieee754/dbl-64/s_finite.c: Include
17501 <ldbl-classify-compat.h>.
17502 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17503 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
17504 <ldbl-classify-compat.h>.
17505 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17506 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
17507 <ldbl-classify-compat.h>.
17508 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17509 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
17510 <ldbl-classify-compat.h>.
17511 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17512 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
17513 <ldbl-classify-compat.h>.
17514 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17515 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
17516 <ldbl-classify-compat.h>.
17517 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17518 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
17519 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
17520 * sysdeps/m68k/coldfire/math_private.h: Remove file.
17521 * sysdeps/microblaze/math_private.h: Likewise.
17522 * sysdeps/nios2/math_private.h: Likewise.
17523 * sysdeps/sh/math_private.h: Likewise.
17525 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
17526 * sysdeps/m68k/coldfire/math_private.h: ... here.
17527 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
17528 * sysdeps/tile/math_private.h: Likewise.
17529 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
17531 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
17534 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
17536 (libc_fetestexcept): Likewise.
17537 (libc_feupdateenv_test): Likewise.
17538 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
17539 (libc_fetestexcept): Likewise.
17540 (libc_feupdateenv_test): Likewise.
17541 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
17542 (libc_fetestexcept): Likewise.
17543 (libc_feupdateenv_test): Likewise.
17544 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
17545 (libc_fetestexcept): Likewise.
17546 (libc_feupdateenv_test): Likewise.
17548 * sysdeps/generic/math_private.h
17549 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
17550 New inline function.
17551 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
17554 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
17555 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
17556 * sysdeps/generic/math_private.h
17557 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
17559 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
17561 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
17563 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
17565 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
17567 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
17569 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
17570 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
17571 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
17572 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
17573 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
17574 (__fegetenv): Likewise.
17575 (fesetenv): Likewise.
17576 (__fesetenv): Likewise.
17577 (feupdateenv): Likewise.
17578 (__feupdateenv): Likewise.
17579 (fegetround): Likewise.
17580 (__fegetround): Likewise.
17581 (fesetround): Likewise.
17582 (__fesetround): Likewise.
17584 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
17585 (feraiseexcept): New macro.
17586 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
17587 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
17589 (__feraiseexcept): Likewise.
17590 (feclearexcept): Likewise.
17591 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
17592 (__feraiseexcept): Likewise.
17593 (feclearexcept): Likewise.
17594 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
17595 (__feraiseexcept): Likewise.
17596 (feclearexcept): Likewise.
17597 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
17598 (__feraiseexcept): Likewise.
17599 (feclearexcept): Likewise.
17600 (fetestexcept): Likewise.
17602 * sysdeps/m68k/coldfire/math-tests.h: New file.
17604 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
17605 * sysdeps/m68k/bits/fenv.h: ... here.
17606 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
17608 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
17610 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
17612 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
17614 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
17616 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
17618 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
17619 (__FE_UNDEFINED): New enum constant.
17620 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
17622 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
17624 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
17626 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
17627 to match generic bits/fenv.h.
17628 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
17631 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
17633 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
17634 * soft-fp/half.h (union _FP_UNION_H): Likewise.
17635 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
17636 * soft-fp/single.h (union _FP_UNION_S): Likewise.
17638 2018-02-01 Carlos O'Donell <carlos@redhat.com>
17639 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
17640 Joseph Myers <joseph@codesourcery.com>
17643 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
17644 (__log1p): Disable -Wmaybe-uninitialized for -Os around
17645 computation using c.
17646 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
17647 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
17648 computation using c.
17650 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
17652 * version.h (RELEASE): Set to "development".
17653 (VERSION): Set to "2.27.9000".
17654 * NEWS (2.28): New section.
17656 * version.h (RELEASE): Set to "stable".
17657 (VERSION): Set to "2.27".
17658 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
17660 * NEWS: Add the list of bugs fixed in 2.27.
17662 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17664 * stdlib/test-atexit-race-common.c (do_test): Check stack size
17665 against PTHREAD_STACK_MIN.
17667 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
17669 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
17671 (Rafal Luzynski, Andreas Schwab): Update.
17673 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
17676 * NEWS: List the languages which actually use the alternative
17677 months feature in this release. Also explain that "alt_mon" and
17678 "ab_alt_mon" are optional.
17680 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
17683 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
17685 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
17687 * manual/install.texi (Tools for Compilation): Update the newest
17688 versions of gcc, binutils, texinfo, gawk, bison, and sed.
17689 * INSTALL: Regenerated.
17691 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17693 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
17694 instead of __builtin_expect.
17696 2018-01-30 Florian Weimer <fweimer@redhat.com>
17698 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
17700 * nss/tst-nss-getpwent.c (do_test): Likewise.
17702 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
17705 * localedata/locales/hr_HR (mon): Rename to...
17707 (mon): Import from CLDR (genitive case).
17708 (d_t_fmt): Update the comment.
17710 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
17712 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
17713 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
17714 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
17716 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17718 * mach/Versions: Fix version when __mach_host_self_ was added.
17719 * hurd/Versions: Fix version when _hurd_exec_paths was added.
17720 * sysdeps/mach/hurd/i386/ld.abilist: New file.
17721 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
17722 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
17723 * sysdeps/mach/hurd/i386/libc.abilist: New file.
17724 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
17725 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
17726 * sysdeps/mach/hurd/i386/libm.abilist: New file.
17727 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
17728 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
17729 * sysdeps/mach/hurd/i386/librt.abilist: New file.
17730 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
17731 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
17732 || to respect codestyle.
17733 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
17734 (do_test_bz20181): Rename accordingly.
17735 * malloc/malloc.c: Include <assert.h>.
17736 (assert): Do not define.
17737 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
17738 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
17739 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
17740 * sysdeps/mach/hurd/hp-timing.h: New file.
17741 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
17743 2018-01-29 Darius Rad <darius@bluespec.com>
17745 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
17747 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
17749 * sysdeps/init_array/crti.S (.section .init_array): Add
17750 PREINIT_FUNCTION when defined.
17751 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
17752 * config.h.in: Regenerate.
17753 * manual/platform.texi: Add RISC-V documenation for
17754 __riscv_flush_icache.
17755 * sysdeps/riscv/__longjmp.S: New file.
17756 * sysdeps/riscv/backtrace.c: Likewise.
17757 * sysdeps/riscv/bits/endian.h: Likewise.
17758 * sysdeps/riscv/bits/setjmp.h: Likewise.
17759 * sysdeps/riscv/bits/wordsize.h: Likewise.
17760 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
17761 * sysdeps/riscv/bsd-setjmp.c: Likewise.
17762 * sysdeps/riscv/dl-trampoline.S: Likewise.
17763 * sysdeps/riscv/gccframe.h: Likewise.
17764 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
17765 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
17766 * sysdeps/riscv/machine-gmon.h: Likewise.
17767 * sysdeps/riscv/memusage.h: Likewise.
17768 * sysdeps/riscv/setjmp.S: Likewise.
17769 * sysdeps/riscv/sys/asm.h: Likewise.
17770 * sysdeps/riscv/tls-macros.h: Likewise.
17771 * sysdeps/riscv/dl-tls.h: New file.
17772 * sysdeps/riscv/libc-tls.c: Likewise.
17773 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
17774 * sysdeps/riscv/nptl/tls.h: Likewise.
17775 * sysdeps/riscv/stackinfo.h: Likewise.
17776 * sysdeps/riscv/bits/fenv.h: New file.
17777 * sysdeps/riscv/e_sqrtl.c: Likewise.
17778 * sysdeps/riscv/fpu_control.h: Likewise.
17779 * sysdeps/riscv/math-tests.h: Likewise.
17780 * sysdeps/riscv/nofpu/Implies: Likewise.
17781 * sysdeps/riscv/sfp-machine.h: Likewise.
17782 * sysdeps/riscv/tininess.h: Likewise.
17783 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
17784 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
17785 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
17786 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
17787 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
17788 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
17789 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
17790 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
17791 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
17792 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
17793 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
17794 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
17795 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
17796 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
17797 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
17798 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
17799 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
17800 * sysdeps/riscv/rvd/s_finite.c: Likewise.
17801 * sysdeps/riscv/rvd/s_fma.c: Likewise.
17802 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
17803 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
17804 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
17805 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
17806 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
17807 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
17808 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
17809 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
17810 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
17811 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
17812 * sysdeps/riscv/rvf/fegetround.c: Likewise.
17813 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
17814 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
17815 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
17816 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
17817 * sysdeps/riscv/rvf/fesetround.c: Likewise.
17818 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
17819 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
17820 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
17821 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
17822 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
17823 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
17824 * sysdeps/riscv/rvf/math_private.h: Likewise.
17825 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
17826 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
17827 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
17828 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
17829 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
17830 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
17831 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
17832 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
17833 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
17834 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
17835 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
17836 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
17837 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
17838 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
17839 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
17840 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
17841 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
17842 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
17843 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
17844 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
17845 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
17846 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17847 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
17848 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
17849 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
17850 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
17851 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
17852 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
17853 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
17854 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
17855 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
17856 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
17857 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
17858 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
17859 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
17860 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
17861 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
17862 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
17863 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
17864 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
17865 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
17866 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
17867 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
17868 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
17869 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
17870 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
17871 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
17872 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
17873 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
17874 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
17875 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
17876 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
17877 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
17878 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
17879 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
17880 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
17881 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
17882 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
17883 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
17884 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
17885 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
17886 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
17887 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
17888 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
17889 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17890 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
17891 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
17892 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
17893 * sysdeps/riscv/Implies: New file.
17894 * sysdeps/riscv/Makefile: Likewise.
17895 * sysdeps/riscv/configure: Likewise.
17896 * sysdeps/riscv/configure.ac: Likewise.
17897 * sysdeps/riscv/nptl/Makefile: Likewise.
17898 * sysdeps/riscv/preconfigure: Likewise.
17899 * sysdeps/riscv/rv64/Implies-after: Likewise.
17900 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
17901 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
17902 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
17903 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
17904 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
17905 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
17906 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
17907 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
17908 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
17909 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
17910 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
17911 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
17912 (Config): Likewise.
17914 2018-01-29 Florian Weimer <fweimer@redhat.com>
17917 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
17918 libnsl_hidden_proto.
17919 * include/rpcsvc/yp.h (yp_xdrall): Declare with
17920 libnsl_hidden_proto.
17921 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
17922 * nis/Makefile (libnsl-routines): Add nss-default only for
17923 build-obsolete-nsl.
17924 * nis/nis_defaults.c (__nis_default_ttl): Add
17925 libnsl_hidden_nolink_def.
17926 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
17928 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
17929 * nis/ypclnt.c (yp_maplist): Likewise.
17931 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
17933 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17934 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
17936 2018-01-29 Joseph Myers <joseph@codesourcery.com>
17938 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
17939 clean -dxfq for git updates when replacing sources.
17941 * scripts/build-many-glibcs.py (Config.build_gcc): Use
17942 --disable-libcilkrts unconditionally, not just for the final GCC
17945 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
17948 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17951 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
17954 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17957 * localedata/locales/be_BY (mon): Rename to...
17958 (alt_mon): This, then synchronize with CLDR (nominative case).
17959 (abmon): Rename to...
17960 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
17961 (mon): Import from CLDR (genitive case).
17963 * localedata/locales/be_BY@latin (mon): Rename to...
17965 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
17967 * localedata/locales/be_BY@latin (lang_name): Reworded to
17968 "biełaruskaja mova".
17970 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17973 * localedata/locales/el_CY (mon): Renamed to...
17975 (mon): Import from CLDR (genitive case).
17976 * localedata/locales/el_GR: Likewise.
17978 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17981 * localedata/locales/ru_RU (mon): Rename to...
17983 (abmon): Rename to...
17984 (ab_alt_mon): This.
17985 (mon): Import from CLDR (genitive case).
17986 (abmon): Copy from the old content except the 5th month which is
17987 now in the genitive case, even when abbreviated.
17988 * localedata/locales/ru_UA: Likewise.
17989 * time/tst-strptime.c (day_tests): Add an actual example of
17990 a difference between %b and %Ob in Russian.
17992 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17994 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
17995 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
17997 * resolv/res-close.c: Include <stdlib.h>.
17998 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
17999 <sys/wait.h>, <time.h>, <sys/uio.h>.
18000 (NOT_CANCEL_H): Add inclusion guard.
18001 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
18002 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
18003 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
18005 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
18006 vm_address_t * to ElfW(Addr) * for dl_main parameter.
18007 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
18009 * sysdeps/pthread/timer_create.c (timer_create): Do not use
18010 timer_ptr2id to cast struct timer_node * to void *.
18011 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
18012 --disable-libcilkrts to gcc configure.
18013 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
18014 and make them the default for now.
18015 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
18016 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
18017 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
18018 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
18019 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
18021 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
18022 __task_terminate would ever return successfully.
18023 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
18025 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
18026 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
18027 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
18028 critical section to make code simpler and avoid warning.
18029 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
18030 critical section to make code simpler and avoid warning.
18031 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
18032 const char * instead of char *.
18033 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
18034 __hurd_file_name_split, hurd_file_name_split,
18035 __hurd_directory_name_split, hurd_directory_name_split,
18036 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
18037 hurd_file_name_path_lookup): Make lookup function parameter take a
18038 const char *name instead of char *name.
18039 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
18040 __hurd_directory_name_split): Likewise.
18041 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
18042 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
18043 * sysdeps/mach/hurd/check_native.c: New file.
18044 * sysdeps/mach/hurd/check_pf.c: New file.
18045 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
18046 (__freeifaddrs): Define macro to freeifaddrs.
18047 * sysdeps/mach/hurd/libhurduser.abilist: New file.
18048 * sysdeps/mach/libmachuser.abilist: New file.
18049 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
18050 (do_test_bz20181): Rename accordingly.
18051 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
18052 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
18054 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
18055 version only if __USE_EXTERN_INLINES is defined.
18056 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
18057 __hurd_sockfail): Likewise.
18058 (_hurd_fd_get): Always declare functions, and provide inline versions
18059 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
18060 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
18061 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
18062 _hurd_port_set): Always declare functions, and provide inline versions
18063 only if __USE_EXTERN_INLINES and _LIBC are defined and
18065 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
18066 _hurd_critical_section_unlock): Likewise.
18067 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
18068 * __hurd_threadvar_location): Likewise.
18069 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
18070 _hurd_userlink_clear): Likewise.
18071 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
18072 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
18073 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
18074 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
18075 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
18076 __spin_lock_locked): Likewise.
18077 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
18078 __spin_lock_locked): Likewise.
18079 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
18080 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
18081 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
18082 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
18083 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
18084 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
18085 _POSIX_NO_TRUNC): Define to 0.
18086 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
18087 check size against PTHREAD_STACK_MIN.
18088 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
18089 IS_IN(libpthread)]: Include <sigsetops.h>.
18090 * mach/Makefile (user-interfaces): Add mach/gnumach.
18091 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
18092 * sysdeps/mach/configure (mach_interface_list): Regenerate.
18093 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
18094 instead of invalid -1.
18095 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
18096 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
18097 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
18100 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
18102 * hurd/fcntl-internal.h: New file.
18104 2018-01-27 James Clarke <jrtc27@jrtc27.com>
18106 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18108 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18110 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
18113 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
18114 Build only shared objects.
18116 2018-01-26 Carlos O'Donell <carlos@redhat.com>
18118 * README: Update for hppa.
18120 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18122 * sysdeps/sparc/fpu/libm-test-ulps: Update
18123 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
18125 2018-01-26 Carlos O'Donell <carlos@redhat.com>
18129 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18132 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18133 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18134 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18135 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18138 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18141 * bits/types/__cancel_jmp_buf_tag.h: New file.
18142 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18143 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18144 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18145 * nptl/Makefile (headers): Add
18146 bits/types/__cancel_jmp_buf_tag.h.
18147 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18148 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18149 * sysdeps/nptl/pthread.h: Include
18150 <bits/types/__cancel_jmp_buf_tag.h>.
18151 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18153 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18155 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
18158 * localedata/locales/uk_UA (mon): Renamed to...
18160 (alt_digits): "0" removed and then renamed to...
18162 (date_fmt): Definition changed not to use the alternative
18165 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
18167 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
18168 FLAG_RISCV_FLOAT_ABI_DOUBLE.
18169 * elf/elf.h (EF_RISCV_RVC): New define.
18170 (EF_RISCV_FLOAT_ABI): Likewise.
18171 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
18172 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
18173 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
18174 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
18175 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
18177 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
18179 2018-01-25 Andreas Schwab <schwab@suse.de>
18181 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
18183 * sysdeps/gnu/configure: Regenerate.
18184 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
18185 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18187 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
18188 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
18189 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
18190 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
18191 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
18193 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
18195 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
18196 URL, and run autoconf, make it the default for now.
18198 2018-01-24 Joseph Myers <joseph@codesourcery.com>
18200 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18201 soft-float ColdFire configuration.
18203 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
18204 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
18205 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
18207 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
18210 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
18212 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
18214 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
18217 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
18218 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
18219 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
18222 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
18225 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
18226 Rename to __reserved and add comment.
18227 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
18228 Rename to __reserved.
18230 2018-01-24 Joseph Myers <joseph@codesourcery.com>
18232 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18233 i686-gnu configurations.
18234 (Context.run_builds): Include mig, gnumach and hurd in components
18236 (Context.checkout): Add mig, gnumach and hurd to components.
18237 (Context.checkout_tar): Add URL mappings for mig, gnumach and
18239 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
18240 (Config.build): Install gnumach headers, build mig and install
18241 hurd headers for 'gnu' OS.
18242 (Config.install_gnumach_headers): New function.
18243 (Config.install_hurd_headers): Likewise.
18244 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
18245 when building for 'gnu' OS.
18247 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
18249 * manual/tunables.texi (Hardware Capability Tunables): Fix
18252 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
18254 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
18255 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
18256 (ALTMON_11, ALTMON_12): Improve documentation.
18257 * manual/time.texi (strftime): Likewise.
18259 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18262 * localedata/locales/pl_PL: Alternative month names added,
18263 primary month names are genitive now.
18264 * time/tst-strptime.c (day_tests): Actually use a genitive case
18265 of a month name in Polish language.
18267 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18270 * manual/locale.texi: Document ALTMON_1..12 constants for
18271 nl_langinfo. Specify when to use ALTMON instead of MON.
18272 * manual/time.texi (strftime, strptime): Document GNU extension
18273 permitting O modifier with %B and %b. Specify when to use
18276 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18279 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
18280 names, define them as the same as abbreviated month names explicitly.
18281 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
18282 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
18283 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
18284 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
18285 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
18286 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
18287 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
18288 _NL_WABALTMON_12): New enum constants.
18289 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
18290 wab_alt_mon, and ab_alt_mon_defined members.
18291 (time_output): Output ab_alt_mon and wab_alt_mon members.
18292 (time_read): Read them, initialize them as copies of abmon and wabmon
18293 respectively if they are missing, initialize ab_alt_mon_defined.
18294 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
18295 * locale/programs/locfile-kw.h: Regenerate.
18296 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
18297 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
18299 * time/strftime_l.c (a_altmonth, aam_len): New macros.
18300 [!COMPILE_WIDE] (ABALTMON_1): New macro.
18301 (__strftime_internal): Handle %Ob and %Oh formats.
18302 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
18303 (__strptime_internal): Handle %Ob and %Oh formats.
18304 * time/tst-strptime.c (day_tests): Add more tests to parse different
18305 forms of month names including the new %Ob format specifier.
18307 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18310 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
18311 define them as the same as primary full month names explicitly.
18312 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
18313 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
18314 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
18315 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
18316 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
18317 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
18318 _NL_WALTMON_12): New enum constants.
18319 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
18320 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
18322 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
18323 walt_mon, and alt_mon_defined members.
18324 (time_output): Output alt_mon and walt_mon members.
18325 (time_read): Read them, initialize them as copies of mon and wmon
18326 respectively if they are missing, initialize alt_mon_defined.
18327 * locale/programs/locfile-kw.gperf (alt_mon): Define.
18328 * locale/programs/locfile-kw.h: Regenerate.
18329 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
18330 * localedata/tst-langinfo.c (map): Add tests for the new constants
18331 ALTMON_1 .. ALTMON_12.
18332 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
18334 * time/strftime_l.c (f_altmonth): New macro.
18335 (__strftime_internal): Handle %OB format.
18336 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
18337 (__strptime_internal): Handle %OB format.
18338 * time/tst-strptime.c (day_tests): Add tests to parse different forms
18339 of month names including the new %OB format specifier.
18341 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18344 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
18345 from ABORT_TRANSACTION.
18346 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
18347 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
18348 ABORT_TRANSACTION_IMPL): Likewise.
18349 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
18350 Linux code, but remove the code that aborts transactions.
18352 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18354 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
18356 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
18358 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
18359 in date: "2004-14-09" should be "2004-09-14".
18360 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
18361 "2003-15-09" should be "2003-09-15".
18363 2018-01-18 Arjun Shankar <arjun@redhat.com>
18369 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
18371 (_int_memalign): check for integer overflow before calling
18373 * malloc/tst-malloc-too-large.c: New test.
18374 * malloc/Makefile: Add tst-malloc-too-large.
18376 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
18378 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
18379 in date: "2017-24-07" should be "2017-07-24".
18380 * localedata/locales/mai_IN: Likewise.
18381 * localedata/locales/mai_NP: Likewise.
18383 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
18385 * po/ru.po: Update translations.
18387 2018-01-17 Joseph Myers <joseph@codesourcery.com>
18390 * sysdeps/hppa/backtrace.c: New file.
18392 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
18395 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
18396 align La_x86_64_retval to VEC_SIZE.
18398 2018-01-16 Joseph Myers <joseph@codesourcery.com>
18400 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
18401 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
18403 2018-01-16 Florian Weimer <fweimer@redhat.com>
18405 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
18406 Move tst-thread-exit-clobber ...
18407 [$(CXX)] (tests-unsupported): ... to here.
18409 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
18411 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
18412 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
18413 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
18414 (_dl_aarch64_cap_flags): Update.
18415 (_DL_HWCAP_COUNT): Update.
18417 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
18419 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
18420 (_DL_HWCAP_LAST): Remove.
18421 (_DL_HWCAP_COUNT): Move to ...
18422 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
18423 (_DL_HWCAP_COUNT): ... here.
18425 2018-01-16 Florian Weimer <fweimer@redhat.com>
18427 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
18428 mode with GNU extensions.
18430 2018-01-15 Alan Hayward <alan.hayward@arm.com>
18432 * elf/elf.h (NT_ARM_SVE): Define.
18434 2018-01-15 Florian Weimer <fweimer@redhat.com>
18437 * nptl/tst-minstack-throw.cc: New file.
18438 * nptl/Makefile (tests): Add tst-minstack-throw.
18439 (LDLIBS-tst-minstack-throw): Link with libstdc++.
18440 [!CXX] (tests-unsupported): Add tst-minstack-throw.
18442 2018-01-15 Joseph Myers <joseph@codesourcery.com>
18444 * scripts/build-many-glibcs.py (Context.checkout): Default
18445 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
18448 2018-01-13 Carlos O'Donell <carlos@redhat.com>
18451 * elf/elf.h (DF_1_STUB): Define.
18452 (DF_1_PIE): Define.
18454 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18457 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
18458 Do not add 0.5 to integer or out-of-range arguments.
18460 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
18462 * po/bg.po: Update translations.
18463 * po/cs.po: Likewise.
18464 * po/de.po: Likewise.
18465 * po/ko.po: Likewise.
18466 * po/pl.po: Likewise.
18467 * po/sv.po: Likewise.
18468 * po/uk.po: Likewise.
18469 * po/vi.po: Likewise.
18471 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18473 * aarch64/start.S (_start): Use __wrap_main.
18474 (__wrap_main): New local symbol.
18476 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
18480 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
18481 generic_getcwd if the path returned by getcwd syscall is not absolute.
18482 * io/tst-getcwd-abspath.c: New test.
18483 * io/Makefile (tests): Add tst-getcwd-abspath.
18485 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
18487 * malloc/malloc.c (malloc_consolidate): Add size check.
18489 2018-01-12 Florian Weimer <fweimer@redhat.com>
18491 * support/write_message.c (write_message): Preserve errno.
18492 * support/check.c (print_failure): Likewise.
18493 * support/support_test_verify_impl.c (support_test_verify_impl):
18495 * support/support_test_compare_failure.c
18496 (support_test_compare_failure): Likewise.
18498 2018-01-12 Florian Weimer <fweimer@redhat.com>
18501 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
18502 Prevent installation of libnsl.so.
18503 (libnsl-inhibit-o): Do not build (or install) static libraries.
18505 2018-01-12 Egmont Koblinger <egmont@gmail.com>
18508 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
18509 before the day number which may produce a double space.
18510 (date_fmt): Likewise.
18512 2018-01-12 Joseph Myers <joseph@codesourcery.com>
18514 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
18515 instead of fegetenv.
18517 2018-01-11 Joseph Myers <joseph@codesourcery.com>
18520 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
18521 comment to say exceptions are discarded.
18522 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
18524 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
18527 2018-01-11 Florian Weimer <fweimer@redhat.com>
18529 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
18532 2018-01-11 Florian Weimer <fweimer@redhat.com>
18535 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
18536 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
18538 2018-01-10 Joseph Myers <joseph@codesourcery.com>
18541 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
18542 negative arguments in test for NaN or infinity argument.
18544 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
18546 * po/libc.pot: Regenerate.
18548 2018-01-10 Florian Weimer <fweimer@redhat.com>
18551 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
18552 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
18554 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18556 * hurd/hurd/fd.h: Include <fcntl.h>
18557 (__hurd_at_flags): New function.
18558 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
18559 with call to __hurd_at_flags.
18560 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
18561 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
18563 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
18564 (__access_noerrno): Use __faccessat_common instead of access_common.
18565 (__access): Likewise.
18566 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
18567 with a call to __faccessat.
18568 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
18569 (__faccessat_common): ... this. Move implementation of __access into it when
18570 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
18571 reauthenticate_cwdir_at helper to implement AT mechanism.
18572 (__faccessat_noerrno): New function, just calls __faccessat_common.
18573 (__faccessat): New function, just calls __faccessat_common.
18574 (faccessat): Define weak alias.
18576 2018-01-10 Joseph Myers <joseph@codesourcery.com>
18579 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18580 (CFLAGS-s_fmaxmagl.c): New variable.
18581 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
18584 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
18585 long int for arguments of possibly overflowing addition or
18587 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18589 2018-01-09 Joseph Myers <joseph@codesourcery.com>
18592 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18593 (CFLAGS-e_remainderl.c): New variable.
18596 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
18598 (CFLAGS-s_cacoshl.c): Likewise.
18599 (CFLAGS-s_casinhl.c): Likewise.
18600 (CFLAGS-s_catanl.c): Likewise.
18601 (CFLAGS-s_catanhl.c): Likewise.
18602 (CFLAGS-s_cexpl.c): Likewise.
18603 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
18604 (CFLAGS-s_csinhl.c): Likewise.
18605 (CFLAGS-s_clogl.c): Likewise.
18606 (CFLAGS-s_clog10l.c): Likewise.
18607 (CFLAGS-s_csinl.c): Likewise.
18608 (CFLAGS-s_csqrtl.c): Likewise.
18610 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
18611 2017-01-09 Svante Signell <svante.signell@gmail.com>
18613 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
18614 (_hurd_exec_paths): New function.
18615 * hurd/hurd.h (_hurd_exec): Deprecate function.
18616 (_hurd_exec_paths): Declare function.
18617 * hurd/Versions: Export _hurd_exec_paths.
18618 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
18619 (__execve): Use __getcwd to build absolute path, and use
18620 _hurd_exec_paths instead of _hurd_exec.
18621 * sysdeps/mach/hurd/spawni.c: Likewise.
18622 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
18625 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
18627 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
18628 test instead of failing in case of ENOENT returned by posix_openpt.
18630 2018-01-08 Florian Weimer <fweimer@redhat.com>
18632 resolv: Support binary labels in test framework.
18633 * support/resolv_test.c (struct to_be_freed): Remove.
18634 (struct compressed_name): New.
18635 (allocate_compressed_name, ascii_tolower)
18636 (compare_compressed_name): New functions.
18637 (struct resolv_response_builder): Update type of
18638 compression_offsets for use with tsearch. Rempve to_be_freed.
18639 (response_push_pointer_to_free): Remove function.
18640 (resolv_response_add_name): Rewrite using struct compressed_name
18641 and tsearch instead of hsearch_r.
18642 (response_builder_allocate): Remove initialization of
18643 compression_offsets.
18644 (response_builder_free): Update for removal of to_be_freed. Use
18645 tdestroy instead of hdestroy_r.
18646 * resolv/Makefile (tests): Add tst-resolv-binary.
18647 (tst-resolv-binary): Link with -lresolv -lpthread.
18649 2018-01-08 Florian Weimer <fweimer@redhat.com>
18651 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
18652 time. Pass positive flag instead of negative flag to
18653 support_test_compare_failure.
18654 (support_test_compare_failure): Change negative parameter to
18656 * support/support_test_compare_failure.c (report)
18657 (support_test_compare_failure): Likewise.
18658 * support/tst-test_compare.c (return_ssize_t, return_int): New.
18659 (do_test): Check int/size_t, ssize_t/size_t comparisons.
18661 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
18664 * nptl/descr.h (stackblock, stackblock_size): Update comments.
18665 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
18666 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
18668 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
18670 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
18672 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18673 Add s_sincosf-sse2 and s_sincosf-fma.
18674 (CFLAGS-s_sincosf-fma.c): New.
18675 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
18676 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
18677 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
18678 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
18679 __sincosf is defined.
18681 2018-01-08 Florian Weimer <fweimer@redhat.com>
18683 * nptl/tst-thread-exit-clobber.cc: New file.
18684 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
18686 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
18687 (tests): Add tst-thread-exit-clobber.
18688 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
18690 2018-01-08 Florian Weimer <fweimer@redhat.com>
18692 * support/check.h (support_static_assert): Define.
18693 (TEST_COMPARE): Use it.
18695 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
18697 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
18698 [!__RLIM_T_MATCHES_RLIM64_T]
18699 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
18700 __getrlimit64. Add libc_hidden_weak.
18702 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
18704 * elf/elf.h (R_RISCV_NONE): New define.
18705 (R_RISCV_32): Likewise.
18706 (R_RISCV_64): Likewise.
18707 (R_RISCV_RELATIVE): Likewise.
18708 (R_RISCV_COPY): Likewise.
18709 (R_RISCV_JUMP_SLOT): Likewise.
18710 (R_RISCV_TLS_DTPMOD32): Likewise.
18711 (R_RISCV_TLS_DTPMOD64): Likewise.
18712 (R_RISCV_TLS_DTPREL32): Likewise.
18713 (R_RISCV_TLS_DTPREL64): Likewise.
18714 (R_RISCV_TLS_TPREL32): Likewise.
18715 (R_RISCV_TLS_TPREL64): Likewise.
18716 * Makerules (make-link-multidir): Make directories before linking into
18718 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
18720 (VDSO_HASH_LINUX_4_15): Likewise.
18721 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
18722 in subdirectories of lib.
18723 * nptl/Makefile (/librt.so): Always depend on
18724 "$(shared-thread-library)".
18726 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18728 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
18729 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
18730 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
18732 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
18733 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
18735 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
18736 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
18737 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
18738 * sysdeps/gnu/glob-lstat-compat.c: New file.
18739 * sysdeps/gnu/glob64-lstat-compat.c: New file.
18740 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
18742 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18744 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
18745 Reserve 16 chars to reloc_addr before calling _itoa_word.
18747 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18750 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
18751 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
18753 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
18754 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
18756 * resource/tst-getrlimit.c: Add copyright header.
18758 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18759 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18761 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18762 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
18763 Define __GI_getrlimit64 as weak alias of __getrlimit64.
18764 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
18766 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18767 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
18768 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
18769 RLIM64_INFINITY): Fix values to match the kernel ones.
18770 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
18771 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
18772 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
18773 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
18774 getrlimit64@@GLIBC_2_27.
18775 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
18777 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
18778 getrlimit, setrlimit, getrlimit64 and setrlimit64.
18779 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
18780 setrlimit, getrlimit64 and setrlimit64.
18782 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18785 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
18786 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
18788 2018-01-04 Joseph Myers <joseph@codesourcery.com>
18790 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
18791 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
18792 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
18794 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18798 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
18799 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
18803 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
18804 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
18805 * sysdeps/alpha/fpu/s_floor.c: Likewise.
18806 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
18808 2018-01-04 Florian Weimer <fweimer@redhat.com>
18811 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
18812 Align the stack before calling exit.
18813 * stdlib/tst-makecontext-align.c: New file.
18814 * stdlib/Makefile (tests): Add tst-makecontext-align.
18816 2018-01-04 Florian Weimer <fweimer@redhat.com>
18818 Add support for calling dlvsym from libc.so.
18819 * include/dlfcn.h (__libc_dlvsym): Declare.
18820 * elf/Makefile (tests-static-internal): Add
18821 tst-libc_dlvsym-static.
18822 (tests-internal): Add tst-libc_dlvsym.
18823 (modules-names): Add tst-libc_dlvsym-dso.
18824 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
18825 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
18826 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
18827 object tst-libc_dlvsym-dso.so needs to be built before running
18829 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
18830 * elf/Versions: Export __libc_dlvsym.
18831 * elf/dl-libc.c (struct do_dlvsym_args): New.
18832 (do_dlvsym, __libc_dlvsym): New functions.
18833 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
18834 (_dl_open_hook2): New variable.
18835 (__libc_register_dl_open_hook): Set it.
18836 * elf/tst-libc_dlvsym-dso.c: New file.
18837 * elf/tst-libc_dlvsym-static.c: Likewise.
18838 * elf/tst-libc_dlvsym.c: Likewise.
18839 * elf/tst-libc_dlvsym.h: Likewise.
18841 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18843 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
18844 include <sys/mount.h>.
18846 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
18848 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
18849 Add __NO_MATH_ERRNO__ check.
18851 2018-01-02 Joseph Myers <joseph@codesourcery.com>
18853 * sysdeps/mips/mips32/libm-test-ulps: Update.
18854 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18856 2018-01-02 Florian Weimer <fweimer@redhat.com>
18858 * misc/tst-pselect.c: Add copyright header.
18860 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
18862 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
18864 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
18866 (settrlimit): Rename into setrlimit.
18867 (__sttrlimit): Rename into __setrlimit.
18869 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
18870 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
18871 never defined in that case.
18873 2018-01-02 Joseph Myers <joseph@codesourcery.com>
18875 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
18877 * sysdeps/arm/libm-test-ulps: Update.
18879 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
18880 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
18882 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18884 * NEWS: Add cosf and sincosf to list of optimized functions.
18886 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
18889 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
18890 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
18891 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
18892 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
18894 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
18897 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
18899 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
18900 making a copy of it.
18902 2018-01-01 Joseph Myers <joseph@codesourcery.com>
18904 * manual/texinfo.tex: Update to version 2017-12-26.21 with
18905 trailing whitespace removed.
18906 * scripts/config.guess: Update to version 2018-01-01.
18907 * scripts/config.sub: Update to version 2018-01-01.
18908 * scripts/move-if-change: Update from gnulib.
18910 * NEWS: Update copyright dates.
18911 * catgets/gencat.c (print_version): Likewise.
18912 * csu/version.c (banner): Likewise.
18913 * debug/catchsegv.sh: Likewise.
18914 * debug/pcprofiledump.c (print_version): Likewise.
18915 * debug/xtrace.sh (do_version): Likewise.
18916 * elf/ldconfig.c (print_version): Likewise.
18917 * elf/ldd.bash.in: Likewise.
18918 * elf/pldd.c (print_version): Likewise.
18919 * elf/sotruss.sh: Likewise.
18920 * elf/sprof.c (print_version): Likewise.
18921 * iconv/iconv_prog.c (print_version): Likewise.
18922 * iconv/iconvconfig.c (print_version): Likewise.
18923 * locale/programs/locale.c (print_version): Likewise.
18924 * locale/programs/localedef.c (print_version): Likewise.
18925 * login/programs/pt_chown.c (print_version): Likewise.
18926 * malloc/memusage.sh (do_version): Likewise.
18927 * malloc/memusagestat.c (print_version): Likewise.
18928 * malloc/mtrace.pl: Likewise.
18929 * manual/libc.texinfo: Likewise.
18930 * nptl/version.c (banner): Likewise.
18931 * nscd/nscd.c (print_version): Likewise.
18932 * nss/getent.c (print_version): Likewise.
18933 * nss/makedb.c (print_version): Likewise.
18934 * posix/getconf.c (main): Likewise.
18935 * scripts/test-installation.pl: Likewise.
18936 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18938 * All files with FSF copyright notices: Update copyright dates
18939 using scripts/update-copyrights.
18940 * locale/programs/charmap-kw.h: Regenerated.
18941 * locale/programs/locfile-kw.h: Likewise.
18943 2017-12-31 Zack Weinberg <zackw@panix.com>
18945 * libio/bits/libio-ldbl.h: Correct check for improper
18946 inclusion. Add own multiple include guard.
18948 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
18949 Dmitry V. Levin <ldv@altlinux.org>
18953 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
18954 string token expansion. Check for NULL pointer or empty string possibly
18955 returned by expand_dynamic_string_token.
18956 (decompose_rpath): Check for empty path after dynamic string
18959 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
18962 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
18964 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
18965 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
18966 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
18967 and PTRACE_SYSCALL.
18968 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
18969 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18970 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18971 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18972 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18973 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18975 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
18976 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18977 __ptrace_peeksiginfo_flags, ptrace): Move to ...
18978 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
18979 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18980 bits/ptrace-shared.h.
18981 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
18982 <bits/ptrace-shared.h>.
18983 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18984 __ptrace_peeksiginfo_flags, ptrace): Remove.
18985 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18986 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18987 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18988 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18989 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18991 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18994 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
18995 end of the loop. Improve comments.
18997 2017-12-29 Zack Weinberg <zackw@panix.com>
19000 * manual/errno.texi (Checking for Errors): Explicitly say that errno
19001 might be set on success.
19003 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19006 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
19007 is unchanged on success.
19009 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
19011 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
19013 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
19014 expand_dynamic_string_token): Likewise.
19015 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
19018 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
19021 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
19022 is set and name contains ':', and all code depending on these checks.
19024 2017-12-24 Zack Weinberg <zackw@panix.com>
19026 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
19027 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
19029 * libio/libio.h: Rename the original version of this file to
19030 libio/bits/libio.h. Error out if not included by stdio.h or the
19032 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
19033 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
19034 if not included by bits/libio.h or the stub _G_config.h.
19035 * sysdeps/unix/sysv/linux/_G_config.h: Move to
19036 sysdeps/unix/sysv/linux/bits. Error out if not included by
19037 bits/libio.h or the stub _G_config.h.
19038 * libio/stdio.h: Include bits/libio.h, not libio.h.
19039 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
19040 well as libio.h and _G_config.h.
19042 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
19043 * libio/strfile.h, stdio-common/vfscanf.c
19044 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
19045 Include stdio.h, not _G_config.h nor libio.h.
19046 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
19047 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
19049 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
19051 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
19054 * stdlib/getrandom.c (getrandom): Fix comment.
19055 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
19057 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
19060 * manual/arith.texi (strtoul): Fix a typo.
19063 * manual/arith.texi (finite): Fix the description of the return
19066 2017-12-22 Eric Blake <ebb9@byu.net>
19068 Avoid gcc warnings on cygwin
19069 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
19070 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
19071 Avoid unused variable.
19073 2017-12-22 Florian Weimer <fweimer@redhat.com>
19075 * io/Makefile (routines): Add copy_file_range.
19076 (tests): Add tst-copy_file_range.
19077 (tests-static, tests-internal): Add tst-copy_file_range-compat.
19078 * io/Versions (GLIBC_2.27): Export copy_file_range.
19079 * io/copy_file_range-compat.c: New file.
19080 * io/copy_file_range.c: Likewise.
19081 * io/tst-copy_file_range-compat.c: Likewise.
19082 * io/tst-copy_file_range.c: Likewise.
19083 * manual/llio.texi (Copying File Data): New section.
19084 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
19085 * support/Makefile (libsupport-routines): Add support-xfstat,
19086 xftruncate, xlseek.
19087 * support/support-xfstat.c: New file.
19088 * support/xftruncate.c: Likewise.
19089 * support/xlseek.c: Likewise.
19090 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
19091 * sysdeps/unix/sysv/linux/**.abilist: Update.
19092 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
19094 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
19096 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19097 disable-multi-arch variant to aarch64-linux-gnu.
19099 2017-12-20 Joseph Myers <joseph@codesourcery.com>
19101 * manual/texinfo.tex: Update to version 2017-12-18.20 with
19102 trailing whitespace removed.
19103 * scripts/config.guess: Update to version 2017-12-17.
19104 * scripts/config.sub: Update to version 2017-11-23.
19105 * scripts/install-sh: Update to version 2017-09-23.17.
19106 * scripts/move-if-change: Update to version 2017-09-13 06:45.
19108 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19110 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
19111 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19112 * sysdeps/tile/_mcount.S (__mcount): Likewise.
19113 * sysdeps/tile/crti.S (_init, _fini): Likewise.
19114 * sysdeps/tile/crtn.S: Likewise.
19115 * sysdeps/tile/dl-start.S (_start): Likewise.
19116 * sysdeps/tile/dl-trampoline.S: Likewise.
19117 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
19118 * sysdeps/tile/start.S (_start): Likewise.
19119 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
19120 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
19121 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
19122 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
19123 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
19124 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
19125 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
19127 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
19129 * sysdeps/tile/preconfigure: Remove tilegx folder.
19130 * sysdeps/tile/tilegx/Implies: Move definitions to ...
19131 * sysdeps/tile/Implies: ... here.
19132 * sysdeps/tile/tilegx/Makefile: Move rules to ...
19133 * sysdeps/tile/Makefile: ... here.
19134 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
19135 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
19136 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
19137 * sysdeps/tile/bits/wordsize.h: ... here.
19138 * sysdeps/tile/tilegx/*: Move to ...
19139 * sysdeps/tile/*: ... here.
19140 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
19141 * sysdeps/tile/tilegx32/Implies: ... here.
19142 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
19143 * sysdeps/tile/tilegx64/Implies: ... here.
19144 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
19146 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
19147 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
19148 * sysdeps/unix/sysv/linux/tile/*: ... here.
19149 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
19150 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
19151 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
19152 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
19154 * README: Remove tilepro-*-linux-gnu from supported architecture.
19155 * scripts/build-many-glibcs.py: Likewise.
19156 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19157 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
19158 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
19159 elf_machine_matches_host, elf_machine_dynamic,
19160 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
19161 howto, elf_machine_rela): Likewise.
19162 * sysdeps/tile/dl-start.S (_start): Likewise.
19163 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
19164 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
19165 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
19166 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
19167 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
19168 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
19170 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
19171 * sysdeps/tile/preconfigure: Likewise.
19172 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
19173 POINTER_CHK_GUARD): Likewise.
19174 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
19175 * sysdeps/tile/start.S (_start): Likewise.
19176 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
19178 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
19179 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
19181 * sysdeps/unix/sysv/linux/tile/bits/environments.h
19182 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
19183 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
19185 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
19186 * sysdeps/tile/tilepro/Implies: Remove file.
19187 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
19188 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
19189 * sysdeps/tile/tilepro/memchr.c: Likewise.
19190 * sysdeps/tile/tilepro/memcpy.S: Likewise.
19191 * sysdeps/tile/tilepro/memset.c: Likewise.
19192 * sysdeps/tile/tilepro/memusage.h: Likewise.
19193 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
19194 * sysdeps/tile/tilepro/strchr.c: Likewise.
19195 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
19196 * sysdeps/tile/tilepro/strlen.c: Likewise.
19197 * sysdeps/tile/tilepro/strrchr.c: Likewise.
19198 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
19199 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
19200 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
19201 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
19202 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
19203 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
19205 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
19206 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19207 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
19208 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
19209 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19210 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
19211 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
19212 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
19213 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
19214 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
19215 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
19216 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
19217 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
19218 tilepro mention in comment.
19220 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
19221 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
19222 * nptl/pthread_join_common.c: New file: common function used on
19223 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
19224 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
19225 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
19226 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
19227 (cleanup): Move definition to pthread_join_common.c.
19228 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
19229 Remove superflous checks.
19230 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
19233 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
19235 * sysdeps/aarch64/libm-test-ulps: Update.
19237 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19239 * sysdeps/aarch64/memset.S (MEMSET): Define.
19241 2017-12-20 Florian Weimer <fweimer@redhat.com>
19244 nptl: Provide full implementation of pthread_self in libc.so.
19245 * nptl/Makefile (routines): Add pthread_self.
19246 (libpthread-routines): Replace pthread_self with
19247 compat-pthread_self.
19248 * nptl/forward.c (pthread_self): Remove.
19249 * nptl/nptl-init.c (pthread_functions): Do not initialize
19251 * nptl/pthread_self.c (pthread_self): Remove weak alias.
19252 * nptl/compat-pthread_self.c: New file.
19253 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
19254 Remove ptr_pthread_self.
19256 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
19258 * posix/regcomp.c: Fix spelling in comments.
19259 * posix/regex.h: Likewise.
19260 * posix/regex_internal.c: Likewise.
19261 * posix/regexec.c: Likewise.
19263 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
19266 * math/Makefile [C++] (tests): Add test for iseqsig.
19267 * math/math.h [C++] (iseqsig): New implementation, which does
19268 not rely on __MATH_TG/__builtin_types_compatible_p.
19269 * math/test-math-iseqsig.cc: New file.
19270 * sysdeps/powerpc/powerpc64le/Makefile
19271 (CFLAGS-test-math-iseqsig.cc): New variable.
19273 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
19275 * elf/dl-load.c (is_trusted_path): Remove.
19276 (fillin_rpath): Remove check_trusted argument and its use,
19277 all callers changed.
19279 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19282 * Makeconfig (link-pie-before-libc): Replace -pie with
19283 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
19284 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
19285 (tst-dlopen-aout-no-pie): New.
19286 (LDFLAGS-tst-prelink): Removed.
19287 (tst-prelink-no-pie): New.
19288 (LDFLAGS-tst-main1): Removed.
19289 (tst-main1-no-pie): New.
19290 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
19291 (tst-gmon-no-pie): New.
19293 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19295 * manual/install.texi: Document that --enable-static-pie
19297 * INSTALL: Regenerated.
19299 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
19302 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
19305 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19309 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19311 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19313 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19315 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19316 <errno.h>. Include "eexp.tbl".
19317 (half): New constant.
19319 (__ieee754_exp): Rewrite.
19320 (__slowexp): Remove prototype.
19321 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19322 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19323 * sysdeps/i386/fpu/slowexp.c: Likewise.
19324 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19325 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19326 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19327 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19328 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19329 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19330 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19332 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19333 (CPPFLAGS-slowexp.c): Remove variable.
19334 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19335 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
19336 (CFLAGS-slowexp-fma.c): Remove variable.
19337 (CFLAGS-slowexp-fma4.c): Likewise.
19338 (CFLAGS-slowexp-avx.c): Likewise.
19339 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
19341 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
19342 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
19343 * math/Makefile (type-double-routines): Remove slowexp.
19344 * manual/probes.texi (slowexp_p6): Remove.
19345 (slowexp_p32): Likewise.
19347 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19349 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
19352 * lib/glob.c (glob): Do not pass NULL to mempcpy.
19354 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19356 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19358 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19360 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19361 <errno.h>. Include "eexp.tbl".
19362 (half): New constant.
19364 (__ieee754_exp): Rewrite.
19365 (__slowexp): Remove prototype.
19366 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19367 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19368 * sysdeps/i386/fpu/slowexp.c: Likewise.
19369 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19370 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19371 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19372 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19373 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19374 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19375 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19377 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19378 (CPPFLAGS-slowexp.c): Remove variable.
19379 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19380 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
19381 (CFLAGS-slowexp-fma.c): Remove variable.
19382 (CFLAGS-slowexp-fma4.c): Likewise.
19383 (CFLAGS-slowexp-avx.c): Likewise.
19384 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
19386 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
19387 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
19388 * math/Makefile (type-double-routines): Remove slowexp.
19389 * manual/probes.texi (slowexp_p6): Remove.
19390 (slowexp_p32): Likewise.
19392 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19393 James Clarke <jrtc27@jrtc27.com>
19396 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
19399 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19402 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
19405 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19408 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19409 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19410 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19411 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19414 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19417 * bits/types/__cancel_jmp_buf_tag.h: New file.
19418 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19419 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19420 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19421 * nptl/Makefile (headers): Add
19422 bits/types/__cancel_jmp_buf_tag.h.
19423 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19424 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19425 * sysdeps/nptl/pthread.h: Include
19426 <bits/types/__cancel_jmp_buf_tag.h>.
19427 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19429 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19431 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
19433 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19434 --enable-static-pie variants to x86_64, x32 and i686.
19436 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19439 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
19440 argument for attrubutes. All callers changed.
19441 (__inline_mathop1): Likewise. All callers changed.
19442 (__inline_mathop): Likewise. All callers changed.
19443 [__USE_MISC] (scalbn): Use __inline_forward instead of
19444 __inline_forward_c.
19445 [__USE_ISOC99] (scalbln): Likewise.
19446 [__USE_ISOC99] (nearbyint): Likewise.
19447 [__USE_ISOC99] (lrint): Likewise.
19448 [__USE_MISC] (scalbnf): Likewise.
19449 [__USE_ISOC99] (scalblnf): Likewise.
19450 [__USE_ISOC99] (nearbyintf): Likewise.
19451 [__USE_ISOC99] (lrintf): Likewise.
19452 [__USE_MISC] (scalbnl): Likewise.
19453 [__USE_ISOC99] (scalblnl): Likewise.
19454 [__USE_ISOC99] (nearbyintl): Likewise.
19455 [__USE_ISOC99] (lrintl): Likewise.
19456 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
19457 __inline_mathop and __m81_defun changed.
19459 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
19460 CPU or FPU for ARM hard-float configurations.
19462 2017-12-18 Joseph Myers <joseph@codesourcery.com>
19464 * nptl/tst-attr3.c: Include <libc-diag.h>.
19465 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
19467 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
19469 * string/tester.c (test_strncat): Also disable -Warray-bounds
19470 warnings for two tests.
19472 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
19475 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
19476 $(cc-pie-default) == yes.
19477 * config.make.in (cc-pie-default): New.
19478 * configure.ac (libc_cv_pie_default): Renamed to ...
19479 (libc_cv_cc_pie_default): This.
19480 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
19481 * configure: Regenerated.
19483 2017-12-18 Florian Weimer <fweimer@redhat.com>
19486 ld.so: Harden dl-libc/libdl hooks.
19487 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
19488 (rtld_active): New function.
19489 * dlfcn/dladdr.c (__dladdr): Call it.
19490 * dlfcn/dladdr1.c (__dladdr1): Likewise.
19491 * dlfcn/dlclose.c (__dlcose): Likewise.
19492 * dlfcn/dlerror.c (__dlerror): Likewise.
19493 * dlfcn/dlinfo.c (__dlinfo): Likewise.
19494 * dlfcn/dlmopen.c (__dlmopen): Likewise.
19495 * dlfcn/dlopen.c (__dlopen): Likewise.
19496 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
19497 * dlfcn/dlsym.c (__dlsym): Likewise.
19498 * dlfcn/dlvsym.c (__dlvsym): Likewise.
19499 * libio/vtables.c (_IO_vtable_check): Likewise.
19500 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
19501 (__libc_dlclose): Likewise.
19502 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
19505 2017-12-18 Joseph Myers <joseph@codesourcery.com>
19508 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
19509 buffers for readlink input and output.
19511 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
19514 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
19515 inhibit_stack_protector.
19518 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
19519 inhibit_stack_protector.
19521 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
19524 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
19525 code and invocation.
19527 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
19529 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
19531 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
19534 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
19536 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19538 * sysdeps/s390/fpu/libm-test-ulps: Update.
19540 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19544 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19546 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
19547 constants to s_sincosf.h file.
19548 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19549 * sysdeps/ieee754/flt-32/s_sincosf.c: New
19551 * sysdeps/ieee754/flt-32/s_sincosf.h:
19554 2017-12-12 Carlos O'Donell <carlos@redhat.com>
19557 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
19560 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
19563 * INSTALL: Regenerated.
19564 * Makeconfig (real-static-start-installed-name): New.
19565 (pic-default): Updated for --enable-static-pie.
19566 (pie-default): New for --enable-static-pie.
19567 (default-pie-ldflag): Likewise.
19568 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
19569 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
19570 Replace $(static-start-installed-name) with
19571 $(real-static-start-installed-name).
19572 (+prectorT): Updated for --enable-static-pie.
19573 (+postctorT): Likewise.
19574 (CFLAGS-.o): Add $(pie-default).
19575 (CFLAGS-.op): Likewise.
19576 * NEWS: Mention --enable-static-pie.
19577 * config.h.in (ENABLE_STATIC_PIE): New.
19578 * configure.ac (--enable-static-pie): New configure option.
19579 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
19580 (have-static-pie): Likewise.
19581 Enable static PIE if linker supports --no-dynamic-linker.
19582 (ENABLE_STATIC_PIE): New AC_DEFINE.
19583 (enable-static-pie): New LIBC_CONFIG_VAR.
19584 * configure: Regenerated.
19585 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
19586 gr$(start-installed-name) for --enable-static-pie.
19587 (extra-objs): Likewise.
19588 (install-lib): Likewise.
19589 (extra-objs): Add static-reloc.o and static-reloc.os
19590 ($(objpfx)$(start-installed-name)): Also depend on
19591 $(objpfx)static-reloc.o.
19592 ($(objpfx)r$(start-installed-name)): New.
19593 ($(objpfx)g$(start-installed-name)): Also depend on
19594 $(objpfx)static-reloc.os.
19595 ($(objpfx)gr$(start-installed-name)): New.
19596 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
19598 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
19600 * csu/static-reloc.c: New file.
19601 * elf/Makefile (routines): Add dl-reloc-static-pie.
19602 (elide-routines.os): Likewise.
19603 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
19604 (tst-tls1-static-non-pie-no-pie): New.
19605 * elf/dl-reloc-static-pie.c: New file.
19606 * elf/dl-support.c (_dl_get_dl_main_map): New function.
19607 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
19608 STATIC_PIE_BOOTSTRAP.
19609 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
19610 * gmon/Makefile (tests): Add tst-gmon-static-pie.
19611 (tests-static): Likewise.
19612 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
19613 (tst-gmon-static-no-pie): New.
19614 (CFLAGS-tst-gmon-static-pie.c): Likewise.
19615 (CRT-tst-gmon-static-pie): Likewise.
19616 (tst-gmon-static-pie-ENV): Likewise.
19617 (tests-special): Likewise.
19618 ($(objpfx)tst-gmon-static-pie.out): Likewise.
19619 (clean-tst-gmon-static-pie-data): Likewise.
19620 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
19621 * gmon/tst-gmon-static-pie.c: New file.
19622 * manual/install.texi: Document --enable-static-pie.
19623 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
19624 (_dl_get_dl_main_map): Likewise.
19625 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
19626 * sysdeps/x86_64/configure.ac: Likewise.
19627 * sysdeps/i386/configure: Regenerated.
19628 * sysdeps/x86_64/configure: Likewise.
19629 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
19630 (ASFLAGS-.op): Likewise.
19632 2017-12-15 Joseph Myers <joseph@codesourcery.com>
19634 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
19635 * posix/tst-mmap-offset.c (fname): Use /tmp.
19636 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
19638 2017-12-15 Steve Ellcey <sellcey@cavium.com>
19640 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
19642 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
19644 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
19647 2017-12-15 Joseph Myers <joseph@codesourcery.com>
19649 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
19650 --with-float=hard for arm-linux-gnueabihf configurations.
19653 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
19654 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
19655 ($(mo-installed)): Use $(objpfx)%.mo.
19656 (realclean): Remove rule.
19658 * po/Makefile (linguas): Remove rule and dependencies.
19659 (linguas.mo): Likewise.
19660 (.PHONY): Do not depend on linguas and linguas.mo.
19661 (podir): Remove variable.
19662 (pofiles): Likewise.
19663 [$(pofiles)] (%.po): Remove rule.
19665 * sysdeps/sparc/sparc32/Makefile
19666 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
19667 start-of-line whitespace in argument of echo.
19668 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
19669 with whitespace. Generate __wrap_.udiv alias.
19670 * sysdeps/sparc/sparc32/rem.S: Regenerated.
19671 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19672 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19673 * sysdeps/sparc/sparc32/urem.S: Likewise.
19675 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19677 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
19678 for aligned inputs.
19680 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
19682 * benchtests/bench-strcmp.c: Print output in JSON format.
19684 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
19686 2017-12-14 Florian Weimer <fweimer@redhat.com>
19690 * elf/dl-load.c (_dl_init_paths): Compute number of components in
19691 the expanded path string.
19693 2017-12-14 Florian Weimer <fweimer@redhat.com>
19697 * elf/dl-load.c (system_dirs): Update comment.
19698 (nsystem_dirs_len): Use array_length.
19699 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
19701 2017-12-14 Florian Weimer <fweimer@redhat.com>
19703 Simplify compiling most of support/ outside of glibc.
19704 * support/check_addrinfo.c: Include <string.h>.
19705 * support/check_dns_packet.c: Likewise.
19706 * support/check_hostent.c: Likewise.
19707 * support/support_can_chroot.c: Include <support/xunistd.h>.
19708 * support/support_format_addrinfo.c: Include <stdlib.h>
19709 * support/support_format_dns_packet.c: Include <stdbool.h>.
19710 * support/support_format_hostent.c: Include <stdlib.h>.
19711 * support/support_format_netent.c: Likewise.
19712 * support/support_write_string.c: Include <support/xunistd.h>.
19713 * support/xdlfcn.c: Include <stddef.h>.
19715 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
19717 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
19719 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19720 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19722 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19723 (sysdeps_routines): Add memset-niagara7.
19724 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
19726 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
19728 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
19729 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19730 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
19731 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
19732 Add niagara7 option.
19733 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
19736 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19737 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
19738 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
19740 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
19742 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
19743 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
19744 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19745 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
19746 and __memmove_niagara7.
19747 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
19748 Add niagara7 option.
19749 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
19750 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
19751 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
19752 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
19753 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
19755 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
19757 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
19758 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
19759 * sysdeps/sparc/sparc64/memmove.S: Likewise.
19760 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
19762 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
19763 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
19764 _dl_sparc_cap_flags array.
19765 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
19767 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
19769 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
19770 time whenever possible.
19772 2017-12-12 Carlos O'Donell <carlos@redhat.com>
19774 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
19775 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
19777 2017-12-12 Joseph Myers <joseph@codesourcery.com>
19779 * soft-fp/fmadf4.c: Move to ....
19780 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
19781 * soft-fp/fmasf4.c: Move to ....
19782 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
19783 * soft-fp/fmatf4.c: Move to ....
19784 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
19785 * sysdeps/ieee754/soft-fp/Makefile: New file.
19786 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
19787 * sysdeps/arm/preconfigure: Regenerated.
19788 * sysdeps/arm/nofpu/Implies: New file.
19789 * sysdeps/arm/s_fma.c: Remove file.
19790 * sysdeps/arm/s_fmaf.c: Likewise.
19791 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
19792 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
19793 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
19794 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
19795 * sysdeps/microblaze/s_fma.c: Remove file.
19796 * sysdeps/microblaze/s_fmaf.c: Likewise.
19797 * sysdeps/mips/mips32/nofpu/Implies: New file.
19798 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
19799 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
19800 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
19801 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
19802 * sysdeps/mips/ieee754/s_fma.c: Remove file.
19803 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
19804 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
19806 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
19807 * sysdeps/nios2/s_fma.c: Remove file.
19808 * sysdeps/nios2/s_fmaf.c: Likewise.
19809 * sysdeps/sh/nofpu/Implies: New file.
19810 * sysdeps/sh/s_fma.c: Remove file.
19811 * sysdeps/sh/s_fmaf.c: Likewise.
19812 * sysdeps/tile/Implies: Add ieee754/soft-fp.
19813 * sysdeps/tile/s_fma.c: Remove file.
19814 * sysdeps/tile/s_fmaf.c: Likewise.
19816 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
19818 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19819 Add s_cosf-sse2 and s_cosf-fma.
19820 (CFLAGS-s_cosf-fma.c): New.
19821 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
19822 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
19823 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
19825 2017-12-12 Steve Ellcey <sellcey@cavium.com>
19827 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
19829 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19831 * libio/Makefile (tests): Add tst-bz22415.
19832 (tst-bz22415-ENV): New rule.
19833 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
19834 (tests-special): Add tst-bz22415-mem.out.
19835 ($(objpfx)tst-bz22415-mem.out): New rule.
19836 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
19837 in case of a successful seek operation.
19838 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19839 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
19840 buffer is required.
19841 * libio/tst-bz22415.c: New test.
19843 * sysdeps/ia64/fpu/libm-test-ulps: Update.
19845 2017-12-12 James Clarke <jrtc27@jrtc27.com>
19847 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
19848 __IPC_64 to 0 to avoid IPC_64 being set.
19850 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19853 * math/bits/mathcalls.h (nextafter): Remove const.
19854 (nexttoward): Likewise.
19856 2017-12-12 Joseph Myers <joseph@codesourcery.com>
19858 * configure.ac (--with-fp): Remove configure option.
19859 (with_fp_cond): New variable.
19860 (libc_cv_with_fp): New configure test. Use this variable instead
19862 * configure: Regenerated.
19863 * config.make.in (with-fp): Use @libc_cv_with_fp@.
19864 * manual/install.texi (Configuring and compiling): Remove
19866 * INSTALL: Regenerated.
19867 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
19868 * sysdeps/mips/preconfigure (with_fp_cond): Define.
19869 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
19870 * sysdeps/sh/preconfigure (with_fp_cond): Define.
19871 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
19872 use --without-fp to configure glibc.
19874 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
19876 * manual/locale.texi (nl_langinfo): Fix a typo.
19878 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
19881 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
19883 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19885 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
19886 (CFLAGS-argp-parse.c): Likewise.
19887 (CFLAGS-argp-fmtstream.c): Likewise.
19888 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
19889 (CPPFLAGS-sha512-crypt.c): Likewise.
19890 (CPPFLAGS-md5-crypt.c): Likewise.
19891 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
19892 (CFLAGS-stack_chk_fail_local.c): Likewise.
19893 (CFLAGS-backtrace.c): Likewise.
19894 (CFLAGS-sprintf_chk.c): Likewise.
19895 (CFLAGS-snprintf_chk.c): Likewise.
19896 (CFLAGS-vsprintf_chk.c): Likewise.
19897 (CFLAGS-vsnprintf_chk.c): Likewise.
19898 (CFLAGS-asprintf_chk.c): Likewise.
19899 (CFLAGS-vasprintf_chk.c): Likewise.
19900 (CFLAGS-obprintf_chk.c): Likewise.
19901 (CFLAGS-dprintf_chk.c): Likewise.
19902 (CFLAGS-vdprintf_chk.c): Likewise.
19903 (CFLAGS-printf_chk.c): Likewise.
19904 (CFLAGS-fprintf_chk.c): Likewise.
19905 (CFLAGS-vprintf_chk.c): Likewise.
19906 (CFLAGS-vfprintf_chk.c): Likewise.
19907 (CFLAGS-gets_chk.c): Likewise.
19908 (CFLAGS-fgets_chk.c): Likewise.
19909 (CFLAGS-fgets_u_chk.c): Likewise.
19910 (CFLAGS-fread_chk.c): Likewise.
19911 (CFLAGS-fread_u_chk.c): Likewise.
19912 (CFLAGS-swprintf_chk.c): Likewise.
19913 (CFLAGS-vswprintf_chk.c): Likewise.
19914 (CFLAGS-wprintf_chk.c): Likewise.
19915 (CFLAGS-fwprintf_chk.c): Likewise.
19916 (CFLAGS-vwprintf_chk.c): Likewise.
19917 (CFLAGS-vfwprintf_chk.c): Likewise.
19918 (CFLAGS-fgetws_chk.c): Likewise.
19919 (CFLAGS-fgetws_u_chk.c): Likewise.
19920 (CFLAGS-read_chk.c): Likewise.
19921 (CFLAGS-pread_chk.c): Likewise.
19922 (CFLAGS-pread64_chk.c): Likewise.
19923 (CFLAGS-recv_chk.c): Likewise.
19924 (CFLAGS-recvfrom_chk.c): Likewise.
19925 (CFLAGS-tst-longjmp_chk.c): Likewise.
19926 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
19927 (CFLAGS-tst-longjmp_chk2.c): Likewise.
19928 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
19929 (CFLAGS-tst-longjmp_chk3.c): Likewise.
19930 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19931 (CFLAGS-tst-chk1.c): Likewise.
19932 (CFLAGS-tst-chk2.c): Likewise.
19933 (CFLAGS-tst-chk3.c): Likewise.
19934 (CFLAGS-tst-chk4.cc): Likewise.
19935 (CFLAGS-tst-chk5.cc): Likewise.
19936 (CFLAGS-tst-chk6.cc): Likewise.
19937 (CFLAGS-tst-lfschk1.c): Likewise.
19938 (CFLAGS-tst-lfschk2.c): Likewise.
19939 (CFLAGS-tst-lfschk3.c): Likewise.
19940 (CFLAGS-tst-lfschk4.cc): Likewise.
19941 (CFLAGS-tst-lfschk5.cc): Likewise.
19942 (CFLAGS-tst-lfschk6.cc): Likewise.
19943 (CFLAGS-tst-ssp-1.c): Likewise.
19944 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
19945 (CFLAGS-scandir64.c): Likewise.
19946 (CFLAGS-scandir-tail.c): Likewise.
19947 (CFLAGS-scandir64-tail.c): Likewise.
19948 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
19949 (CFLAGS-dl-tunables.c): Likewise.
19950 (CFLAGS-dl-runtime.c): Likewise.
19951 (CFLAGS-dl-lookup.c): Likewise.
19952 (CFLAGS-dl-iterate-phdr.c): Likewise.
19953 (CFLAGS-vismain.c): Likewise.
19954 (CFLAGS-tst-linkall-static.c): Likewise.
19955 (CFLAGS-tst-linkall-static.c): Likewise.
19956 (CPPFLAGS-dl-load.c): Likewise.
19957 (CFLAGS-ldconfig.c): Likewise.
19958 (CFLAGS-dl-cache.c): Likewise.
19959 (CFLAGS-cache.c): Likewise.
19960 (CFLAGS-rtld.c): Likewise.
19961 (CFLAGS-multiload.c): Likewise.
19962 (CFLAGS-filtmod1.c): Likewise.
19963 (CFLAGS-tst-align.c): Likewise.
19964 (CFLAGS-tst-align2.c): Likewise.
19965 (CFLAGS-tst-alignmod.c): Likewise.
19966 (CFLAGS-tst-alignmod2.c): Likewise.
19967 (CPPFLAGS-tst-execstack.c): Likewise.
19968 (CFLAGS-tst-ptrguard1-static.c): Likewise.
19969 (CFLAGS-tst-latepthreadmod.c): Likewise.
19970 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
19971 (CFLAGS-getgrnam_r.c): Likewise.
19972 (CFLAGS-getgrent_r.c): Likewise.
19973 (CFLAGS-getgrent.c): Likewise.
19974 (CFLAGS-fgetgrent.c): Likewise.
19975 (CFLAGS-fgetgrent_r.c): Likewise.
19976 (CFLAGS-putgrent.c): Likewise.
19977 (CFLAGS-initgroups.c): Likewise.
19978 (CFLAGS-getgrgid.c): Likewise.
19979 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
19980 (CFLAGS-getsgent.c): Likewise.
19981 (CFLAGS-fgetsgent.c): Likewise.
19982 (CFLAGS-fgetsgent_r.c): Likewise.
19983 (CFLAGS-putsgent.c): Likewise.
19984 (CFLAGS-getsgnam.c): Likewise.
19985 (CFLAGS-getsgnam_r.c): Likewise.
19986 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
19987 (CFLAGS-iconv_charmap.c): Likewise.
19988 (CFLAGS-dummy-repertoire.c): Likewise.
19989 (CFLAGS-charmap.c): Likewise.
19990 (CFLAGS-linereader.c): Likewise.
19991 (CFLAGS-simple-hash.c): Likewise.
19992 (CFLAGS-gconv_conf.c): Likewise.
19993 (CFLAGS-iconvconfig.c): Likewise.
19994 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19995 (CFLAGS-gethstbyad.c): Likewise.
19996 (CFLAGS-gethstbynm_r.c): Likewise.
19997 (CFLAGS-gethstbynm.c): Likewise.
19998 (CFLAGS-gethstbynm2_r.c): Likewise.
19999 (CFLAGS-gethstbynm2.c): Likewise.
20000 (CFLAGS-gethstent_r.c): Likewise.
20001 (CFLAGS-gethstent.c): Likewise.
20002 (CFLAGS-rcmd.c): Likewise.
20003 (CFLAGS-getnetbynm_r.c): Likewise.
20004 (CFLAGS-getnetbynm.c): Likewise.
20005 (CFLAGS-getnetbyad_r.c): Likewise.
20006 (CFLAGS-getnetbyad.c): Likewise.
20007 (CFLAGS-getnetent_r.c): Likewise.
20008 (CFLAGS-getnetent.c): Likewise.
20009 (CFLAGS-getaliasent_r.c): Likewise.
20010 (CFLAGS-getaliasent.c): Likewise.
20011 (CFLAGS-getrpcent_r.c): Likewise.
20012 (CFLAGS-getrpcent.c): Likewise.
20013 (CFLAGS-getservent_r.c): Likewise.
20014 (CFLAGS-getservent.c): Likewise.
20015 (CFLAGS-getprtent_r.c): Likewise.
20016 (CFLAGS-getprtent.c): Likewise.
20017 (CFLAGS-either_ntoh.c): Likewise.
20018 (CFLAGS-either_hton.c): Likewise.
20019 (CFLAGS-getnetgrent.c): Likewise.
20020 (CFLAGS-getnetgrent_r.c): Likewise.
20021 (CFLAGS-tst-checks-posix.c): Likewise.
20022 (CFLAGS-tst-sockaddr.c): Likewise.
20023 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
20024 (CFLAGS-tst-translit.c): Likewise.
20025 (CFLAGS-tst-gettext2.c): Likewise.
20026 (CFLAGS-tst-codeset.c): Likewise.
20027 (CFLAGS-tst-gettext3.c): Likewise.
20028 (CFLAGS-tst-gettext4.c): Likewise.
20029 (CFLAGS-tst-gettext5.c): Likewise.
20030 (CFLAGS-tst-gettext6.c): Likewise.
20031 * io/Makefile (CFLAGS-open.c): Likewise.
20032 (CFLAGS-open64.c): Likewise.
20033 (CFLAGS-creat.c): Likewise.
20034 (CFLAGS-creat64.c): Likewise.
20035 (CFLAGS-fcntl.c): Likewise.
20036 (CFLAGS-poll.c): Likewise.
20037 (CFLAGS-ppoll.c): Likewise.
20038 (CFLAGS-lockf.c): Likewise.
20039 (CFLAGS-statfs.c): Likewise.
20040 (CFLAGS-fstatfs.c): Likewise.
20041 (CFLAGS-statvfs.c): Likewise.
20042 (CFLAGS-fstatvfs.c): Likewise.
20043 (CFLAGS-fts.c): Likewise.
20044 (CFLAGS-fts64.c): Likewise.
20045 (CFLAGS-ftw.c): Likewise.
20046 (CFLAGS-ftw64.c): Likewise.
20047 (CFLAGS-lockf.c): Likewise.
20048 (CFLAGS-posix_fallocate.c): Likewise.
20049 (CFLAGS-posix_fallocate64.c): Likewise.
20050 (CFLAGS-fallocate.c): Likewise.
20051 (CFLAGS-fallocate64.c): Likewise.
20052 (CFLAGS-read.c): Likewise.
20053 (CFLAGS-write.c): Likewise.
20054 (CFLAGS-test-stat.c): Likewise.
20055 (CFLAGS-test-lfs.c): Likewise.
20056 * libio/Makefile (CFLAGS-fileops.c): Likewise.
20057 (CFLAGS-fputc.c): Likewise.
20058 (CFLAGS-fputwc.c): Likewise.
20059 (CFLAGS-freopen64.c): Likewise.
20060 (CFLAGS-freopen.c): Likewise.
20061 (CFLAGS-fseek.c): Likewise.
20062 (CFLAGS-fseeko64.c): Likewise.
20063 (CFLAGS-fseeko.c): Likewise.
20064 (CFLAGS-ftello64.c): Likewise.
20065 (CFLAGS-ftello.c): Likewise.
20066 (CFLAGS-fwide.c): Likewise.
20067 (CFLAGS-genops.c): Likewise.
20068 (CFLAGS-getc.c): Likewise.
20069 (CFLAGS-getchar.c): Likewise.
20070 (CFLAGS-getwc.c): Likewise.
20071 (CFLAGS-getwchar.c): Likewise.
20072 (CFLAGS-iofclose.c): Likewise.
20073 (CFLAGS-iofflush.c): Likewise.
20074 (CFLAGS-iofgetpos64.c): Likewise.
20075 (CFLAGS-iofgetpos.c): Likewise.
20076 (CFLAGS-iofgets.c): Likewise.
20077 (CFLAGS-iofgetws.c): Likewise.
20078 (CFLAGS-iofputs.c): Likewise.
20079 (CFLAGS-iofputws.c): Likewise.
20080 (CFLAGS-iofread.c): Likewise.
20081 (CFLAGS-iofsetpos64.c): Likewise.
20082 (CFLAGS-iofsetpos.c): Likewise.
20083 (CFLAGS-ioftell.c): Likewise.
20084 (CFLAGS-iofwrite.c): Likewise.
20085 (CFLAGS-iogetdelim.c): Likewise.
20086 (CFLAGS-iogetline.c): Likewise.
20087 (CFLAGS-iogets.c): Likewise.
20088 (CFLAGS-iogetwline.c): Likewise.
20089 (CFLAGS-ioputs.c): Likewise.
20090 (CFLAGS-ioseekoff.c): Likewise.
20091 (CFLAGS-ioseekpos.c): Likewise.
20092 (CFLAGS-iosetbuffer.c): Likewise.
20093 (CFLAGS-iosetvbuf.c): Likewise.
20094 (CFLAGS-ioungetc.c): Likewise.
20095 (CFLAGS-ioungetwc.c): Likewise.
20096 (CFLAGS-oldfileops.c): Likewise.
20097 (CFLAGS-oldiofclose.c): Likewise.
20098 (CFLAGS-oldiofgetpos64.c): Likewise.
20099 (CFLAGS-oldiofgetpos.c): Likewise.
20100 (CFLAGS-oldiofsetpos64.c): Likewise.
20101 (CFLAGS-oldiofsetpos.c): Likewise.
20102 (CFLAGS-peekc.c): Likewise.
20103 (CFLAGS-putc.c): Likewise.
20104 (CFLAGS-putchar.c): Likewise.
20105 (CFLAGS-putwc.c): Likewise.
20106 (CFLAGS-putwchar.c): Likewise.
20107 (CFLAGS-rewind.c): Likewise.
20108 (CFLAGS-wfileops.c): Likewise.
20109 (CFLAGS-wgenops.c): Likewise.
20110 (CFLAGS-oldiofopen.c): Likewise.
20111 (CFLAGS-iofopen.c): Likewise.
20112 (CFLAGS-iofopen64.c): Likewise.
20113 (CFLAGS-oldtmpfile.c): Likewise.
20114 (CFLAGS-tst_putwc.c): Likewise.
20115 * locale/Makefile (CFLAGS-md5.c): Likewise.
20116 (CFLAGS-charmap.c): Likewise.
20117 (CFLAGS-locfile.c): Likewise.
20118 (CFLAGS-charmap-dir.c): Likewise.
20119 * login/Makefile (CFLAGS-grantpt.c): Likewise.
20120 (CFLAGS-getpt.c): Likewise.
20121 (CFLAGS-pt_chown.c): Likewise.
20122 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
20123 (CFLAGS-obstack.c): Likewise.
20124 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
20125 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
20126 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
20127 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
20128 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
20129 (CFLAGS-test-tgmath.c): Likewise.
20130 (CFLAGS-test-tgmath2.c): Likewise.
20131 (CFLAGS-test-tgmath-ret.c): Likewise.
20132 (CFLAGS-test-powl.c): Likewise.
20133 (CFLAGS-test-snan.c): Likewise.
20134 (CFLAGS-test-signgam-finite.c): Likewise.
20135 (CFLAGS-test-signgam-finite-c99.c): Likewise.
20136 (CFLAGS-test-signgam-finite-c11.c): Likewise.
20137 (CFLAGS-test-signgam-uchar.c): Likewise.
20138 (CFLAGS-test-signgam-uchar-init.c): Likewise.
20139 (CFLAGS-test-signgam-uchar-static.c): Likewise.
20140 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
20141 (CFLAGS-test-signgam-uint.c): Likewise.
20142 (CFLAGS-test-signgam-uint-init.c): Likewise.
20143 (CFLAGS-test-signgam-uint-static.c): Likewise.
20144 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
20145 (CFLAGS-test-signgam-ullong.c): Likewise.
20146 (CFLAGS-test-signgam-ullong-init.c): Likewise.
20147 (CFLAGS-test-signgam-ullong-static.c): Likewise.
20148 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
20149 (CFLAGS-test-math-cxx11.cc): Likewise.
20150 (CFLAGS-test-math-isinff.cc): Likewise.
20151 (CFLAGS-test-math-iszero.cc): Likewise.
20152 (CFLAGS-test-math-issignaling.cc): Likewise.
20153 (CFLAGS-test-math-iscanonical.cc): Likewise.
20154 (CFLAGS-test-iszero-excess-precision.c): Likewise.
20155 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
20156 (CFLAGS-test-flt-eval-method.c): Likewise.
20157 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
20158 (CFLAGS-test-finite-macros.c): Likewise.
20159 * misc/Makefile (CFLAGS-select.c): Likewise.
20160 (CFLAGS-tsearch.c): Likewise.
20161 (CFLAGS-lsearch.c): Likewise.
20162 (CFLAGS-pselect.c): Likewise.
20163 (CFLAGS-readv.c): Likewise.
20164 (CFLAGS-writev.c): Likewise.
20165 (CFLAGS-preadv.c): Likewise.
20166 (CFLAGS-preadv64.c): Likewise.
20167 (CFLAGS-pwritev.c): Likewise.
20168 (CFLAGS-pwritev64.c): Likewise.
20169 (CFLAGS-preadv2.c): Likewise.
20170 (CFLAGS-preadv64v2.c): Likewise.
20171 (CFLAGS-pwritev2.c): Likewise.
20172 (CFLAGS-pwritev64v2.c): Likewise.
20173 (CFLAGS-usleep.c): Likewise.
20174 (CFLAGS-syslog.c): Likewise.
20175 (CFLAGS-error.c): Likewise.
20176 (CFLAGS-getpass.c): Likewise.
20177 (CFLAGS-mkstemp.c): Likewise.
20178 (CFLAGS-mkstemp64.c): Likewise.
20179 (CFLAGS-getsysstats.c): Likewise.
20180 (CFLAGS-getusershell.c): Likewise.
20181 (CFLAGS-err.c): Likewise.
20182 (CFLAGS-tst-tsearch.c): Likewise.
20183 (CFLAGS-msync.c): Likewise.
20184 (CFLAGS-fdatasync.c): Likewise.
20185 (CFLAGS-fsync.c): Likewise.
20186 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
20187 (CFLAGS-unwind.c): Likewise.
20188 (CFLAGS-unwind-forcedunwind.c): Likewise.
20189 (CFLAGS-pthread_cancel.c): Likewise.
20190 (CFLAGS-pthread_setcancelstate.c): Likewise.
20191 (CFLAGS-pthread_setcanceltype.c): Likewise.
20192 (CFLAGS-cancellation.c): Likewise.
20193 (CFLAGS-libc-cancellation.c): Likewise.
20194 (CFLAGS-pthread_exit.c): Likewise.
20195 (CFLAGS-forward.c): Likewise.
20196 (CFLAGS-pthread_testcancel.c): Likewise.
20197 (CFLAGS-pthread_join.c): Likewise.
20198 (CFLAGS-pthread_timedjoin.c): Likewise.
20199 (CFLAGS-pthread_once.c): Likewise.
20200 (CFLAGS-pthread_cond_wait.c): Likewise.
20201 (CFLAGS-sem_wait.c): Likewise.
20202 (CFLAGS-sem_timedwait.c): Likewise.
20203 (CFLAGS-fcntl.c): Likewise.
20204 (CFLAGS-lockf.c): Likewise.
20205 (CFLAGS-pread.c): Likewise.
20206 (CFLAGS-pread64.c): Likewise.
20207 (CFLAGS-pwrite.c): Likewise.
20208 (CFLAGS-pwrite64.c): Likewise.
20209 (CFLAGS-wait.c): Likewise.
20210 (CFLAGS-waitpid.c): Likewise.
20211 (CFLAGS-sigwait.c): Likewise.
20212 (CFLAGS-msgrcv.c): Likewise.
20213 (CFLAGS-msgsnd.c): Likewise.
20214 (CFLAGS-tcdrain.c): Likewise.
20215 (CFLAGS-open.c): Likewise.
20216 (CFLAGS-open64.c): Likewise.
20217 (CFLAGS-pause.c): Likewise.
20218 (CFLAGS-recv.c): Likewise.
20219 (CFLAGS-send.c): Likewise.
20220 (CFLAGS-accept.c): Likewise.
20221 (CFLAGS-sendto.c): Likewise.
20222 (CFLAGS-connect.c): Likewise.
20223 (CFLAGS-recvfrom.c): Likewise.
20224 (CFLAGS-recvmsg.c): Likewise.
20225 (CFLAGS-sendmsg.c): Likewise.
20226 (CFLAGS-close.c): Likewise.
20227 (CFLAGS-read.c): Likewise.
20228 (CFLAGS-write.c): Likewise.
20229 (CFLAGS-nanosleep.c): Likewise.
20230 (CFLAGS-sigsuspend.c): Likewise.
20231 (CFLAGS-msync.c): Likewise.
20232 (CFLAGS-fdatasync.c): Likewise.
20233 (CFLAGS-fsync.c): Likewise.
20234 (CFLAGS-pt-system.c): Likewise.
20235 (CFLAGS-tst-cleanup2.c): Likewise.
20236 (CFLAGS-tst-cleanupx2.c): Likewise.
20237 (CFLAGS-flockfile.c): Likewise.
20238 (CFLAGS-ftrylockfile.c): Likewise.
20239 (CFLAGS-funlockfile.c): Likewise.
20240 (CFLAGS-tst-initializers1.c): Likewise.
20241 (CFLAGS-tst-initializers1-c89.c): Likewise.
20242 (CFLAGS-tst-initializers1-c99.c): Likewise.
20243 (CFLAGS-tst-initializers1-c11.c): Likewise.
20244 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
20245 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
20246 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
20247 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
20248 (CFLAGS-nscd_getgr_r.c): Likewise.
20249 (CFLAGS-nscd_gethst_r.c): Likewise.
20250 (CFLAGS-nscd_getai.c): Likewise.
20251 (CFLAGS-nscd_initgroups.c): Likewise.
20252 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
20253 (CFLAGS-pause.c): Likewise.
20254 (CFLAGS-pread.c): Likewise.
20255 (CFLAGS-pread64.c): Likewise.
20256 (CFLAGS-pwrite.c): Likewise.
20257 (CFLAGS-pwrite64.c): Likewise.
20258 (CFLAGS-sleep.c): Likewise.
20259 (CFLAGS-wait.c): Likewise.
20260 (CFLAGS-waitid.c): Likewise.
20261 (CFLAGS-waitpid.c): Likewise.
20262 (CFLAGS-getopt.c): Likewise.
20263 (CFLAGS-wordexp.c): Likewise.
20264 (CFLAGS-sysconf.c): Likewise.
20265 (CFLAGS-pathconf.c): Likewise.
20266 (CFLAGS-fpathconf.c): Likewise.
20267 (CFLAGS-spawn.c): Likewise.
20268 (CFLAGS-spawnp.c): Likewise.
20269 (CFLAGS-spawni.c): Likewise.
20270 (CFLAGS-glob.c): Likewise.
20271 (CFLAGS-glob64.c): Likewise.
20272 (CFLAGS-getconf.c): Likewise.
20273 (CFLAGS-nanosleep.c): Likewise.
20274 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
20275 (CFLAGS-getpwent.c): Likewise.
20276 (CFLAGS-getpw.c): Likewise.
20277 (CFLAGS-fgetpwent_r.c): Likewise.
20278 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
20279 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
20280 (CFLAGS-mq_timedreceive.c): Likewise.
20281 (CFLAGS-mq_timedsend.c): Likewise.
20282 (CFLAGS-clock_nanosleep.c): Likewise.
20283 (CFLAGS-librt-cancellation.c): Likewise.
20284 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
20285 (CFLAGS-getspent.c): Likewise.
20286 (CFLAGS-fgetspent.c): Likewise.
20287 (CFLAGS-fgetspent_r.c): Likewise.
20288 (CFLAGS-putspent.c): Likewise.
20289 (CFLAGS-getspnam.c): Likewise.
20290 (CFLAGS-getspnam_r.c): Likewise.
20291 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
20292 (CFLAGS-sigsuspend.c): Likewise.
20293 (CFLAGS-sigtimedwait.c): Likewise.
20294 (CFLAGS-sigwait.c): Likewise.
20295 (CFLAGS-sigwaitinfo.c): Likewise.
20296 (CFLAGS-sigreturn.c): Likewise.
20297 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
20298 (CFLAGS-vfwprintf.c): Likewise.
20299 (CFLAGS-tmpfile.c): Likewise.
20300 (CFLAGS-tmpfile64.c): Likewise.
20301 (CFLAGS-tempname.c): Likewise.
20302 (CFLAGS-psignal.c): Likewise.
20303 (CFLAGS-vprintf.c): Likewise.
20304 (CFLAGS-cuserid.c): Likewise.
20305 (CFLAGS-errlist.c): Likewise.
20306 (CFLAGS-siglist.c): Likewise.
20307 (CFLAGS-scanf15.c): Likewise.
20308 (CFLAGS-scanf17.c): Likewise.
20309 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
20310 (CFLAGS-msort.c): Likewise.
20311 (CFLAGS-qsort.c): Likewise.
20312 (CFLAGS-system.c): Likewise.
20313 (CFLAGS-fmtmsg.c): Likewise.
20314 (CFLAGS-strfmon.c): Likewise.
20315 (CFLAGS-strfmon_l.c): Likewise.
20316 (CFLAGS-strfromd.c): Likewise.
20317 (CFLAGS-strfromf.c): Likewise.
20318 (CFLAGS-strfroml.c): Likewise.
20319 (CFLAGS-tst-bsearch.c): Likewise.
20320 (CFLAGS-tst-qsort.c): Likewise.
20321 (CFLAGS-tst-makecontext2.c): Likewise.
20322 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
20323 (CFLAGS-xnlm_prot.c): Likewise.
20324 (CFLAGS-xrstat.c): Likewise.
20325 (CFLAGS-xyppasswd.c): Likewise.
20326 (CFLAGS-xklm_prot.c): Likewise.
20327 (CFLAGS-xrex.c): Likewise.
20328 (CFLAGS-xsm_inter.c): Likewise.
20329 (CFLAGS-xmount.c): Likewise.
20330 (CFLAGS-xrusers.c): Likewise.
20331 (CFLAGS-xspray.c): Likewise.
20332 (CFLAGS-xnfs_prot.c): Likewise.
20333 (CFLAGS-xrquota.c): Likewise.
20334 (CFLAGS-xkey_prot.c): Likewise.
20335 (CFLAGS-auth_unix.c): Likewise.
20336 (CFLAGS-key_call.c): Likewise.
20337 (CFLAGS-pmap_rmt.c): Likewise.
20338 (CFLAGS-clnt_perr.c): Likewise.
20339 (CFLAGS-openchild.c): Likewise.
20340 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
20341 (CFLAGS-msgsnd.c): Likewise.
20342 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
20343 * time/Makefile (CFLAGS-tzfile.c): Likewise.
20344 (CFLAGS-tzset.c): Likewise.
20345 (CFLAGS-getdate.c): Likewise.
20346 (CFLAGS-test_time.c): Likewise.
20347 (CPPFLAGS-tst-tzname.c): Likewise.
20348 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
20349 (CFLAGS-zic.c): Likewise.
20350 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
20351 (CFLAGS-wcswidth.c): Likewise.
20352 (CFLAGS-wcstol.c): Likewise.
20353 (CFLAGS-wcstoul.c): Likewise.
20354 (CFLAGS-wcstoll.c): Likewise.
20355 (CFLAGS-wcstoull.c): Likewise.
20356 (CFLAGS-wcstod.c): Likewise.
20357 (CFLAGS-wcstold.c): Likewise.
20358 (CFLAGS-wcstof128.c): Likewise.
20359 (CFLAGS-wcstof.c): Likewise.
20360 (CFLAGS-wcstol_l.c): Likewise.
20361 (CFLAGS-wcstoul_l.c): Likewise.
20362 (CFLAGS-wcstoll_l.c): Likewise.
20363 (CFLAGS-wcstoull_l.c): Likewise.
20364 (CFLAGS-wcstod_l.c): Likewise.
20365 (CFLAGS-wcstold_l.c): Likewise.
20366 (CFLAGS-wcstof128_l.c): Likewise.
20367 (CFLAGS-wcstof_l.c): Likewise.
20368 (CPPFLAGS-tst-wchar-h.c): Likewise.
20369 (CPPFLAGS-wcstold_l.c): Likewise.
20371 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
20373 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
20375 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20376 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20378 * manual/tunables.texi (Hardware Capability Tunables): Document
20379 glibc.tune.cached_memopt.
20380 * sysdeps/powerpc/cpu-features.c: New file.
20381 * sysdeps/powerpc/cpu-features.h: New file.
20382 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
20383 _dl_powerpc_cpu_features.
20384 * sysdeps/powerpc/dl-tunables.list: New file.
20385 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
20386 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
20387 (INIT_ARCH): Initialize use_aligned_memopt.
20388 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
20389 IS_IN(rtld))]: Restrict dl_platform_init availability and
20390 initialize CPU features used by tunables.
20391 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
20392 Add memcpy-power8-cached.
20393 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
20394 __memcpy_power8_cached.
20395 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
20396 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
20399 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20401 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
20402 (CFLAGS-noinl-tester.c): Likewise.
20403 (CFLAGS-tst-strlen.c): Likewise.
20404 (CFLAGS-stratcliff.c): Likewise.
20405 (CFLAGS-test-ffs.c): Likewise.
20406 (CFLAGS-tst-inlcall.c): Likewise.
20407 (CFLAGS-tst-xbzero-opt.c): Likewise.
20408 (CFLAGS-memcpy.c): Likewise.
20409 (CFLAGS-wordcopy.c): Likewise.
20411 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20413 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
20414 Store r15 on stack and add cfi rule.
20415 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
20418 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
20421 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
20424 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
20426 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20427 Add s_sinf-sse2 and s_sinf-fma.
20428 (CFLAGS-s_sinf-fma.c): New.
20429 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
20430 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
20431 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
20433 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
20435 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
20437 2017-12-07 Joseph Myers <joseph@codesourcery.com>
20440 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
20441 part of result to imaginary part of argument if it is zero and the
20442 real part of the argument is not finite.
20443 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
20444 of result to real part of argument if it is zero and the imaginary
20445 part of the argument is not finite.
20447 2017-12-07 Mike FABIAN <mfabian@redhat.com>
20450 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
20451 and to the list of locales to be built for testing.
20452 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
20453 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
20454 and build the collation rules upon that.
20456 2017-12-07 Joseph Myers <joseph@codesourcery.com>
20458 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
20459 * manual/math.texi (Mathematics): Document support for _Float32.
20460 * math/Makefile (test-types): Add float32.
20461 * math/Versions (GLIBC_2.27): Add _Float32 functions.
20462 * stdlib/Versions (GLIBC_2.27): Likewise.
20463 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20464 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20465 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20466 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20467 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20468 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20469 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20470 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20471 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20472 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20473 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20474 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20475 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20476 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20477 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20478 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20479 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20480 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20481 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20482 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20483 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20484 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
20486 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20487 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20488 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20489 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20490 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
20504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20508 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20509 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20510 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20511 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20512 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20513 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20514 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20515 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20516 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20517 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20518 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20520 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20522 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20524 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20526 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20527 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20528 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20529 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20530 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20531 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20532 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20533 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20535 2017-12-06 Joseph Myers <joseph@codesourcery.com>
20537 * stdlib/strtof.c: Include <bits/floatn.h>
20538 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
20539 and later undefine as macro. Define as weak alias if
20541 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
20542 and later undefine as macro. Define as weak alias if
20544 * stdlib/strtof_l.c: Include <bits/floatn.h>
20545 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
20546 and later undefine as macro. Define as weak alias if
20548 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
20549 and later undefine as macro. Define as weak alias if
20552 * stdlib/strfromf.c: Include <bits/floatn.h>.
20553 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
20554 and later undefine as macro and define as weak alias.
20556 * math/test-float32.h: New file.
20558 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
20559 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
20560 (libm_alias_float_other_r): Create f32 alias.
20561 (libm_alias_float_r): Use semicolon before call to
20562 libm_alias_float_other_r.
20564 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
20565 second argument to libm_alias_float_other.
20566 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
20567 second argument to libm_alias_float_other.
20568 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
20569 argument to libm_alias_float_other.
20572 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
20573 real part of result for argument 0 + i * NaN.
20574 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
20575 results for tests of 0 + i * NaN.
20577 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20579 * sysdeps/alpha/fpu/libm-test-ulps: Update.
20581 2017-12-06 David S. Miller <davem@davemloft.net>
20583 * sysdeps/sparc/fpu/libm-test-ulps: Update
20584 exp_{downward,towardzero,upward} ulps.
20586 2017-12-06 Joseph Myers <joseph@codesourcery.com>
20588 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
20591 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
20593 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
20595 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
20597 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
20600 2017-12-06 Mike FABIAN <mfabian@redhat.com>
20603 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
20604 and to the list of locales to be built for testing.
20605 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
20606 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
20607 and build the collation rules upon that.
20609 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20611 * NEWS: Add sinf to list of optimized functions.
20613 2017-12-06 Joseph Myers <joseph@codesourcery.com>
20615 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
20616 (__HAVE_FLOAT32X): Likewise.
20617 * manual/math.texi (Mathematics): Document support for _Float64
20619 * math/Makefile (test-types): Add float64 and float32x.
20620 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
20622 * stdlib/Versions (GLIBC_2.27): Likewise.
20623 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20624 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20625 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20626 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20627 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20628 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20629 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20630 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20631 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20632 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20633 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20634 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20635 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20636 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20637 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20638 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20639 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20640 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20641 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20642 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20643 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20644 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
20646 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20647 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20648 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20649 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20650 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
20663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20667 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20668 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20669 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20670 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20671 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20672 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20673 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20674 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20675 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20676 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20677 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20679 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20681 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20683 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20685 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20686 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20687 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20688 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20689 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20690 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20691 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20692 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20694 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20696 * bits/floatn-common.h: Include <bits/long-double.h>.
20697 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20698 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
20699 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20700 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
20701 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20702 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
20703 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20704 (__builtin_huge_valf64): Use __builtin_huge_vall.
20705 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20706 (__builtin_inff64): Use __builtin_infl.
20707 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20708 (__builtin_nanf64): Use __builtin_nanl.
20709 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20710 (__builtin_nansf64): Use __builtin_nansl.
20712 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
20713 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20714 Carlos O'Donnell <carlos@redhat.com>
20716 * elf/dl-tunables.list: Add elision parameters.
20717 * manual/tunables.texi: Add entries about elision tunable.
20718 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
20719 Add callback functions to dynamically enable/disable elision.
20720 Add multiple callbacks functions to set elision parameters.
20721 Deleted __libc_enable_secure check.
20722 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
20723 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
20724 * configure: Regenerated.
20725 * configure.ac: Option enable_lock_elision was deleted.
20726 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
20727 * config.make.in: Remove references to enable_lock_elision.
20728 * manual/install.texi: Elision configure option was removed.
20729 * INSTALL: Regenerated to remove enable_lock_elision.
20731 Disable elision so it can verify error case for destroying a mutex.
20732 * sysdeps/powerpc/nptl/elide.h:
20733 Cleanup ENABLE_LOCK_ELISION check.
20734 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
20735 * sysdeps/s390/configure: Regenerated.
20736 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
20737 * nptl/tst-mutex8.c:
20738 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
20739 * sysdeps/powerpc/powerpc32/sysdep.h:
20740 Deleted all ENABLE_LOCK_ELISION checks.
20741 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20742 * sysdeps/powerpc/sysdep.h: Likewise.
20743 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
20744 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
20745 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20746 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20747 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20748 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
20749 enable-lock-elision.
20751 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20753 * stdlib/strtod.c: Include <bits/floatn.h>.
20754 (BUILD_DOUBLE): New macro.
20755 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20756 (strtof64): Define and later undefine as macro. Define as weak
20757 alias if [!USE_WIDE_CHAR].
20758 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20759 (wcstof64): Define and later undefine as macro. Define as weak
20760 alias if [USE_WIDE_CHAR].
20761 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20762 (strtof32x): Define and later undefine as macro. Define as weak
20763 alias if [!USE_WIDE_CHAR].
20764 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20765 (wcstof32x): Define and later undefine as macro. Define as weak
20766 alias if [USE_WIDE_CHAR].
20767 * stdlib/strtod_l.c: Include <bits/floatn.h>.
20768 (BUILD_DOUBLE): New macro.
20769 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20770 (strtof64_l): Define and later undefine as macro. Define as weak
20771 alias if [!USE_WIDE_CHAR].
20772 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20773 (wcstof64_l): Define and later undefine as macro. Define as weak
20774 alias if [USE_WIDE_CHAR].
20775 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20776 (strtof32x_l): Define and later undefine as macro. Define as weak
20777 alias if [!USE_WIDE_CHAR].
20778 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20779 (wcstof32x_l): Define and later undefine as macro. Define as weak
20780 alias if [USE_WIDE_CHAR].
20782 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20784 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
20785 (reduced): Use ones as double instead of integer.
20787 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
20789 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
20791 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20793 * stdlib/strfromd.c: Include <bits/floatn.h>.
20794 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
20795 and later undefine as macro and define as weak alias.
20796 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
20799 * math/test-float32x.h: New file.
20800 * math/test-float64.h: Likewise.
20802 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
20803 (libm_alias_double_other_r_f64): New macro.
20804 (libm_alias_double_other_r_f32x): Likewise.
20805 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20806 libm_alias_double_other_r_f32x.
20807 (libm_alias_double_r): Use semicolon before call to
20808 libm_alias_double_other_r.
20809 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
20811 (libm_alias_double_other_r_f64): New macro.
20812 (libm_alias_double_other_r_f32x): Likewise.
20813 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20814 libm_alias_double_other_r_f32x.
20816 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
20818 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
20820 (SINF_FUNC): Likewise. Replace floor with simple casts.
20822 2017-12-05 Mike FABIAN <mfabian@redhat.com>
20825 * localedata/Makefile: Add et_EE.UTF-8 to test-input
20826 and to the list of locales to be built for testing.
20827 * localedata/et_EE.UTF-8.in: New file for testing the collation.
20828 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
20829 and build the collation rules upon that.
20831 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
20833 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
20834 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
20835 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
20836 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
20837 instead of __insn__xxx.
20838 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
20839 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
20840 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
20841 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
20842 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
20843 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
20845 2017-12-05 Florian Weimer <fweimer@redhat.com>
20847 Linux: Implement interfaces for memory protection keys
20848 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
20850 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
20851 * support/xunistd.h (xsysconf): Declare.
20852 * support/xraise.c: New file.
20853 * support/xsigaction.c: Likewise.
20854 * support/xsignal.c: Likewise.
20855 * support/xsysconf.c: Likewise.
20856 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
20857 pkey_set, pkey_get, pkey_mprotect.
20858 [misc] (tests): Add tst-pkey.
20859 (tst-pkey): Link with -lpthread.
20860 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
20861 pkey_free, pkey_set, pkey_get, pkey_mprotect.
20862 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
20863 (PKEY_DISABLE_WRITE): Define.
20864 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
20866 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
20867 (SEGV_PKUERR): Add.
20868 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
20869 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
20870 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
20871 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
20873 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
20874 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
20875 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
20876 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
20877 * sysdeps/unix/sysv/linux/**.abilist: Update.
20879 2017-12-05 Florian Weimer <fweimer@redhat.com>
20881 * support/tst-test_compare.c (subprocess): Use long long instead
20882 of long argument for consistent type width across 32-bit and
20883 64-bit architectures.
20884 (do_test): Adjust expected output.
20886 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20888 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
20889 (cosf): Define using libm_alias_float.
20890 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
20891 (fabsf): Define using libm_alias_float.
20892 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
20893 (fmaf): Define using libm_alias_float.
20894 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
20895 (rintf): Define using libm_alias_float.
20896 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
20897 (sinf): Define using libm_alias_float.
20898 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
20899 <libm-alias-float.h>.
20900 (modff): Define using libm_alias_float.
20901 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
20902 <libm-alias-float.h>.
20903 (logbf): Define using libm_alias_float.
20904 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
20905 <libm-alias-float.h>.
20906 (ceilf): Define using libm_alias_float.
20907 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20908 <libm-alias-float.h>.
20909 (copysignf): Define using libm_alias_float.
20910 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
20911 <libm-alias-float.h>.
20912 (floorf): Define using libm_alias_float.
20913 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
20914 <libm-alias-float.h>.
20915 (llrintf): Define using libm_alias_float.
20916 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
20917 <libm-alias-float.h>.
20918 (llroundf): Define using libm_alias_float.
20919 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20920 <libm-alias-float.h>.
20921 (lrintf): Define using libm_alias_float.
20922 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20923 <libm-alias-float.h>.
20924 (lroundf): Define using libm_alias_float.
20925 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
20926 <libm-alias-float.h>.
20927 (nearbyintf): Define using libm_alias_float.
20928 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
20929 <libm-alias-float.h>.
20930 (rintf): Define using libm_alias_float.
20931 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
20932 <libm-alias-float.h>.
20933 (roundf): Define using libm_alias_float.
20934 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
20935 <libm-alias-float.h>.
20936 (truncf): Define using libm_alias_float.
20937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
20938 Include <libm-alias-float.h>.
20939 (ceilf): Define using libm_alias_float.
20940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
20941 Include <libm-alias-float.h>.
20942 (copysignf): Define using libm_alias_float.
20943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
20944 Include <libm-alias-float.h>.
20945 (floorf): Define using libm_alias_float.
20946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
20947 Include <libm-alias-float.h>.
20948 (llrintf): Define using libm_alias_float.
20949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
20950 Include <libm-alias-float.h>.
20951 (llroundf): Define using libm_alias_float.
20952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
20953 Include <libm-alias-float.h>.
20954 (logbf): Define using libm_alias_float.
20955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
20956 Include <libm-alias-float.h>.
20957 (lrintf): Define using libm_alias_float.
20958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
20959 Include <libm-alias-float.h>.
20960 (lroundf): Define using libm_alias_float.
20961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
20962 Include <libm-alias-float.h>.
20963 (modff): Define using libm_alias_float.
20964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
20965 Include <libm-alias-float.h>.
20966 (roundf): Define using libm_alias_float.
20967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
20968 Include <libm-alias-float.h>.
20969 (truncf): Define using libm_alias_float.
20970 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
20971 <libm-alias-float.h>.
20972 (llrintf): Define using libm_alias_float.
20973 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20974 <libm-alias-float.h>.
20975 (llroundf): Define using libm_alias_float.
20976 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
20977 <libm-alias-float.h>.
20978 (ceilf): Define using libm_alias_float.
20979 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
20980 <libm-alias-float.h>.
20981 (floorf): Define using libm_alias_float.
20982 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20983 <libm-alias-float.h>.
20984 (llroundf): Define using libm_alias_float.
20985 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20986 <libm-alias-float.h>.
20987 (lroundf): Define using libm_alias_float.
20988 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
20989 <libm-alias-float.h>.
20990 (roundf): Define using libm_alias_float.
20991 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
20992 <libm-alias-float.h>.
20993 (truncf): Define using libm_alias_float.
20994 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20995 <libm-alias-float.h>.
20996 (copysignf): Define using libm_alias_float.
20997 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
20998 <libm-alias-float.h>.
20999 (llrintf): Define using libm_alias_float.
21000 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21001 <libm-alias-float.h>.
21002 (llroundf): Define using libm_alias_float.
21003 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21004 <libm-alias-float.h>.
21005 (lrintf): Define using libm_alias_float.
21006 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21007 <libm-alias-float.h>.
21008 (lroundf): Define using libm_alias_float.
21009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
21010 <libm-alias-float.h>.
21011 (ceilf): Define using libm_alias_float.
21012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
21013 <libm-alias-float.h>.
21014 (copysignf): Define using libm_alias_float.
21015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
21016 <libm-alias-float.h>.
21017 (cosf): Define using libm_alias_float.
21018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
21019 <libm-alias-float.h>.
21020 (floorf): Define using libm_alias_float.
21021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
21022 <libm-alias-float.h>.
21023 (llrintf): Define using libm_alias_float.
21024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
21025 <libm-alias-float.h>.
21026 (llroundf): Define using libm_alias_float.
21027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
21028 <libm-alias-float.h>.
21029 (logbf): Define using libm_alias_float.
21030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
21031 <libm-alias-float.h>.
21032 (modff): Define using libm_alias_float.
21033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
21034 <libm-alias-float.h>.
21035 (roundf): Define using libm_alias_float.
21036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
21037 <libm-alias-float.h>.
21038 (sinf): Define using libm_alias_float.
21039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
21040 <libm-alias-float.h>.
21041 (truncf): Define using libm_alias_float.
21042 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
21043 <libm-alias-float.h>.
21044 (ceilf): Define using libm_alias_float.
21045 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21046 <libm-alias-float.h>.
21047 (copysignf): Define using libm_alias_float.
21048 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
21049 <libm-alias-float.h>.
21050 (floorf): Define using libm_alias_float.
21051 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21052 <libm-alias-float.h>.
21053 (llrintf): Define using libm_alias_float.
21054 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
21055 <libm-alias-float.h>.
21056 (llroundf): Define using libm_alias_float.
21057 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
21058 <libm-alias-float.h>.
21059 (nearbyintf): Define using libm_alias_float.
21060 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
21061 <libm-alias-float.h>.
21062 (rintf): Define using libm_alias_float.
21063 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
21064 <libm-alias-float.h>.
21065 (roundf): Define using libm_alias_float.
21066 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
21067 <libm-alias-float.h>.
21068 (truncf): Define using libm_alias_float.
21069 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
21070 <libm-alias-float.h>.
21071 (ceilf): Define using libm_alias_float.
21072 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
21073 <libm-alias-float.h>.
21074 (floorf): Define using libm_alias_float.
21075 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21076 <libm-alias-float.h>.
21077 (llroundf): Define using libm_alias_float.
21078 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
21079 <libm-alias-float.h>.
21080 (roundf): Define using libm_alias_float.
21081 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
21082 <libm-alias-float.h>.
21083 (truncf): Define using libm_alias_float.
21084 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21085 <libm-alias-float.h>.
21086 (copysignf): Define using libm_alias_float.
21087 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21088 <libm-alias-float.h>.
21089 (llrintf): Define using libm_alias_float.
21090 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21091 <libm-alias-float.h>.
21092 (llroundf): Define using libm_alias_float.
21093 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
21094 <libm-alias-float.h>.
21095 (cosf): Define using libm_alias_float.
21096 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21097 <libm-alias-float.h>.
21098 (llrintf): Define using libm_alias_float.
21099 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21100 <libm-alias-float.h>.
21101 (llroundf): Define using libm_alias_float.
21102 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
21103 <libm-alias-float.h>.
21104 (sinf): Define using libm_alias_float.
21106 2017-12-04 Florian Weimer <fweimer@redhat.com>
21108 * support/check.h (TEST_COMPARE): Define.
21109 (support_test_compare_failure): Declare.
21110 * support/Makefile (libsupport-routines): Add
21111 support_test_compare_failure.
21112 (tests): Add tst-test_compare.
21113 * support /support_test_compare_failure.c: New file.
21114 * support/tst-test_compare.c: Likewise.
21116 2017-12-04 Mike FABIAN <mfabian@redhat.com>
21119 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
21120 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
21121 available, this rewrite of the collation rules does reproduce
21122 the test file in the same order.
21124 2017-12-04 Mike FABIAN <mfabian@redhat.com>
21127 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
21128 digraphs in the month and day names. Using single code points for
21129 digraphs is deprecated. While there are dedicated Unicode
21130 codepoints, for the digraphs, these are included for backwards
21131 compatibility and modern texts use a sequence of Basic Latin
21132 characters. See: https://www.unicode.org/faq/ligature_digraph.html
21133 This makes the month and day names agree exactly with CLDR now,
21134 CLDR does not use the single code points for the digraphs either.
21136 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
21138 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
21140 2017-12-04 Joseph Myers <joseph@codesourcery.com>
21142 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
21145 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
21147 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
21148 Define only for libc.so.
21150 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
21152 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21153 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
21154 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
21155 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
21156 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21158 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21161 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
21163 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
21166 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
21167 PREINIT_FUNCTION_WEAK is nonzero.
21168 (gmon_initializer): New function. Put procedure label for it in
21169 .init_array section.
21170 (_init): Don't call PREINIT_FUNCTION.
21171 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
21172 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
21173 value when map argument is null.
21175 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
21176 depi instruction from PIC pc-relative sequence.
21177 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
21178 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
21179 (elf_machine_load_address): Likewise.
21180 (elf_machine_runtime_setup): Likewise.
21182 2017-12-02 Joseph Myers <joseph@codesourcery.com>
21184 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
21185 <libm-alias-double.h>.
21186 (logb): Define using libm_alias_double.
21187 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21188 <libm-alias-double.h>.
21189 (copysign): Define using libm_alias_double.
21190 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
21191 <libm-alias-double.h>.
21192 (llrint): Define using libm_alias_double.
21193 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
21194 <libm-alias-double.h>.
21195 (llround): Define using libm_alias_double.
21196 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21197 <libm-alias-double.h>.
21198 (lrint): Define using libm_alias_double.
21199 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21200 <libm-alias-double.h>.
21201 (lround): Define using libm_alias_double.
21202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
21203 Include <libm-alias-double.h>.
21204 (copysign): Define using libm_alias_double.
21205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
21206 Include <libm-alias-double.h>.
21207 (llrint): Define using libm_alias_double.
21208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
21209 Include <libm-alias-double.h>.
21210 (llround): Define using libm_alias_double.
21211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
21212 <libm-alias-double.h>.
21213 (logb): Define using libm_alias_double.
21214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
21215 Include <libm-alias-double.h>.
21216 (lrint): Define using libm_alias_double.
21217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
21218 Include <libm-alias-double.h>.
21219 (lround): Define using libm_alias_double.
21220 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
21221 <libm-alias-double.h>.
21222 (llrint): Define using libm_alias_double.
21223 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21224 <libm-alias-double.h>.
21225 (llround): Define using libm_alias_double.
21226 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21227 <libm-alias-double.h>.
21228 (llround): Define using libm_alias_double.
21229 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21230 <libm-alias-double.h>.
21231 (lround): Define using libm_alias_double.
21232 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21233 <libm-alias-double.h>.
21234 (copysign): Define using libm_alias_double.
21235 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
21236 <libm-alias-double.h>.
21237 (llrint): Define using libm_alias_double.
21238 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21239 <libm-alias-double.h>.
21240 (llround): Define using libm_alias_double.
21241 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21242 <libm-alias-double.h>.
21243 (lrint): Define using libm_alias_double.
21244 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21245 <libm-alias-double.h>.
21246 (lround): Define using libm_alias_double.
21247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
21248 <libm-alias-double.h>.
21249 (copysign): Define using libm_alias_double.
21250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
21251 <libm-alias-double.h>.
21252 (llrint): Define using libm_alias_double.
21254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
21255 <libm-alias-double.h>.
21256 (llround): Define using libm_alias_double.
21257 (lround): Likewise.
21258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
21259 <libm-alias-double.h>.
21260 (logb): Define using libm_alias_double.
21261 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21262 <libm-alias-double.h>.
21263 (copysign): Define using libm_alias_double.
21264 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21265 <libm-alias-double.h>.
21266 (llrint): Define using libm_alias_double.
21268 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
21269 <libm-alias-double.h>.
21270 (llround): Define using libm_alias_double.
21271 (lround): Likewise.
21272 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21273 <libm-alias-double.h>.
21274 (llround): Define using libm_alias_double.
21275 (lround): Likewise.
21276 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21277 <libm-alias-double.h>.
21278 (copysign): Define using libm_alias_double.
21279 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21280 <libm-alias-double.h>.
21281 (llrint): Define using libm_alias_double.
21283 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21284 <libm-alias-double.h>.
21285 (llround): Define using libm_alias_double.
21286 (lround): Likewise.
21287 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21288 <libm-alias-double.h>.
21289 (llrint): Define using libm_alias_double.
21291 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21292 <libm-alias-double.h>.
21293 (llround): Define using libm_alias_double.
21294 (lround): Likewise.
21296 2017-12-01 Joseph Myers <joseph@codesourcery.com>
21298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21299 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
21300 compat symbol based on llround.
21302 * sysdeps/powerpc/power7/fpu/s_logb.c
21303 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
21304 symbol based on __logb, not on logb.
21305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
21306 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
21308 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21310 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
21311 (rint): Define using libm_alias_double.
21312 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
21313 <libm-alias-double.h>.
21314 (modf): Define using libm_alias_double.
21315 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
21316 <libm-alias-double.h>.
21317 (ceil): Define using libm_alias_double.
21318 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
21319 <libm-alias-double.h>.
21320 (floor): Define using libm_alias_double.
21321 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
21322 <libm-alias-double.h>.
21323 (nearbyint): Define using libm_alias_double.
21324 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
21325 <libm-alias-double.h>.
21326 (rint): Define using libm_alias_double.
21327 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
21328 <libm-alias-double.h>.
21329 (round): Define using libm_alias_double.
21330 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
21331 <libm-alias-double.h>.
21332 (trunc): Define using libm_alias_double.
21333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
21334 <libm-alias-double.h>.
21335 (ceil): Define using libm_alias_double.
21336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
21337 Include <libm-alias-double.h>.
21338 (floor): Define using libm_alias_double.
21339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
21340 <libm-alias-double.h>.
21341 (modf): Define using libm_alias_double.
21342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
21343 Include <libm-alias-double.h>.
21344 (round): Define using libm_alias_double.
21345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
21346 Include <libm-alias-double.h>.
21347 (trunc): Define using libm_alias_double.
21348 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
21349 <libm-alias-double.h>.
21350 (ceil): Define using libm_alias_double.
21351 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
21352 <libm-alias-double.h>.
21353 (floor): Define using libm_alias_double.
21354 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
21355 <libm-alias-double.h>.
21356 (round): Define using libm_alias_double.
21357 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
21358 <libm-alias-double.h>.
21359 (trunc): Define using libm_alias_double.
21360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
21361 <libm-alias-double.h>.
21362 (ceil): Define using libm_alias_double.
21363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
21364 <libm-alias-double.h>.
21365 (floor): Define using libm_alias_double.
21366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
21367 <libm-alias-double.h>.
21368 (modf): Define using libm_alias_double.
21369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
21370 <libm-alias-double.h>.
21371 (round): Define using libm_alias_double.
21372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
21373 <libm-alias-double.h>.
21374 (trunc): Define using libm_alias_double.
21375 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
21376 <libm-alias-double.h>.
21377 (ceil): Define using libm_alias_double.
21378 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
21379 <libm-alias-double.h>.
21380 (floor): Define using libm_alias_double.
21381 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
21382 <libm-alias-double.h>.
21383 (nearbyint): Define using libm_alias_double.
21384 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
21385 <libm-alias-double.h>.
21386 (rint): Define using libm_alias_double.
21387 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
21388 <libm-alias-double.h>.
21389 (round): Define using libm_alias_double.
21390 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
21391 <libm-alias-double.h>.
21392 (trunc): Define using libm_alias_double.
21393 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
21394 <libm-alias-double.h>.
21395 (ceil): Define using libm_alias_double.
21396 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
21397 <libm-alias-double.h>.
21398 (floor): Define using libm_alias_double.
21399 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
21400 <libm-alias-double.h>.
21401 (round): Define using libm_alias_double.
21402 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
21403 <libm-alias-double.h>.
21404 (trunc): Define using libm_alias_double.
21406 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
21407 (fabs): Define using libm_alias_double.
21408 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
21409 (fma): Define using libm_alias_double.
21410 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
21411 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
21412 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
21413 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
21415 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21417 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
21419 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
21420 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
21421 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
21424 due redirect macro.
21426 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
21428 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
21430 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21432 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
21433 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
21434 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
21435 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
21437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21438 (libm-sysdep_routines): Add s_nearbyintf-generic and
21439 s_nearbyint-generic.
21440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
21442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
21443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
21445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
21447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
21449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21453 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
21454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
21456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
21457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
21459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
21460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
21461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21464 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
21465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
21467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
21468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
21470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
21471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
21472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
21474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21475 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
21476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
21478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
21479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
21481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
21482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
21483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21486 (sysdep_calls): New rule.
21487 (sysdep_routines): Use sysdep_calls as base.
21488 (libm-sysdep_routines): Add generic rule for symbols shared with
21489 libc. Add s_copysign-generic and s_copysign-generic objects.
21490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
21492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
21493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
21495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
21496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
21497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
21499 2017-12-01 Mike FABIAN <mfabian@redhat.com>
21502 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
21503 the list of locales to be built for testing.
21504 * localedata/is_IS.UTF-8.in: New file.
21505 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
21508 2017-12-01 Joseph Myers <joseph@codesourcery.com>
21510 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
21511 <libm-alias-float.h>.
21512 (fabsf): Define using libm_alias_float.
21514 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
21516 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
21518 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21520 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
21521 <libm-alias-float.h>.
21522 (fabsf): Define using libm_alias_float.
21523 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
21524 <libm-alias-float.h>.
21525 (lrintf): Define using libm_alias_float.
21526 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
21527 <libm-alias-float.h>.
21528 (rintf): Define using libm_alias_float.
21530 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
21531 <libm-alias-double.h>.
21532 (fabs): Define using libm_alias_double.
21533 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
21534 <libm-alias-double.h>.
21535 (lrint): Define using libm_alias_double.
21536 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
21537 <libm-alias-double.h>.
21538 (rint): Define using libm_alias_double.
21540 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
21541 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
21542 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
21543 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
21544 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
21545 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
21546 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
21547 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
21548 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
21549 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
21550 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
21551 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
21552 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
21553 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
21554 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
21555 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
21556 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
21557 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
21559 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
21560 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
21561 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
21563 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
21564 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
21565 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
21567 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
21568 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
21569 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
21570 s_expm1_template.c.
21571 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
21572 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
21573 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
21575 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
21576 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
21577 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
21578 s_floor_template.c.
21579 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
21580 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
21581 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
21582 s_frexp_template.c.
21583 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
21584 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
21585 s_lrint_template.c.
21586 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
21587 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
21588 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
21590 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
21591 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
21592 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
21593 s_nearbyint_template.c.
21594 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
21595 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
21596 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
21597 s_remquo_template.c.
21598 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
21599 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
21600 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
21602 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
21603 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
21604 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
21606 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
21607 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
21608 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
21609 s_sincos_template.c.
21610 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
21611 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
21612 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
21614 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
21615 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
21616 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
21618 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
21619 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
21620 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
21621 s_trunc_template.c.
21622 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
21623 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
21624 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
21625 s_atan.c instead of including s_atan.c.
21626 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
21627 s_atanf.c instead of including s_atanf.c.
21628 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
21629 s_atanl.c instead of including s_atanl.c.
21630 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
21631 instead of s_atan.c.
21632 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
21633 instead of s_atanf.c.
21634 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
21635 instead of s_atanl.c.
21637 * scripts/update-copyrights: Do not handle intl/plural.c
21640 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
21643 * configure.ac (BISON): Require to be present.
21644 * configure: Regenerated.
21645 * intl/Makefile (generated): Add plural.c.
21646 [$(BISON) != no]: Make code unconditional.
21647 (plural.c): Change rule to $(objpfx)plural.c.
21648 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
21649 * intl/plural.c: Remove.
21650 * manual/install.texi (Tools for Compilation): Document bison as
21652 * INSTALL: Regenerated.
21654 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21656 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
21657 <libm-alias-double.h>.
21658 (llrint): Define using libm_alias_double.
21659 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
21660 <libm-alias-float.h>.
21661 (llrintf): Define using libm_alias_float.
21662 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
21663 <libm-alias-ldouble.h>.
21664 (llrintl): Define using libm_alias_ldouble.
21666 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
21667 declare_mgen_alias instead of weak_alias.
21668 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
21669 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
21670 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
21672 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21674 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21676 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
21677 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
21678 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
21680 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21681 Add submul_1-generic.
21682 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
21683 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
21684 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
21686 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21687 Add addmul_1-generic.
21688 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
21689 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
21690 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
21692 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21694 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
21695 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
21696 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
21698 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21700 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
21701 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
21702 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
21704 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21706 According to CLDR, collation rules for Serbian and Bosnian
21707 should be the same as for Croatian.
21710 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
21711 and to the list of locales to be built for testing.
21712 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21713 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21714 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
21715 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
21717 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21719 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
21720 to make test case pass.
21721 * localedata/hr_HR.UTF-8.in: Add more test strings.
21723 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21725 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
21727 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
21729 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
21730 the list of locales to built for testing.
21731 * localedata/hr_HR.UTF-8.in: New file.
21733 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
21736 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
21738 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
21739 CLDR (except use ligatures for the digraphs, CLDR does not use
21740 the ligatures), add first_workday, some fixes in the date and time
21742 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
21744 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
21745 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
21746 Add int_p_cs_precedes and int_n_cs_precedes.
21747 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
21748 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
21750 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
21751 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
21753 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
21754 and lang_lib. Change postal_fmt.
21756 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
21758 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
21760 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21761 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
21762 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21763 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
21764 * sysdeps/generic/setjmpP.h: New file.
21765 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
21766 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
21767 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
21768 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
21769 Add jmp_buf-ssp.sym.
21770 (tests): Add tst-saved_mask-1.
21772 2017-11-30 Arjun Shankar <arjun@redhat.com>
21776 * malloc/malloc.c (__libc_malloc): Use checked_request2size
21777 instead of request2size.
21779 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
21782 (__lllrint): Remove alias.
21783 (lllrint): Likewise.
21784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
21785 (__lllrintf): Likewise.
21786 (lllrintf): Likewise.
21788 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
21789 <libm-alias-float.h>.
21790 (copysignf): Define using libm_alias_float.
21791 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
21792 <libm-alias-float.h>.
21793 (fabsf): Define using libm_alias_float.
21794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21795 Include <libm-alias-float.h>.
21796 (copysignf): Define using libm_alias_float.
21797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
21798 <libm-alias-float.h>.
21799 (fabsf): Define using libm_alias_float.
21800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
21801 <libm-alias-float.h>.
21802 (fdimf): Define using libm_alias_float.
21803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
21804 <libm-alias-float.h>.
21805 (fmaf): Define using libm_alias_float.
21806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
21807 <libm-alias-float.h>.
21808 (llrintf): Define using libm_alias_float.
21809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21810 Include <libm-alias-float.h>.
21811 (nearbyintf): Define using libm_alias_float.
21812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
21813 <libm-alias-float.h>.
21814 (rintf): Define using libm_alias_float.
21815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
21816 <libm-alias-float.h>.
21817 (llrintf): Define using libm_alias_float.
21818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
21819 <libm-alias-float.h>.
21820 (lrintf): Define using libm_alias_float.
21821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
21822 <libm-alias-float.h>.
21823 (nearbyintf): Define using libm_alias_float.
21824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
21825 <libm-alias-float.h>.
21826 (rintf): Define using libm_alias_float.
21827 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
21828 <libm-alias-float.h>.
21829 (ceilf): Define using libm_alias_float.
21830 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
21831 <libm-alias-float.h>.
21832 (floorf): Define using libm_alias_float.
21833 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
21834 <libm-alias-float.h>.
21835 (fmaf): Define using libm_alias_float.
21836 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
21837 <libm-alias-float.h>.
21838 (lrintf): Define using libm_alias_float.
21839 (llrintf): Likewise.
21840 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
21841 <libm-alias-float.h>.
21842 (nearbyintf): Define using libm_alias_float.
21843 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
21844 <libm-alias-float.h>.
21845 (rintf): Define using libm_alias_float.
21846 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
21847 <libm-alias-float.h>.
21848 (truncf): Define using libm_alias_float.
21849 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
21850 <libm-alias-float.h>.
21851 (copysignf): Define using libm_alias_float.
21852 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
21853 <libm-alias-float.h>.
21854 (fabsf): Define using libm_alias_float.
21855 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
21856 <libm-alias-float.h>.
21857 (lrintf): Define using libm_alias_float.
21858 (llrintf): Likewise.
21859 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
21860 <libm-alias-float.h>.
21861 (nearbyintf): Define using libm_alias_float.
21862 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
21863 <libm-alias-float.h>.
21864 (rintf): Define using libm_alias_float.
21866 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21868 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
21869 <libm-alias-double.h>.
21870 (copysign): Define using libm_alias_double.
21871 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
21872 <libm-alias-double.h>.
21873 (fabs): Define using libm_alias_double.
21874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21875 Include <libm-alias-double.h>.
21876 (copysign): Define using libm_alias_double.
21877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
21878 <libm-alias-double.h>.
21879 (fabs): Define using libm_alias_double.
21880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
21881 <libm-alias-double.h>.
21882 (fdim): Define using libm_alias_double.
21883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
21884 <libm-alias-double.h>.
21885 (fma): Define using libm_alias_double.
21886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
21887 <libm-alias-double.h>.
21888 (llrint): Define using libm_alias_double.
21889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
21890 Include <libm-alias-double.h>.
21891 (nearbyint): Define using libm_alias_double.
21892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
21893 <libm-alias-double.h>.
21894 (rint): Define using libm_alias_double.
21895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21896 <libm-alias-double.h>.
21897 (fabs): Define using libm_alias_double.
21898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
21899 <libm-alias-double.h>.
21900 (llrint): Define using libm_alias_double.
21901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
21902 <libm-alias-double.h>.
21903 (nearbyint): Define using libm_alias_double.
21904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
21905 <libm-alias-double.h>.
21906 (rint): Define using libm_alias_double.
21907 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
21908 <libm-alias-double.h>.
21909 (ceil): Define using libm_alias_double.
21910 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
21911 <libm-alias-double.h>.
21912 (floor): Define using libm_alias_double.
21913 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
21914 <libm-alias-double.h>.
21915 (fma): Define using libm_alias_double.
21916 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
21917 <libm-alias-double.h>.
21918 (lrint): Define using libm_alias_double.
21919 (llrint): Likewise.
21920 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
21921 <libm-alias-double.h>.
21922 (nearbyint): Define using libm_alias_double.
21923 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
21924 <libm-alias-double.h>.
21925 (rint): Define using libm_alias_double.
21926 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
21927 <libm-alias-double.h>.
21928 (trunc): Define using libm_alias_double.
21929 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
21930 <libm-alias-double.h>.
21931 (copysign): Define using libm_alias_double.
21932 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
21933 <libm-alias-double.h>.
21934 (fabs): Define using libm_alias_double.
21935 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
21936 <libm-alias-double.h>.
21937 (lrint): Define using libm_alias_double.
21938 (llrint): Likewise.
21939 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
21940 <libm-alias-double.h>.
21941 (nearbyint): Define using libm_alias_double.
21942 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
21943 <libm-alias-double.h>.
21944 (rint): Define using libm_alias_double.
21947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21949 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
21951 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21952 SPARC --disable-multi-arch glibc variants.
21954 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
21955 <libm-alias-float.h>.
21956 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21958 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
21959 <libm-alias-float.h>.
21960 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21962 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
21963 <libm-alias-float.h>.
21964 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21966 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
21967 <libm-alias-float.h>.
21968 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21970 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
21971 <libm-alias-float.h>.
21972 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21974 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
21975 <libm-alias-float.h>.
21976 (ceilf): Define using libm_alias_float.
21977 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
21978 <libm-alias-float.h>.
21979 (floorf): Define using libm_alias_float.
21980 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
21981 <libm-alias-float.h>.
21982 (fmaf): Define using libm_alias_float.
21983 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
21984 <libm-alias-float.h>.
21985 (nearbyintf): Define using libm_alias_float.
21986 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
21987 <libm-alias-float.h>.
21988 (rintf): Define using libm_alias_float.
21989 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
21990 <libm-alias-float.h>.
21991 (truncf): Define using libm_alias_float.
21992 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21993 (copysignf): Define using libm_alias_float.
21994 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
21995 (cosf): Define using libm_alias_float.
21996 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21997 (fabsf): Define using libm_alias_float.
21998 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21999 (fmaxf): Define using libm_alias_float.
22000 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
22001 (fminf): Define using libm_alias_float.
22002 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22003 (llrintf): Define using libm_alias_float.
22004 [!__ILP32__] (lrintf): Likewise.
22005 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
22006 (sincosf): Define using libm_alias_float.
22007 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
22008 (sinf): Define using libm_alias_float.
22009 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22010 (lrintf): Define using libm_alias_float.
22012 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
22013 <libm-alias-double.h>.
22014 (atan): Define using libm_alias_double.
22015 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
22016 <libm-alias-double.h>.
22017 (ceil): Define using libm_alias_double.
22018 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
22019 <libm-alias-double.h>.
22020 (floor): Define using libm_alias_double.
22021 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
22022 <libm-alias-double.h>.
22023 (fma): Define using libm_alias_double.
22024 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
22025 <libm-alias-double.h>.
22026 (nearbyint): Define using libm_alias_double.
22027 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
22028 <libm-alias-double.h>.
22029 (rint): Define using libm_alias_double.
22030 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
22031 <libm-alias-double.h>.
22032 (sin): Define using libm_alias_double.
22034 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
22035 <libm-alias-double.h>.
22036 (tan): Define using libm_alias_double.
22037 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
22038 <libm-alias-double.h>.
22039 (trunc): Define using libm_alias_double.
22040 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
22041 (copysign): Define using libm_alias_double.
22042 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
22043 (fabs): Define using libm_alias_double.
22044 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
22045 (fmax): Define using libm_alias_double.
22046 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
22047 (fmin): Define using libm_alias_double.
22048 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
22049 (llrint): Define using libm_alias_double.
22050 [!__ILP32__] (lrint): Likewise.
22051 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
22052 (lrint): Define using libm_alias_double.
22054 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22056 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22057 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
22059 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
22060 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
22061 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
22062 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
22063 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
22064 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22066 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22067 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
22069 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
22070 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
22071 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
22072 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
22073 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
22074 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22076 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22077 (libm-sysdep_routines): Add s_nearbyint-generic and
22078 s_nearbyintf-generic objects.
22079 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
22080 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
22081 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
22082 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
22083 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
22084 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
22086 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22087 Add s_finitef-generic and s_finite-generic objects.
22088 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
22089 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
22090 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
22091 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
22092 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
22093 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
22095 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22096 Add s_isinff-generic and s_isinf-generic objects.
22097 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
22098 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
22099 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
22100 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
22101 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
22102 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22104 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22105 Add s_isnanf-generic and s_isnan-generic objects.
22106 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
22107 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
22108 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
22109 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
22110 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
22111 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22113 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
22115 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
22117 (sysdep_routines): Use sysdep_calls as base.
22118 (libm-sysdep_routines): Add generic rule for symbols shared with
22119 libc. Add s_signbit-generic and s_signbitf-generic objects.
22120 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
22121 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
22122 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
22123 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
22124 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
22125 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22127 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22129 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
22130 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
22131 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
22132 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
22133 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
22134 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
22135 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
22136 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
22137 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
22138 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
22139 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
22140 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
22141 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
22142 libm_alias_float_r.
22143 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
22144 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
22146 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
22147 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
22148 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
22149 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
22150 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
22151 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
22152 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
22153 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
22154 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
22155 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
22157 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
22159 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
22160 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
22161 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
22162 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
22163 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
22164 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
22165 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
22166 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
22167 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
22168 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
22169 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
22170 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
22171 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
22172 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
22173 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
22174 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
22175 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
22176 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
22177 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
22179 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
22180 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
22181 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
22182 * sysdeps/ia64/fpu/w_lgammaf_main.c
22183 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
22184 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
22186 2017-11-28 Mike FABIAN <mfabian@redhat.com>
22187 Alexandre Oliva <aoliva@redhat.com>
22190 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
22191 * localedata/fr_CA.UTF-8.in: New file with test data for backward
22193 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
22195 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
22196 * localedata/locales/de_DE (LC_COLLATE): Likewise.
22197 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
22198 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
22199 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
22200 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
22201 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
22202 instead of “ifdef DIACRIT_BACKWARD”.
22204 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22206 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
22207 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
22208 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
22209 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
22210 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
22211 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
22212 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
22213 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
22214 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
22215 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
22216 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
22217 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
22218 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
22219 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
22220 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
22221 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22222 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
22223 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
22224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22225 ($(have-as-vis3) == yes): Remove conditional.
22226 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
22228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
22230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
22232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
22234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
22236 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
22237 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
22238 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
22239 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
22240 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
22241 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
22242 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
22243 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
22245 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22247 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
22248 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
22249 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
22250 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
22251 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
22252 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
22253 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
22254 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
22255 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
22256 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
22257 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
22258 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
22259 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
22260 libm_alias_double_r.
22261 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
22263 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
22264 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
22265 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
22266 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
22267 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
22268 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
22269 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
22270 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
22271 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
22272 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
22273 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
22275 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
22277 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
22278 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
22279 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
22280 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
22281 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
22282 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
22283 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
22284 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
22285 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
22286 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
22287 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
22288 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
22289 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
22290 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
22291 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
22292 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
22293 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
22294 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
22296 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
22297 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
22298 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
22299 * sysdeps/ia64/fpu/w_lgamma_main.c
22300 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
22301 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
22303 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
22305 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
22306 address of $global$ into %dp register earlier. Use pc-relative
22307 instruction sequence for PIC case.
22309 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22311 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
22312 (asinhf): Define using libm_alias_float.
22313 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
22314 (atanf): Define using libm_alias_float.
22315 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
22316 (cbrtf): Define using libm_alias_float.
22317 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
22318 (ceilf): Define using libm_alias_float.
22319 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22320 (copysignf): Define using libm_alias_float.
22321 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
22322 (expm1f): Define using libm_alias_float.
22323 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
22324 (fabsf): Define using libm_alias_float.
22325 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
22326 (floorf): Define using libm_alias_float.
22327 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22328 (fmaxf): Define using libm_alias_float.
22329 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
22330 (fminf): Define using libm_alias_float.
22331 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
22332 (frexpf): Define using libm_alias_float.
22333 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22334 (llrintf): Define using libm_alias_float.
22335 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
22336 (logbf): Define using libm_alias_float.
22337 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22338 (lrintf): Define using libm_alias_float.
22339 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
22340 (nearbyintf): Define using libm_alias_float.
22341 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
22342 (remquof): Define using libm_alias_float.
22343 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
22344 (rintf): Define using libm_alias_float.
22345 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
22346 (truncf): Define using libm_alias_float.
22347 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
22348 <libm-alias-float.h>.
22349 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22351 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
22352 <libm-alias-float.h>.
22353 (expf): Define using libm_alias_float, or libm_alias_float_other
22355 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
22356 <libm-alias-float.h>.
22357 (log2f): Define using libm_alias_float, or libm_alias_float_other
22359 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
22360 <libm-alias-float.h>.
22361 (logf): Define using libm_alias_float, or libm_alias_float_other
22363 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
22364 <libm-alias-float.h>.
22365 (powf): Define using libm_alias_float, or libm_alias_float_other
22367 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
22368 <libm-alias-float.h>.
22369 (cosf): Define using libm_alias_float.
22370 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
22371 <libm-alias-float.h>.
22372 (sincosf): Define using libm_alias_float.
22373 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
22374 <libm-alias-float.h>.
22375 (sinf): Define using libm_alias_float.
22376 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22377 (fmaxf): Define using libm_alias_float.
22378 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
22379 (fminf): Define using libm_alias_float.
22380 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22381 <libm-alias-float.h>.
22382 (fmaf): Define using libm_alias_float.
22384 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
22385 (asinh): Define using libm_alias_double.
22386 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
22387 (atan): Define using libm_alias_double.
22388 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
22389 (cbrt): Define using libm_alias_double.
22390 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
22391 (ceil): Define using libm_alias_double.
22392 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
22393 (copysign): Define using libm_alias_double.
22394 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
22395 (expm1): Define using libm_alias_double.
22396 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
22397 (fabs): Define using libm_alias_double.
22398 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
22399 (fdim): Define using libm_alias_double.
22400 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
22401 (floor): Define using libm_alias_double.
22402 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
22403 (fmax): Define using libm_alias_double.
22404 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
22405 (fmin): Define using libm_alias_double.
22406 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
22407 (frexp): Define using libm_alias_double.
22408 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
22409 (llrint): Define using libm_alias_double.
22410 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
22411 (logb): Define using libm_alias_double.
22412 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
22413 (lrint): Define using libm_alias_double.
22414 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
22415 (nearbyint): Define using libm_alias_double.
22416 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
22417 (remquo): Define using libm_alias_double.
22418 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
22419 (rint): Define using libm_alias_double.
22420 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
22421 (trunc): Define using libm_alias_double.
22422 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
22423 (fmax): Define using libm_alias_double.
22424 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
22425 (fmin): Define using libm_alias_double.
22426 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
22427 (fma): Define using libm_alias_double.
22429 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
22432 * elf/dl-hwcaps.c (ROUND): Removed.
22433 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
22434 and ELF_NOTE_NEXT_OFFSET.
22435 * elf/dl-load.c (ROUND): Removed.
22436 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
22437 * elf/readelflib.c (ROUND): Removed.
22438 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
22439 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
22440 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
22441 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
22443 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22445 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
22446 [!__fmaf] (fmaf): Define using libm_alias_float.
22448 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
22449 [!__fma] (fma): Define using libm_alias_double.
22450 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
22452 2017-11-28 Mike FABIAN <mfabian@redhat.com>
22455 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
22456 and implement the collation rules for cs from CLDR on top of that.
22457 * Makefile: Add cs_CZ.UTF-8 to test-input.
22458 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
22460 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
22462 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
22464 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
22465 Icarus Sparry <icarus.w.sparry@intel.com>
22467 * benchtests/Makefile:Add BENCHSET to allow subsets of
22468 benchmarks to be run.
22469 * benchtests/README: Add documentation for: Running subsets of
22472 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
22474 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
22475 range of tests names.
22477 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
22478 result from property and remove "max", min" and "mean" from
22479 required properties based on benchtests/bench-skeleton.c.
22481 2017-11-28 Florian Weimer <fweimer@redhat.com>
22484 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
22485 due to Internet requirement.
22486 * posix/Makefile (tests): Remove tst-getaddrinfo4,
22488 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
22490 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22492 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22493 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
22494 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
22495 (sysdep_routines): Add memset-ultra1.
22496 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
22498 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
22499 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
22500 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
22501 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
22502 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
22503 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
22504 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
22505 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22507 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
22509 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
22510 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
22511 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
22512 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
22513 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
22514 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
22515 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
22517 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22518 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
22519 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
22520 (sysdep_routines): Add memcpy-ultra1.
22521 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
22522 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
22524 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22526 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
22527 (cfloat_versions): Take function argument without trailing 'f'.
22528 Call libm_alias_float_other.
22529 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
22530 * sysdeps/alpha/fpu/cargf.c: Likewise.
22531 * sysdeps/alpha/fpu/cimagf.c: Likewise.
22532 * sysdeps/alpha/fpu/conjf.c: Likewise.
22533 * sysdeps/alpha/fpu/crealf.c: Likewise.
22534 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
22535 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
22536 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
22537 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
22538 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
22539 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
22540 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
22541 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
22542 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
22543 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
22544 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
22545 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
22546 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
22547 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
22548 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
22549 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
22550 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
22551 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
22552 (clog10f): Use libm_alias_float_other.
22553 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
22554 (ceilf): Define using libm_alias_float.
22555 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
22556 (copysignf): Define using libm_alias_float.
22557 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22558 (fabsf): Define using libm_alias_float.
22559 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
22560 (floorf): Define using libm_alias_float.
22561 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
22562 (fmaxf): Define using libm_alias_float.
22563 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
22564 (fminf): Define using libm_alias_float.
22565 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
22566 (lrintf): Define using libm_alias_float.
22567 (llrintf): Likewise.
22568 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
22569 (lroundf): Define using libm_alias_float.
22570 (llroundf): Likewise.
22571 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
22572 (rintf): Define using libm_alias_float.
22573 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
22574 (truncf): Define using libm_alias_float.
22576 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
22577 (ceilf): Define using libm_alias_float.
22578 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
22579 (floorf): Define using libm_alias_float.
22580 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
22581 (fmaf): Define using libm_alias_float.
22582 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
22583 (fmaxf): Define using libm_alias_float.
22584 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
22585 (fminf): Define using libm_alias_float.
22586 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
22587 (llrintf): Define using libm_alias_float.
22588 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
22589 (llroundf): Define using libm_alias_float.
22590 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
22591 (lrintf): Define using libm_alias_float.
22592 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
22593 (lroundf): Define using libm_alias_float.
22594 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
22595 <libm-alias-float.h>.
22596 (nearbyintf): Define using libm_alias_float.
22597 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
22598 (rintf): Define using libm_alias_float.
22599 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
22600 (roundf): Define using libm_alias_float.
22601 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
22602 (truncf): Define using libm_alias_float.
22604 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
22605 (ceil): Define using libm_alias_double.
22606 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
22607 (copysign): Define using libm_alias_double.
22608 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
22609 (fabs): Define using libm_alias_double.
22610 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
22611 (floor): Define using libm_alias_double.
22612 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
22613 (fmax): Define using libm_alias_double.
22614 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
22615 (fmin): Define using libm_alias_double.
22616 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
22617 (lrint): Define using libm_alias_double.
22618 (llrint): Likewise.
22619 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
22620 (lround): Define using libm_alias_double.
22621 (llround): Likewise.
22622 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
22623 (rint): Define using libm_alias_double.
22624 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
22625 (trunc): Define using libm_alias_double.
22627 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
22628 (libm_alias_double_r): Add semicolon after weak_alias call.
22630 2017-11-27 Joseph Myers <joseph@codesourcery.com>
22632 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
22633 (ceil): Define using libm_alias_double.
22634 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
22635 (floor): Define using libm_alias_double.
22636 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
22637 (fma): Define using libm_alias_double.
22638 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
22639 (fmax): Define using libm_alias_double.
22640 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
22641 (fmin): Define using libm_alias_double.
22642 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
22643 (llrint): Define using libm_alias_double.
22644 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
22645 (llround): Define using libm_alias_double.
22646 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
22647 (lrint): Define using libm_alias_double.
22648 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
22649 (lround): Define using libm_alias_double.
22650 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
22651 (nearbyint): Define using libm_alias_double.
22652 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
22653 (rint): Define using libm_alias_double.
22654 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
22655 (round): Define using libm_alias_double.
22656 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
22657 (trunc): Define using libm_alias_double.
22659 2017-11-27 Florian Weimer <fweimer@redhat.com>
22661 * sysdeps/unix/sysv/linux/mlock2.c: New file.
22662 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
22663 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
22664 (tests): Add tst-mlock2.
22665 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
22666 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
22667 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
22668 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
22669 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
22670 for mlock. Document mlock2.
22672 2017-11-27 Joseph Myers <joseph@codesourcery.com>
22674 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
22675 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
22677 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
22679 * sysdeps/x86/Makeconfig: New file.
22680 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
22681 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22682 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
22683 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22684 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22685 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22686 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
22688 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22689 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22690 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22691 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22692 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22693 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22694 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22695 * manual/math.texi (Mathematics): Document support for _Float64x.
22696 * math/Versions (GLIBC_2.27): Add _Float64x functions.
22697 * stdlib/Versions (GLIBC_2.27): Likewise.
22698 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22699 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22700 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22701 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22702 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22703 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22704 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22705 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22706 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22707 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22708 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22709 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22714 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22715 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22716 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22717 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22718 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22719 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22720 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22721 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22722 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22723 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22724 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22725 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22726 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22727 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22729 2017-11-27 Andreas Schwab <schwab@suse.de>
22731 * elf/Makefile (dl-routines): Add dl-sort-maps.
22732 * elf/dl-sort-maps.c: New file.
22733 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
22734 (_dl_sort_maps): Declare.
22735 * elf/dl-fini.c (_dl_sort_fini): Remove.
22736 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
22737 * elf/dl-close.c (_dl_close_worker): Likewise.
22738 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
22740 * elf/dl-open.c (dl_open_worker): Likewise.
22742 2017-11-24 Joseph Myers <joseph@codesourcery.com>
22744 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
22745 using libm_alias_float128.
22746 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
22748 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
22750 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
22751 (setpayloadsigf128): Likewise.
22752 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
22754 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
22757 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
22758 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
22759 -mfloat128 to CFLAGS.
22761 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
22763 (CFLAGS-libm-test-support-float64x.c): New variable.
22764 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
22765 $(f128-loader-link) to gnulib-tests.
22767 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
22768 (libm_alias_float128_other_r): If
22769 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
22771 (libm_alias_float128_r): Add semicolon after weak_alias call.
22772 * sysdeps/generic/libm-alias-ldouble.h
22773 (libm_alias_ldouble_other_r_f128): New macro.
22774 (libm_alias_ldouble_other_r_f64x): Likewise.
22775 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22776 and libm_alias_ldouble_other_r_f64x.
22777 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
22778 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
22779 (libm_alias_ldouble_other_r_f128): New macro.
22780 (libm_alias_ldouble_other_r_f64x): Likewise.
22781 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22782 and libm_alias_ldouble_other_r_f64x.
22784 * stdlib/strfroml.c: Always include <stdlib.h>.
22785 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
22786 undefine as macro and define as weak alias.
22787 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
22788 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
22790 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
22791 Define and later undefine as macro and define as weak alias.
22793 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22794 Define and later undefine as macro. Define as weak alias if
22796 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
22797 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22798 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
22799 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22800 Define and later undefine as macro. Define as weak alias if
22802 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
22803 Define and later undefine as macro. Define as weak alias if
22805 * sysdeps/ieee754/float128/strtof128_l.c
22806 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
22807 Define and later undefine as macro. Define as weak alias if
22809 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
22810 Define and later undefine as macro. Define as weak alias if
22812 * sysdeps/ieee754/ldbl-128/strtold_l.c
22813 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22814 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22815 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22816 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22817 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
22818 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22819 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22820 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22821 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22822 * sysdeps/ieee754/ldbl-96/strtold_l.c
22823 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22824 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22825 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22826 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22828 * math/test-float64x.h: New file.
22829 * math/Makefile (type-float64x-yes): New variable.
22830 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
22832 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
22833 function-like macro.
22834 (min_of_type_): Likewise.
22835 (min_of_type_l): Likewise.
22836 (min_of_type_f128): Likewise.
22837 (min_of_type): Pass () as last argument of __MATH_TG.
22839 * stdlib/tst-strtod-round-skeleton.c
22840 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
22843 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
22844 for combinations of long double with _Float64 and _Float64x.
22846 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
22847 (__DECL_SIMD_cosf32): Likewise.
22848 (__DECL_SIMD_cosf64): Likewise.
22849 (__DECL_SIMD_cosf32x): Likewise.
22850 (__DECL_SIMD_cosf64x): Likewise.
22851 (__DECL_SIMD_cosf128x): Likewise.
22852 (__DECL_SIMD_sinf16): Likewise.
22853 (__DECL_SIMD_sinf32): Likewise.
22854 (__DECL_SIMD_sinf64): Likewise.
22855 (__DECL_SIMD_sinf32x): Likewise.
22856 (__DECL_SIMD_sinf64x): Likewise.
22857 (__DECL_SIMD_sinf128x): Likewise.
22858 (__DECL_SIMD_sincosf16): Likewise.
22859 (__DECL_SIMD_sincosf32): Likewise.
22860 (__DECL_SIMD_sincosf64): Likewise.
22861 (__DECL_SIMD_sincosf32x): Likewise.
22862 (__DECL_SIMD_sincosf64x): Likewise.
22863 (__DECL_SIMD_sincosf128x): Likewise.
22864 (__DECL_SIMD_logf16): Likewise.
22865 (__DECL_SIMD_logf32): Likewise.
22866 (__DECL_SIMD_logf64): Likewise.
22867 (__DECL_SIMD_logf32x): Likewise.
22868 (__DECL_SIMD_logf64x): Likewise.
22869 (__DECL_SIMD_logf128x): Likewise.
22870 (__DECL_SIMD_expf16): Likewise.
22871 (__DECL_SIMD_expf32): Likewise.
22872 (__DECL_SIMD_expf64): Likewise.
22873 (__DECL_SIMD_expf32x): Likewise.
22874 (__DECL_SIMD_expf64x): Likewise.
22875 (__DECL_SIMD_expf128x): Likewise.
22876 (__DECL_SIMD_powf16): Likewise.
22877 (__DECL_SIMD_powf32): Likewise.
22878 (__DECL_SIMD_powf64): Likewise.
22879 (__DECL_SIMD_powf32x): Likewise.
22880 (__DECL_SIMD_powf64x): Likewise.
22881 (__DECL_SIMD_powf128x): Likewise.
22883 * stdlib/Versions (libc): Move entries for wcstof128 and
22884 wcstof128_l to ....
22885 * wcsmbs/Versions (libc): ... here.
22886 Include <float128-abi.h>.
22888 2017-11-24 Florian Weimer <fweimer@redhat.com>
22890 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22891 bits/mman-shared.h.
22892 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
22893 <bits/mman-shared.h>.
22894 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
22896 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
22897 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
22898 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
22899 <bits/mman-shared.h>.
22901 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22904 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
22905 posix_memalign/free.
22906 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
22908 2017-11-22 Mike FABIAN <mfabian@redhat.com>
22911 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
22912 and implement the collation rules for pl from CLDR on top of that.
22913 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
22914 of locales to be built for testing.
22915 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
22917 2017-11-23 Joseph Myers <joseph@codesourcery.com>
22919 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
22920 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
22921 libm_alias_ldouble_other.
22922 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
22923 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
22924 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
22925 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
22926 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
22927 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
22928 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
22929 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
22930 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
22931 libm_alias_ldouble_r.
22932 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
22933 libm_alias_ldouble_other.
22934 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
22935 (log10l): Likewise.
22936 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
22937 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
22938 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
22939 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
22940 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
22941 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
22942 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
22943 (atan2l): Likewise.
22944 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
22945 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
22946 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
22947 libm_alias_ldouble.
22948 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
22950 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
22951 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
22952 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
22954 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
22955 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
22956 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
22957 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
22958 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
22959 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
22960 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
22961 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
22962 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
22963 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
22964 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
22965 libm_alias_ldouble.
22966 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
22967 libm_alias_ldouble_other.
22968 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
22969 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
22970 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
22971 libm_alias_ldouble.
22972 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
22973 libm_alias_ldouble_other.
22974 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
22975 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
22976 * sysdeps/ia64/fpu/w_lgammal_main.c
22977 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
22978 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
22980 2017-11-23 Florian Weimer <fweimer@redhat.com>
22982 * malloc/malloc.c (tcache_thread_shutdown): Rename from
22983 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
22984 alike. Remove freeres marker.
22985 * malloc/arena.c (arena_thread_freeres): Call
22986 tcache_thread_shutdown.
22988 2017-11-23 Florian Weimer <fweimer@redhat.com>
22991 Export nscd hash function as __nss_hash.
22992 * include/nss.h (__nss_hash): Declare.
22993 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
22995 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
22996 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
22998 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
22999 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
23000 * nss/Makefiles (routines): Add nss_hash.
23001 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
23002 * nss/nss_hash.c: Rename from nis/nis_hash.c.
23003 (__nss_hash): Rename from __nis_hash. Define hidden alias.
23004 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
23006 2017-11-23 Florian Weimer <fweimer@redhat.com>
23009 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
23010 Return error code, not -1.
23011 * signal/tst-sigwait-eintr.c: New file.
23012 * signal/Makefile (tests): Add tst-sigwait-eintr.
23014 2017-11-23 Florian Weimer <fweimer@redhat.com>
23016 Linux: Add memfd_create system call wrapper
23017 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
23019 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
23020 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
23021 [__USE_GNU] (memfd_create): Declare.
23022 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
23023 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
23024 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
23025 * sysdeps/unix/sysv/linux/**.abilist: Update.
23026 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
23028 2017-11-22 Joseph Myers <joseph@codesourcery.com>
23030 * localedata/gen-locale.sh: Fix typo in variable name.
23032 * resolv/res_debug.c (p_secstodate): Condition definition on
23033 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
23034 directly as __p_secstodate, and as a compat symbol. Do not use
23035 libresolv_hidden_def.
23036 * resolv/resolv.h (p_secstodate): Remove macro and function
23038 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
23039 using p_secstodate.
23040 * include/resolv.h (__p_secstodate): Do not use
23041 libresolv_hidden_proto.
23042 * resolv/Makefile (tests): Move tst-p_secstodate to ....
23043 (tests-internal): ... here.
23044 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
23045 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
23046 and declare and use __p_secstodate and use compat_symbol_reference
23048 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
23049 implementation returning 77.
23052 * resolv/res_debug.c: Include <libc-diag.h>.
23053 (p_secstodate): Assert time_t at least as wide as u_long. On
23054 overflow, use integer seconds since the epoch as output, or use
23055 "<overflow>" as output and set errno to EOVERFLOW if integer
23056 seconds since the epoch would be 14 or more characters.
23057 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
23059 * resolv/tst-p_secstodate.c: New file.
23060 * resolv/Makefile (tests): Add tst-p_secstodate.
23061 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
23063 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
23064 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
23065 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
23067 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
23069 * posix/regcomp.c (init_word_char): Add comments.
23071 2017-11-22 Joseph Myers <joseph@codesourcery.com>
23074 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
23075 strlen to compute length of ut_user and set trailing NUL byte of
23078 2017-11-21 Mike FABIAN <mfabian@redhat.com>
23081 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
23082 using “copy "iso14651_t1"” and then implementing the
23083 collation rules for lv from CLDR on top of that.
23084 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
23085 of locales to be built for testing.
23086 * lv_LV.UTF-8.in: New file with test data to test the Latvian
23089 2017-11-21 Joseph Myers <joseph@codesourcery.com>
23091 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23092 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
23093 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
23094 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
23095 [__USE_MISC] (MADV_HWPOISON): New macro.
23096 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
23098 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23100 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
23101 -Wmissing-braces on GCC 4.9.
23103 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23105 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
23106 * sysdeps/s390/s390-32/start.S (_start): Likewise
23107 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
23108 (thread_start): Likewise.
23109 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
23110 (thread_start): Likewise.
23111 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
23112 (__makecontext_ret): Likewise.
23113 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
23114 (__makecontext_ret): Likewise.
23116 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23118 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
23119 __wcschrnul): Remove attribute_hidden.
23121 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
23123 regex: don't assume uint64_t or uint32_t
23124 This avoids -Werror=overflow errors for 32-bit systems in
23125 the 64-bit case. Problem reported by Joseph Myers in:
23126 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
23127 Also, when this code is used in Gnulib it ports to platforms
23128 that lack uint64_t and uint32_t. The C standard doesn't guarantee
23129 them, and on some 32-bit compilers there is no uint64_t.
23130 Problem reported by Gianluigi Tiesi in:
23131 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
23132 * posix/regcomp.c (init_word_char): Don't assume that the types
23133 uint64_t and uint32_t exist. Adapted from Gnulib patch
23134 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
23135 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
23137 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
23139 * sysdeps/aarch64/memset-reg.h: New file.
23140 * sysdeps/aarch64/memset.S: Use it.
23141 (__memset): Rename to MEMSET macro.
23142 [ZVA_MACRO]: Use zva_macro.
23143 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
23144 Add memset_generic and memset_falkor.
23145 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
23146 (__libc_ifunc_impl_list): Add memset ifuncs.
23147 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
23148 local variable zva_size.
23149 * sysdeps/aarch64/multiarch/memset.c: New file.
23150 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
23151 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
23152 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
23153 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
23154 (DCZID_DZP_MASK): New macro.
23155 (DCZID_BS_MASK): Likewise.
23156 (init_cpu_features): Read and set zva_size.
23157 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
23158 (struct cpu_features): New member zva_size.
23160 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
23161 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
23162 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
23164 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
23165 backwards. Fix timing computation.
23166 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
23167 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
23168 on memset by N at a time. Fix timing computation.
23170 2017-11-20 Florian Weimer <fweimer@redhat.com>
23172 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
23173 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
23175 2017-11-19 Florian Weimer <fweimer@redhat.com>
23177 manual: Document mprotect
23178 * manual/memory.texi (Memory Protection): New section.
23179 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
23180 documentation of PROT_* flags and reference the Memory Protection
23183 2017-11-19 Florian Weimer <fweimer@redhat.com>
23185 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
23186 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
23187 (Scatter-Gather): ... to here. Remove misleading comment.
23189 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
23191 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
23194 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
23195 when /proc/<pid>/setgroups does not exist.
23197 2017-11-18 Florian Weimer <fweimer@redhat.com>
23199 * sysdeps/unix/sysv/linux/tst-ttyname.c
23200 (become_root_in_mount_ns): Remove.
23201 (do_in_chroot_1): Call support_enter_mount_namespace.
23202 (do_in_chroot_2): Likewise.
23203 (do_test): Call support_become_root early.
23205 2017-11-18 Florian Weimer <fweimer@redhat.com>
23207 * support/namespace.h (support_enter_mount_namespace): Declare.
23208 * support/support_enter_mount_namespace.c: New file.
23209 * support/Makefile (libsupport-routines): Add
23210 support_enter_mount_namespace.
23212 2017-11-18 Florian Weimer <fweimer@redhat.com>
23214 * support/temp_file.c (support_create_temp_directory): Use
23215 test_dir and do not rely on the presence of the XXXXXX suffix.
23216 * support/temp_file.h (support_create_temp_directory): Update
23218 * support/tst-xreadlink.c (do_test): Adjust.
23219 * support/support_chroot.c (support_chroot_create): Likewise.
23221 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23223 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
23225 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
23228 2017-11-17 Joseph Myers <joseph@codesourcery.com>
23230 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
23231 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
23232 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
23233 (ceill): Define using libm_alias_ldouble.
23234 * sysdeps/x86_64/fpu/s_copysignl.S: Include
23235 <libm-alias-ldouble.h>.
23236 (copysignl): Define using libm_alias_ldouble.
23237 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
23238 (fabsl): Define using libm_alias_ldouble.
23239 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23240 (floorl): Define using libm_alias_ldouble.
23241 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23242 (fmaxl): Define using libm_alias_ldouble.
23243 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23244 (fminl): Define using libm_alias_ldouble.
23245 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23246 (llrintl): Define using libm_alias_ldouble.
23247 (lrintl): Likewise.
23248 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
23249 <libm-alias-ldouble.h>.
23250 (nearbyintl): Define using libm_alias_ldouble.
23251 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23252 (truncl): Define using libm_alias_ldouble.
23253 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
23254 <libm-alias-ldouble.h>.
23255 (lrintl): Define using libm_alias_ldouble.
23257 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
23258 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
23259 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
23260 (asinhl): Define using libm_alias_ldouble.
23261 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
23262 (atanl): Define using libm_alias_ldouble.
23263 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
23264 (cbrtl): Define using libm_alias_ldouble.
23265 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
23266 (ceill): Define using libm_alias_ldouble.
23267 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
23268 (copysignl): Define using libm_alias_ldouble.
23269 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
23270 (fabsl): Define using libm_alias_ldouble.
23271 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23272 (floorl): Define using libm_alias_ldouble.
23273 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23274 (fmaxl): Define using libm_alias_ldouble.
23275 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23276 (fminl): Define using libm_alias_ldouble.
23277 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
23278 (frexpl): Define using libm_alias_ldouble.
23279 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23280 (llrintl): Define using libm_alias_ldouble.
23281 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
23282 (logbl): Define using libm_alias_ldouble.
23283 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
23284 (lrintl): Define using libm_alias_ldouble.
23285 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
23286 (nearbyintl): Define using libm_alias_ldouble.
23287 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
23288 (nextafterl): Define using libm_alias_ldouble.
23289 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
23290 (remquol): Define using libm_alias_ldouble.
23291 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
23292 (rintl): Define using libm_alias_ldouble.
23293 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23294 (truncl): Define using libm_alias_ldouble.
23295 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23296 (fmaxl): Define using libm_alias_ldouble.
23297 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23298 (fminl): Define using libm_alias_ldouble.
23300 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
23301 to C syntax instead of availability and properties of types.
23302 * bits/floatn.h [!__ASSEMBLER]: Likewise.
23303 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
23304 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
23305 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
23306 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
23307 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
23309 2017-11-17 Florian Weimer <fweimer@redhat.com>
23311 support_become_root: Enable file creation in namespaces.
23312 * support/support_become_root.c (setup_mapping): New function.
23313 (support_become_root): Call it.
23315 2017-11-17 Joseph Myers <joseph@codesourcery.com>
23317 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
23320 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23322 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
23323 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
23325 2017-11-16 Joseph Myers <joseph@codesourcery.com>
23327 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
23329 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
23332 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
23334 * INSTALL: Fix botched up regeneration.
23336 * NEWS: Update sourceare link to https.
23337 * configure.ac: Likewise.
23338 * crypt/md5test-giant.c: Likewise.
23339 * dlfcn/bug-atexit1.c: Likewise.
23340 * dlfcn/bug-atexit2.c: Likewise.
23341 * localedata/README: Likewise.
23342 * malloc/tst-mallocfork.c: Likewise.
23343 * manual/install.texi: Likewise.
23344 * nptl/tst-pthread-getattr.c: Likewise.
23345 * stdio-common/tst-fgets.c: Likewise.
23346 * stdio-common/tst-fwrite.c: Likewise.
23347 * sunrpc/Makefile: Likewise.
23348 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
23349 * wcsmbs/tst-mbrtowc2.c: Likewise.
23350 * configure: Regenerate.
23351 * INSTALL: Regenerate.
23353 2017-11-15 Martin Sebor <msebor@redhat.com>
23355 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
23356 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
23357 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
23359 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
23362 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
23363 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
23366 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
23367 Defer is_pty check until end of the function.
23368 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23371 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
23372 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
23373 (ttyname): Likewise.
23374 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
23375 (__ttyname_r): Likewise.
23377 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
23380 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
23382 * manual/terminal.texi (Is It a Terminal):
23383 Mention ENODEV for ttyname and ttyname_r.
23385 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23387 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
23388 constant and macro.
23390 * sysdeps/unix/sysv/linux/bits/mman-linux.h
23391 [__USE_MISC] (MADV_WIPEONFORK): New macro.
23392 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
23393 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23394 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
23395 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
23397 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23399 * signal/sigrelse.c (sigrelse): Optimize implementation.
23401 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
23402 (__sigpause): Rely on __sigsuspend to implement single thread
23403 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
23405 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23407 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
23408 kernel version to 4.14.
23410 2017-11-15 Steve Ellcey <sellcey@cavium.com>
23413 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
23414 Check if ifname is too long.
23416 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
23418 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
23420 2017-11-15 Mike FABIAN <mfabian@redhat.com>
23422 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
23423 was accidentally lost.
23425 2017-11-15 Mike FABIAN <mfabian@redhat.com>
23427 * localedata/locales/az_IR: Add standard copyright header.
23429 2017-11-15 Florian Weimer <fweimer@redhat.com>
23432 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
23433 not just the top one. Output a new "subheaps" statistic.
23435 2017-11-15 Florian Weimer <fweimer@redhat.com>
23438 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
23439 under the per-arena lock.
23440 * malloc/Makefile (tests): Add tst-malloc_info.
23441 (tst-malloc_info): Link with libpthread.
23442 * malloc/tst-malloc_info.c: New file.
23444 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23447 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
23448 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
23449 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
23450 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
23451 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
23452 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
23453 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
23454 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
23455 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
23456 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
23457 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
23458 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
23459 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
23460 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
23461 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
23462 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
23463 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
23464 (__floating_type): Likewise.
23465 (__real_integer_type): Likewise.
23466 (__complex_integer_type): Likewise.
23467 (__expr_is_real): Likewise.
23468 (__tgmath_real_type_sub): Likewise.
23469 (__tgmath_real_type): Likewise.
23470 (__tgmath_complex_type_sub): Likewise.
23471 (__tgmath_complex_type): Likewise.
23472 (__TGMATH_F128): Likewise.
23473 (__TGMATH_CF128): Likewise.
23474 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
23476 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
23477 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
23479 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
23481 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
23482 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
23483 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
23484 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
23486 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
23487 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
23489 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
23490 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
23491 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
23493 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
23494 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
23495 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
23499 2017-11-14 Joseph Myers <joseph@codesourcery.com>
23501 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
23502 for stpncpy calls for GCC 8.
23503 (test_strncat): Disable -Wstringop-truncation warning for strncat
23504 calls for GCC 8. Disable -Wstringop-overflow= warning for one
23505 strncat call for GCC 7.
23506 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
23508 (test_memcmp): Use memcpy instead of strncpy for calls not copying
23511 * string/bug-strncat1.c: Include <libc-diag.h>.
23512 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
23514 2017-11-13 Claude Paroz <claude@2xlibre.net>
23517 * localedata/locales/aa_DJ: Improved readibility by replacing
23518 <Uxxxx> sequences in the ASCII printable range by their ASCII
23519 character equivalents.
23520 * localedata/locales/aa_ER: Likewise.
23521 * localedata/locales/aa_ER@saaho: Likewise.
23522 * localedata/locales/aa_ET: Likewise.
23523 * localedata/locales/af_ZA: Likewise.
23524 * localedata/locales/agr_PE: Likewise.
23525 * localedata/locales/ak_GH: Likewise.
23526 * localedata/locales/am_ET: Likewise.
23527 * localedata/locales/anp_IN: Likewise.
23528 * localedata/locales/ar_AE: Likewise.
23529 * localedata/locales/ar_BH: Likewise.
23530 * localedata/locales/ar_DZ: Likewise.
23531 * localedata/locales/ar_EG: Likewise.
23532 * localedata/locales/ar_IN: Likewise.
23533 * localedata/locales/ar_IQ: Likewise.
23534 * localedata/locales/ar_JO: Likewise.
23535 * localedata/locales/ar_KW: Likewise.
23536 * localedata/locales/ar_LB: Likewise.
23537 * localedata/locales/ar_LY: Likewise.
23538 * localedata/locales/ar_MA: Likewise.
23539 * localedata/locales/ar_OM: Likewise.
23540 * localedata/locales/ar_QA: Likewise.
23541 * localedata/locales/ar_SA: Likewise.
23542 * localedata/locales/ar_SD: Likewise.
23543 * localedata/locales/ar_SS: Likewise.
23544 * localedata/locales/ar_SY: Likewise.
23545 * localedata/locales/ar_TN: Likewise.
23546 * localedata/locales/ar_YE: Likewise.
23547 * localedata/locales/as_IN: Likewise.
23548 * localedata/locales/ast_ES: Likewise.
23549 * localedata/locales/ayc_PE: Likewise.
23550 * localedata/locales/az_AZ: Likewise.
23551 * localedata/locales/az_IR: Likewise.
23552 * localedata/locales/be_BY: Likewise.
23553 * localedata/locales/be_BY@latin: Likewise.
23554 * localedata/locales/bem_ZM: Likewise.
23555 * localedata/locales/ber_DZ: Likewise.
23556 * localedata/locales/ber_MA: Likewise.
23557 * localedata/locales/bg_BG: Likewise.
23558 * localedata/locales/bhb_IN: Likewise.
23559 * localedata/locales/bho_IN: Likewise.
23560 * localedata/locales/bi_VU: Likewise.
23561 * localedata/locales/bn_BD: Likewise.
23562 * localedata/locales/bn_IN: Likewise.
23563 * localedata/locales/bo_CN: Likewise.
23564 * localedata/locales/bo_IN: Likewise.
23565 * localedata/locales/br_FR: Likewise.
23566 * localedata/locales/brx_IN: Likewise.
23567 * localedata/locales/bs_BA: Likewise.
23568 * localedata/locales/byn_ER: Likewise.
23569 * localedata/locales/ca_AD: Likewise.
23570 * localedata/locales/ca_ES: Likewise.
23571 * localedata/locales/ca_FR: Likewise.
23572 * localedata/locales/ca_IT: Likewise.
23573 * localedata/locales/ce_RU: Likewise.
23574 * localedata/locales/chr_US: Likewise.
23575 * localedata/locales/cmn_TW: Likewise.
23576 * localedata/locales/crh_UA: Likewise.
23577 * localedata/locales/cs_CZ: Likewise.
23578 * localedata/locales/csb_PL: Likewise.
23579 * localedata/locales/cv_RU: Likewise.
23580 * localedata/locales/cy_GB: Likewise.
23581 * localedata/locales/da_DK: Likewise.
23582 * localedata/locales/de_AT: Likewise.
23583 * localedata/locales/de_BE: Likewise.
23584 * localedata/locales/de_CH: Likewise.
23585 * localedata/locales/de_DE: Likewise.
23586 * localedata/locales/de_IT: Likewise.
23587 * localedata/locales/de_LI: Likewise.
23588 * localedata/locales/de_LU: Likewise.
23589 * localedata/locales/doi_IN: Likewise.
23590 * localedata/locales/dv_MV: Likewise.
23591 * localedata/locales/dz_BT: Likewise.
23592 * localedata/locales/el_CY: Likewise.
23593 * localedata/locales/el_GR: Likewise.
23594 * localedata/locales/en_AG: Likewise.
23595 * localedata/locales/en_AU: Likewise.
23596 * localedata/locales/en_BW: Likewise.
23597 * localedata/locales/en_CA: Likewise.
23598 * localedata/locales/en_DK: Likewise.
23599 * localedata/locales/en_GB: Likewise.
23600 * localedata/locales/en_HK: Likewise.
23601 * localedata/locales/en_IE: Likewise.
23602 * localedata/locales/en_IL: Likewise.
23603 * localedata/locales/en_IN: Likewise.
23604 * localedata/locales/en_NG: Likewise.
23605 * localedata/locales/en_NZ: Likewise.
23606 * localedata/locales/en_PH: Likewise.
23607 * localedata/locales/en_SG: Likewise.
23608 * localedata/locales/en_US: Likewise.
23609 * localedata/locales/en_ZA: Likewise.
23610 * localedata/locales/en_ZM: Likewise.
23611 * localedata/locales/en_ZW: Likewise.
23612 * localedata/locales/eo: Likewise.
23613 * localedata/locales/es_AR: Likewise.
23614 * localedata/locales/es_BO: Likewise.
23615 * localedata/locales/es_CL: Likewise.
23616 * localedata/locales/es_CO: Likewise.
23617 * localedata/locales/es_CR: Likewise.
23618 * localedata/locales/es_CU: Likewise.
23619 * localedata/locales/es_DO: Likewise.
23620 * localedata/locales/es_EC: Likewise.
23621 * localedata/locales/es_ES: Likewise.
23622 * localedata/locales/es_GT: Likewise.
23623 * localedata/locales/es_HN: Likewise.
23624 * localedata/locales/es_MX: Likewise.
23625 * localedata/locales/es_NI: Likewise.
23626 * localedata/locales/es_PA: Likewise.
23627 * localedata/locales/es_PE: Likewise.
23628 * localedata/locales/es_PR: Likewise.
23629 * localedata/locales/es_PY: Likewise.
23630 * localedata/locales/es_SV: Likewise.
23631 * localedata/locales/es_US: Likewise.
23632 * localedata/locales/es_UY: Likewise.
23633 * localedata/locales/es_VE: Likewise.
23634 * localedata/locales/et_EE: Likewise.
23635 * localedata/locales/eu_ES: Likewise.
23636 * localedata/locales/eu_ES@euro: Likewise.
23637 * localedata/locales/fa_IR: Likewise.
23638 * localedata/locales/ff_SN: Likewise.
23639 * localedata/locales/fi_FI: Likewise.
23640 * localedata/locales/fil_PH: Likewise.
23641 * localedata/locales/fo_FO: Likewise.
23642 * localedata/locales/fr_BE: Likewise.
23643 * localedata/locales/fr_CA: Likewise.
23644 * localedata/locales/fr_CH: Likewise.
23645 * localedata/locales/fr_FR: Likewise.
23646 * localedata/locales/fr_LU: Likewise.
23647 * localedata/locales/fur_IT: Likewise.
23648 * localedata/locales/fy_DE: Likewise.
23649 * localedata/locales/fy_NL: Likewise.
23650 * localedata/locales/ga_IE: Likewise.
23651 * localedata/locales/gd_GB: Likewise.
23652 * localedata/locales/gez_ER: Likewise.
23653 * localedata/locales/gez_ET: Likewise.
23654 * localedata/locales/gl_ES: Likewise.
23655 * localedata/locales/gu_IN: Likewise.
23656 * localedata/locales/gv_GB: Likewise.
23657 * localedata/locales/ha_NG: Likewise.
23658 * localedata/locales/hak_TW: Likewise.
23659 * localedata/locales/he_IL: Likewise.
23660 * localedata/locales/hi_IN: Likewise.
23661 * localedata/locales/hif_FJ: Likewise.
23662 * localedata/locales/hne_IN: Likewise.
23663 * localedata/locales/hr_HR: Likewise.
23664 * localedata/locales/hsb_DE: Likewise.
23665 * localedata/locales/ht_HT: Likewise.
23666 * localedata/locales/hu_HU: Likewise.
23667 * localedata/locales/hy_AM: Likewise.
23668 * localedata/locales/i18n: Likewise.
23669 * localedata/locales/ia_FR: Likewise.
23670 * localedata/locales/id_ID: Likewise.
23671 * localedata/locales/ig_NG: Likewise.
23672 * localedata/locales/ik_CA: Likewise.
23673 * localedata/locales/is_IS: Likewise.
23674 * localedata/locales/it_CH: Likewise.
23675 * localedata/locales/it_IT: Likewise.
23676 * localedata/locales/iu_CA: Likewise.
23677 * localedata/locales/ja_JP: Likewise.
23678 * localedata/locales/ka_GE: Likewise.
23679 * localedata/locales/kk_KZ: Likewise.
23680 * localedata/locales/kl_GL: Likewise.
23681 * localedata/locales/kn_IN: Likewise.
23682 * localedata/locales/ko_KR: Likewise.
23683 * localedata/locales/kok_IN: Likewise.
23684 * localedata/locales/ks_IN: Likewise.
23685 * localedata/locales/ks_IN@devanagari: Likewise.
23686 * localedata/locales/ku_TR: Likewise.
23687 * localedata/locales/kw_GB: Likewise.
23688 * localedata/locales/ky_KG: Likewise.
23689 * localedata/locales/lb_LU: Likewise.
23690 * localedata/locales/lg_UG: Likewise.
23691 * localedata/locales/li_BE: Likewise.
23692 * localedata/locales/li_NL: Likewise.
23693 * localedata/locales/lij_IT: Likewise.
23694 * localedata/locales/ln_CD: Likewise.
23695 * localedata/locales/lo_LA: Likewise.
23696 * localedata/locales/lt_LT: Likewise.
23697 * localedata/locales/lv_LV: Likewise.
23698 * localedata/locales/lzh_TW: Likewise.
23699 * localedata/locales/mag_IN: Likewise.
23700 * localedata/locales/mai_IN: Likewise.
23701 * localedata/locales/mg_MG: Likewise.
23702 * localedata/locales/mhr_RU: Likewise.
23703 * localedata/locales/mi_NZ: Likewise.
23704 * localedata/locales/mk_MK: Likewise.
23705 * localedata/locales/ml_IN: Likewise.
23706 * localedata/locales/mn_MN: Likewise.
23707 * localedata/locales/mni_IN: Likewise.
23708 * localedata/locales/mr_IN: Likewise.
23709 * localedata/locales/ms_MY: Likewise.
23710 * localedata/locales/mt_MT: Likewise.
23711 * localedata/locales/my_MM: Likewise.
23712 * localedata/locales/nan_TW: Likewise.
23713 * localedata/locales/nan_TW@latin: Likewise.
23714 * localedata/locales/nb_NO: Likewise.
23715 * localedata/locales/nds_DE: Likewise.
23716 * localedata/locales/nds_NL: Likewise.
23717 * localedata/locales/ne_NP: Likewise.
23718 * localedata/locales/nhn_MX: Likewise.
23719 * localedata/locales/niu_NU: Likewise.
23720 * localedata/locales/niu_NZ: Likewise.
23721 * localedata/locales/nl_AW: Likewise.
23722 * localedata/locales/nl_BE: Likewise.
23723 * localedata/locales/nl_NL: Likewise.
23724 * localedata/locales/nn_NO: Likewise.
23725 * localedata/locales/nr_ZA: Likewise.
23726 * localedata/locales/nso_ZA: Likewise.
23727 * localedata/locales/oc_FR: Likewise.
23728 * localedata/locales/om_ET: Likewise.
23729 * localedata/locales/om_KE: Likewise.
23730 * localedata/locales/or_IN: Likewise.
23731 * localedata/locales/os_RU: Likewise.
23732 * localedata/locales/pa_IN: Likewise.
23733 * localedata/locales/pa_PK: Likewise.
23734 * localedata/locales/pap_AW: Likewise.
23735 * localedata/locales/pap_CW: Likewise.
23736 * localedata/locales/pl_PL: Likewise.
23737 * localedata/locales/ps_AF: Likewise.
23738 * localedata/locales/pt_BR: Likewise.
23739 * localedata/locales/pt_PT: Likewise.
23740 * localedata/locales/quz_PE: Likewise.
23741 * localedata/locales/raj_IN: Likewise.
23742 * localedata/locales/ro_RO: Likewise.
23743 * localedata/locales/ru_RU: Likewise.
23744 * localedata/locales/ru_UA: Likewise.
23745 * localedata/locales/rw_RW: Likewise.
23746 * localedata/locales/sa_IN: Likewise.
23747 * localedata/locales/sat_IN: Likewise.
23748 * localedata/locales/sc_IT: Likewise.
23749 * localedata/locales/sd_IN: Likewise.
23750 * localedata/locales/sd_IN@devanagari: Likewise.
23751 * localedata/locales/se_NO: Likewise.
23752 * localedata/locales/sgs_LT: Likewise.
23753 * localedata/locales/shs_CA: Likewise.
23754 * localedata/locales/si_LK: Likewise.
23755 * localedata/locales/sid_ET: Likewise.
23756 * localedata/locales/sk_SK: Likewise.
23757 * localedata/locales/sl_SI: Likewise.
23758 * localedata/locales/sm_WS: Likewise.
23759 * localedata/locales/so_DJ: Likewise.
23760 * localedata/locales/so_ET: Likewise.
23761 * localedata/locales/so_KE: Likewise.
23762 * localedata/locales/so_SO: Likewise.
23763 * localedata/locales/sq_AL: Likewise.
23764 * localedata/locales/sq_MK: Likewise.
23765 * localedata/locales/sr_ME: Likewise.
23766 * localedata/locales/sr_RS: Likewise.
23767 * localedata/locales/sr_RS@latin: Likewise.
23768 * localedata/locales/ss_ZA: Likewise.
23769 * localedata/locales/st_ZA: Likewise.
23770 * localedata/locales/sv_FI: Likewise.
23771 * localedata/locales/sv_SE: Likewise.
23772 * localedata/locales/sw_KE: Likewise.
23773 * localedata/locales/sw_TZ: Likewise.
23774 * localedata/locales/szl_PL: Likewise.
23775 * localedata/locales/ta_IN: Likewise.
23776 * localedata/locales/ta_LK: Likewise.
23777 * localedata/locales/tcy_IN: Likewise.
23778 * localedata/locales/te_IN: Likewise.
23779 * localedata/locales/tg_TJ: Likewise.
23780 * localedata/locales/th_TH: Likewise.
23781 * localedata/locales/the_NP: Likewise.
23782 * localedata/locales/ti_ER: Likewise.
23783 * localedata/locales/ti_ET: Likewise.
23784 * localedata/locales/tig_ER: Likewise.
23785 * localedata/locales/tk_TM: Likewise.
23786 * localedata/locales/tl_PH: Likewise.
23787 * localedata/locales/tn_ZA: Likewise.
23788 * localedata/locales/to_TO: Likewise.
23789 * localedata/locales/tpi_PG: Likewise.
23790 * localedata/locales/tr_CY: Likewise.
23791 * localedata/locales/tr_TR: Likewise.
23792 * localedata/locales/ts_ZA: Likewise.
23793 * localedata/locales/tt_RU: Likewise.
23794 * localedata/locales/tt_RU@iqtelif: Likewise.
23795 * localedata/locales/ug_CN: Likewise.
23796 * localedata/locales/uk_UA: Likewise.
23797 * localedata/locales/unm_US: Likewise.
23798 * localedata/locales/ur_IN: Likewise.
23799 * localedata/locales/ur_PK: Likewise.
23800 * localedata/locales/uz_UZ: Likewise.
23801 * localedata/locales/uz_UZ@cyrillic: Likewise.
23802 * localedata/locales/ve_ZA: Likewise.
23803 * localedata/locales/vi_VN: Likewise.
23804 * localedata/locales/wa_BE: Likewise.
23805 * localedata/locales/wae_CH: Likewise.
23806 * localedata/locales/wal_ET: Likewise.
23807 * localedata/locales/wo_SN: Likewise.
23808 * localedata/locales/xh_ZA: Likewise.
23809 * localedata/locales/yi_US: Likewise.
23810 * localedata/locales/yo_NG: Likewise.
23811 * localedata/locales/yue_HK: Likewise.
23812 * localedata/locales/yuw_PG: Likewise.
23813 * localedata/locales/zh_CN: Likewise.
23814 * localedata/locales/zh_HK: Likewise.
23815 * localedata/locales/zh_SG: Likewise.
23816 * localedata/locales/zh_TW: Likewise.
23817 * localedata/locales/zu_ZA: Likewise.
23819 2017-11-13 Florian Weimer <fweimer@redhat.com>
23821 * support/next_to_fault.h, support/next_to_fault.c: New files.
23822 * support/Makefile (libsupport-routines): Add next_to_fault.
23823 * resolv/tst-inet_pton.c (struct next_to_fault)
23824 (next_to_fault_allocate, next_to_fault_free): Remove.
23825 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
23827 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
23829 * elf/dl-support.c: Include <dl-procruntime.c>.
23830 * include/link.h: Include <link_map.h>.
23831 * sysdeps/generic/dl-procruntime.c: New file.
23832 * sysdeps/generic/link_map.h: Likewise.
23833 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
23834 the writable ld.so namespace.
23836 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
23838 timezone: pacify GCC -Wstringop-truncation
23839 Problem reported by Martin Sebor in:
23840 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
23841 * timezone/zic.c (writezone): Use memcpy, not strncpy.
23843 2017-11-12 Florian Weimer <fweimer@redhat.com>
23845 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
23847 (tests): Add tst-xreadlink.
23848 * support/support.h (xstrndup): Declare.
23849 * support/xunistd.h (xunlink, xreadlink): Declare.
23850 * support/temp_file.h (support_create_temp_directory): Declare.
23851 * support/temp_file.c (support_create_temp_directory): New function.
23852 * support/support_chroot.c (support_chroot_create): Use it.
23853 * support/xreadlink.c: New file.
23854 * support/xstrndup.c: Likewise.
23855 * support/xunlink.c: Likewise.
23856 * support/tst-xreadlink.c: Likewise.
23858 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
23860 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
23862 2017-11-11 Florian Weimer <fweimer@redhat.com>
23866 * resolv/res_comp.c (printable_string, binary_hnok)
23867 (binary_leading_dash): New functions.
23868 (res_hnok): Reimplement using these functions and ns_name_pton.
23869 (res_ownok): Likewise.
23870 (res_mailok): Reimplement using printable_string, ns_name_pton and
23872 (res_dnok): Reimplement using printable_string and ns_name_pton.
23873 * resolv/tst-res_hnok.c (tests): Add additional tests.
23874 (LETTERDIGITS, PRINTABLE): Define.
23875 (do_test): Adjust one_char results.
23877 2017-11-11 Florian Weimer <fweimer@redhat.com>
23880 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
23881 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
23883 2017-11-11 Florian Weimer <fweimer@redhat.com>
23885 * resolv/tst-ns_name_pton.c: New file.
23886 * resolv/Makefile (tests): Add tst-ns_name_pton.
23887 (tst-ns_name_pton): Link against libresolv.
23889 2017-11-11 Florian Weimer <fweimer@redhat.com>
23891 * resolv/tst-res_hnok.c: New file.
23892 * resolv/Makefile (tests): Add tst-res_hnok.
23893 (tst-res_hnok): Link against libresolv.
23895 2017-11-11 Florian Weimer <fweimer@redhat.com>
23897 * resolv/tst-resolv-network.c: Use test framework instead explicit
23900 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
23902 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
23903 <jmp_buf-macros.h>.
23904 [!_ISOMAC] (STR_HELPER): New.
23905 [!_ISOMAC] (STR): Likewise.
23906 [!_ISOMAC] (TEST_SIZE): Likewise.
23907 [!_ISOMAC] (TEST_ALIGN): Likewise.
23908 [!_ISOMAC] (TEST_OFFSET): Likewise.
23909 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
23910 field offsets of jmp_buf as well as sigjmp_buf.
23911 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
23912 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
23913 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
23914 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
23915 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
23916 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
23917 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
23918 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
23919 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
23920 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
23922 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
23924 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
23925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
23927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
23929 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
23930 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
23931 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
23932 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
23933 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
23934 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
23936 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
23938 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23939 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
23940 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
23942 2017-11-07 Joseph Myers <joseph@codesourcery.com>
23945 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23946 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
23947 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23948 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
23949 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23950 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
23951 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23952 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
23953 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23954 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
23955 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23956 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
23957 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23958 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
23959 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23960 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
23961 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23962 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
23963 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23964 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
23965 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23966 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
23967 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23968 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
23969 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23970 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
23971 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23972 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
23973 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23974 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
23975 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23976 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
23977 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23978 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
23979 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23980 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
23981 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23982 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
23983 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23984 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
23985 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23986 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
23987 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23988 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
23989 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23990 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
23991 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23992 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
23993 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23994 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
23995 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23996 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
23997 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23998 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
23999 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24000 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
24001 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24002 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
24003 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24004 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
24005 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24006 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
24007 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24008 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
24009 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24010 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
24011 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24012 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
24013 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24014 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
24015 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24016 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
24017 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24018 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
24019 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24020 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
24021 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24022 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
24023 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24024 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
24025 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24026 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
24027 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24028 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
24029 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24030 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
24031 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24032 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
24034 * stdlib/tst-strtod.h (F16): New macro.
24040 (IF_FLOAT16): Likewise.
24041 (IF_FLOAT32): Likewise.
24042 (IF_FLOAT64): Likewise.
24043 (IF_FLOAT32X): Likewise.
24044 (IF_FLOAT64X): Likewise.
24045 (IF_FLOAT128X): Likewise.
24046 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
24047 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
24048 (STRTOD_TEST_FOREACH): Likewise.
24049 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
24050 (CHOOSE_f64): Likewise.
24051 (CHOOSE_f32x): Likewise.
24052 (CHOOSE_f64x): Likewise.
24054 2017-11-07 Andreas Schwab <schwab@suse.de>
24056 * nptl/Makefile (tests-internal): Remove tst-typesizes.
24058 2017-11-07 Mike FABIAN <mfabian@redhat.com>
24061 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
24063 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
24066 2017-11-07 Claude Paroz <claude@2xlibre.net>
24069 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
24071 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
24073 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
24076 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24079 * nptl/allocatestack.c (allocate_stack): Check if
24080 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
24081 __PTHREAD_MUTEX_HAVE_PREV is defined.
24082 * nptl/descr.h (pthread): Likewise.
24083 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24085 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
24086 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
24087 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
24088 * sysdeps/nptl/bits/thread-shared-types.h
24089 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24091 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
24092 of __WORDSIZE for internal layout.
24093 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
24094 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
24095 instead of __WORDSIZE whether to use an union for __spins and __list
24097 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
24099 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
24100 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24102 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
24103 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24105 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
24106 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24108 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
24109 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24111 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
24112 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24114 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
24115 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24117 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
24118 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24120 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
24121 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24123 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
24124 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24126 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
24127 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24129 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
24130 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24132 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
24133 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24135 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
24136 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24138 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
24139 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24141 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
24142 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24145 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
24147 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
24148 checks for expected input type size.
24149 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
24150 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
24152 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
24153 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
24154 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
24155 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
24156 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
24157 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
24158 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
24159 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
24160 superflous runtime assert check.
24161 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
24163 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
24165 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
24167 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
24169 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
24171 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
24173 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
24174 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
24175 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
24177 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
24179 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
24181 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
24183 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
24185 * nptl/pthread_attr_setinheritsched.c
24186 (__pthread_attr_setinheritsched): Likewise.
24187 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
24189 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
24191 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
24192 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
24193 __old_pthread_attr_setstack): Likewise.
24194 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
24196 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
24198 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
24200 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
24201 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
24203 * nptl/tst-typesizes.c: Remove file.
24205 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
24206 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
24207 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
24208 checks for internal pthread_mutex_t offsets.
24209 * sysdeps/aarch64/nptl/pthread-offsets.h
24210 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
24211 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
24212 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
24213 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
24214 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
24215 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
24216 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
24217 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
24218 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
24219 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
24220 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
24221 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
24222 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
24223 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
24224 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
24225 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
24226 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
24227 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
24229 2017-11-07 Florian Weimer <fweimer@redhat.com>
24231 * bits/mman-linux.h: Move ...
24232 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
24234 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
24237 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24239 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
24240 Redefine STRNLEN as __strnlen_power8.
24242 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24244 * signal/sighold.c (sighold): Optimize implementation.
24246 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
24247 __NR_rt_sigqueueinfo.
24249 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
24251 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
24252 assume __NR_rt_sigtimedwait.
24253 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
24254 and add LIBC_CANCEL_HANDLED for cancellation marking.
24255 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24257 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24258 (sysdeps_routines): Add memchr_noneon.
24259 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
24260 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
24261 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
24262 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
24263 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
24264 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
24265 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
24267 * sysdeps/arm/arm-ifunc.h: New file.
24268 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
24269 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
24270 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
24271 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
24272 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
24273 (__memcpy_neon): Avoid create hidden alias.
24274 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
24275 (__memcpy_vfp): Likewise.
24276 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24277 (sysdep_routines): Add memcpy_arm.
24278 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
24280 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
24283 * Makerules (make-link-multidir): New.
24284 * config.make.in (multidir): New.
24285 * configure.ac (libc_cv_multidir): New. AC_SUBST.
24286 * configure: Regenerated.
24287 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
24288 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
24289 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
24292 2017-11-06 Joseph Myers <joseph@codesourcery.com>
24295 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
24296 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
24298 2017-11-04 Mike FABIAN <mfabian@redhat.com>
24300 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
24303 2017-11-04 Florian Weimer <fweimer@redhat.com>
24305 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
24307 2017-11-03 Joseph Myers <joseph@codesourcery.com>
24309 * math/math.h [__HAVE_DISTINCT_FLOAT16
24310 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24311 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24312 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24313 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
24314 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
24315 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
24316 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24317 (__MATH_TG_F32): New macro.
24318 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24319 (__MATH_TG_F64X): Likewise.
24320 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24321 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
24323 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
24325 * po/de.po: Update translations.
24326 * po/ru.po: Likewise.
24328 2017-11-03 Florian Weimer <fweimer@redhat.com>
24330 * manual/filesys.texi (Hard Links): Document linkat.
24332 2017-11-03 Joseph Myers <joseph@codesourcery.com>
24334 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
24335 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24336 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24337 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24338 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
24339 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
24340 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
24341 the same as _Float128.
24342 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
24343 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
24344 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
24347 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
24349 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
24351 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
24353 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24354 (strtof32x): Likewise.
24355 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24356 (strtof64x): Likewise.
24357 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24358 (strtof128x): Likewise.
24359 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24360 (strfromf16): Likewise.
24361 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24362 (strfromf32): Likewise.
24363 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24364 (strfromf64): Likewise.
24365 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24366 (strfromf32x): Likewise.
24367 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24368 (strfromf64x): Likewise.
24369 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24370 (strfromf128x): Likewise.
24371 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
24372 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
24373 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
24374 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
24375 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
24376 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
24378 2017-11-03 Richard Henderson <rth@twiddle.net>
24380 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
24382 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24384 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
24386 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24388 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
24389 DT_TLSDESC_GOT initialization.
24390 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
24391 (_dl_tlsdesc_resolve_hold): Likewise.
24392 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
24393 (_dl_tlsdesc_resolve_hold): Likewise.
24394 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
24395 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
24397 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24399 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
24401 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24404 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
24405 non-lazily for R_ARM_TLS_DESC.
24407 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24410 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
24411 R_ARM_TLS_DESC case.
24412 (elf_machine_lazy_rel): Remove the prelink check.
24414 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24416 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
24417 DT_TLSDESC_GOT initialization.
24418 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
24419 (_dl_tlsdesc_resolve_rela): Likewise.
24420 (_dl_tlsdesc_resolve_hold): Likewise.
24421 (_dl_tlsdesc_undefweak): Remove ldar.
24422 (_dl_tlsdesc_dynamic): Likewise.
24423 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
24424 (_dl_tlsdesc_resolve_rela): Likewise.
24425 (_dl_tlsdesc_resolve_hold): Likewise.
24426 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
24427 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
24428 (_dl_tlsdesc_resolve_rela): Likewise.
24429 (_dl_tlsdesc_resolve_hold): Likewise.
24431 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24433 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
24434 binding and initialization non-lazily for R_AARCH64_TLSDESC.
24436 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24438 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
24439 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24441 2017-11-02 Joseph Myers <joseph@codesourcery.com>
24443 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
24445 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
24446 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
24447 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
24448 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
24449 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
24450 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
24451 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
24452 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
24453 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
24454 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
24455 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
24457 2017-11-02 Mike FABIAN <mfabian@redhat.com>
24460 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
24461 * localedata/locales/tpi_PG: Add standard header.
24463 2017-11-02 Florian Weimer <fweimer@redhat.com>
24465 test-errno-linux: quotactl can fail with EPERM in containers.
24466 * sysdeps/unix/sysv/linux/test-errno-linux.c
24467 (LIST, LIST_FORWARD): New macros.
24468 (check_error_in_list): New function.
24469 (test_wrp_rv): Accept list of permitted error codes.
24470 (test_wrp_rv2): Remove.
24471 (test_wrp): Call test_wrp_rv with list of error codes.
24472 (test_wrp2): Accept list of error codes.
24473 (do_test): Adjust. Allow EPERM for quotactl.
24475 2017-11-02 Florian Weimer <fweimer@redhat.com>
24477 * stdio-common/bug16.c (do_test): Use array_length.
24478 * stdio-common/errlist.c (_sys_nerr): Likewise.
24479 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
24480 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
24481 * stdio-common/psiginfo.c (psiginfo): Use array_length.
24482 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
24483 (do_test): Use array_length.
24484 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
24485 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
24486 * stdio-common/tst-printf-round.c (do_test): Likewise.
24487 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
24488 (CHECK): Use array_length.
24489 * stdio-common/tstdiomisc.c (t3, F): Likewise.
24490 * stdio-common/tstscanf.c (main): Likewise.
24491 * stdio-common/vfprintf.c (process_string_arg): Likewise.
24493 2017-11-02 Florian Weimer <fweimer@redhat.com>
24495 Add array_length and array_end macros.
24496 * include/array_length.h: New file.
24498 2017-11-02 Florian Weimer <fweimer@redhat.com>
24501 * posix/tst-glob-tilde.c (do_noescape): New variable.
24502 (one_test): Process it.
24503 (do_test): Set do_noescape. Add unescaping test case.
24505 2017-11-01 Joseph Myers <joseph@codesourcery.com>
24508 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
24509 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
24510 with appropriate macros defined and undefined.
24511 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
24512 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24513 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
24514 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24515 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
24516 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24517 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
24518 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24519 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
24520 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24523 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
24524 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
24525 that for long double. Do not condition define and undefine of
24526 _Mdouble_complex_ on [__CFLOAT128].
24528 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
24530 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
24531 of <sysdeps/generic/sysdep.h>.
24532 (ALIGNARG): Removed.
24533 (ASM_SIZE_DIRECTIVE): Likewise.
24536 (ENTRY_CHK): Likewise.
24537 (END_CHK): Likewise.
24538 (syscall_error): Likewise.
24539 (mcount): Likewise.
24540 (PSEUDO_END): Likewise.
24542 (atom_text_section): Likewise.
24543 * sysdeps/x86/sysdep.h: New file.
24544 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
24545 of <sysdeps/generic/sysdep.h>.
24546 (ALIGNARG): Removed.
24547 (ASM_SIZE_DIRECTIVE): Likewise.
24550 (ENTRY_CHK): Likewise.
24551 (END_CHK): Likewise.
24552 (syscall_error): Likewise.
24553 (mcount): Likewise.
24554 (PSEUDO_END): Likewise.
24556 (atom_text_section): Likewise.
24558 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
24560 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
24561 category of LC_CTYPE set to "i18n:2012".
24562 * localedata/locales/i18n_ctype: Regenerate.
24564 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
24566 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
24567 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
24568 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
24569 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
24571 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
24572 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
24573 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
24574 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
24576 2017-10-31 Joseph Myers <joseph@codesourcery.com>
24579 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
24581 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
24583 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
24585 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24586 (CMPLXF32X): Likewise.
24587 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24588 (CMPLXF64X): Likewise.
24589 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24590 (CMPLXF128X): Likewise.
24593 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
24594 (__MATH_EVAL_FMT2): Define to add 0.0f.
24596 2017-10-31 Alan Modra <amodra@gmail.com>
24598 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
24600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
24601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
24602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
24603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
24604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
24605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
24606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
24607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
24608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
24609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
24610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
24611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
24612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
24613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
24614 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
24615 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
24616 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
24617 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
24618 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
24619 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
24620 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
24621 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
24622 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
24623 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
24624 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
24625 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
24626 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
24627 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
24628 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
24629 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
24630 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
24631 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
24632 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
24633 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
24634 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
24635 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
24636 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
24637 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
24638 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
24639 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24640 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
24641 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
24642 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
24643 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
24644 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
24645 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
24646 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
24647 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
24648 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
24649 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24650 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
24651 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
24652 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
24653 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
24654 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24655 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
24656 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
24657 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
24658 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24659 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24660 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24661 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
24662 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
24663 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24664 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
24665 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
24666 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
24667 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
24668 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
24670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
24671 include sysdep.h and math_ldbl_opt.h.
24673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
24674 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
24675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
24676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
24677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
24678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
24679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
24680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
24681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
24682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
24683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
24684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
24685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
24686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
24687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
24688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
24689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
24690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
24691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
24692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
24693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
24694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
24695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
24696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
24697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
24698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
24700 2017-10-31 Alan Modra <amodra@gmail.com>
24702 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
24703 string/strncase_l.c, not string/strncase.c.
24704 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
24705 (libc_hidden_def): Redefine.
24707 2017-10-31 Alan Modra <amodra@gmail.com>
24709 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
24710 (__STRCMP, STRCMP, __strcasecmp_l): Define.
24711 (__strcasecmp): Don't define.
24713 2017-10-31 Alan Modra <amodra@gmail.com>
24715 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
24717 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
24718 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24719 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24721 2017-10-31 Alan Modra <amodra@gmail.com>
24723 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
24726 2017-10-31 Alan Modra <amodra@gmail.com>
24728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
24729 Redefine only when SHARED.
24731 2017-10-30 Joseph Myers <joseph@codesourcery.com>
24733 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24734 Include <bits/math-finite.h> with appropriate macros defined and
24736 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24737 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24738 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24739 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24740 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24742 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
24743 [!_Mlong_double_] (_Mlong_double_): Likewise.
24744 [!_Mfloat16_] (_Mfloat16_): Likewise.
24745 [!_Mfloat32_] (_Mfloat32_): Likewise.
24746 [!_Mfloat64_] (_Mfloat64_): Likewise.
24747 [!_Mfloat128_] (_Mfloat128_): Likewise.
24748 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
24749 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
24750 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
24751 (_Mdouble_): Define without indirection through those macros.
24752 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
24753 [!_Mfloat128_] (_Mfloat128_): Likewise.
24754 [_Mlong_double_] (_Mlong_double_): Likewise.
24755 (_Mdouble_): Define without indirection through those macros.
24756 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
24757 not add -D_Mlong_double_=double.
24758 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
24759 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
24761 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24763 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
24765 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24767 * sysdeps/x86/libc-start.c: Reformat.
24769 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24772 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
24773 (1): Renamed to ...
24776 (L(Src2)): Likewise.
24777 (L(1)): Renamed to ...
24780 2017-10-30 Joseph Myers <joseph@codesourcery.com>
24782 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
24783 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
24784 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
24785 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
24786 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
24787 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
24788 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
24789 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
24790 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
24791 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
24792 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
24793 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
24794 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
24795 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
24796 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
24797 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
24798 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
24799 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
24800 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
24801 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
24802 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
24803 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
24804 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
24805 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
24806 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
24807 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
24808 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
24809 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
24810 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
24811 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
24812 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
24813 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
24814 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
24815 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
24816 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
24817 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
24818 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
24819 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
24820 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
24821 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
24822 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
24823 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
24824 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
24825 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
24826 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
24827 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
24828 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
24829 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
24830 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
24831 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
24832 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
24833 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
24834 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
24835 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
24836 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
24837 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
24838 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
24839 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
24840 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
24841 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
24842 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
24843 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
24844 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
24845 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
24846 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
24847 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
24849 2017-10-30 Florian Weimer <fweimer@redhat.com>
24851 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
24853 * io/tst-mkdirat.c (do_test): Likewise.
24854 * io/tst-mkfifoat.c (do_test): Likewise.
24855 * io/tst-mknodat.c (do_test): Likewise.
24856 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
24857 * locale/programs/locale.c (select_dirs): Likewise.
24858 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
24859 * posix/bug-glob2.c (my_readdir): Likewise.
24860 * posix/tst-dir.c (main): Likewise.
24861 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
24862 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
24864 2017-10-30 Florian Weimer <fweimer@redhat.com>
24866 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
24869 2017-10-30 Florian Weimer <fweimer@redhat.com>
24871 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
24872 Convert to support/test-driver.c.
24873 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
24874 New macro parameters.
24875 (PRINTF): Remove macro. Use test_verbose conditionals instead.
24876 * posix/tst-gnuglob.c: New file.
24877 * posix/tst-gnuglob64.c: Likewise.
24878 * posix/Makefile (tests): Add tst-gnuglob64.
24880 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
24883 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
24884 and use a better translation for March in “mon”.
24885 * localedata/locales/csb_PL: Use more ASCII to improve the
24886 readability of the source.
24888 2017-10-30 Mike FABIAN <mfabian@redhat.com>
24891 * localedata/locales/km_KH: Use ASCII as much
24892 as possible for better readability of the source and
24893 remove useless comments.
24894 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
24895 was commented out and apparently wrong anyway because it was
24896 using Lao characters. If Buddhist era should be used
24897 for km_KH, a native speaker should write the correct formaat
24899 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
24900 (According to CLDR, the first weekday for Cambodia is Sunday).
24901 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
24902 (These were using Lao characters which must be wrong. If we get
24903 the correct data from a native speaker, we could add it back, until
24904 then it is better not to have name_mr and name_mrs at all than
24907 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
24909 * locale/loadlocale.c: Correct size of
24910 _nl_value_type_LC_<category> arrays.
24912 2017-10-27 Joseph Myers <joseph@codesourcery.com>
24914 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24915 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
24916 with appropriate macros defined and undefined.
24917 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24918 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24919 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24920 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24921 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24923 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
24925 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
24928 2017-10-27 Mike FABIAN <mfabian@redhat.com>
24930 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
24931 with lowercase letters to make it agree with CLDR.
24933 2017-10-27 Mike FABIAN <mfabian@redhat.com>
24936 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
24937 first letters of yesstr and nostr in yesexpr and noexpr,
24938 not for the full words.
24939 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24940 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
24941 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
24942 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
24943 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
24944 first letters of yesstr and nostr in yesexpr and noexpr,
24945 until now only English was matched in yesexpr and noexpr.
24946 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
24947 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
24948 fil but not for tl. As tl and fil are very similar, using fil
24949 is probably better than using English.
24951 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
24954 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
24955 in yesstr and nostr.
24957 2017-10-26 Joseph Myers <joseph@codesourcery.com>
24959 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24960 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
24961 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
24963 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
24965 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
24967 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
24969 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24970 (SNANF128X): Likewise.
24972 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24973 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
24974 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24975 (HUGE_VAL_F32): Likewise.
24976 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24977 (HUGE_VAL_F64): Likewise.
24978 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24979 (HUGE_VAL_F32X): Likewise.
24980 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24981 (HUGE_VAL_F64X): Likewise.
24982 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24983 (HUGE_VAL_F128X): Likewise.
24985 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
24987 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
24988 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
24989 for the br_FR locale.
24991 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
24994 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
24996 2017-10-25 Carlos O'Donell <carlos@redhat.com>
24998 * locale/programs/record-status.h: Define globals, and function
24999 prototypes. Move function bodies...
25000 * locale/programs/record-status.c: ... to here. New file.
25001 * iconv/Makefile (iconv_prog-modules): Add record-status.
25002 * locale/Makefile (lib-modules): Likewise.
25003 * iconv/iconv_prog.c: Remove verbose.
25004 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
25005 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
25006 record a warning about ASCII compatibility.
25007 * locale/programs/ld-monetary.c (monetary_finish): If
25008 warn_int_curr_symbol is true then record a warning about the symbol
25009 not being in our ISO 4217 list.
25010 * locale/programs/locale.c: Include record-status.h. Remove verbose.
25011 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
25012 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
25013 (OPT_NO_WARN): Define.
25014 (OPT_WARN): Define.
25015 (options): Add entry for --no-warnings, and --warnings.
25016 (set_warnings): New function to enable/disable warnings.
25017 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
25018 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
25019 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
25020 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
25021 Pass flags to generate_locale.
25022 (generate_locale): Accept new flag argument and pass it to localedef
25024 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
25025 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
25027 * localedata/Makefile (test-input-data): Use full file name.
25028 * localedata/da_DK.in: Rename to...
25029 * localedata/da_DK.ISO-8859-1.in: ...this.
25030 * localedata/de_DE.in: Rename to...
25031 * localedata/de_DE.ISO-8859-1.in: ...this.
25032 * localedata/en_US.in: Rename to...
25033 * localedata/en_US.ISO-8859-1.in: ...this.
25034 * localedata/fr_FR.in: Rename to...
25035 * localedata/fr_FR.UTF-8.in: ... this.
25036 * localedata/hr_HR.in: Rename to...
25037 * localedata/hr_HR.ISO-8859-2.in: ...this.
25038 * localedata/hu_HU.in: Rename to...
25039 * localedata/hu_HU.UTF-8.in: ...this.
25040 * localedata/si_LK.in: Rename to...
25041 * localedata/si_LK.UTF-8.in: ...this.
25042 * localedata/sv_SE.in: Rename to...
25043 * localedata/sv_SE.ISO-8859-1.in: ...this.
25044 * localedata/tr_TR.in: Rename to...
25045 * localedata/tr_TR.UTF-8.in: ...this.
25046 * localedata/uk_UA.in: Rename to...
25047 * localedata/uk_UA.UTF-8.in: ...this.
25048 * localedata/sort-test.sh: Test file is locale name with the
25051 * localedata/unicode-gen/Makefile (check_i18n): Rename to
25052 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
25054 * localedata/locales/i18n_ctype: Regenerate.
25055 * localedata/locales/tr_TR: Likewise.
25056 * localedata/locales/translit_circle: Likewise.
25057 * localedata/locales/translit_cjk_compat: Likewise.
25058 * localedata/locales/translit_combining: Likewise.
25059 * localedata/locales/translit_compat: Likewise.
25060 * localedata/locales/translit_font: Likewise.
25061 * localedata/locales/translit_fraction: Likewise.
25063 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25065 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
25066 lxvd2x/stxvd2x with lvx/stvx.
25067 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
25069 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
25071 * include/alloc_buffer.h: Replace "if if " with "if " in
25073 * sysdeps/mips/memcpy.S: Likkewise.
25074 * sysdeps/mips/memset.S: Likewise.
25075 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
25077 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
25079 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
25082 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25085 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
25086 yesexpr and noexpr.
25087 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25088 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25089 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25090 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25091 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25092 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25093 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25095 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25097 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
25098 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25099 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25100 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25101 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25102 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
25103 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25104 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25105 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25106 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25107 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25108 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25110 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25112 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
25113 as possible for better readability of the source.
25114 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
25115 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
25116 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
25117 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
25118 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
25119 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
25120 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
25121 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
25122 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25123 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
25124 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
25125 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
25126 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
25127 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
25128 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
25129 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
25130 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
25131 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
25132 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
25133 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
25134 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
25135 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
25136 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
25137 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
25138 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
25139 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
25140 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
25141 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
25142 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
25143 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
25144 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
25145 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25146 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
25147 * localedata/locales/en_US (LC_MESSAGES): Likewise.
25148 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
25149 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
25150 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
25151 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
25152 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
25153 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
25154 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
25155 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
25156 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
25157 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
25158 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
25159 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
25160 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
25161 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
25162 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
25163 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
25164 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
25165 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
25166 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
25167 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25168 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25169 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
25170 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
25171 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25172 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
25173 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
25174 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
25175 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
25176 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
25177 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
25178 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
25179 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
25180 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
25181 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
25182 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
25183 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
25184 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
25185 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
25186 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
25187 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
25188 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25189 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
25190 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
25191 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
25192 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
25193 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
25194 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
25195 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
25196 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
25197 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25198 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
25199 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
25200 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
25201 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25202 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
25203 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
25204 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
25205 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
25206 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25207 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
25208 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
25209 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25210 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
25211 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25212 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
25213 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
25214 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
25215 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
25216 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
25217 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
25218 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
25219 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
25220 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
25221 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
25222 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
25223 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
25224 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
25225 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
25226 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25227 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
25228 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
25229 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
25230 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
25231 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
25232 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
25233 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
25234 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
25235 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
25236 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
25237 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
25238 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
25239 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
25240 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
25241 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
25242 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
25243 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
25244 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
25245 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
25246 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
25247 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
25248 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
25249 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
25250 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
25251 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
25252 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
25253 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
25254 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
25255 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
25256 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
25257 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
25258 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
25259 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25260 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
25261 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
25262 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
25263 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
25264 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
25265 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
25266 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
25267 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
25268 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25269 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
25270 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
25271 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
25272 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
25273 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
25274 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
25275 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
25276 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
25277 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
25278 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
25279 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25280 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
25281 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
25282 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
25283 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
25284 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25285 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25286 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25287 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
25289 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25291 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
25292 (Use first letters of yesstr and nostr correctly instead of using
25295 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25297 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
25298 (Use first letters of yesstr and nostr correctly).
25300 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25302 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
25303 also check for the first characters of yesstr and nostr.
25304 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
25305 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
25307 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25309 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
25310 also check for Chinese characters.
25312 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25314 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
25315 match also for the contents of yesstr and nostr. As the first letter
25316 of yesstr and nostr is equal, checking only for the first letter
25319 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25321 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
25322 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
25324 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25326 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
25327 of main contributor.
25329 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25331 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
25332 instead of using English.
25334 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25336 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
25337 by including the first letters of nostr and yesexpr in the regexp.
25338 Also make it more readable by using ASCII where possible.
25340 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25342 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
25343 the first letter of nostr in the regexp. It agrees with CLDR now.
25344 Also make it more readable by using ASCII where possible.
25346 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25348 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
25349 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
25350 these strings contain a U+17D6 (which somewhat looks like a colon)
25351 instead of a real colon to separate the full words for “yes”
25352 and “no” from the single letter responses.
25354 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25356 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
25357 it agree with CLDR (include the first letter of yesstr).
25358 Also make it more readable by using ASCII where possible.
25360 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25362 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
25363 and improve yesexpr and noexpr. The yesstr and nostr apparently
25364 came from CLDR. And CLDR has a bug there: these strings contain
25365 a U+0903 (which looks like a colon) instead of a real colon
25366 to separate the full words for “yes” and “no” from the single
25369 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25371 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
25372 letters of the full yesstr and nostr in yesexpr and noexpr.
25374 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25376 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
25377 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
25378 * localedata/locales/an_ES: Make source more readable by using ASCII
25381 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25384 * localedata/locales/yuw_PG: New file.
25385 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
25386 * locale/iso-639.def: Add Yau (Uruwa).
25388 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25390 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
25392 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25394 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
25395 (__libc_realloc): Likewise.
25396 (_mid_memalign): Likewise.
25397 (__libc_calloc): Likewise.
25399 2017-10-23 Mike FABIAN <mfabian@redhat.com>
25401 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
25402 by adding the generic +1 and -0 as in all other locales.
25403 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
25404 day names and make it more readable by using ASCII where possible.
25406 2017-10-24 Joseph Myers <joseph@codesourcery.com>
25408 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
25409 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
25411 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25413 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
25414 WNOHANG in waitpid call.
25416 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
25418 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
25419 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
25421 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
25422 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
25423 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
25424 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
25425 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
25426 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
25427 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
25428 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
25431 2017-10-23 Michael Collison <michael.collison@arm.com>
25433 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
25434 with __builtin_sqrt.
25435 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
25436 with __builtin_sqrtf.
25437 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
25438 with __builtin_ceil.
25439 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
25440 with __builtin_ceilf.
25441 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
25442 with __builtin_floor.
25443 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
25444 with __builtin_floorf.
25445 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
25446 with __builtin_fma.
25447 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
25448 with __builtin_fmaf.
25449 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
25450 with __builtin_fmax.
25451 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
25452 with __builtin_fmaxf.
25453 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
25454 with __builtin_fmin.
25455 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
25456 with __builtin_fminf.
25457 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
25458 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
25459 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
25460 with builtin_rint and conversion to int.
25461 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
25462 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
25463 with builtin_llround.
25464 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
25465 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
25466 with builtin_rint and conversion to long int.
25467 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
25468 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
25469 with builtin_lround.
25470 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
25471 with builtin_lroundf.
25472 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
25473 statements with __builtin_nearbyint.
25474 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
25475 statements with __builtin_nearbyintf.
25476 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
25477 with __builtin_rint.
25478 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
25479 with __builtin_rintf.
25480 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
25481 with __builtin_round.
25482 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
25483 with __builtin_roundf.
25484 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
25485 with __builtin_trunc.
25486 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
25487 with __builtin_truncf.
25488 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
25489 and s_l[l]round[f].c too.
25491 2017-10-23 Alan Modra <amodra@gmail.com>
25493 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
25494 Adjust stack after restoring regs. Add missing LR cfi_restore.
25496 2017-10-23 Alan Modra <amodra@gmail.com>
25498 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
25499 Move LR save and frame setup/teardown and LR restore to
25500 immediately around memset call. Provide cfi.
25502 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25504 * sysdeps/i386/fpu/e_powf.S: Removed.
25505 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
25506 * sysdeps/i386/fpu/w_powf.c: Likewise.
25507 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
25508 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25509 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25511 (CFLAGS-e_powf-sse2.c): New.
25512 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
25513 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
25515 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25517 * sysdeps/i386/fpu/e_log2f.S: Removed.
25518 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
25519 * sysdeps/i386/fpu/w_log2f.c: Likewise.
25520 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
25521 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25522 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25524 (CFLAGS-e_log2f-sse2.c): New.
25525 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
25526 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
25528 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25530 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25532 (CFLAGS-e_powf-fma.c): New.
25533 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
25534 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
25536 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25538 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25540 (CFLAGS-e_log2f-fma.c): New.
25541 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
25542 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
25544 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25546 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25548 (CFLAGS-e_logf-fma.c): New.
25549 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
25550 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
25552 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25554 * sysdeps/i386/fpu/e_logf.S: Removed.
25555 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
25556 * sysdeps/i386/fpu/w_logf.c: Likewise.
25557 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
25558 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
25559 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25560 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25562 (CFLAGS-e_logf-sse2.c): New.
25563 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
25564 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
25566 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25568 * sysdeps/i386/fpu/e_exp2f.S: Removed.
25569 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
25570 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
25571 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25572 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25574 (CFLAGS-e_exp2f-sse2.c): New.
25575 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
25576 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
25578 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25580 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25582 (CFLAGS-e_exp2f-fma.c): New.
25583 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
25584 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
25586 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25588 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
25589 * sysdeps/i386/fpu/e_expf.S: Likewise.
25590 * sysdeps/i386/fpu/math_errf.c: Likewise.
25591 * sysdeps/i386/fpu/w_expf.c: Likewise.
25592 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
25593 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25594 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
25595 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
25596 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25597 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25598 Remove e_expf-ia32.
25599 (CFLAGS-e_expf-sse2.c): New.
25600 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
25601 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
25603 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25605 * sysdeps/x86_64/fpu/e_expf.S: Removed.
25606 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
25607 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
25608 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
25610 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
25612 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
25613 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
25615 (__redirect_expf): This.
25616 (SYMBOL_NAME): Changed to expf.
25617 (__ieee754_expf): Renamed to ...
25619 (__GI___expf): This.
25620 (__ieee754_expf): Add strong_alias.
25621 (__expf_finite): Likewise.
25623 Include <sysdeps/ieee754/flt-32/e_expf.c>.
25625 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
25628 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
25631 2017-10-21 Florian Weimer <fweimer@redhat.com>
25633 * posix/Makefile (tests): Add tst-glob-tilde.
25634 (tests-special): Add tst-glob-tilde-mem.out
25635 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
25636 (tst-glob-tilde-mem.out): Add mtrace check.
25637 * posix/tst-glob-tilde.c: New file.
25639 2017-10-20 Joseph Myers <joseph@codesourcery.com>
25641 * bits/floatn-common.h: New file.
25642 * math/Makefile (headers): Add bits/floatn-common.h.
25643 * bits/floatn.h: Include <bits/floatn-common.h>.
25644 * sysdeps/ia64/bits/floatn.h: Likewise.
25645 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
25646 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
25647 * sysdeps/powerpc/bits/floatn.h: Likewise.
25648 * sysdeps/x86/bits/floatn.h: Likewise.
25650 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25652 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
25653 indicates whether compiler emits an warning for alias for
25654 functions with incompatible types.
25657 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
25658 the auxiliary process is terminated by a signal before calling _exit
25661 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25664 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
25666 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
25667 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
25668 and bit_arch_XSAVEC_Usable if needed.
25669 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
25670 and bit_arch_Use_dl_runtime_resolve_opt.
25671 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
25673 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
25674 (bit_arch_Prefer_No_AVX512): Updated.
25675 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
25676 (bit_arch_XSAVEC_Usable): New.
25677 (STATE_SAVE_OFFSET): Likewise.
25678 (STATE_SAVE_MASK): Likewise.
25679 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
25680 (cpu_features): Add xsave_state_size and xsave_state_full_size.
25681 (index_arch_Use_dl_runtime_resolve_opt): Removed.
25682 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
25683 (index_arch_XSAVEC_Usable): New.
25684 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
25685 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
25686 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
25688 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
25689 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
25690 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
25691 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
25692 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
25693 _dl_runtime_resolve_xsavec.
25694 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
25696 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
25697 instead of VEC_SIZE.
25698 (REGISTER_SAVE_BND0): Removed.
25699 (REGISTER_SAVE_BND1): Likewise.
25700 (REGISTER_SAVE_BND3): Likewise.
25701 (REGISTER_SAVE_RAX): Always defined to 0.
25703 (_dl_runtime_resolve_avx): Likewise.
25704 (_dl_runtime_resolve_avx_slow): Likewise.
25705 (_dl_runtime_resolve_avx_opt): Likewise.
25706 (_dl_runtime_resolve_avx512): Likewise.
25707 (_dl_runtime_resolve_avx512_opt): Likewise.
25708 (_dl_runtime_resolve_sse): Likewise.
25709 (_dl_runtime_resolve_sse_vex): Likewise.
25711 (_dl_runtime_resolve_fxsave): Likewise.
25712 (USE_XSAVE): Likewise.
25713 (_dl_runtime_resolve_xsave): Likewise.
25714 (USE_XSAVEC): Likewise.
25715 (_dl_runtime_resolve_xsavec): Likewise.
25716 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
25718 (_dl_runtime_resolve_avx512_opt): Likewise.
25719 (_dl_runtime_resolve_avx): Likewise.
25720 (_dl_runtime_resolve_avx_opt): Likewise.
25721 (_dl_runtime_resolve_sse): Likewise.
25722 (_dl_runtime_resolve_sse_vex): Likewise.
25723 (_dl_runtime_resolve_fxsave): New.
25724 (_dl_runtime_resolve_xsave): Likewise.
25725 (_dl_runtime_resolve_xsavec): Likewise.
25727 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
25731 * posix/glob.c (__glob): Fix one-byte overflow.
25733 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25735 * malloc/malloc.c (sysdep-cancel.h): Add include.
25737 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25739 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
25741 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
25743 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
25744 (tests): Remove $(objpfx)ga_test depdendency.
25745 * resolv/ga_test.c: Remove file.
25747 2017-10-20 Mike FABIAN <mfabian@redhat.com>
25750 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
25751 * localedata/locales/kab_DZ: New file.
25753 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25755 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
25756 _dl_relocate_static_pie instead of _dl_start to compute load
25757 address in static PIE.
25759 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25761 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
25763 2017-10-20 Mike FABIAN <mfabian@redhat.com>
25766 * localedata/SUPPORTED: Add shn_MM/UTF-8.
25767 * localedata/locales/shn_MM: New file.
25769 2017-10-20 Florian Weimer <fweimer@redhat.com>
25772 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
25773 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
25774 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
25775 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
25776 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
25777 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
25779 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
25781 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25783 2017-10-19 Joseph Myers <joseph@codesourcery.com>
25785 * sysdeps/mips/ieee754/bits/floatn.h: New file.
25788 * sysdeps/mips/bits/long-double.h: Move to ....
25789 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
25791 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
25793 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
25795 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
25796 H.J. Lu <hongjiu.lu@intel.com>
25799 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
25800 GLRO(dl_platform) to NULL.
25801 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
25802 (modules-names): Add tst-platformmod-1 and
25803 x86_64/tst-platformmod-2.
25804 (CFLAGS-tst-platform-1.c): New.
25805 (CFLAGS-tst-platformmod-1.c): Likewise.
25806 (CFLAGS-tst-platformmod-2.c): Likewise.
25807 (LDFLAGS-tst-platformmod-2.so): Likewise.
25808 ($(objpfx)tst-platform-1): Likewise.
25809 ($(objpfx)tst-platform-1.out): Likewise.
25810 (tst-platform-1-ENV): Likewise.
25811 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
25812 * sysdeps/x86_64/tst-platform-1.c: New file.
25813 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
25814 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
25816 2017-10-19 Mike FABIAN <mfabian@redhat.com>
25819 * locale/iso-639.def: Add Karbi.
25820 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
25821 * localedata/locales/mjw_IN: New file.
25823 2017-10-18 Joseph Myers <joseph@codesourcery.com>
25825 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
25826 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
25827 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
25828 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
25829 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25830 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25831 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
25833 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25834 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25835 * manual/math.texi (Mathematics): Document additional architecture
25836 support for _Float128.
25837 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25838 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25839 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25840 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25841 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25842 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25843 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25844 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25845 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25846 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25847 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25848 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25849 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25850 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25851 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25853 2017-10-18 Renlin Li <renlin.li@arm.com>
25855 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
25856 _DYNAMIC symbol to calculate load address.
25858 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
25860 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
25861 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
25863 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
25864 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
25866 2017-10-18 Mike FABIAN <mfabian@redhat.com>
25869 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
25870 and improve readability by using more ASCII.
25871 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
25872 and improve readability by using more ASCII.
25874 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
25876 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
25877 not all targets support atomics on bool.
25879 2017-10-17 Joseph Myers <joseph@codesourcery.com>
25881 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
25882 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
25884 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25885 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
25886 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25887 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
25888 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25889 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
25891 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25893 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
25896 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25899 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
25900 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
25901 (do_check_remalloced_chunk): Fix build bug.
25902 (do_check_malloc_state): Add assert that checks arena->top.
25903 (malloc_consolidate): Remove initialization.
25904 (int_mallinfo): Remove call to malloc_consolidate.
25905 (__libc_mallopt): Clarify why malloc_consolidate is needed.
25907 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25909 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
25910 (have_fastchunks): Remove.
25911 (clear_fastchunks): Remove.
25912 (set_fastchunks): Remove.
25913 (malloc_state): Add have_fastchunks.
25914 (malloc_init_state): Use have_fastchunks.
25915 (do_check_malloc_state): Remove incorrect invariant checks.
25916 (_int_malloc): Use have_fastchunks.
25917 (_int_free): Likewise.
25918 (malloc_consolidate): Likewise.
25920 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25922 * malloc/malloc.c (tcache_put): Inline.
25923 (tcache_get): Inline.
25925 2017-10-17 Jordi Mallach <jordi@gnu.org>
25927 Aurelien Jarno <aurelien@aurel32.net>
25929 * localedata/locales/ca_ES@valencia: New file.
25930 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
25932 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
25935 * math/math.h: Let signbit use the builtin in C++ mode with gcc
25938 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25940 * scripts/build-many-glibcs.py (Context.add_all_configs):
25941 Add arm-linux-gnueabihf multiarch extra_glibcs.
25943 * sysdeps/generic/ifunc-init.h: New file.
25944 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
25946 2017-10-17 Mike FABIAN <mfabian@redhat.com>
25949 * localedata/locales/el_GR: Set n_cs_precedes to 0.
25950 * localedata/locales/el_CY: copy "el_GR" because it is identical.
25951 * stdlib/tst-strfmon_l.c: adapt test case.
25953 2017-10-16 Joseph Myers <joseph@codesourcery.com>
25955 * sysdeps/generic/float128-abi.h: New file.
25956 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
25957 non-__prefixed symbols to ....
25958 * math/Versions: ... here. Include <float128-abi.h>.
25959 * stdlib/Versions ... and here. Include <float128-abi.h>
25961 2017-10-16 Florian Weimer <fweimer@redhat.com>
25963 * version.h (VERSION): Switch to ".9000" as the development
25966 2017-10-16 Florian Weimer <fweimer@redhat.com>
25969 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
25970 compat_symbol_reference to access non-default version.
25972 2017-10-16 Florian Weimer <fweimer@redhat.com>
25974 * malloc/Makefile (others-extras): Set to mcheck-init.o.
25976 2017-10-16 Carlos O'Donell <carlos@redhat.com>
25978 * include/shlib-compat.h (compat_symbol_reference): Update
25981 2017-10-16 Joseph Myers <joseph@codesourcery.com>
25983 * math/Makefile (test-types): Add
25984 $(type-float128-$(float128-alias-fcts)).
25985 * math/test-float128.h (TYPE_STR): Define conditional on
25986 [FLT128_MANT_DIG == LDBL_MANT_DIG].
25987 (ULP_IDX): Likewise.
25988 (ULP_I_IDX): Likewise.
25990 * stdlib/strtold.c: Include <bits/floatn.h>
25991 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
25992 and later undefine as macro. Define as weak alias if
25994 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
25995 and later undefine as macro. Define as weak alias if
25997 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
25998 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
25999 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26000 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26001 Define and later undefine as macro. Define as weak alias if
26003 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
26005 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
26006 Define and later undefine as macro. Define as weak alias if
26008 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26009 Define and later undefine as macro. Define as weak alias if
26012 2017-10-15 Carlos O'Donell <carlos@redhat.com>
26014 * localedata/collate-test.c (allocate_arrays): Don't use \n in
26015 record_verbose messages.
26017 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
26020 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
26021 to silence -O3 -Wall warning with GCC 7.
26023 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
26025 * Makeconfig (+link-static-before-libc): Use the first of
26026 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
26027 * gmon/Makefile (tests): Add tst-gmon-static.
26028 (tests-static): Likewise.
26029 (CFLAGS-tst-gmon-static.c): New.
26030 (CRT-tst-gmon-static): Likewise.
26031 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
26032 (tst-gmon-static-ENV): Likewise.
26033 (tests-special): Likewise.
26034 ($(objpfx)tst-gmon-static.out): Likewise.
26035 (clean-tst-gmon-static-data): Likewise.
26036 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
26037 * gmon/tst-gmon-static-gprof.sh: New file.
26038 * gmon/tst-gmon-static.c: Likewise.
26040 2017-10-13 Carlos O'Donell <carlos@redhat.com>
26043 * locale/programs/linereader.c (get_string): Don't warn on
26044 non-symbolic character.
26047 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
26051 * locale/programs/record-status.h: New file
26052 * locale/programs/locale.c: Add comment.
26053 * locale/programs/charmap-dir.c: Don't include error.h.
26054 (charmap_opendir): Use record_error.
26055 * locale/programs/charmap.c: Don't include error.h.
26056 (charmap_read): Use record_error, and record_warning.
26057 (parse_charmap): Likewise.
26058 * locale/programs/ld-address.c: Don't include error.h.
26059 (address_finish): Use record_error, and record_warning.
26060 * locale/programs/ld-collate.c: Don't include error.h.
26061 (collate_finish): Use record_error, and record_error_at_line.
26062 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
26063 (ctype_class_new): Likewise.
26064 (ctype_map_new): Likewise.
26065 (set_one_default): Likewise.
26066 (set_class_defaults): Likewise.
26067 (translit_flatten): Likewise.
26068 (allocate_arrays): Use record_error, and record_verbose.
26069 * locale/programs/ld-identification.c: Don't include error.h.
26070 (indentation_finish): Use record_error and record_warning.
26071 * locale/programs/ld-measurement.c: Don't include error.h.
26072 (measurement_finish): Use record_error.
26073 * locale/programs/ld-messages.c
26074 (message_finish): Likewise.
26075 * locale/programs/ld-monetary.c
26076 (monetary_finish): Likewise.
26077 * locale/programs/ld-name.c (name_finish): Use record_error
26078 and record_warning.
26079 * locale/programs/ld-numeric.c
26080 (numeric_finish): Use record_error.
26081 * locale/programs/ld-paper.c: Don't include error.h.
26082 (paper_finish): Use record_error.
26083 * locale/programs/ld-telephone.c: Don't include error.h.
26084 (telephone_finish): Use record_error.
26085 * locale/programs/ld-time.c (time_finish): Likewise.
26086 * locale/programs/linereader.h (lr_error): Make inline func.
26087 * locale/programs/localedef.c: Define recorded_warning_count,
26088 and recorded_error_count.
26089 (main): Use record_error. Use recorded_error_count and
26090 recorded_warning_count to issue correct error returns.
26091 (add_to_readlist): Use record_error.
26092 (find_locale): Likewise.
26093 (load_locale): Likewise.
26094 * locale/programs/localedef.h: Remove be_quiet
26095 and WITH_CUR_LOCALE.
26096 * locale/programs/locarchive.c (compare_from_file): Use
26098 * locale/programs/locfile.c (write_locale_data): Use
26100 * locale/programs/repertoire.c: Dont include error.h.
26101 (repertoire_complain): Use record_error.
26102 * localedata/tst-fmon.sh: Expect failures from localedef.
26103 * localedata/tst-locale.sh: Likewise.
26104 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
26106 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
26107 (REPORTS): Likewise.
26109 (i18n): Rename to...
26110 (i18n_ctype): ...this.
26111 (i18n-report): Rename to...
26112 (i18n_ctype-report): ...this.
26113 * localedata/locales/i18n_ctype: Regenerate.
26114 * localedata/locales/i18n: copy i18n_ctype.
26116 2017-10-13 Joseph Myers <joseph@codesourcery.com>
26118 * stdlib/strfroml.c: Include <bits/floatn.h>.
26119 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
26120 Define before include of <stdlib.h> and undefine afterwards, then
26121 define as weak alias.
26123 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
26124 Undefine and restore default definition. Use
26125 libm_alias_ldouble_other.
26127 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
26130 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
26133 2017-10-13 James Clarke <jrtc27@jrtc27.com>
26135 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26136 Assign sym_map to be map for local symbols, as TLS relocations
26137 use sym_map to determine whether the symbol is defined and to
26138 extract the TLS information.
26139 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26140 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26142 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26145 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
26146 (math_force_eval): Add powerpc version.
26149 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
26151 (do_test): Likewise.
26152 * stdio-common/tst-printf.sh: Likewise.
26153 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
26154 ifdef clause in order to set the carry bit right. Replace r0 by
26155 0 without changing the behavior.
26157 2017-10-13 Joseph Myers <joseph@codesourcery.com>
26159 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
26160 <libm-alias-ldouble.h>.
26161 (fabsl): Define using libm_alias_ldouble.
26162 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
26163 <libm-alias-ldouble.h>.
26164 (fabsl): Define using libm_alias_ldouble.
26166 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
26167 Remove conditional code.
26169 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
26170 Rename to __clog10_internal_l.
26171 (__clog10_internal_l): Define aliases using
26172 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
26175 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26177 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
26178 * benchtests/sincosf-inputs: New file.
26179 * benchtests/cosf-inputs: New file.
26180 * benchtests/sinf-inputs: New file.
26182 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
26184 * posix/tst-spawn.c (do_test): Wait for both children.
26186 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
26189 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
26190 tests-pie): Add tst-gmon-pie.
26191 (CFLAGS-tst-gmon-pie.c): New.
26192 (CRT-tst-gmon-pie): Likewise.
26193 (tst-gmon-pie-ENV): Likewise.
26194 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
26195 ($(objpfx)tst-gmon-pie.out): Likewise.
26196 (clean-tst-gmon-pie-data): Likewise.
26197 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
26198 * gmon/gmon.c [PIC]: Include <link.h>.
26199 [PIC] (callback): New function.
26200 (write_hist): Add an argument for load address. Subtract load
26202 (write_call_graph): Likewise.
26203 (write_gmon): Call __dl_iterate_phdr to get load address, pass
26204 it to write_hist and write_call_graph.
26205 * gmon/tst-gmon-pie.c: New file.
26207 2017-10-11 Joseph Myers <joseph@codesourcery.com>
26209 * math/Makefile (test-types-basic): New variable.
26210 (test-types): Likewise.
26211 (libm-test-support): Use $(test-types) instead of $(types).
26212 (libm-tests-base-normal): Likewise.
26213 (libm-tests-base-finite): Likewise.
26214 (libm-tests-base-inline): Likewise.
26215 (generated): Likewise.
26216 ($(objpfx)libm-test-support-$(t).c): Likewise.
26217 (libm-tests-for-type iterator): Likewise.
26218 (libm-test-support iterator): Likewise.
26219 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
26220 (ulp_idx): Use ULP_IDX.
26221 * math/test-ldouble.h: Include <float.h>.
26222 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
26223 (ULP_IDX): New macro.
26224 (ULP_I_IDX): Likewise.
26225 * math/test-double.h (ULP_IDX): Likewise.
26226 (ULP_I_IDX): Likewise.
26227 * math/test-float.h (ULP_IDX): Likewise.
26228 (ULP_I_IDX): Likewise.
26229 * math/test-float128.h (ULP_IDX): Likewise.
26230 (ULP_I_IDX): Likewise.
26232 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26234 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
26235 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26236 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26237 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
26238 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26239 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
26240 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
26241 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26242 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26243 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26244 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
26245 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26246 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26247 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26248 (SINGLE_THREAD_BY_GLOBAL): Define.
26249 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26251 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26253 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26255 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26257 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
26258 (SINGLE_THREAD_BY_GLOBAL): Likewise.
26259 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26262 2017-10-11 Andreas Schwab <schwab@suse.de>
26264 * nis/Makefile (aux): Remove.
26265 * nscd/Makefile (aux): Add nscd_hash.
26266 (nscd-modules): Likewise.
26267 ($(objpfx)nscd): Don't depend on libnsl.
26268 * nscd/nscd_hash.c: New file.
26269 * nscd/nscd_hash.h: Likewise.
26270 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
26271 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
26272 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
26273 instead of <nis/rpcsvc/nis.h>.
26274 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
26276 2017-10-11 Florian Weimer <fweimer@redhat.com>
26279 Avoid large NSS buffers with many addresses, aliases.
26280 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
26281 using dynarrays and struct alloc_buffer.
26282 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
26283 (tst-nss-files-hosts-multi): Link with -ldl.
26284 * nss/tst-nss-files-hosts-multi.c: New file.
26286 2017-10-11 Florian Weimer <fweimer@redhat.com>
26289 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
26290 scratch_buffer. Eliminate gotos.
26292 2017-10-11 Joseph Myers <joseph@codesourcery.com>
26294 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
26295 libm_alias_ldouble_other.
26296 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
26297 undefine and redefine.
26298 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26299 (exp10l): Do not define here.
26300 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
26301 (weak_alias): Undefine and redefine.
26302 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
26303 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26304 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
26305 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
26307 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
26308 [!__fma] (fma): Define using libm_alias_double.
26309 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
26310 [!__fmaf] (fmaf): Define using libm_alias_float.
26311 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
26312 (fmal): Define using libm_alias_ldouble.
26314 2017-10-10 Joseph Myers <joseph@codesourcery.com>
26316 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
26318 (libm_alias_double_other): Likewise.
26319 (libm_alias_double_r): Use libm_alias_double_other_r.
26320 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
26322 (libm_alias_float_other): Likewise.
26323 (libm_alias_float_r): Use libm_alias_float_other_r.
26324 * sysdeps/generic/libm-alias-float128.h
26325 (libm_alias_float128_other_r): New macro.
26326 (libm_alias_float128_other): Likewise.
26327 (libm_alias_float128_r): Use libm_alias_float128_other_r.
26328 * sysdeps/generic/libm-alias-ldouble.h
26329 (libm_alias_ldouble_other_r): New macro.
26330 (libm_alias_ldouble_other): Likewise.
26331 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26332 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
26333 (libm_alias_double_other_r): New macro.
26334 (libm_alias_double_other): Likewise.
26335 (libm_alias_double_r): Use libm_alias_double_other_r.
26336 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
26337 (libm_alias_ldouble_other_r): New macro.
26338 (libm_alias_ldouble_other): Likewise.
26339 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26340 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
26341 [!USE_AS_COMPAT]: Use libm_alias_double_other.
26342 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
26343 [!USE_AS_COMPAT]: Use libm_alias_float_other.
26344 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
26345 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
26346 * math/w_exp2f.c: Use libm_alias_float_other.
26347 * math/w_expf.c: Likewise.
26348 * math/w_log2f.c: Likewise.
26349 * math/w_logf.c: Likewise.
26350 * math/w_powf.c: Likewise.
26351 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
26352 [!__exp2f]: Use libm_alias_float_other.
26353 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
26354 [!__expf]: Use libm_alias_float_other.
26355 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
26356 [!__log2f]: Use libm_alias_float_other.
26357 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
26358 [!__logf]: Use libm_alias_float_other.
26359 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
26360 [!__powf]: Use libm_alias_float_other.
26362 2017-10-10 Florian Weimer <fweimer@redhat.com>
26364 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
26366 (_nss_files_gethostbyname3_r): Call it.
26368 2017-10-09 Joseph Myers <joseph@codesourcery.com>
26370 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
26371 error. Remove default definition of declare_mgen_alias.
26372 [!declare_mgen_alias_r]: Likewise.
26373 * sysdeps/generic/math-type-macros-double.h
26374 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
26375 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
26376 (declare_mgen_alias_r): Likewise.
26377 * sysdeps/generic/math-type-macros-float128.h
26378 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
26379 * sysdeps/generic/math-type-macros-ldouble.h
26380 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
26381 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
26383 (declare_mgen_alias_r_s): Likewise.
26384 (declare_mgen_alias_r): Likewise.
26385 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
26386 (lgamma_r): Define using libm_alias_double_r.
26387 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
26388 (lgammaf_r): Define using libm_alias_float_r.
26389 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
26390 (lgammal_r): Define using libm_alias_ldouble_r.
26391 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
26392 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
26394 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26396 * lib/glob.c (__glob_pattern_type): Remove now-spurious
26397 extern declaration.
26399 2017-10-09 Joseph Myers <joseph@codesourcery.com>
26401 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
26403 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
26406 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
26407 [__cplusplus >= 201103] (__USE_ISOC99): Define.
26408 * math/Makefile (test-math-cxx11): New test.
26409 * math/test-math-cxx11.cc: New file.
26411 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
26413 * login/openpty.c (openpty): Close slave pty file descriptor on error.
26415 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
26416 call to allocate the slave pty file descriptor.
26418 2017-10-06 Joseph Myers <joseph@codesourcery.com>
26420 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
26421 [!__fma] (fma): Define using libm_alias_double.
26422 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
26423 [!__fma] (fma): Define using libm_alias_double.
26425 * sysdeps/ieee754/float128/float128_private.h: Include
26426 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
26427 (libm_alias_ldouble_r): Undefine and redefine.
26428 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
26429 <libm-alias-ldouble.h>.
26430 (asinhl): Define using libm_alias_ldouble.
26431 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
26432 <libm-alias-ldouble.h>.
26433 (atanl): Define using libm_alias_ldouble.
26434 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
26435 <libm-alias-ldouble.h>.
26436 (cbrtl): Define using libm_alias_ldouble.
26437 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
26438 <libm-alias-ldouble.h>.
26439 (ceill): Define using libm_alias_ldouble.
26440 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
26441 <libm-alias-ldouble.h>.
26442 (copysignl): Define using libm_alias_ldouble.
26443 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
26444 <libm-alias-ldouble.h>.
26445 (cosl): Define using libm_alias_ldouble.
26446 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
26447 <libm-alias-ldouble.h>.
26448 (erfl): Define using libm_alias_ldouble.
26450 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
26451 <libm-alias-ldouble.h>.
26452 (expm1l): Define using libm_alias_ldouble.
26453 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
26454 <libm-alias-ldouble.h>.
26455 (fabsl): Define using libm_alias_ldouble.
26456 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
26457 <libm-alias-ldouble.h>.
26458 (floorl): Define using libm_alias_ldouble.
26459 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
26460 <libm-alias-ldouble.h>.
26461 (fmal): Define using libm_alias_ldouble.
26462 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
26463 <libm-alias-ldouble.h>.
26464 (frexpl): Define using libm_alias_ldouble.
26465 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
26466 libm_alias_ldouble.
26467 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
26468 <libm-alias-ldouble.h>.
26469 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
26470 libm_alias_ldouble.
26471 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
26472 <libm-alias-ldouble.h>.
26473 (getpayloadl): Define using libm_alias_ldouble.
26474 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
26475 <libm-alias-ldouble.h>.
26476 (llrintl): Define using libm_alias_ldouble.
26477 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
26478 <libm-alias-ldouble.h>.
26479 (llroundl): Define using libm_alias_ldouble.
26480 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
26481 <libm-alias-ldouble.h>.
26482 (logbl): Define using libm_alias_ldouble.
26483 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
26484 <libm-alias-ldouble.h>.
26485 (lrintl): Define using libm_alias_ldouble.
26486 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
26487 <libm-alias-ldouble.h>.
26488 (lroundl): Define using libm_alias_ldouble.
26489 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
26490 <libm-alias-ldouble.h>.
26491 (modfl): Define using libm_alias_ldouble.
26492 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
26493 <libm-alias-ldouble.h>.
26494 (nearbyintl): Define using libm_alias_ldouble.
26495 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
26496 <libm-alias-ldouble.h>.
26497 (nextafterl): Define using libm_alias_ldouble.
26498 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
26499 <libm-alias-ldouble.h>.
26500 (nextupl): Define using libm_alias_ldouble.
26501 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
26502 <libm-alias-ldouble.h>.
26503 (remquol): Define using libm_alias_ldouble.
26504 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
26505 <libm-alias-ldouble.h>.
26506 (rintl): Define using libm_alias_ldouble.
26507 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
26508 <libm-alias-ldouble.h>.
26509 (roundevenl): Define using libm_alias_ldouble.
26510 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
26511 <libm-alias-ldouble.h>.
26512 (roundl): Define using libm_alias_ldouble.
26513 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
26514 using libm_alias_ldouble.
26515 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
26516 <libm-alias-ldouble.h>.
26517 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
26518 Define using libm_alias_ldouble.
26519 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
26520 <libm-alias-ldouble.h>.
26521 (sincosl): Define using libm_alias_ldouble.
26522 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
26523 <libm-alias-ldouble.h>.
26524 (sinl): Define using libm_alias_ldouble.
26525 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
26526 <libm-alias-ldouble.h>.
26527 (tanhl): Define using libm_alias_ldouble.
26528 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
26529 <libm-alias-ldouble.h>.
26530 (tanl): Define using libm_alias_ldouble.
26531 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
26532 <libm-alias-ldouble.h>.
26533 (totalorderl): Define using libm_alias_ldouble.
26534 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
26535 <libm-alias-ldouble.h>.
26536 (totalordermagl): Define using libm_alias_ldouble.
26537 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
26538 <libm-alias-ldouble.h>.
26539 (truncl): Define using libm_alias_ldouble.
26540 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
26541 libm_alias_ldouble.
26542 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
26543 libm_alias_ldouble.
26544 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
26545 <libm-alias-ldouble.h>.
26546 (weak_alias): Do not undefine and redefine.
26547 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26548 (copysignl): Define with long_double_symbol only if [IS_IN
26550 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
26551 <libm-alias-ldouble.h>.
26552 (weak_alias): Do not undefine and redefine.
26553 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26554 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
26555 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
26556 <libm-alias-ldouble.h>.
26557 (weak_alias): Do not undefine and redefine.
26558 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26559 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
26560 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
26561 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
26562 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
26563 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
26564 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
26565 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
26566 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
26567 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
26568 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
26569 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
26570 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
26571 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
26572 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
26573 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
26574 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
26575 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
26576 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
26577 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
26578 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
26579 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
26580 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
26581 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
26582 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
26583 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
26585 2017-10-06 Carlos O'Donell <carlos@redhat.com>
26588 * malloc/malloc.c (tcache_shutting_down): Use bool type.
26589 (tcache_thread_freeres): Set tcache_shutting_down before
26590 freeing the tcache.
26591 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
26592 * malloc/tst-malloc-tcache-leak.c: New file.
26594 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26596 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
26597 back to powerpc32 file.
26598 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26599 (memrchr): Add __memrchr_power8 to ifunc list.
26600 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
26601 extra bytes for unaligned inputs.
26603 2017-10-06 Joseph Myers <joseph@codesourcery.com>
26605 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
26606 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
26607 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
26608 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
26609 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
26611 2017-10-05 Joseph Myers <joseph@codesourcery.com>
26613 * sysdeps/arm/libm-test-ulps: Update.
26615 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
26616 <libm-alias-ldouble.h>.
26617 (asinhl): Define using libm_alias_ldouble.
26618 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
26619 <libm-alias-ldouble.h>.
26620 (cbrtl): Define using libm_alias_ldouble.
26621 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
26622 <libm-alias-ldouble.h>.
26623 (copysignl): Define using libm_alias_ldouble.
26624 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
26625 <libm-alias-ldouble.h>.
26626 (cosl): Define using libm_alias_ldouble.
26627 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
26628 <libm-alias-ldouble.h>.
26629 (erfl): Define using libm_alias_ldouble.
26631 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
26632 <libm-alias-ldouble.h>.
26633 (fmal): Define using libm_alias_ldouble.
26634 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
26635 <libm-alias-ldouble.h>.
26636 (frexpl): Define using libm_alias_ldouble.
26637 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
26638 libm_alias_ldouble.
26639 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
26640 <libm-alias-ldouble.h>.
26641 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
26642 libm_alias_ldouble.
26643 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
26644 <libm-alias-ldouble.h>.
26645 (getpayloadl): Define using libm_alias_ldouble.
26646 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
26647 <libm-alias-ldouble.h>.
26648 (llrintl): Define using libm_alias_ldouble.
26649 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
26650 <libm-alias-ldouble.h>.
26651 (llroundl): Define using libm_alias_ldouble.
26652 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
26653 <libm-alias-ldouble.h>.
26654 (lrintl): Define using libm_alias_ldouble.
26655 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
26656 <libm-alias-ldouble.h>.
26657 (lroundl): Define using libm_alias_ldouble.
26658 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
26659 <libm-alias-ldouble.h>.
26660 (modfl): Define using libm_alias_ldouble.
26661 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
26662 <libm-alias-ldouble.h>.
26663 (nextupl): Define using libm_alias_ldouble.
26664 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
26665 <libm-alias-ldouble.h>.
26666 (remquol): Define using libm_alias_ldouble.
26667 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
26668 <libm-alias-ldouble.h>.
26669 (roundevenl): Define using libm_alias_ldouble.
26670 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
26671 <libm-alias-ldouble.h>.
26672 (roundl): Define using libm_alias_ldouble.
26673 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
26674 using libm_alias_ldouble.
26675 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
26676 <libm-alias-ldouble.h>.
26677 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
26678 <libm-alias-ldouble.h>.
26679 (setpayloadsigl): Define using libm_alias_ldouble.
26680 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
26681 <libm-alias-ldouble.h>.
26682 (sincosl): Define using libm_alias_ldouble.
26683 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
26684 <libm-alias-ldouble.h>.
26685 (sinl): Define using libm_alias_ldouble.
26686 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
26687 <libm-alias-ldouble.h>.
26688 (tanhl): Define using libm_alias_ldouble.
26689 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
26690 <libm-alias-ldouble.h>.
26691 (tanl): Define using libm_alias_ldouble.
26692 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
26693 <libm-alias-ldouble.h>.
26694 (totalorderl): Define using libm_alias_ldouble.
26695 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
26696 <libm-alias-ldouble.h>.
26697 (totalordermagl): Define using libm_alias_ldouble.
26698 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
26699 libm_alias_ldouble.
26700 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
26701 libm_alias_ldouble.
26703 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
26705 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
26707 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
26708 (__libc_ifunc_impl_list): Likewise.
26709 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
26710 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
26712 * benchtests/bench-memmove-walk.c: New file.
26713 * benchtests/Makefile (string-benchset): Add it.
26715 * benchtests/bench-memset-walk.c: New file.
26716 * benchtests/Makefile (string-benchset): Add it.
26718 * benchtests/bench-memcpy-walk.c: New file.
26719 * benchtests/Makefile (string-benchset): Add it.
26721 2017-10-05 Florian Weimer <fweimer@redhat.com>
26723 nscd: Eliminate compilation time dependency in the build output.
26724 * nscd/nscd_stat.c (STATDATA_VERSION)
26725 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
26726 (STATDATA_VERSION_FULL): New macro definitions.
26727 (compilation): Remove.
26728 (struct statdata): Adjust version member.
26729 (send_stats): Set version from STATDATA_VERSION_FULL.
26730 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
26732 2017-10-05 Joseph Myers <joseph@codesourcery.com>
26734 * configure.ac (--enable-add-ons): Remove option.
26735 (machine): Do not mention add-ons in comment.
26736 (LIBC_PRECONFIGURE): Likewise.
26737 (add_ons): Remove variable and sanity checks and logic to locate
26739 (add_ons_automatic): Remove variable.
26740 (configured_add_ons): Likewise.
26741 (add_ons_sfx): Likewise.
26742 (add_ons_pfx): Likewise.
26743 (add_on_subdirs): Likewise.
26744 (sysnames_add_ons): Likewise. Remove loop over add-ons and
26745 consideration of add-ons in Implies handling.
26746 (sysdeps_add_ons): Likewise.
26747 * configure: Regenerated.
26748 * libidn/configure.ac: Remove.
26749 * libidn/configure: Likewise.
26750 * sysdeps/unix/inet/configure.ac: New file.
26751 * sysdeps/unix/inet/configure: New generated file.
26752 * sysdeps/unix/inet/Subdirs: Add libidn.
26753 * Makeconfig (sysdeps-srcdirs): Remove variable.
26754 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
26755 ($(common-objpfx)config.status): Do not depend on add-on files.
26756 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
26758 (all-subdirs): Do not include $(add-on-subdirs).
26759 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
26760 * config.make.in (add-ons): Remove variable.
26761 (add-on-subdirs): Likewise.
26762 (sysdeps-add-ons): Likewise.
26763 * manual/Makefile (add-chapters): Remove.
26764 ($(objpfx)texis): Do not depend on $(add-chapters).
26765 (nonexamples): Do not handle $(add-chapters).
26766 (examples): Do not handle $(add-ons).
26767 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
26769 * manual/install.texi (Installation): Do not mention add-ons.
26770 (--enable-add-ons): Do not document configure option.
26771 * INSTALL: Regenerated.
26772 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
26773 * manual/maint.texi (Hierarchy Conventions): Do not mention
26775 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
26777 * scripts/gen-sorted.awk: Do not handle Subdirs files from
26779 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
26780 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
26782 2017-10-05 Andreas Schwab <schwab@suse.de>
26785 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
26786 (_IO_flush_all_lockp): Always lock list_all_lock.
26787 (_IO_flush_all_linebuffered): Likewise.
26788 (_IO_unbuffer_all): Likewise.
26790 2017-10-05 Florian Weimer <fweimer@redhat.com>
26793 Do not flush stdio streams on abort.
26794 * stdlib/abort.c (fflush): Remove macro definition.
26795 (abort): Remove stages related to stdio flushing.
26797 2017-10-05 Florian Weimer <fweimer@redhat.com>
26799 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
26801 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
26803 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26805 2017-10-05 Florian Weimer <fweimer@redhat.com>
26807 * support/support_format_hostent.c (support_format_hostent): Add
26808 more error information for NETDB_INTERNAL.
26810 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26812 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
26813 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
26814 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
26815 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
26816 AC_DEFINE if multi-arch is enabled.
26817 * sysdeps/i386/configure: Regenerated.
26819 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26821 * Makeconfig (+link-static-before-libc): Use
26822 $(DEFAULT-LDFLAGS-$(@F)).
26823 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
26824 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
26825 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
26827 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26829 * elf/Makefile (tests): Add tst-main1.
26830 (modules-names): Add tst-main1mod.
26831 ($(objpfx)tst-main1): New.
26832 (CRT-tst-main1): Likewise.
26833 (LDFLAGS-tst-main1): Likewise.
26834 (LDLIBS-tst-main1): Likewise.
26835 (tst-main1mod.so-no-z-defs): Likewise.
26836 * elf/tst-main1.c: New file.
26837 * elf/tst-main1mod.c: Likewise.
26839 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26841 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
26843 2017-10-04 Joseph Myers <joseph@codesourcery.com>
26845 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
26846 (fma): Define using libm_alias_double.
26847 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
26848 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
26850 (fmal): Do not define as compat symbol here.
26851 * sysdeps/alpha/fpu/s_fma.c: New file.
26853 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26855 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
26857 2017-10-04 Joseph Myers <joseph@codesourcery.com>
26860 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26862 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26864 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
26865 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26866 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
26867 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
26868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26869 Include <math_ldbl_opt.h>
26870 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26872 (compat_symbol): Undefine and redefine.
26873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26875 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26876 (compat_symbol): Undefine and redefine.
26877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
26878 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
26879 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
26880 GLIBC_2_1 for libm.
26881 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
26882 GLIBC_2.0 copysignl symbol.
26883 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
26884 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
26886 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
26888 2017-10-04 Florian Weimer <fweimer@redhat.com>
26890 * scripts/check-local-headers.sh: Ignore nspr4 header file
26891 directory in addition to nspr.
26893 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
26896 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
26897 * configure: Regenerate.
26898 * crypt/Makefile (nss-cpp-flags): New variable.
26899 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
26900 (CPPFLAGS-md5-crypt.c): Use it.
26901 * scripts/check-local-headers.sh: Ignore nspr header file
26904 2017-10-04 Andreas Schwab <schwab@suse.de>
26906 * nis/Makefile (services): Remove compat.
26907 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
26908 ($(objpfx)libnss_compat.so): Remove rule.
26909 * nis/Versions (libnss_compat): Remove.
26910 * nss/Makefile (services): Add compat.
26911 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
26912 * nss/Versions (libnss_compat): Define.
26913 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
26914 Don't include <rpc/types.h>. Replace bool_t by bool.
26915 * nss/nss_compat/compat-initgroups.c: Likewise.
26916 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
26917 instead of <rpcsrv/ypclnt.h>.
26918 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
26919 yp_get_default_domain.
26920 * nss/nss_compat/compat-pwd.c: Likewise.
26921 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
26922 yp_get_default_domain.
26923 * nss/nss_compat/nisdomain.c: New file.
26924 * nss/nss_compat/nisdomain.h: Likewise.
26926 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26929 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
26930 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26932 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26935 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
26936 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
26938 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26940 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
26941 "movl main@GOTOFF(%ebx), %eax".
26943 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26945 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
26946 allow undefined _DYNAMIC in PIE libc.a.
26947 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26950 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26952 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
26955 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26957 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
26960 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26962 * math/test-math-iscanonical.cc (error): Replace bool with int.
26964 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26966 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
26967 (modf): Define using libm_alias_double, only if [!__modf].
26968 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
26969 <libm-alias-double.h>.
26970 (modf): Define using libm_alias_double, only if [!__modf].
26971 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
26972 compat symbol here.
26973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
26974 (weak_alias): Do not undefine and redefine.
26975 (strong_alias): Likewise.
26976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
26977 (weak_alias): Likewise.
26978 (strong_alias): Likewise.
26980 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
26981 (logb): Define using libm_alias_double, only if [!__logb].
26982 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
26983 <libm-alias-double.h>.
26984 (logb): Define using libm_alias_double, only if [!__logb].
26985 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
26986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
26987 (weak_alias): Do not undefine and redefine.
26988 (strong_alias): Likewise.
26989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
26990 (weak_alias): Likewise.
26991 (strong_alias): Likewise.
26993 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26995 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
26996 Check SHARED instead PIC.
26998 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27000 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
27001 [!__fmaf] (fmaf): Define using libm_alias_float.
27003 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
27004 (frexp): Define using libm_alias_double.
27005 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
27006 <libm-alias-double.h>.
27007 (frexp): Define using libm_alias_double.
27008 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
27009 compat symbol here.
27011 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27014 * math/math.h: Trivial fix for unbalanced parentheses in comment.
27015 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
27016 (CFLAGS-test-math-iscanonical.cc): New variable.
27017 * math/test-math-iscanonical.cc: New file.
27018 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
27019 Provide a C++ implementation based on function overloading,
27020 rather than using __MATH_TG, which uses C-only builtins.
27021 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
27023 * sysdeps/powerpc/powerpc64le/Makefile
27024 (CFLAGS-test-math-iscanonical.cc): New variable.
27026 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27028 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
27029 (ceil): Define using libm_alias_double.
27030 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
27031 (floor): Define using libm_alias_double.
27032 * sysdeps/ieee754/dbl-64/s_llround.c: Include
27033 <libm-alias-double.h>.
27034 (llround): Define using libm_alias_double.
27035 * sysdeps/ieee754/dbl-64/s_lround.c: Include
27036 <libm-alias-double.h>.
27037 (lround): Define using libm_alias_double.
27038 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
27039 <libm-alias-double.h>.
27040 (nearbyint): Define using libm_alias_double.
27041 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
27042 <libm-alias-double.h>.
27043 (remquo): Define using libm_alias_double.
27044 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
27045 (rint): Define using libm_alias_double.
27046 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
27047 (round): Define using libm_alias_double.
27048 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
27049 (trunc): Define using libm_alias_double.
27050 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
27051 <libm-alias-double.h>.
27052 (ceil): Define using libm_alias_double.
27053 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
27054 <libm-alias-double.h>.
27055 (floor): Define using libm_alias_double.
27056 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
27057 <libm-alias-double.h>.
27058 (llround): Define using libm_alias_double.
27059 [_LP64] (lround): Likewise.
27060 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
27061 <libm-alias-double.h>.
27062 [!_LP64] (lround): Define using libm_alias_double.
27063 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
27064 <libm-alias-double.h>.
27065 (nearbyint): Define using libm_alias_double.
27066 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
27067 <libm-alias-double.h>.
27068 (remquo): Define using libm_alias_double.
27069 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
27070 <libm-alias-double.h>.
27071 (rint): Define using libm_alias_double.
27072 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
27073 <libm-alias-double.h>.
27074 (round): Define using libm_alias_double.
27075 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
27076 <libm-alias-double.h>.
27077 (trunc): Define using libm_alias_double.
27078 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
27079 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
27080 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
27081 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
27082 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
27083 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
27084 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
27085 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
27086 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
27088 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27090 * math/w_remainder.c: New file.
27091 * math/w_remainderf.c: New file.
27092 * math/w_remainderl.c: New file.
27094 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27096 * elf/rtld.c (BOOTSTRAP_MAP): New.
27097 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
27098 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27100 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27102 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27105 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
27107 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
27108 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
27109 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
27110 rtld_hidden_data_ver): Define to empty.
27111 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
27112 __assert_perror_fail): Likewise.
27113 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27114 (__rewinddir): Likewise.
27115 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27116 (__profile_frequency): Likewise.
27117 * include/setjmp.h (__sigsetjmp): Likewise.
27118 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
27119 __libc_sigaction): Likewise.
27120 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
27121 not set hidden attribute.
27122 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
27123 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
27124 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
27125 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
27126 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
27127 __fxstatat64): Likewise.
27128 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27129 (__uname): Likewise.
27130 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27131 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
27132 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
27133 (NO_RTLD_HIDDEN): Set.
27134 * sysdeps/mach/hurd/configure: Refresh.
27135 * config.h.in: Refresh.
27137 2017-10-02 Joseph Myers <joseph@codesourcery.com>
27139 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
27140 (atan): Define using libm_alias_double.
27141 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
27142 (tan): Define using libm_alias_double.
27143 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
27144 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
27146 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
27147 define as weak alias of __atan. Do not define any aliases if
27149 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
27150 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
27151 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
27152 as weak alias of __tan. Do not define any aliases if [__tan].
27153 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
27154 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
27155 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
27157 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
27158 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
27159 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
27160 and define as weak alias of __atan.
27161 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
27163 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
27164 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
27165 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
27166 define as weak alias of __tan.
27168 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27170 * math/w_lgamma.c: New file.
27171 * math/w_lgammaf.c: New file.
27172 * math/w_lgammal.c: New file.
27174 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27176 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
27177 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
27178 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
27179 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
27180 * sysdeps/ieee754/flt-32/w_logf.c: New file.
27181 * sysdeps/ieee754/flt-32/w_powf.c: New file.
27182 * sysdeps/i386/fpu/w_log2f.c: New file.
27183 * sysdeps/i386/fpu/w_logf.c: New file.
27184 * sysdeps/i386/fpu/w_powf.c: New file.
27185 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
27186 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
27187 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
27189 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27190 H.J. Lu <hongjiu.lu@intel.com>
27192 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
27193 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
27194 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
27195 * sysdeps/ieee754/flt-32/w_expf.c: New file.
27196 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
27198 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
27199 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
27200 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
27201 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
27202 * sysdeps/i386/fpu/w_exp2f.c: New file.
27203 * sysdeps/i386/fpu/w_expf.c: New file.
27204 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
27205 * sysdeps/x86_64/fpu/w_expf.c: New file.
27207 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27209 * math/Versions (logf): New libm symbol at GLIBC_2.27.
27212 * math/w_log2f.c: New file.
27213 * math/w_logf.c: New file.
27214 * math/w_powf.c: New file.
27215 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
27216 * math/w_logf_compat.c (__logf_compat): Likewise.
27217 * math/w_powf_compat.c (__powf_compat): Likewise.
27218 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
27219 * sysdeps/ia64/fpu/e_logf.S: Likewise.
27220 * sysdeps/ia64/fpu/e_powf.S: Likewise.
27221 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27222 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27223 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27224 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27225 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27226 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27227 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27228 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27229 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27230 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27231 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27232 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27241 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27242 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27243 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27244 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27245 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27246 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27248 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27250 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27251 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27252 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27254 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27256 * sysdeps/powerpc/powerpc64/multiarch/Makefile
27257 (sysdep_routines): Add memrchr_power8.
27258 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27259 (memrchr): Add __memrchr_power8 to list of memrchr functions.
27260 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
27262 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27263 (memrchr): Add __memrchr_power8 to ifunc list.
27264 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
27266 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27269 * sysdeps/unix/sysv/linux/posix_fadvise64.c
27270 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
27272 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27273 (__posix_fallocate64_l64): Likewise.
27275 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27278 * sysdeps/unix/sysv/linux/sched_setaffinity.c
27279 (__sched_setaffinity_new): Add libc_hidden_proto and
27282 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27285 * include/glob.h (__glob64): Add libc_hidden_proto.
27286 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
27289 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27292 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
27295 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27298 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
27300 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27303 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
27306 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27309 * csu/version.c (__libc_print_version): Add attribute_hidden.
27311 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27314 * include/libc-internal.h (__init_misc): Add attribute_hidden.
27316 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27319 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
27321 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27324 * nscd/nscd_helper.c (__nis_hash): New prototype.
27326 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27329 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
27330 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
27332 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27333 * termios/tcgetattr.c (__tcgetattr): Likewise.
27335 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27338 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
27339 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
27340 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
27341 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
27342 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
27344 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27347 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
27349 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27352 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
27353 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
27355 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27358 * intl/hash-string.h (__hash_string): Add attribute_hidden.
27360 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27363 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
27364 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
27366 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27369 * include/ifreq.h: New file.
27370 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
27371 (__ifreq): Likewise.
27372 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
27373 (__ifreq): Likewise.
27375 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27378 * include/idna.h: New file.
27379 * inet/getnameinfo.c: Include <idna.h> instead of
27381 (__idna_to_unicode_lzlz): Removed.
27382 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
27384 (__idna_to_ascii_lz): Removed.
27385 (__idna_to_unicode_lzlz): Likewise.
27387 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27390 * include/plural-exp.h: New file.
27391 * intl/plural-exp.c: Include <plural-exp.h> instead of
27394 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27397 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
27398 "getsourcefilter.h".
27399 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
27400 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
27401 "getsourcefilter.h".
27402 (__get_sol): Removed.
27404 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27407 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
27409 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
27411 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27414 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
27417 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27420 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
27422 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27425 * include/search.h (__tdestroy): Add libc_hidden_proto.
27426 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
27428 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27431 * include/assert.h (__assert_fail_base): Add attribute_hidden.
27433 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27436 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
27439 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27442 * include/signal.h (__kill): Add libc_hidden_proto.
27443 (__sigblock): Likewise.
27444 (__sigprocmask): Likewise.
27445 (__sigaltstack): Likewise.
27446 * signal/kill.c (__kill): Add libc_hidden_def.
27447 * signal/sigblock.c (__sigblock): Likewise.
27448 * signal/sigprocmask.c (__sigprocmask): Likewise.
27449 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
27450 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
27451 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
27452 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
27453 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
27455 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
27457 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
27458 (__sigprocmask): Likewise.
27459 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
27461 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
27462 (__sigprocmask): Likewise.
27463 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
27466 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27469 * include/string.h (__strsep): Add libc_hidden_proto.
27470 * string/strsep.c (__strsep): Add libc_hidden_def.
27472 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27475 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
27477 (__spawni): Likewise.
27479 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27482 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
27483 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
27486 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27489 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
27491 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27494 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
27495 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
27496 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
27497 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
27498 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
27500 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
27501 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
27503 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27506 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
27507 (__dcigettext): Likewise.
27509 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27512 * include/sys/sysinfo.h (__get_nprocs_conf): Add
27514 (__get_nprocs): Likewise.
27515 (__get_phys_pages): Likewise.
27516 (__get_avphys_pages): Likewise.
27517 (__get_child_max): Add attribute_hidden.
27518 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
27519 (__get_nprocs): Likewise.
27520 (__get_phys_pages): Likewise.
27521 (__get_avphys_pages): Likewise.
27522 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
27524 (__get_nprocs): Likewise.
27525 (__get_phys_pages): Likewise.
27526 (__get_avphys_pages): Likewise.
27527 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
27529 (__get_nprocs_conf): Likewise.
27530 (__get_phys_pages): Likewise.
27531 (__get_avphys_pages): Likewise.
27533 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27536 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
27538 (__netlink_close): Likewise.
27539 (__netlink_free_handle): Likewise.
27540 (__netlink_request): Likewise.
27542 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27545 * include/rpc/rpc.h (__rpc_thread_variables): Add
27547 (__rpc_thread_svc_cleanup): Likewise.
27548 (__rpc_thread_clnt_cleanup): Likewise.
27549 (__rpc_thread_key_cleanup): Likewise.
27551 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27554 * include/sys/uio.h (__readv): Add libc_hidden_proto.
27555 (__writev): Likewise.
27556 * misc/readv.c (__readv): Add libc_hidden_def.
27557 * misc/writev.c (__writev): Likewise.
27558 * sysdeps/posix/readv.c (__readv): Likewise.
27559 * sysdeps/posix/writev.c (__writev): Likewise.
27560 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
27561 (__readv): Likewise.
27562 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
27563 (__writev): Likewise.
27565 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27568 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
27569 (__regcomp): Add libc_hidden_proto.
27570 (__regexec): Likewise.
27571 (__regfree): Likewise.
27572 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
27573 (__regfree): Likewise.
27574 * posix/regexec.c (__regexec): Likewise.
27576 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27579 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
27580 (__getutent): Likewise.
27581 (__getutid): Likewise.
27582 (__getutline): Likewise.
27583 (__pututline): Likewise.
27584 (__getutent_r): Likewise.
27585 (__getutid_r): Likewise.
27586 (__getutline_r): Likewise.
27587 (__utmpname): Add attribute_hidden.
27588 (__setutent): Likewise.
27589 (__endutent): Likewise.
27590 * login/getutent.c (__getutent): Add libc_hidden_def.
27591 * login/getutent_r.c (__getutent_r): Likewise.
27592 (__pututline): Likewise.
27593 * login/getutid.c (__getutid): Likewise.
27594 * login/getutid_r.c (__getutid_r): Likewise.
27595 * login/getutline.c (__getutline): Likewise.
27596 * login/getutline_r.c (__getutline_r): Likewise.
27597 * login/updwtmp.c (__updwtmp): Likewise.
27599 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27602 * include/dirent.h (__opendir): Always add attribute_hidden.
27603 (__fdopendir): Likewise.
27604 (__closedir): Likewise.
27605 (__readdir): Likewise.
27606 (__readdir64): Add libc_hidden_proto.
27607 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
27608 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
27609 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
27610 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
27613 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27616 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
27617 * include/netdb.h (__gethostbyaddr_r): Likewise.
27618 (__gethostbyname_r): Likewise.
27619 (__gethostbyname2_r): Likewise.
27620 (__getnetbyaddr_r): Likewise.
27621 (__getnetbyname_r): Likewise.
27622 (__getservbyname_r): Likewise.
27623 (__getservbyport_r): Likewise.
27624 (__getprotobyname_r): Likewise.
27625 (__getprotobynumber_r): Likewise.
27626 (__getnetgrent_r): Likewise.
27627 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
27628 (__getrpcbynumber_r): Likewise.
27629 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
27631 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27634 * include/stdio.h (__fcloseall): Add attribute_hidden.
27635 (__getline): Likewise.
27636 (__path_search): Likewise.
27637 (__gen_tempname): Likewise.
27638 (__libc_message): Likewise.
27639 (__flockfile): Likewise.
27640 (__funlockfile): Likewise.
27641 (__fxprintf): Likewise.
27642 (__fxprintf_nocancel): Likewise.
27644 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27647 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
27648 (__sgetsgent_r): Likewise.
27650 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27653 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
27654 (__statfs64): Likewise.
27655 (__fstatfs64): Likewise.
27656 * include/sys/statvfs.h (__statvfs64): Likewise.
27657 (__fstatvfs64): Likewise.
27658 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
27659 (__statfs_filesize_max): Likewise.
27660 (__statfs_symlinks): Likewise.
27661 (__statfs_chown_restricted): Likewise.
27663 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27666 * include/time.h (__tzstring): Add attribute_hidden.
27667 (__tzfile_read): Likewise.
27668 (__tzfile_compute): Likewise.
27669 (__tzfile_default): Likewise.
27670 (__tzset_parse_tz): Likewise.
27671 (__offtime): Likewise.
27672 (__asctime_r): Likewise.
27673 (__tzset): Likewise.
27674 (__tz_convert): Likewise.
27675 (__getdate_r): Likewise.
27676 (__getclktck): Likewise.
27678 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27681 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
27682 (__nscd_unmap): Likewise.
27683 (__nscd_cache_search): Likewise.
27684 (__nscd_get_nl_timestamp): Likewise.
27685 (__nscd_getpwnam_r): Likewise.
27686 (__nscd_getpwuid_r): Likewise.
27687 (__nscd_getgrnam_r): Likewise.
27688 (__nscd_getgrgid_r): Likewise.
27689 (__nscd_gethostbyname_r): Likewise.
27690 (__nscd_gethostbyname2_r): Likewise.
27691 (__nscd_gethostbyaddr_r): Likewise.
27692 (__nscd_getai): Likewise.
27693 (__nscd_getgrouplist): Likewise.
27694 (__nscd_getservbyname_r): Likewise.
27695 (__nscd_getservbyport_r): Likewise.
27696 (__nscd_innetgr): Likewise.
27697 (__nscd_setnetgrent): Likewise.
27699 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27702 * include/gmp.h: Declare internal functions only if _ISOMAC is
27704 (__mpn_extract_double): Add attribute_hidden.
27705 (__mpn_extract_long_double): Likewise.
27706 (__mpn_extract_float128): Likewise.
27707 (__mpn_construct_float): Likewise.
27708 (__mpn_construct_double): Likewise.
27709 (__mpn_construct_long_double): Likewise.
27710 (__mpn_construct_float128): Likewise.
27711 (mpn_add_1): Likewise.
27712 (mpn_addmul_1): Likewise.
27713 (mpn_add_n): Likewise.
27714 (mpn_cmp): Likewise.
27715 (mpn_divrem): Likewise.
27716 (mpn_lshift): Likewise.
27717 (mpn_mul): Likewise.
27718 (mpn_mul_1): Likewise.
27719 (mpn_rshift): Likewise.
27720 (mpn_sub_1): Likewise.
27721 (mpn_submul_1): Likewise.
27722 (mpn_sub_n): Likewise.
27724 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27727 * include/wchar.h (__wcsnlen): Add attribute_hidden.
27728 (__wcscat): Likewise.
27729 (__btowc): Likewise.
27730 (__wcrtomb): Likewise.
27731 (__mbsrtowcs): Likewise.
27732 (__wcsrtombs): Likewise.
27733 (__mbsnrtowcs): Likewise.
27734 (__wcsnrtombs): Likewise.
27735 (__wcsncpy): Likewise.
27736 (__wcpncpy): Likewise.
27737 (__wmemcpy): Likewise.
27738 (__wmempcpy): Likewise.
27739 (__wmemmove): Likewise.
27740 (__wcschrnul): Likewise.
27741 (__vfwscanf): Likewise.
27742 (__vswprintf): Likewise.
27743 (__fwprintf): Likewise.
27744 (__vfwprintf): Likewise.
27746 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27749 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
27750 (__getgrgid_r): Likewise.
27751 (__getgrnam_r): Likewise.
27752 * include/pwd.h (__getpwuid_r): Likewise.
27753 (__getpwnam_r): Likewise.
27754 (__fgetpwent_r): Likewise.
27755 * include/shadow.h (__getspnam_r): Likewise.
27756 (__sgetspent_r): Likewise.
27757 (__fgetspent_r): Likewise.
27759 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27762 * include/unistd.h (__access): Add attribute_hidden.
27763 (__lseek64): Likewise.
27764 (__libc_pread64): Likewise.
27765 (__pipe2): Likewise.
27766 (__sleep): Likewise.
27767 (__chdir): Likewise.
27768 (__fchdir): Likewise.
27769 (__getcwd): Likewise.
27770 (__rmdir): Likewise.
27771 (__execvpe): Likewise.
27772 (__execve): Likewise.
27773 (__setsid): Likewise.
27774 (__getuid): Likewise.
27775 (__geteuid): Likewise.
27776 (__getgid): Likewise.
27777 (__getegid): Likewise.
27778 (__getgroups): Likewise.
27779 (__group_member): Likewise.
27780 (__ttyname_r): Likewise.
27781 (__isatty): Likewise.
27782 (__readlink): Likewise.
27783 (__unlink): Likewise.
27784 (__gethostname): Likewise.
27785 (__profil): Likewise.
27786 (__getdtablesize): Likewise.
27788 (__ftruncate): Likewise.
27789 (__ftruncate64): Likewise.
27791 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27794 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
27795 * argp/argp-fs-xinl.c: Likewise.
27796 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
27797 * argp/argp-parse.c: Include <argp.h>.
27798 * argp/argp-xinl.c: Likewise.
27799 * include/argp-fmtstream.h: New file.
27800 * include/argp.h (__argp_error): Add attribute_hidden.
27801 (__argp_failure): Likewise.
27802 (__argp_input): Likewise.
27803 (__argp_state_help): Likewise.
27805 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27808 * include/wchar.h (____wcstof_l_internal): New prototype.
27809 (____wcstod_l_internal): Likewise.
27810 (____wcstold_l_internal): Likewise.
27811 (____wcstol_l_internal): Likewise.
27812 (____wcstoul_l_internal): Likewise.
27813 (____wcstoll_l_internal): Likewise.
27814 (____wcstoull_l_internal): Likewise.
27815 (____wcstof128_l_internal): Likewise.
27816 * sysdeps/ieee754/float128/wcstof128.c
27817 (____wcstof128_l_internal): Removed.
27818 * sysdeps/ieee754/float128/wcstof128_l.c
27819 (____wcstof128_l_internal): Likewise.
27820 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
27821 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
27822 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
27823 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
27824 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
27825 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
27826 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
27827 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
27828 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
27829 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
27831 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27834 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
27835 instead of <sys/statvfs.h>.
27836 (__internal_statvfs): Removed.
27837 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
27838 instead of <sys/statvfs.h>.
27839 (__internal_statvfs64): Removed.
27840 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
27841 "internal_statvfs.h" instead of <sys/statvfs.h>.
27842 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
27843 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
27844 instead of <sys/statvfs.h>.
27845 (__internal_statvfs): Removed.
27846 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
27847 instead of <sys/statvfs.h>.
27848 (__internal_statvfs64): Removed.
27850 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27853 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
27854 (__gconv_close): Likewise.
27855 (__gconv): Likewise.
27856 (__gconv_find_transform): Likewise.
27857 (__gconv_lookup_cache): Likewise.
27858 (__gconv_compare_alias_cache): Likewise.
27859 (__gconv_load_cache): Likewise.
27860 (__gconv_get_path): Likewise.
27861 (__gconv_close_transform): Likewise.
27862 (__gconv_release_cache): Likewise.
27863 (__gconv_find_shlib): Likewise.
27864 (__gconv_release_shlib): Likewise.
27865 (__gconv_get_builtin_trans): Likewise.
27866 (__gconv_compare_alias): Likewise.
27867 * include/dlfcn.h (_dlerror_run): Likewise.
27868 * include/stdio.h (__fortify_fail_abort): Likewise.
27869 * include/time.h (__tz_compute): Likewise.
27870 (__strptime_internal): Likewise.
27871 * intl/gettextP.h (_nl_find_domain): Likewise.
27872 (_nl_load_domain): Likewise.
27873 (_nl_find_msg): Likewise.
27874 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
27875 (EXTRACT_PLURAL_EXPRESSION): Likewise.
27876 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
27877 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
27878 (__gai_find_request): Likewise.
27879 (__gai_remove_request): Likewise.
27880 (__gai_notify): Likewise.
27881 (__gai_notify_only): Likewise.
27882 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
27883 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
27884 (_dl_non_dynamic_init): Likewise.
27885 (_dl_aux_init): Likewise.
27886 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
27887 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
27889 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
27890 (__wcsmbs_clone_conv): Likewise.
27891 (__wcsmbs_named_conv): Likewise.
27893 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27896 * include/stdlib.h (__random): Add attribute_hidden.
27897 (__random_r): Likewise.
27898 (__srandom_r): Likewise.
27899 (__initstate_r): Likewise.
27900 (__setstate_r): Likewise.
27901 (__erand48_r): Likewise.
27902 (__nrand48_r): Likewise.
27903 (__jrand48_r): Likewise.
27904 (__srand48_r): Likewise.
27905 (__seed48_r): Likewise.
27906 (__lcong48_r): Likewise.
27907 (__drand48_iterate): Likewise.
27908 (__setenv): Likewise.
27909 (__unsetenv): Likewise.
27910 (__clearenv): Likewise.
27911 (__ptsname_r): Likewise.
27912 (__posix_openpt): Likewise.
27913 (__add_to_environ): Likewise.
27914 (__realpath): Add libc_hidden_proto.
27915 (__ecvt_r): Likewise.
27916 (__fcvt_r): Likewise.
27917 (__qecvt_r): Likewise.
27918 (__qfcvt_r): Likewise.
27919 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
27920 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
27922 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27925 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
27926 * include/time.h (__mktime_internal): Likewise.
27927 * libio/iolibio.h (__fopen_internal): Likewise.
27929 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
27931 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
27933 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
27934 Correct offset used to restore PIC register.
27936 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
27939 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
27940 code to load address of __getcontext_ret when generating PIC code.
27942 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
27944 * elf/Makefile (tests-static-internal): Add
27945 tst-tls1-static-non-pie.
27946 (LDFLAGS-tst-tls1-static-non-pie): New.
27947 * elf/tst-tls1-static-non-pie.c: New file.
27949 2017-09-29 Joseph Myers <joseph@codesourcery.com>
27951 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
27952 (asinh): Define using libm_alias_double.
27953 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
27954 (cbrt): Define using libm_alias_double.
27955 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
27956 <libm-alias-double.h>.
27957 (copysign): Define using libm_alias_double.
27958 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
27959 (erf): Define using libm_alias_double.
27961 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
27962 (expm1): Define using libm_alias_double.
27963 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
27964 (fabs): Define using libm_alias_double.
27965 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
27967 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
27968 <libm-alias-double.h>.
27969 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
27971 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
27972 <libm-alias-double.h>.
27973 (getpayload): Define using libm_alias_double.
27974 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
27975 <libm-alias-double.h>.
27976 (llrint): Define using libm_alias_double.
27977 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
27978 (lrint): Define using libm_alias_double.
27979 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
27980 <libm-alias-double.h>.
27981 (nextup): Define using libm_alias_double.
27982 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
27983 <libm-alias-double.h>.
27984 (roundeven): Define using libm_alias_double.
27985 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
27987 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
27988 <libm-alias-double.h>.
27989 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
27990 using libm_alias_double.
27991 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
27992 (cos): Define using libm_alias_double.
27994 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
27995 <libm-alias-double.h>.
27996 (sincos): Define using libm_alias_double.
27997 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
27998 (tanh): Define using libm_alias_double.
27999 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
28000 <libm-alias-double.h>.
28001 (totalorder): Define using libm_alias_double.
28002 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
28003 <libm-alias-double.h>.
28004 (totalordermag): Define using libm_alias_double.
28005 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
28007 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
28009 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
28010 <libm-alias-double.h>.
28011 (getpayload): Define using libm_alias_double.
28012 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
28013 <libm-alias-double.h>.
28014 (roundeven): Define using libm_alias_double.
28015 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
28016 <libm-alias-double.h>.
28017 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
28018 <libm-alias-double.h>.
28019 (totalorder): Define using libm_alias_double.
28020 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
28021 <libm-alias-double.h>.
28022 (totalordermag): Define using libm_alias_double.
28023 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
28024 libc compat symbol here.
28025 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
28026 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
28027 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
28028 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
28029 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
28030 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
28031 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
28032 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
28033 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
28034 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
28036 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28038 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
28039 _dl_relocate_static_pie instead of _dl_start to compute load
28040 address in static PIE. Return 0 if _DYNAMIC is undefined for
28043 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28045 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
28046 _DYNAMIC is undefined for static executable.
28048 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28050 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
28052 2017-09-29 Joseph Myers <joseph@codesourcery.com>
28054 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28056 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28058 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
28059 (__ieee754_lgamma_r): Use fabs rather than __fabs.
28060 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
28061 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
28062 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
28063 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
28064 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
28065 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
28066 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
28067 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28068 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
28069 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
28070 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28071 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28072 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28073 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28074 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
28076 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28078 * math/bits/cmathcalls.h (cimag): Remove inline.
28079 (creal): Remove inline.
28080 (conj): Remove inline.
28082 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28084 * math/Makefile (type-float-routines): Add e_powf_log2_data.
28085 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
28086 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
28087 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
28088 (issignalingf_inline): Likewise.
28089 (POWF_LOG2_TABLE_BITS): Likewise.
28090 (POWF_LOG2_POLY_ORDER): Likewise.
28091 (POWF_SCALE_BITS): Likewise.
28092 (POWF_SCALE): Likewise.
28093 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
28094 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
28095 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
28097 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28099 * math/Makefile (type-float-routines): Add e_log2f_data.
28100 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
28101 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
28102 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
28103 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
28104 * sysdeps/i386/fpu/e_log2f_data.c: New file.
28105 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
28106 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
28108 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28110 * math/Makefile (type-float-routines): Add e_logf_data.
28111 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
28112 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
28113 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
28114 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
28115 * sysdeps/i386/fpu/e_logf_data.c: New file.
28116 * sysdeps/ia64/fpu/e_logf_data.c: New file.
28117 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
28119 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
28121 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
28122 undefined _DYNAMIC in PIE libc.a.
28123 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28126 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28128 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
28129 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
28130 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
28131 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
28132 (__signbit): Remove.
28133 (__signbitl): Remove.
28134 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
28135 (__signbit): Remove.
28136 (__signbitl): Remove.
28137 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
28138 (__signbit): Remove.
28139 (__signbitl): Remove.
28140 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
28141 (__signbit): Remove.
28142 (__signbitl): Remove.
28143 * sysdeps/tile/bits/mathinline.h: Delete file.
28144 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
28145 (__signbit): Remove.
28146 (__signbitl): Remove.
28148 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28150 * math/math.h: Improve handling of C99 isgreater macros.
28151 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
28152 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
28153 * sysdeps/powerpc/bits/mathinline.h: Likewise.
28154 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28155 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
28157 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
28159 * sysdeps/aarch64/libm-test-ulps: Update.
28161 2017-09-28 Joseph Myers <joseph@codesourcery.com>
28164 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28165 math_opt_barrier on argument when doing arithmetic on it.
28166 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28167 Likewise. Use math_force_eval not math_opt_barrier after
28169 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
28170 math_opt_barrier on argument when doing arithmetic on it.
28171 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28174 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
28176 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
28178 (__freeifaddrs): Likewise.
28180 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
28182 * include/dirent.h (__dirfd): New declaration.
28183 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
28185 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
28186 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
28187 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
28188 * include/unistd.h (__revoke): New declaration.
28189 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
28191 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
28192 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
28194 * include/dirent.h (__seekdir): New declaration.
28195 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
28196 redefine as weak alias.
28197 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
28199 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
28200 and use libc_hidden_def on them.
28201 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
28203 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
28204 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
28205 instead of getifaddrs and freeifaddrs.
28207 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
28210 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
28211 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
28212 (__dso_handle): Remove declaration.
28213 * dlfcn/tstatexit.c (__dso_handle): Removed.
28214 (main): Don't check __dso_handle.
28215 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
28216 (main): Don't check __dso_handle.
28217 * include/dso_handle.h: New file.
28218 * malloc/mtrace.c: Include <dso_handle.h>.
28219 (mtrace): Pass __dso_handle directly.
28220 * nptl/pthread_atfork.c: Include <dso_handle.h>.
28221 (__dso_handle): Remove declaration.
28222 (__pthread_atfork): Pass __dso_handle directly.
28223 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
28224 (__dso_handle): Removed.
28225 * posix/wordexp-test.c: Include <dso_handle.h>.
28226 (__dso_handle): Remove declaration.
28227 (__app_register_atfork): Pass __dso_handle directly.
28228 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
28229 (__dso_handle): Remove declaration.
28230 (at_quick_exit): Pass __dso_handle directly.
28231 * stdlib/atexit.c: Include <dso_handle.h>.
28232 (__dso_handle): Remove declaration.
28233 (atexit): Pass __dso_handle directly.
28234 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
28235 (__dso_handle): Removed.
28237 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28239 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
28242 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
28244 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
28245 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
28246 values to correct default value for given type.
28248 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
28251 * elf/Makefile (tests): Add tst-debug1.
28252 ($(objpfx)tst-debug1): New.
28253 ($(objpfx)tst-debug1.out): Likewise.
28254 ($(objpfx)tst-debug1mod1.so): Likewise.
28255 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
28256 with p_filesz == 0.
28257 * elf/tst-debug1.c: New file.
28259 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28261 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
28262 Define using __ifunc.
28264 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28266 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
28269 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28272 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
28274 2017-09-26 Florian Weimer <fweimer@redhat.com>
28276 * resolv/Makefile (tests-internal): Fix typo in comment.
28278 2017-09-26 Florian Weimer <fweimer@redhat.com>
28280 * resolv/nss_dns/dns-host.c: Fix typo in comment.
28282 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28284 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
28285 Use an union instead of a max_align_t array for __space,
28286 so that __space is the same size on all platforms.
28287 * malloc/scratch_buffer_grow_preserve.c
28288 (__libc_scratch_buffer_grow_preserve): Likewise.
28291 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
28293 * posix/Makefile (routines): Add glob-lstat-compat and
28294 glob64-lstat-compat.
28295 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
28296 * posix/glob-lstat-compat.c: New file.
28297 * posix/glob64-lstat-compat.c: Likewise.
28298 * posix/tst-glob_lstat_compat.c: Likewise.
28299 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
28300 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
28301 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
28302 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
28304 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
28305 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28306 * posix/glob.c (glob_lstat): New function.
28307 (glob): Rename to __glob and add versioned symbol to 2.27.
28308 (glob_in_dir): Use glob_lstat.
28309 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
28310 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
28311 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
28313 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
28314 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
28315 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
28316 gl_lstat on glob call.
28317 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
28318 and glob64 symbols.
28319 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
28320 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
28321 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
28322 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
28323 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
28324 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
28325 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
28326 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
28327 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
28328 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
28329 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
28330 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
28331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
28333 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
28334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
28335 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
28336 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
28337 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
28338 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
28339 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
28340 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
28341 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
28342 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
28343 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
28344 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
28346 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
28348 * configure.ac (AS): Require binutils 2.25 or later.
28349 * configure: Regenerated.
28351 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28354 * stdlib/test-atexit-race-common.c (do_test): Minimize required
28357 2017-09-25 DJ Delorie <dj@redhat.com>
28360 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
28363 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
28365 * sysdeps/ieee754/dbl-64/sincos32.h
28366 [SINCCOS32_H]: Remove define.
28367 [SINCOS32_H]: Define.
28369 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28371 * math/Versions (expf): New libm symbol at GLIBC_2.27.
28373 * math/w_exp2f.c: New file.
28374 * math/w_expf.c: New file.
28375 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
28376 * math/w_expf_compat.c (__expf_compat): Likewise.
28377 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
28378 * sysdeps/ia64/fpu/e_expf.S: Likewise.
28379 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28380 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28381 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28382 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28383 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28384 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28385 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28386 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28387 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28388 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28389 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28390 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28399 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28400 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28401 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28402 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28403 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28404 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28406 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28408 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28409 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28410 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28412 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28414 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
28415 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
28416 (roundtoint, converttoint): Likewise.
28417 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
28418 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
28419 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
28420 * sysdeps/ieee754/flt-32/math_config.h: New file.
28421 * sysdeps/ieee754/flt-32/math_errf.c: New file.
28422 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
28423 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
28424 * sysdeps/i386/fpu/math_errf.c: New file.
28425 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
28426 * sysdeps/ia64/fpu/math_errf.c: New file.
28427 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
28428 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
28430 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
28432 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
28433 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
28434 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
28435 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
28436 to make sure that these symbols are defined.
28437 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
28439 (__need_NULL): Do not define.
28440 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
28442 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
28443 CMGROUP_MAX, cmsgcred): Do not define.
28444 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
28446 * bits/socket.h: Likewise.
28447 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
28448 __gettimeofday instead of gettimeofday.
28449 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
28450 instead of settimeofday.
28452 2017-09-22 Joseph Myers <joseph@codesourcery.com>
28454 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
28455 (asinhf): Define using libm_alias_float.
28456 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
28457 (atanf): Define using libm_alias_float.
28458 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
28459 (cbrtf): Define using libm_alias_float.
28460 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
28461 (ceilf): Define using libm_alias_float.
28462 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
28463 <libm-alias-float.h>.
28464 (copysignf): Define using libm_alias_float.
28465 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
28466 (cosf): Define using libm_alias_float.
28467 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
28468 (erff): Define using libm_alias_float.
28470 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
28471 (expm1f): Define using libm_alias_float.
28472 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
28473 (fabsf): Define using libm_alias_float.
28474 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
28475 (floorf): Define using libm_alias_float.
28476 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
28477 (frexpf): Define using libm_alias_float.
28478 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
28480 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
28481 <libm-alias-float.h>.
28482 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
28484 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
28485 <libm-alias-float.h>.
28486 (getpayloadf): Define using libm_alias_float.
28487 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
28488 <libm-alias-float.h>.
28489 (llrintf): Define using libm_alias_float.
28490 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
28491 <libm-alias-float.h>.
28492 (llroundf): Define using libm_alias_float.
28493 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
28494 (logbf): Define using libm_alias_float.
28495 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
28496 (lrintf): Define using libm_alias_float.
28497 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
28498 (lroundf): Define using libm_alias_float.
28499 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
28500 (modff): Define using libm_alias_float.
28501 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
28502 <libm-alias-float.h>.
28503 (nearbyintf): Define using libm_alias_float.
28504 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
28505 <libm-alias-float.h>.
28506 (nextafterf): Define using libm_alias_float.
28507 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
28508 <libm-alias-float.h>.
28509 (nextupf): Define using libm_alias_float.
28510 * sysdeps/ieee754/flt-32/s_remquof.c: Include
28511 <libm-alias-float.h>.
28512 (remquof): Define using libm_alias_float.
28513 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
28514 (rintf): Define using libm_alias_float.
28515 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
28516 <libm-alias-float.h>.
28517 (roundevenf): Define using libm_alias_float.
28518 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
28519 (roundf): Define using libm_alias_float.
28520 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
28521 using libm_alias_float.
28522 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
28523 <libm-alias-float.h>.
28524 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
28525 Define using libm_alias_float.
28526 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
28527 <libm-alias-float.h>.
28528 (sincosf): Define using libm_alias_float.
28529 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
28530 (sinf): Define using libm_alias_float.
28531 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
28532 (tanf): Define using libm_alias_float.
28533 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
28534 (tanhf): Define using libm_alias_float.
28535 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
28536 <libm-alias-float.h>.
28537 (totalorderf): Define using libm_alias_float.
28538 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
28539 <libm-alias-float.h>.
28540 (totalordermagf): Define using libm_alias_float.
28541 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
28542 (truncf): Define using libm_alias_float.
28543 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
28545 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
28548 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28551 math/math.h: Let fpclassify use the builtin in C++ mode, even
28552 when optimazing for size.
28554 2017-09-22 Joseph Myers <joseph@codesourcery.com>
28556 * csu/Makefile (generated): Do not add version-info.h.
28557 (before-compile): Likewise.
28558 (all-Banner-files): Remove variable.
28559 ($(objpfx)version-info.h): Remove rule.
28560 * csu/version.c (banner): Do not include "version-info.h".
28561 * libidn/Banner: Remove.
28562 * manual/contrib.texi (Simon Josefsson): New entry.
28564 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28566 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28567 Remove conditionals on LDBL_MANT_DIG.
28568 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28569 (__ieee754_lgammal_r): Likewise.
28571 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28573 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
28575 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
28576 _Float128 and L(). Replace _Float128 with long double and L(x)
28577 with xL, throughout the file.
28578 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
28579 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
28580 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
28581 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
28583 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28585 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
28586 sysdeps/ieee754/ldbl-128ibm.
28587 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
28588 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
28589 of including it. Keep _Float128 and L() intact. These will be
28590 reviewed by a separate patch.
28591 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
28592 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
28593 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
28594 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
28596 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
28599 (__finitef128): Define to __redirect___finitef128.
28600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
28601 (__isinff128): Define to __redirect___isinff128.
28602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
28603 (__isnanf128): Define to __redirect___isnanf128.
28605 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28607 * sysdeps/powerpc/powerpc64le/Makefile
28608 (CFLAGS-tst-strtod-nan-locale.c): New variable.
28609 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
28611 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
28612 Carlos O'Donell <carlos@redhat.com>
28615 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
28616 * stdlib/test-dlclose-exit-race.c: New file.
28617 * stdlib/test-dlclose-exit-race-helper.c: New file.
28618 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
28620 2017-09-21 Joseph Myers <joseph@codesourcery.com>
28622 * crypt/Banner: Remove file.
28623 * nptl/Banner: Likewise.
28624 * resolv/Banner: Likewise.
28625 * soft-fp/Banner: Likewise.
28626 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
28627 ($(objpfx)version.d): Remove dependency on banner.h.
28628 ($(objpfx)version.os): Likewise.
28629 * nptl/version.c (banner): Do not include banner.h.
28630 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
28631 Jelinek and BIND code.
28633 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
28634 Carlos O'Donell <carlos@redhat.com>
28636 * support/xdlfcn.h: New file.
28637 * support/xdlfcn.c: New file.
28638 * support/Makefile (libsupport-routines): Add xdlfcn.
28639 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
28641 2017-09-20 Joseph Myers <joseph@codesourcery.com>
28644 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28645 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
28646 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
28647 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
28648 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
28649 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
28650 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
28651 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
28653 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
28654 Ricky Zhou <rickyz@google.com>
28655 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
28658 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
28660 (__new_exitfn): Fail registration when we finished at_exit processing.
28661 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
28662 * stdlib/on_exit.c (__on_exit): Likewise.
28663 * stdlib/exit.c (__exit_funcs_done): New variable.
28664 (__run_exit_handlers): Use __exit_funcs_lock.
28665 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
28667 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
28668 (test-cxa_atexit-race, test-on_exit-race): New tests.
28669 * stdlib/test-atexit-race-common.c: New file.
28670 * stdlib/test-atexit-race.c: New file.
28671 * stdlib/test-at_quick_exit-race.c: New file.
28672 * stdlib/test-cxa_atexit-race.c: New file.
28673 * stdlib/test-on_exit-race.c: New file.
28675 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
28677 * benchtests/Makefile: Add exp2f and log2f benchmarks.
28678 * benchtests/exp2f-inputs: Copy of expf-inputs.
28679 * benchtests/log2f-inputs: Copy of logf-inputs.
28681 2017-09-19 Joseph Myers <joseph@codesourcery.com>
28683 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
28684 Explicitly take address of first element of array arguments in
28685 call to INLINE_SYSCALL.
28687 2017-09-19 Andreas Schwab <schwab@suse.de>
28690 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
28692 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
28694 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
28695 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
28696 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28697 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
28698 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28699 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28700 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28701 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28702 * posix/Makefile (tests): Add tst-fexecve.
28703 * posix/tst-fexecve.c: New file.
28705 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28707 * benchtests/Makefile: Add logf benchmark.
28708 * benchtests/logf-inputs: Add reduced trace from wrf_r.
28710 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28712 * benchtests/Makefile: Add expf benchmark.
28713 * benchtests/expf-inputs: Add reduced trace from wrf_r.
28715 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28717 * csu/Makefile: Add -funwind-tables to libc-start.c.
28718 * debug/Makefile: Add -funwind-tables to backtrace.c.
28719 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
28720 * sysdeps/arm/Makefile: Likewise.
28721 * sysdeps/i386/Makefile: Likewise.
28722 * sysdeps/m68k/Makefile: Likewise.
28723 * sysdeps/mips/Makefile: Likewise.
28724 * sysdeps/nios2/Makefile: Likewise.
28725 * sysdeps/sh/Makefile: Likewise.
28726 * sysdeps/sparc/Makefile: Likewise.
28728 2017-09-19 Joseph Myers <joseph@codesourcery.com>
28730 * benchtests/Makefile (bench-math): Add trunc and truncf.
28731 (CFLAGS-bench-trunc.c): New variable.
28732 (CFLAGS-bench-truncf.c): Likewise.
28733 * benchtests/trunc-inputs: New file.
28734 * benchtests/truncf-inputs: Likewise.
28736 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28738 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
28740 2017-09-18 Joseph Myers <joseph@codesourcery.com>
28742 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
28743 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
28745 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
28746 (exp10l): Define as weak alias.
28747 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
28748 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
28750 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
28751 (remainderl): Define as weak alias.
28753 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
28754 (fmal): Define using libm_alias_ldouble.
28755 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
28756 (acoshl): Define using libm_alias_ldouble.
28757 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
28758 (acosl): Define using libm_alias_ldouble.
28759 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
28760 (asinl): Define using libm_alias_ldouble.
28761 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
28762 (atan2l): Define using libm_alias_ldouble.
28763 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
28764 (atanhl): Define using libm_alias_ldouble.
28765 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
28766 (coshl): Define using libm_alias_ldouble.
28767 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
28768 (exp10l): Define using libm_alias_ldouble.
28769 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
28770 (exp2l): Define using libm_alias_ldouble.
28771 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
28772 (expl): Define using libm_alias_ldouble.
28773 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
28774 (fmodl): Define using libm_alias_ldouble.
28775 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
28776 (hypotl): Define using libm_alias_ldouble.
28777 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
28778 (j0l): Define using libm_alias_ldouble.
28780 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
28781 (j1l): Define using libm_alias_ldouble.
28783 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
28784 (jnl): Define using libm_alias_ldouble.
28786 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
28787 (log10l): Define using libm_alias_ldouble.
28788 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
28789 (log2l): Define using libm_alias_ldouble.
28790 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
28791 (logl): Define using libm_alias_ldouble.
28792 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
28793 (powl): Define using libm_alias_ldouble.
28794 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
28795 (remainderl): Define using libm_alias_ldouble.
28796 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
28797 (sinhl): Define using libm_alias_ldouble.
28798 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
28799 (sqrtl): Define using libm_alias_ldouble.
28800 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
28801 (tgammal): Define using libm_alias_ldouble.
28802 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
28803 (exp10l): Do not use long_double_symbol here.
28804 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
28805 [LIBM_SVID_COMPAT] (remainderl): Likewise.
28806 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
28807 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28808 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28809 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28810 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28811 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28812 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28813 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28814 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28815 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28816 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28817 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28818 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28819 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28820 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28821 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28822 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28823 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28824 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28825 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28827 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
28829 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
28830 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
28832 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
28834 * io/read.c (read): Add libc_hidden_weak.
28835 * sysdeps/mach/hurd/read.c (read): Likewise.
28836 * io/write.c (write): Likewise.
28837 * sysdeps/mach/hurd/write.c (write): Likewise.
28838 * io/pread64.c (__pread64): Likewise.
28839 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
28840 * posix/pread64.c (__pread64): Add libc_hidden_def.
28842 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
28844 * benchtests/scripts/compare_strings.py: New option -g.
28845 (draw_graph): Print a message that a graph is being generated.
28846 (process_results): Generate graph only if -g is passed.
28847 (main): Process option -g.
28849 * benchtests/scripts/compare_strings.py (process_results):
28850 Better spacing for output.
28852 * benchtests/scripts/compare_strings.py: Use argparse.
28853 * benchtests/README: Document existence of compare_strings.py.
28855 2017-09-15 Joseph Myers <joseph@codesourcery.com>
28857 * math/s_fma.c: Include <libm-alias-double.h>.
28858 (fma): Define using libm_alias_double.
28859 * math/s_nextafter.c: Include <libm-alias-double.h>.
28860 (nextafter): Define using libm_alias_double.
28861 * math/w_acos_compat.c: Include <libm-alias-double.h>.
28862 (acos): Define using libm_alias_double.
28863 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
28864 (aocsh): Define using libm_alias_double.
28865 * math/w_asin_compat.c: Include <libm-alias-double.h>.
28866 (asin): Define using libm_alias_double.
28867 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
28868 (atan2): Define using libm_alias_double.
28869 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
28870 (atanh): Define using libm_alias_double.
28871 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
28872 (cosh): Define using libm_alias_double.
28873 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
28874 (exp10): Define using libm_alias_double.
28875 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
28876 (exp2): Define using libm_alias_double.
28877 * math/w_exp_compat.c: Include <libm-alias-double.h>.
28878 (exp): Define using libm_alias_double.
28879 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
28880 (fmod): Define using libm_alias_double.
28881 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
28882 (hypot): Define using libm_alias_double.
28883 * math/w_j0_compat.c: Include <libm-alias-double.h>.
28884 (j0): Define using libm_alias_double.
28886 * math/w_j1_compat.c: Include <libm-alias-double.h>.
28887 (j1): Define using libm_alias_double.
28889 * math/w_jn_compat.c: Include <libm-alias-double.h>.
28890 (jn): Define using libm_alias_double.
28892 * math/w_log10_compat.c: Include <libm-alias-double.h>.
28893 (log10): Define using libm_alias_double.
28894 * math/w_log2_compat.c: Include <libm-alias-double.h>.
28895 (log2): Define using libm_alias_double.
28896 * math/w_log_compat.c: Include <libm-alias-double.h>.
28897 (log): Define using libm_alias_double.
28898 * math/w_pow_compat.c: Include <libm-alias-double.h>.
28899 (pow): Define using libm_alias_double.
28900 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
28901 (remainder): Define using libm_alias_double.
28902 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
28903 (sinh): Define using libm_alias_double.
28904 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
28905 (sqrt): Define using libm_alias_double.
28906 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
28907 (tgamma): Define using libm_alias_double.
28908 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
28909 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
28910 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
28911 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
28912 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
28913 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
28914 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
28915 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
28916 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
28917 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
28918 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
28919 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
28920 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
28921 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
28922 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
28923 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
28924 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
28925 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
28926 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
28927 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
28928 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
28929 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
28930 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
28931 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
28932 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
28934 * math/e_acoshl.c: Remove.
28935 * math/e_acosl.c: Likewise.
28936 * math/e_asinl.c: Likewise.
28937 * math/e_atan2l.c: Likewise.
28938 * math/e_atanhl.c: Likewise.
28939 * math/e_coshl.c: Likewise.
28940 * math/e_expl.c: Likewise.
28941 * math/e_fmodl.c: Likewise.
28942 * math/e_gammal_r.c: Likewise.
28943 * math/e_hypotl.c: Likewise.
28944 * math/e_j0l.c: Likewise.
28945 * math/e_j1l.c: Likewise.
28946 * math/e_jnl.c: Likewise.
28947 * math/e_lgammal_r.c: Likewise.
28948 * math/e_log10l.c: Likewise.
28949 * math/e_log2l.c: Likewise.
28950 * math/e_logl.c: Likewise.
28951 * math/e_powl.c: Likewise.
28952 * math/e_rem_pio2l.c: Likewise.
28953 * math/e_sinhl.c: Likewise.
28954 * math/e_sqrtf128.c: Likewise.
28955 * math/e_sqrtl.c: Likewise.
28956 * math/k_cosl.c: Likewise.
28957 * math/k_sinl.c: Likewise.
28958 * math/k_tanl.c: Likewise.
28959 * math/s_asinhl.c: Likewise.
28960 * math/s_atanl.c: Likewise.
28961 * math/s_cbrtl.c: Likewise.
28962 * math/s_erfl.c: Likewise.
28963 * math/s_expm1l.c: Likewise.
28964 * math/s_log1pl.c: Likewise.
28965 * math/s_tanhl.c: Likewise.
28967 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28970 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
28971 [$(subdir) = math] (sysdep_calls): New variable. Has the
28972 previous contents of sysdep_routines, but re-sorted..
28973 [$(subdir) = math] (sysdep_routines): Re-use the contents from
28975 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
28976 defined in sysdep_calls and replace by the respective m_* names.
28977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
28978 (compat_symbol): Undefine to avoid duplicated compat symbols in
28981 2017-09-15 Joseph Myers <joseph@codesourcery.com>
28983 * math/s_fmaf.c: Include <libm-alias-float.h>.
28984 (fmaf): Define using libm_alias_float.
28985 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
28986 (acosf): Define using libm_alias_float.
28987 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
28988 (acoshf): Define using libm_alias_float.
28989 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
28990 (asinf): Define using libm_alias_float.
28991 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
28992 (atan2f): Define using libm_alias_float.
28993 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
28994 (atanhf): Define using libm_alias_float.
28995 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
28996 (coshf): Define using libm_alias_float.
28997 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
28998 (exp10f): Define using libm_alias_float.
28999 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
29000 (fmodf): Define using libm_alias_float.
29001 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
29002 (hypotf): Define using libm_alias_float.
29003 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
29004 (j0f): Define using libm_alias_float.
29006 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
29007 (j1f): Define using libm_alias_float.
29009 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
29010 (jnf): Define using libm_alias_float.
29012 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
29013 (log10f): Define using libm_alias_float.
29014 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
29015 (log2f): Define using libm_alias_float.
29016 * math/w_logf_compat.c: Include <libm-alias-float.h>.
29017 (logf): Define using libm_alias_float.
29018 * math/w_powf_compat.c: Include <libm-alias-float.h>.
29019 (powf): Define using libm_alias_float.
29020 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
29021 (remainderf): Define using libm_alias_float.
29022 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
29023 (sinhf): Define using libm_alias_float.
29024 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
29025 (sqrtf): Define using libm_alias_float.
29026 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
29027 (tgammaf): Define using libm_alias_float.
29029 2017-09-14 Joseph Myers <joseph@codesourcery.com>
29031 * include/math.h (roundeven): Change hidden_proto call to
29033 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
29035 [NO_LONG_DOUBLE] (__j0l): New strong alias.
29036 (y0): Rename to __y0 and define as weak alias.
29037 [NO_LONG_DOUBLE] (__y0l): New strong alias.
29038 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
29040 (y0f): Rename to __y0f and define as weak alias.
29041 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
29043 [NO_LONG_DOUBLE] (__j1l): New strong alias.
29044 (y1): Rename to __y1 and define as weak alias.
29045 [NO_LONG_DOUBLE] (__y1l): New strong alias.
29046 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
29048 (y1f): Rename to __y1f and define as weak alias.
29049 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
29051 [NO_LONG_DOUBLE] (__jnl): New strong alias.
29052 (yn): Rename to __yn and define as weak alias.
29053 [NO_LONG_DOUBLE] (__ynl): New strong alias.
29054 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
29056 (ynf): Rename to __ynf and define as weak alias.
29057 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
29058 (fromfp): Define as weak alias.
29059 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
29060 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
29061 (fromfpx): Define as weak alias.
29062 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
29063 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
29064 __getpayload and define as weak alias.
29065 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29066 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
29067 __roundeven and define as weak alias.
29068 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29069 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
29071 (setpayload): Define as weak alias.
29072 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
29073 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
29075 (setpayloadsig): Define as weak alias.
29076 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
29077 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
29078 __totalorder and define as weak alias.
29079 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29080 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
29081 to __totalordermag and define as weak alias.
29082 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29083 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
29084 (ufromfp): Define as weak alias.
29085 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
29086 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
29088 (ufromfpx): Define as weak alias.
29089 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
29090 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
29091 Rename to __getpayload and define as weak alias.
29092 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29093 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
29094 Rename to __roundeven and define as weak alias.
29095 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29096 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
29097 Rename to __totalorder and define as weak alias.
29098 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29099 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
29100 (totalordermag): Rename to __totalordermag and define as weak
29102 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29103 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
29105 (__roundevenl): Likewise.
29106 (__totalorderl): Likewise.
29107 (__totalordermagl): Likewise
29108 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
29110 (fromfpf128): Define as weak alias.
29111 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
29113 (fromfpxf128): Define as weak alias.
29114 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
29116 (setpayloadf128): Define as weak alias.
29117 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
29118 __setpayloadsigf128.
29119 (setpayloadsigf128): Define as weak alias.
29120 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
29122 (ufromfpf128): Define as weak alias.
29123 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
29125 (ufromfpxf128): Define as weak alias.
29126 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
29127 (fromfpf): Define as weak alias.
29128 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
29130 (fromfpxf): Define as weak alias.
29131 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
29132 __getpayloadf and define as weak alias.
29133 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
29134 __roundevenf and define as weak alias.
29135 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
29137 (setpayloadf): Define as weak alias.
29138 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
29140 (setpayloadsigf): Define as weak alias.
29141 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
29142 __totalorderf and define as weak alias.
29143 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
29144 Rename to __totalordermagf and define as weak alias.
29145 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
29147 (ufromfpf): Define as weak alias.
29148 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
29150 (ufromfpxf): Define as weak alias.
29151 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
29153 (fromfpl): Define as weak alias.
29154 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
29156 (fromfpxl): Define as weak alias.
29157 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
29158 to __getpayloadl and define as weak alias.
29159 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
29160 __roundevenl and define as weak alias.
29161 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
29163 (setpayloadl): Define as weak alias.
29164 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
29166 (setpayloadsigl): Define as weak alias.
29167 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
29168 to __totalorderl and define as weak alias.
29169 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
29170 Rename to __totalordermagl and define as weak alias.
29171 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
29173 (ufromfpl): Define as weak alias.
29174 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
29176 (ufromfpxl): Define as weak alias.
29177 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
29179 (fromfpl): Define as weak alias.
29180 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
29182 (fromfpxl): Define as weak alias.
29183 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
29184 Rename to __getpayloadl and define as weak alias.
29185 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
29186 to __roundevenl and define as weak alias. Call __roundeven
29187 instead of roundeven.
29188 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
29190 (setpayloadl): Define as weak alias.
29191 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
29193 (setpayloadsigl): Define as weak alias.
29194 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
29195 Rename to __totalorderl and define as weak alias.
29196 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
29197 Rename to __totalordermagl and define as weak alias.
29198 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
29200 (ufromfpl): Define as weak alias.
29201 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
29203 (ufromfpxl): Define as weak alias.
29204 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
29206 (fromfpl): Define as weak alias.
29207 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
29209 (fromfpxl): Define as weak alias.
29210 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
29211 __getpayloadl and define as weak alias.
29212 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
29213 __roundevenl and define as weak alias.
29214 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
29216 (setpayloadl): Define as weak alias.
29217 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
29219 (setpayloadsigl): Define as weak alias.
29220 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
29221 __totalorderl and define as weak alias.
29222 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
29223 Rename to __totalordermagl and define as weak alias.
29224 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
29226 (ufromfpl): Define as weak alias.
29227 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
29229 (ufromfpxl): Define as weak alias.
29231 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
29233 * benchtests/bench-string.h (realloc_bufs): New function.
29234 (test_init): Call it.
29235 * benchtests/bench-memset-large.c (do_test): Likewise.
29236 * benchtests/bench-memset.c (do_test): Likewise.
29238 * benchtests/bench-memset-large.c: Print output in JSON
29240 * benchtests/bench-memset.c: Likewise.
29242 2017-09-14 Mike FABIAN <mfabian@redhat.com>
29245 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
29246 * iconvdata/Makefile: Add IBM858.
29247 * iconvdata/gconv-modules: Likewise.
29248 * iconvdata/tst-tables.sh: Likewise.
29249 * iconvdata/ibm858.c: New file.
29250 * localedata/charmaps/IBM858: Likewise.
29252 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
29255 * locales/niu_NZ (LC_TIME): copy "niu_NU".
29256 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
29258 2017-09-14 Mike FABIAN <mfabian@redhat.com>
29261 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
29262 and add tel_int_fmt.
29264 2017-09-14 Joseph Myers <joseph@codesourcery.com>
29266 * sysdeps/generic/libm-alias-float128.h: New file.
29267 * sysdeps/generic/math-type-macros-float128.h: Include
29268 <libm-alias-float128.h>.
29269 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
29271 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29273 * sysdeps/generic/libm-alias-ldouble.h: New file.
29274 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
29275 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
29276 * sysdeps/generic/math-type-macros-ldouble.h: Include
29277 <libm-alias-ldouble.h>.
29278 [!declare_mgen_alias] (declare_mgen_alias): Define to use
29279 libm_alias_ldouble.
29281 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
29283 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
29284 * math/w_exp_compat.c: ... here.
29285 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
29286 * math/w_expf_compat.c: ... here.
29287 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
29288 * math/w_expl_compat.c: ... here.
29289 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
29290 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
29291 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
29292 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29294 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29296 * math/w_scalbln_template.c (strong_alias): Do not undefine and
29298 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
29300 (ldexpl): Only define as compat symbol for libc, not libm.
29301 (scalbnl): Define as compat symbol for libc here.
29302 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
29303 define for [IS_IN (libc)].
29304 (__ldexpl_2): Remove alias.
29305 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
29306 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
29307 name in long_double_symbol call.
29308 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
29309 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
29310 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
29311 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
29312 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
29314 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
29315 Define as compat symbol.
29317 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29319 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
29320 * sysdeps/unix/sysv/linux/alpha/Makefile
29321 [$(subdir) = csu] (sysdep_routines): Remove rule.
29323 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29325 * sysdeps/generic/libm-alias-double.h: New file.
29326 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
29327 * sysdeps/generic/math-type-macros-double.h: Include
29328 <libm-alias-double.h>.
29329 [declare_mgen_alias] (declare_mgen_alias): Define to use
29331 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
29332 (M_LIBM_NEED_COMPAT): Remove macro.
29333 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
29334 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
29335 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
29337 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29338 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29339 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29340 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29341 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29342 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29343 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29344 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29345 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29346 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29347 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29348 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29349 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29350 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29351 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29352 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29353 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29354 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29355 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29356 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29357 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29358 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29359 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29360 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29361 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29362 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29363 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29364 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
29365 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
29367 (declare_mgen_alias): New macro.
29368 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
29369 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
29370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
29371 (M_LIBM_NEED_COMPAT): Remove macro.
29372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
29373 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
29374 <first-versions.h>.
29375 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
29376 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
29378 2017-09-12 Joseph Myers <joseph@codesourcery.com>
29380 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
29381 (declare_mgen_alias_2): Remove.
29382 * sysdeps/generic/math-type-macros-double.h
29383 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
29385 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
29387 (ldexp): Define with declare_mgen_alias.
29388 (scalbn): Likewise.
29390 2017-09-12 Steve Ellcey <sellcey@cavium.com>
29392 * grp/initgroups.c: Include config.h.
29393 (DEFAULT_CONFIG): New macro.
29394 (internal_getgrouplist): Use DEFAULT_CONFIG.
29395 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29396 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
29397 (DEFAULT_DEFCONFIG): New macro.
29398 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
29399 * nss/grp-lookup.c: Include config.h
29400 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
29401 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
29402 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
29403 * manual/nss.texi: Update default values section.
29405 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
29408 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
29410 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
29411 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
29412 Handle MathVec_Prefer_No_AVX512.
29413 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
29414 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
29417 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
29419 * posix/sched_primax.c (__sched_get_priority_max): Add
29421 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
29422 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
29423 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
29424 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
29425 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
29426 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
29427 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
29428 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
29431 2017-09-11 Joseph Myers <joseph@codesourcery.com>
29433 * sysdeps/generic/libm-alias-float.h: New file.
29434 * sysdeps/generic/math-type-macros-float.h: Include
29435 <libm-alias-float.h>.
29436 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
29438 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
29441 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
29442 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
29443 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
29444 (HWCAP_IMPORTANT): Likewise.
29445 (HWCAP_X86_64): New enum.
29446 (HWCAP_X86_AVX512_1): Updated.
29447 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
29448 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
29449 (modules-names): Add x86_64/tst-x86_64mod-1.
29450 (LDFLAGS-tst-x86_64mod-1.so): New.
29451 ($(objpfx)tst-x86_64-1): Likewise.
29452 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
29453 (tst-x86_64-1-clean): Likewise.
29454 * sysdeps/x86_64/tst-x86_64-1.c: New file.
29455 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
29457 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
29459 * po/sv.po: Update translations.
29460 * po/fr.po: Likewise.
29462 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29464 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
29466 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
29468 * elf/rtld-Rules: Fix $(error) use.
29470 2017-09-09 Mike FABIAN <mfabian@redhat.com>
29473 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
29474 * locale/iso-639.def: Change “Bengali” to “Bangla”.
29475 * localedata/locales/bn_BD: “Bengali” was still used in some
29476 comments. Change it to “Bangla”.
29478 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
29480 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
29482 2017-09-08 Steve Ellcey <sellcey@cavium.com>
29484 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
29485 thunderx2t99p1 to list of cpu names.
29486 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
29487 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
29489 2017-09-08 Steve Ellcey <sellcey@cavium.com>
29491 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
29492 Use strcmp instead of tunable_is_name.
29494 2017-09-08 Joseph Myers <joseph@codesourcery.com>
29496 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29497 (F_GET_RW_HINT): New macro.
29498 [__USE_GNU] (F_SET_RW_HINT): Likewise.
29499 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
29500 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
29501 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
29502 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
29503 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
29504 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
29505 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
29506 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
29508 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29509 (F_ADD_SEALS): New macro.
29510 [__USE_GNU] (F_GET_SEALS): Likewise.
29511 [__USE_GNU] (F_SEAL_SEAL): Likewise.
29512 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
29513 [__USE_GNU] (F_SEAL_GROW): Likewise.
29514 [__USE_GNU] (F_SEAL_WRITE): Likewise.
29516 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29518 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
29519 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
29520 * posix/glob_internal.h (__glob_pattern_type):
29521 * posix/glob.c (glob):
29522 * posix/glob_pattern_p.c (__glob_pattern_p):
29525 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
29526 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29527 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
29528 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
29529 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
29530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
29531 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
29532 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
29533 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
29534 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29535 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
29536 * sysdeps/wordsize-64/glob.c: Likewise.
29537 * sysdeps/wordsize-64/glob64.c: Likewise.
29538 * sysdeps/wordsize-64/globfree.c: Likewise.
29539 * sysdeps/wordsize-64/globfree64.c: Likewise.
29540 * sysdeps/unix/sysv/linux/glob.c: New file.
29541 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
29542 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
29543 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
29544 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29545 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
29546 adds !GLOB_NO_OLD_VERSION as an extra condition.
29547 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
29548 using relative path instead of absolute one.
29549 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
29550 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29551 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29552 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
29553 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
29554 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
29557 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
29558 (glob): Use the same scratch buffer for both getlogin_r and
29559 getpwnam_r. Don’t require preallocation of the login name. This
29560 simplifies storage allocation, and corrects the handling of
29564 * posix/glob.c (glob): Port recent patches to platforms
29565 lacking getpwnam_r.
29566 (glob): Fix longstanding misuse of errno after getpwnam_r, which
29567 returns an error number rather than setting errno.
29569 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
29570 instead of GCC extension.
29571 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
29572 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
29573 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
29577 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
29578 * posix/bug-glob1.c: Remove file.
29579 * posix/tst-glob_symlinks.c: New file.
29580 * posix/glob.c (__lstat64): New macro.
29581 (is_dir): New function.
29582 (glob, glob_in_dir): Match symlinks even if they are dangling.
29583 (link_stat, link_exists_p): Remove. All uses removed.
29587 * posix/glob.c (struct readdir_result): Remove skip_entry member.
29588 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
29593 * posix/Makefile (routines): Add globfree, globfree64, and
29595 * posix/flexmember.h: New file.
29596 * posix/glob_internal.h: Likewise.
29597 * posix/glob_pattern_p.c: Likewise.
29598 * posix/globfree.c: Likewise.
29599 * posix/globfree64.c: Likewise.
29600 * sysdeps/gnu/globfree64.c: Likewise.
29601 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
29602 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
29603 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
29604 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
29605 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
29606 * sysdeps/wordsize-64/globfree.c: Likewise.
29607 * sysdeps/wordsize-64/globfree64.c: Likewise.
29608 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
29609 [NDEBUG): Remove comments.
29610 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
29611 (dirent_type): New type. Use uint_fast8_t not
29612 uint8_t, as C99 does not require uint8_t.
29613 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
29614 (struct readdir_result): Use dirent_type. Do not define skip_entry
29615 unless it is needed; this saves a byte on platforms lacking d_ino.
29616 (readdir_result_type, readdir_result_skip_entry):
29617 New functions, replacing ...
29618 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
29619 these functions, which were removed. This makes the callers
29620 easier to read. All callers changed.
29621 (D_INO_TO_RESULT): Now empty if there is no d_ino.
29622 (size_add_wrapv, glob_use_alloca): New static functions.
29623 (glob, glob_in_dir): Check for size_t overflow in several places,
29624 and fix some size_t checks that were not quite right.
29625 Remove old code using SHELL since Bash no longer
29627 (glob, prefix_array): Separate MS code better.
29628 (glob_in_dir): Remove old Amiga and VMS code.
29629 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
29631 (glob_in_dir): Do not rely on undefined behavior in accessing
29632 struct members beyond their bounds. Use a flexible array member
29634 (link_stat): Rename from link_exists2_p and return -1/0 instead of
29635 0/1. Caller changed.
29636 (glob): Fix memory leaks.
29637 * posix/glob64 (globfree64): Move to separate file.
29638 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
29639 (globfree64): Remove hidden alias.
29640 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
29642 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
29644 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
29646 Move compat code to separate file.
29647 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
29650 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
29652 * resolv/tst-resolv-qtypes.c (domain): Changed to
29653 "const char domain[] =".
29655 2017-09-07 Joseph Myers <joseph@codesourcery.com>
29657 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
29660 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
29661 (TCP_MD5SIG_EXT): Likewise.
29662 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
29663 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
29664 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
29666 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
29668 2017-09-07 Mike FABIAN <mfabian@redhat.com>
29670 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
29672 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
29675 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
29677 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
29679 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
29680 before assuming that the file is empty. Avoid testing buffer content
29683 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29686 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
29688 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
29690 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
29692 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
29694 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
29696 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
29698 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
29701 2017-09-06 Florian Weimer <fweimer@redhat.com>
29703 * malloc/dynarray_emplace_enlarge.c
29704 (__libc_dynarray_emplace_enlarge): Add missing else.
29706 2017-09-06 Florian Weimer <fweimer@redhat.com>
29709 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
29710 case of failure to obtain the global conf object.
29712 2017-09-06 Florian Weimer <fweimer@redhat.com>
29715 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
29716 dynarray allocation failure.
29718 2017-09-06 Florian Weimer <fweimer@redhat.com>
29720 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
29721 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
29722 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
29724 (response): Call them. Add 'p', '6' flag processing.
29725 (test_reverse): New function.
29726 (test_get2_any): Call it.
29727 (test_no_inet6): Add 'p' test.
29728 (test_inet6): Likewise.
29730 2017-09-06 Florian Weimer <fweimer@redhat.com>
29732 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
29733 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
29735 (test_gai): Adjust query names. Add additional tests.
29736 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
29737 test_get2. Adjust query names. Add additional tests.
29738 (test_no_inet6): New function, extracted from threadfunc.
29739 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
29740 Add additional tests.
29742 2017-09-06 Mike FABIAN <mfabian@redhat.com>
29745 * localedata/unicode-gen/utf8_gen.py: Set the width for
29746 characters with Prepended_Concatenation_Mark property to 1
29747 * localedata/charmaps/UTF-8: Updated using the improved script.
29749 2017-09-06 Mike FABIAN <mfabian@redhat.com>
29752 * localedata/unicode-gen/utf8_gen.py: Improve the script to
29753 use the range notation for all ranges of neighbouring characters
29754 with the same width.
29756 2017-09-05 Joseph Myers <joseph@codesourcery.com>
29758 * sysdeps/generic/math-type-macros-double.h: Include
29759 <math-svid-compat.h>.
29760 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29761 * sysdeps/generic/math-type-macros-float.h: Include
29762 <math-svid-compat.h>.
29763 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29764 * sysdeps/generic/math-type-macros-ldouble.h: Include
29765 <math-svid-compat.h>.
29766 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29767 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
29769 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
29770 * math/w_acosf_compat.c: Likewise.
29771 * math/w_acosh_compat.c: Likewise.
29772 * math/w_acoshf_compat.c: Likewise.
29773 * math/w_acoshl_compat.c: Likewise.
29774 * math/w_acosl_compat.c: Likewise.
29775 * math/w_asin_compat.c: Likewise.
29776 * math/w_asinf_compat.c: Likewise.
29777 * math/w_asinl_compat.c: Likewise.
29778 * math/w_atan2_compat.c: Likewise.
29779 * math/w_atan2f_compat.c: Likewise.
29780 * math/w_atan2l_compat.c: Likewise.
29781 * math/w_atanh_compat.c: Likewise.
29782 * math/w_atanhf_compat.c: Likewise.
29783 * math/w_atanhl_compat.c: Likewise.
29784 * math/w_cosh_compat.c: Likewise.
29785 * math/w_coshf_compat.c: Likewise.
29786 * math/w_coshl_compat.c: Likewise.
29787 * math/w_exp10_compat.c: Likewise.
29788 * math/w_exp10f_compat.c: Likewise.
29789 * math/w_exp10l_compat.c: Likewise.
29790 * math/w_exp2_compat.c: Likewise.
29791 * math/w_exp2f_compat.c: Likewise.
29792 * math/w_exp2l_compat.c: Likewise.
29793 * math/w_fmod_compat.c: Likewise.
29794 * math/w_fmodf_compat.c: Likewise.
29795 * math/w_fmodl_compat.c: Likewise.
29796 * math/w_hypot_compat.c: Likewise.
29797 * math/w_hypotf_compat.c: Likewise.
29798 * math/w_hypotl_compat.c: Likewise.
29799 * math/w_j0_compat.c: Likewise.
29800 * math/w_j0f_compat.c: Likewise.
29801 * math/w_j0l_compat.c: Likewise.
29802 * math/w_j1_compat.c: Likewise.
29803 * math/w_j1f_compat.c: Likewise.
29804 * math/w_j1l_compat.c: Likewise.
29805 * math/w_jn_compat.c: Likewise.
29806 * math/w_jnf_compat.c: Likewise.
29807 * math/w_jnl_compat.c: Likewise.
29808 * math/w_lgamma_r_compat.c: Likewise.
29809 * math/w_lgammaf_r_compat.c: Likewise.
29810 * math/w_lgammal_r_compat.c: Likewise.
29811 * math/w_log10_compat.c: Likewise.
29812 * math/w_log10f_compat.c: Likewise.
29813 * math/w_log10l_compat.c: Likewise.
29814 * math/w_log2_compat.c: Likewise.
29815 * math/w_log2f_compat.c: Likewise.
29816 * math/w_log2l_compat.c: Likewise.
29817 * math/w_log_compat.c: Likewise.
29818 * math/w_logf_compat.c: Likewise.
29819 * math/w_logl_compat.c: Likewise.
29820 * math/w_pow_compat.c: Likewise.
29821 * math/w_powf_compat.c: Likewise.
29822 * math/w_powl_compat.c: Likewise.
29823 * math/w_remainder_compat.c: Likewise.
29824 * math/w_remainderf_compat.c: Likewise.
29825 * math/w_remainderl_compat.c: Likewise.
29826 * math/w_sinh_compat.c: Likewise.
29827 * math/w_sinhf_compat.c: Likewise.
29828 * math/w_sinhl_compat.c: Likewise.
29829 * math/w_sqrt_compat.c: Likewise.
29830 * math/w_sqrtf_compat.c: Likewise.
29831 * math/w_sqrtl_compat.c: Likewise.
29832 * math/w_tgamma_compat.c: Likewise.
29833 * math/w_tgammaf_compat.c: Likewise.
29834 * math/w_tgammal_compat.c: Likewise.
29835 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
29836 [LIBM_SVID_COMPAT].
29837 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
29838 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
29839 [LIBM_SVID_COMPAT].
29840 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
29841 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
29842 [LIBM_SVID_COMPAT].
29843 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
29844 * sysdeps/i386/fpu/w_sqrt.c: New file.
29845 * sysdeps/ia64/fpu/w_acos.c: Likewise.
29846 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
29847 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
29848 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
29849 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
29850 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
29851 * sysdeps/ia64/fpu/w_asin.c: Likewise.
29852 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
29853 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
29854 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
29855 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
29856 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
29857 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
29858 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
29859 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
29860 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
29861 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
29862 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
29863 * sysdeps/ia64/fpu/w_exp.c: Likewise.
29864 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
29865 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
29866 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
29867 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
29868 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
29869 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
29870 * sysdeps/ia64/fpu/w_expf.c: Likewise.
29871 * sysdeps/ia64/fpu/w_expl.c: Likewise.
29872 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
29873 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
29874 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
29875 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
29876 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
29877 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
29878 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
29879 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
29880 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
29881 * sysdeps/ia64/fpu/w_log.c: Likewise.
29882 * sysdeps/ia64/fpu/w_log10.c: Likewise.
29883 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
29884 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
29885 * sysdeps/ia64/fpu/w_log2.c: Likewise.
29886 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
29887 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
29888 * sysdeps/ia64/fpu/w_logf.c: Likewise.
29889 * sysdeps/ia64/fpu/w_logl.c: Likewise.
29890 * sysdeps/ia64/fpu/w_pow.c: Likewise.
29891 * sysdeps/ia64/fpu/w_powf.c: Likewise.
29892 * sysdeps/ia64/fpu/w_powl.c: Likewise.
29893 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
29894 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
29895 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
29896 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
29897 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
29898 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
29899 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
29900 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
29901 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
29902 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
29903 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
29904 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
29905 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
29906 [LIBM_SVID_COMPAT].
29907 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
29908 * sysdeps/ieee754/k_standard.c: Likewise.
29909 * sysdeps/ieee754/k_standardf.c: Likewise.
29910 * sysdeps/ieee754/k_standardl.c: Likewise.
29911 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
29912 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
29913 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
29914 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
29915 long_double_symbol call on [LIBM_SVID_COMPAT].
29916 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29917 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29918 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29919 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29920 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29921 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29922 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29923 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29924 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29925 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29926 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29927 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
29928 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29929 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29930 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29931 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29932 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
29933 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29934 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29935 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29936 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
29937 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
29939 2017-09-05 Steve Ellcey <sellcey@cavium.com>
29941 * include/shlib-compat.h (TEST_COMPAT): New Macro.
29942 * malloc/tst-mallocstate.c: Convert from test-skeleton
29943 to test-driver. Ifdef code using TEST_COMPAT macro.
29944 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
29945 * math/test-matherr.c: Likewise.
29947 2017-09-05 Joseph Myers <joseph@codesourcery.com>
29950 * debug/pcprofiledump.c (main): Use byte-swapped mask when
29951 comparing word with byte-swapped constant.
29953 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
29956 * locale/iso-639.def: add Miskito.
29957 * localedata/SUPPORTED: Add miq_NI/UTF-8.
29958 * localedata/locales/miq_NI: New file.
29960 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
29963 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
29964 (__mkdir): Likewise.
29965 * io/chmod.c (__chmod): Add libc_hidden_def.
29966 * io/mkdir.c (__mkdir): Likewise.
29967 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
29968 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
29969 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
29970 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
29972 2017-09-04 Joseph Myers <joseph@codesourcery.com>
29974 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
29978 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
29979 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
29981 2017-09-04 Florian Weimer <fweimer@redhat.com>
29983 * math/math.h: Issue warning if log is defined.
29985 2017-09-04 Joseph Myers <joseph@codesourcery.com>
29987 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
29988 kernel version to 4.13.
29990 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
29992 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
29993 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
29995 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
29996 just <bits/types.h>.
29997 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
29998 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
29999 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
30000 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
30001 * misc/preadv2.c: Include <errno.h>.
30002 * misc/preadv64v2.c: Include <errno.h>.
30003 * misc/pwritev2.c: Include <errno.h>.
30004 * misc/pwritev64v2.c: Include <errno.h>.
30005 * sysdeps/posix/preadv2.c: Include <errno.h>.
30006 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
30007 Fix <unistd.h> inclusion.
30008 * sysdeps/posix/pwritev2.c: Include <errno.h>.
30009 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
30010 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
30011 __strtoul_internal): New functions.
30012 * sysdeps/posix/pause.c: Include <sigsetops.h>.
30013 * sysdeps/posix/system.c: Include <sigsetops.h>.
30014 * sysdeps/mach/hurd/i386/Makefile
30015 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
30016 [$(subdir) = csu] (sysdep-only-routines): Likewise.
30017 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
30018 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
30019 __feraiseexcept_renamed to feraiseexcept instead of
30020 __GI_feraiseexcept.
30021 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
30022 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
30023 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
30024 RWF_NOWAIT): Define to 0 if undefined already.
30025 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
30027 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
30028 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
30030 2017-09-01 Joseph Myers <joseph@codesourcery.com>
30032 * manual/math.texi (pow10): Do not document.
30033 (pow10f): Likewise.
30034 (pow10l): Likewise.
30035 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
30036 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
30037 * math/libm-test-exp10.inc (pow10_test): Remove.
30038 (do_test): Do not call pow10.
30039 * math/w_exp10_compat.c (pow10): Make into compat symbol.
30040 [NO_LONG_DOUBLE] (pow10l): Likewise.
30041 * math/w_exp10f_compat.c (pow10f): Likewise.
30042 * math/w_exp10l_compat.c (pow10l): Likewise.
30043 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
30044 (pow10): Make into compat symbol.
30045 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
30046 (pow10f): Make into compat symbol.
30047 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
30048 (pow10l): Make into compat symbol.
30049 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
30051 (CFLAGS-nldbl-pow10.c): Remove variable..
30052 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
30053 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
30054 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
30055 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
30056 Undefine and redefine.
30057 (pow10l): Make into compat symbol.
30058 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
30059 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
30060 * sysdeps/arm/libm-test-ulps: Likewise.
30061 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
30062 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
30063 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30064 * sysdeps/microblaze/libm-test-ulps: Likewise.
30065 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30066 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30067 * sysdeps/nios2/libm-test-ulps: Likewise.
30068 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30069 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
30070 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30071 * sysdeps/sh/libm-test-ulps: Likewise.
30072 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30073 * sysdeps/tile/libm-test-ulps: Likewise.
30074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30076 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30078 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
30080 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30082 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
30083 "../ChangeLog.old/ChangeLog.8".
30084 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
30085 "../ChangeLog.old/ChangeLog.14".
30087 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30089 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
30092 2017-09-01 Joseph Myers <joseph@codesourcery.com>
30094 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
30096 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30098 * csu/version.c (banner): Remove "by Roland McGrath et al.".
30099 * nptl/Banner: Remove "by Ulrich Drepper et al.".
30101 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30103 * stdlib/tst-atexit-common.c (do_test): Test support for at least
30104 32 atexit handlers.
30106 2017-09-01 Zack Weinberg <zackw@panix.com>
30108 * math/math.h (HUGE_VAL): Improve commentary.
30110 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30111 Andreas Schwab <schwab@suse.de>
30114 * include/stdio.h (__gen_tempfd): New function.
30115 * stdio-common/Makefile (routines): Add gentempfd.
30116 * stdio-common/gentempfd.c: New file.
30117 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
30118 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
30119 unnamed file first.
30121 2017-09-01 Florian Weimer <fweimer@redhat.com>
30125 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
30126 result to determine success or failure, not the errno value.
30127 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
30128 (tst-nss-files-hosts-erange): Link with -ldl.
30129 * nss/tst-nss-files-hosts-erange.c: New file.
30130 * nss/tst-resolv-basic.c (response): Handle nodata.example.
30131 (do_test): Add NO_DATA tests.
30132 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
30133 (do_test): Call it.
30135 2017-09-01 Florian Weimer <fweimer@redhat.com>
30138 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
30139 coming from gethostbyname2_r.
30141 2017-09-01 Florian Weimer <fweimer@redhat.com>
30143 * support/namespace.h (struct support_chroot_configuration): Add
30145 (struct support_chroot): Add path_hosts, path_host_conf.
30146 * support/support_chroot.c (write_file): New function.
30147 (support_chroot_create): Call it to process /etc/resolv.conf,
30148 /etc/hosts, /etc/host.conf.
30149 (support_chroot_free): Update.
30151 2017-09-01 Florian Weimer <fweimer@redhat.com>
30153 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
30154 status indicates it is set.
30156 2017-09-01 Florian Weimer <fweimer@redhat.com>
30159 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
30160 function lookup failures more reliable.
30162 2017-09-01 Florian Weimer <fweimer@redhat.com>
30164 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
30165 (getcanonname): Likewise.
30166 (gaih_inet): Likewise.
30168 2017-09-01 Florian Weimer <fweimer@redhat.com>
30170 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
30171 (getcanonname): Likewise.
30172 (gaih_inet): Likewise.
30174 2017-08-31 Steve Ellcey <sellcey@cavium.com>
30175 Richard Henderson <rth@twiddle.net>
30177 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
30178 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
30179 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
30180 (IREG_SIZE, OREG_SIZE): New macros.
30181 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
30182 (IREG_SIZE, OREG_SIZE): New macros.
30183 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
30184 (IREG_SIZE): New macro.
30185 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
30186 (IREG_SIZE): New macro.
30187 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
30189 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
30190 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
30191 (__CONCATX): Handle exceptions correctly on large values that may
30193 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
30194 Initialize if not already set.
30195 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
30197 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30199 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
30200 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
30202 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
30204 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
30206 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
30208 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
30210 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
30212 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
30214 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
30215 (NO_CANCELLATION): Likewise.
30216 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
30218 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
30220 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
30222 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
30223 (NO_CANCELLATION): Likewise.
30224 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
30225 (NO_CANCELLATION): Likewise.
30226 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
30228 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
30230 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
30232 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
30234 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
30236 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
30237 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
30239 2017-08-31 Steve Ellcey <sellcey@cavium.com>
30241 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
30244 2017-08-31 Florian Weimer <fweimer@redhat.com>
30246 * include/libc-symbols.h (internal_function): Remove.
30248 2017-08-31 Florian Weimer <fweimer@redhat.com>
30250 * stdlib/fmtmsg.c (internal_addseverity): Remove
30253 2017-08-31 Florian Weimer <fweimer@redhat.com>
30255 * stdio-common/printf_fp.c (group_number): Remove
30257 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
30259 2017-08-31 Florian Weimer <fweimer@redhat.com>
30261 * posix/fnmatch.c (internal_function): Remove definition.
30262 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
30263 * posix/regcomp.c (peek_token, init_word_char)
30264 (duplicate_node_closure, fetch_token, peek_token)
30265 (peek_token_bracket, build_range_exp, build_collating_symbol):
30267 * posix/regex_internal.c (re_string_construct_common)
30268 (create_ci_newstate, create_cd_newstate, re_string_allocate)
30269 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
30270 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
30271 (re_string_translate_buffer, re_string_reconstruct)
30272 (re_string_peek_byte_case, re_string_fetch_byte_case)
30273 (re_string_destruct, re_string_context_at, re_node_set_alloc)
30274 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
30275 (re_node_set_add_intersect, re_node_set_init_union)
30276 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
30277 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
30278 (re_dfa_add_node, calc_state_hash, re_acquire_state)
30279 (re_acquire_state_context): Likewise.
30280 * posix/regex_internal.h (internal_function): Remove definition.
30281 (re_string_realloc_buffers, build_wcs_buffer)
30282 (build_wcs_upper_buffer, build_upper_buffer)
30283 (re_string_translate_buffer, re_string_context_at)
30284 (re_string_char_size_at, re_string_wchar_at)
30285 (re_string_elem_size_at): Likewise.
30286 * posix/regexec.c (match_ctx_init, match_ctx_clean)
30287 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
30288 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
30289 (re_search_internal, re_search_2_stub, re_search_stub)
30290 (re_copy_regs, prune_impossible_nodes, check_matching)
30291 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
30292 (free_fail_stack_return, sift_states_iter_mb)
30293 (sift_states_backward, build_sifted_states)
30294 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
30295 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
30296 (check_subexp_limits, sift_states_bkref, merge_state_array)
30297 (find_recover_state, transit_state, merge_state_with_log)
30298 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
30299 (transit_state_mb, transit_state_bkref, get_subexp)
30300 (get_subexp_sub, find_subexp_node, check_arrival)
30301 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
30302 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
30303 (check_node_accept_bytes, find_collation_sequence_value)
30304 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
30305 (acquire_init_state_context, check_halt_node_context)
30306 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
30307 (sub_epsilon_src_nodes): Likewise.
30308 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
30309 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
30310 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
30311 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
30312 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
30313 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
30314 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
30315 * sysdeps/posix/ttyname.c (getttyname): Likewise.
30316 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
30317 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
30318 (PREADV): Likewise.
30319 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
30320 (PREADV): Likewise.
30321 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
30322 (PWRITEV): Likewise.
30323 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
30324 (PWRITEV): Likewise.
30325 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
30326 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
30328 2017-08-31 Florian Weimer <fweimer@redhat.com>
30330 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
30331 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
30332 Remove internal_function.
30333 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
30334 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
30335 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
30336 (__deallocate_stack, __libc_pthread_init)
30337 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
30338 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
30339 (__libc_disable_asynccancel, __librt_disable_asynccancel):
30341 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
30342 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
30343 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
30345 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
30346 (__pthread_mutex_unlock_usercnt): Likewise.
30348 2017-08-31 Florian Weimer <fweimer@redhat.com>
30350 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
30351 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
30352 (fts_safe_changedir): Remove internal_function.
30353 * io/ftw.c (internal_function): Remove definition.
30354 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
30356 2017-08-31 Florian Weimer <fweimer@redhat.com>
30358 * inet/deadline.c (__deadline_current_time)
30359 (__deadline_from_timeval, __deadline_to_ms): Remove
30361 * inet/getnameinfo.c (nrl_domainname): Likewise.
30362 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
30363 * inet/inet6_option.c (add_pad): Likewise.
30364 * inet/net-internal.h (__deadline_current_time)
30365 (__deadline_from_timeval, __deadline_to_ms): Likewise.
30366 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
30367 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
30368 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
30370 2017-08-31 Joseph Myers <joseph@codesourcery.com>
30372 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
30373 include <bits/nan.h>.
30374 * math/Makefile (headers): Remove bits/nan.h.
30375 * bits/nan.h: Remove.
30376 * sysdeps/ieee754/bits/nan.h: Likewise.
30377 * sysdeps/mips/bits/nan.h: Likewise.
30379 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
30380 not include <bits/inf.h>.
30381 * math/Makefile (headers): Remove bits/inf.h.
30382 * bits/inf.h: Remove.
30383 * sysdeps/ieee754/bits/inf.h: Likewise.
30385 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
30386 bits/huge_vall.h or bits/huge_val_flt128.h.
30387 (HUGE_VAL): Define directly here.
30388 [__USE_ISOC99] (HUGE_VALF): Likewise.
30389 [__USE_ISOC99] (HUGE_VALL): Likewise.
30390 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30391 (HUGE_VAL_F128): Likewise.
30392 * math/Makefile (headers): Remove bits/huge_val.h,
30393 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
30394 * bits/huge_val.h: Remove.
30395 * bits/huge_val_flt128.h: Likewise.
30396 * bits/huge_valf.h: Likewise.
30397 * bits/huge_vall.h: Likewise.
30398 * sysdeps/ia64/bits/huge_vall.h: Likewise.
30399 * sysdeps/ieee754/bits/huge_val.h: Likewise.
30400 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
30401 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
30402 * sysdeps/sh/bits/huge_val.h: Likewise.
30403 * sysdeps/sparc/bits/huge_vall.h: Likewise.
30404 * sysdeps/x86/bits/huge_vall.h: Likewise.
30406 2017-08-31 Florian Weimer <fweimer@redhat.com>
30408 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
30410 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
30412 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
30413 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
30414 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
30415 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
30416 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30417 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
30418 * elf/dl-libc.c (dlerror_run): Likewise.
30419 * elf/dl-load.c (add_name_to_object, decompose_rpath)
30420 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
30421 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
30422 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
30424 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
30425 (_dl_higher_prime_number, _dl_strtoul): Likewise.
30426 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
30427 * elf/dl-profile.c (_dl_start_profile): Likewise.
30428 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
30429 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
30431 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
30432 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
30433 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
30434 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
30435 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
30436 (_dl_allocate_tls_storage): Likewise.
30437 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
30438 (_dl_check_all_versions): Likewise.
30439 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
30440 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
30441 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
30442 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30443 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
30444 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
30445 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
30446 internal_function from __dl_start.
30447 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
30448 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
30449 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
30450 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
30451 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
30452 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
30453 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
30454 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
30455 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
30456 (_dl_next_ld_env_entry, _dl_important_hwcaps)
30457 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
30458 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
30459 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
30460 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
30461 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
30463 (struct rtld_global_ro): Remove internal_function from the
30464 _dl_lookup_symbol_x member.
30465 (_dl_symbol_value): Remove. No longer defined anywhere.
30466 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
30468 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30469 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
30470 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
30471 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
30472 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
30473 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
30474 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
30475 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
30476 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
30477 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
30478 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30479 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
30481 2017-08-31 Florian Weimer <fweimer@redhat.com>
30483 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
30484 Remove internal_function.
30485 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
30487 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
30490 2017-08-31 Florian Weimer <fweimer@redhat.com>
30492 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
30493 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
30494 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
30496 2017-08-31 Florian Weimer <fweimer@redhat.com>
30498 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
30499 (__gai_enqueue_request): Remove internal_function.
30500 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
30501 (__gai_remove_request, __gai_notify, __gai_notify_only)
30502 (__gai_sigqueue): Likewise.
30503 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
30504 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
30505 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
30506 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30509 2017-08-31 Florian Weimer <fweimer@redhat.com>
30511 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
30512 * include/dirent.h (__opendirat, __getdents, __getdents64)
30513 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
30514 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
30515 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30516 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
30518 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
30520 2017-08-31 Florian Weimer <fweimer@redhat.com>
30522 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
30524 (GETCWD_RETURN_TYPE): Likewise.
30526 2017-08-31 Florian Weimer <fweimer@redhat.com>
30528 * include/time.h (__tz_compute, __strptime_internal): Remove
30530 * time/strptime_l.c (__strptime_internal): Likewise.
30531 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
30533 2017-08-31 Florian Weimer <fweimer@redhat.com>
30535 * iconv/gconv.c (__gconv): Remove internal_function.
30536 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
30537 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
30538 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
30539 (__gconv_release_cache): Likewise.
30540 * iconv/gconv_close.c (__gconv_close): Likewise.
30541 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
30542 (read_conf_file, __gconv_get_path): Likewise.
30543 * iconv/gconv_db.c (derivation_lookup, add_derivation)
30544 (__gconv_release_step, gen_steps, increment_counter)
30545 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
30546 (__gconv_close_transform, free_modules_db): Likewise.
30547 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
30549 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
30550 (__gconv_find_transform, __gconv_lookup_cache)
30551 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
30552 (__gconv_close_transform, __gconv_release_cache)
30553 (__gconv_loaded_object, __gconv_release_shlib)
30554 (__gconv_compare_alias): Likewise.
30555 * iconv/gconv_open.c (__gconv_open): Likewise.
30556 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
30557 * iconv/iconvconfig.c (add_module): Likewise.
30558 * intl/dcigettext.c (plural_lookup, guess_category_value)
30559 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
30560 * intl/eval-plural.h (plural_eval): Likewise.
30561 * intl/finddomain.c (_nl_find_domain): Likewise.
30562 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
30563 (_nl_load_domain, _nl_find_msg): Likewise.
30564 (internal_function): Remove definition.
30565 * intl/loadinfo.h (internal_function): Likewise.
30566 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
30568 * intl/localealias.c (internal_function): Remove definition.
30569 (read_alias_file): Remove internal_function.
30570 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
30571 * intl/plural-exp.h (internal_function): Remove definition.
30572 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
30574 * intl/plural.c: Regenerate.
30575 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
30576 * locale/coll-lookup.c (__collidx_table_lookup)
30577 (__collseq_table_lookup): Likewise.
30578 * locale/coll-lookup.h (__collidx_table_lookup)
30579 (__collseq_table_lookup): Likewise.
30580 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
30581 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30582 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
30583 (_nl_unload_locale): Likewise.
30584 * locale/localeinfo.h (struct __locale_data): Remove
30585 internal_function from cleanup member.
30586 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
30587 (_nl_remove_locale, _nl_load_locale_from_archive)
30588 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
30589 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
30590 (_nl_cleanup_time): Remove internal_function.
30591 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
30592 (_nl_parse_alt_digit): Likewise.
30593 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
30594 (_nl_select_era_entry): Likewise.
30595 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
30596 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
30597 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
30598 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
30599 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
30601 2017-08-31 Florian Weimer <fweimer@redhat.com>
30603 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
30604 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
30605 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
30606 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
30608 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
30609 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
30610 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
30611 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
30613 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
30615 2017-08-31 Florian Weimer <fweimer@redhat.com>
30617 * misc/getttyent.c (skip, value): Remove internal_function.
30618 * misc/syslog.c (openlog_internal): Likewise.
30619 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
30621 2017-08-31 Florian Weimer <fweimer@redhat.com>
30623 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
30624 (__nss_rewrite_field): Remove internal_function.
30625 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30626 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
30627 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30628 * nss/nsswitch.c (nss_parse_file, nss_getline)
30629 (nss_parse_service_list, nss_new_service): Likewise.
30630 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
30631 * nss/valid_field.c (__nss_valid_field): Likewise.
30632 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
30634 2017-08-31 Florian Weimer <fweimer@redhat.com>
30636 * malloc/arena.c (__malloc_fork_lock_parent)
30637 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
30638 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
30639 internal_function from defintions.
30640 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
30641 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
30642 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
30643 internal_function from declarations.
30644 * malloc/malloc.c (internal_function): Do not define.
30645 (mem2mem_check): Remove internal_function from declaration.
30646 (munmap_chunk, mremap_chunk): Remove internal_function.
30647 * malloc/mtrace.c (tr_where): Likewise.
30649 2017-08-31 Florian Weimer <fweimer@redhat.com>
30651 * include/rpc/pmap_clnt.h (__get_socket): Remove
30653 * sunrpc/auth_des.c (synchronize): Likewise.
30654 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
30655 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
30656 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
30657 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
30658 (key_call): Likewise.
30659 * sunrpc/pm_getport.c (__get_socket): Likewise.
30660 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
30661 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
30662 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
30663 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
30664 (invalidate): Likewise.
30665 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
30666 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
30667 (set_input_fragment, get_input_bytes): Likewise.
30669 2017-08-31 Florian Weimer <fweimer@redhat.com>
30671 * malloc/malloc.c (_int_free): Remove locked variable and related
30674 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
30677 * Makerules (build-module-helper-objlist): Filter out
30678 $(elf-objpfx)sofini.os.
30679 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
30682 2017-08-31 Florian Weimer <fweimer@redhat.com>
30684 * libio/fcloseall.c: Assume weak_alias is defined.
30685 * libio/feof.c: Likewise.
30686 * libio/fileno.c: Likewise.
30687 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
30688 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30690 (_IO_file_open): Call __open directly.
30691 (_IO_new_file_sync): Assume ESPIPE is defined.
30692 (_IO_file_seekoff_maybe_mmap): Call __read directly.
30693 (_IO_new_file_write): Call __write directly.
30694 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
30695 * libio/ftello64.c (__ftello64): Assume EIO is defined.
30696 * libio/genops.c: Assume _LIBC is defined.
30697 (save_for_backup): Remove internal_function.
30698 * libio/getc.c: Assume weak_alias is defined.
30699 * libio/getwc.c: Likewise.
30700 * libio/iofclose.c: Assume _LIBC is defined.
30701 * libio/iofdopen.c: Likewise.
30702 (_IO_fcntl): Remove macro definition.
30703 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
30704 Call __fcntl directly.
30705 * libio/iofflush.c: Assume weak_alias is defined.
30706 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
30708 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
30709 * libio/iofgets.c: Likewise.
30710 * libio/iofopen.c: Assume _LIBC is defined.
30711 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
30712 * libio/iofputs.c: Assume weak_alias is defined.
30713 * libio/iofread.c: Likewise.
30714 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
30715 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
30716 * libio/ioftell.c: Assume weak_alias is defined.
30717 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
30718 * libio/iofwide.c: Assume _LIBC is defined.
30719 (_IO_fwide): Drop SHARED conditional because it is implied by
30721 * libio/iofwrite.c: Assume weak_alias is defined.
30722 * libio/iogetdelim.c: Likewise.
30723 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
30724 * libio/iogetwline.c (wmemcpy): Remove macro definition.
30725 (_IO_getwline): Call __wmemcpy directly.
30726 * libio/iopopen.c: Assume _LIBC is defined.
30727 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30728 (_IO_close): Remove macro definitions.
30729 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
30731 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
30733 * libio/ioputs.c: Assume weak_alias is defined.
30734 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
30735 * libio/iosetbuffer.c: Assume weak_alias is defined.
30736 * libio/iosetvbuf.c: Likewise.
30737 * libio/ioungetc.c: Likewise.
30738 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
30739 libc_hidden_def, libc_hidden_weak, NULL are defined.
30740 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
30741 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
30743 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30745 (_IO_old_file_init_internal): Drop SHARED conditional because it
30746 is implied by SHLIB_COMPAT.
30747 (_IO_old_file_fopen): Call __open directly.
30748 (_IO_old_file_sync): Assume ESPIPE is defined.
30749 (_IO_old_file_write): Call __write directly.
30750 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
30751 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
30752 Call __fcntl directly.
30753 * libio/oldiofgetpos.c: Assume weak_alias is defined.
30754 (_IO_old_fgetpos): Assume EIO is defined.
30755 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
30756 (_IO_old_fgetpos64): Assume EIO is defined.
30757 * libio/oldiofsetpos.c: Assume weak_alias is defined.
30758 (_IO_old_fsetpos): Assume EIO is defined.
30759 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
30760 (_IO_old_fsetpos64): Assume EIO is defined.
30761 * libio/oldiopopen.c: Assume _LIBC is defined.
30762 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30763 (_IO_close): Remove macro definitions.
30764 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
30766 (_IO_old_proc_close): Call __close, __waitpid directly.
30767 * libio/put.c: Assume weak_alias is defined.
30768 * libio/stdfiles.c: Assume _LIBC is defined.
30769 * libio/stdio.c: Likewise.
30770 * libio/wfileops.c: Likewise.
30771 (_IO_wfile_sync): Assume ESPIPE is defined.
30772 * libio/wgenops.c: Assume _LIBC is defined.
30773 (save_for_wbackup): Remove internal_function.
30775 2017-08-31 Florian Weimer <fweimer@redhat.com>
30777 * malloc/malloc.c (top_check): Change return type to void. Remove
30779 * malloc/hooks.c (top_check): Likewise.
30780 (malloc_check, realloc_check, memalign_check): Adjust.
30782 2017-08-30 Joseph Myers <joseph@codesourcery.com>
30785 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30786 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
30787 sigcontext and namespace requirements.
30788 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30789 * sysdeps/m68k/sys/ucontext.h: Likewise.
30790 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
30791 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
30792 <bits/sigcontext.h>.
30793 (__ctx): Define earlier.
30794 (mcontext_t): Define structure contents rather than using struct
30796 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
30797 __glibc_reserved1 instead of __reserved.
30798 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
30799 <bits/sigcontext.h>.
30800 (__ctx): Define earlier.
30801 (mcontext_t): Define structure contents rather than using struct
30803 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
30804 mcontext_t instead of struct sigcontext.
30805 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
30806 <bits/sigcontext.h>.
30807 (__ctx): Define earlier.
30808 (mcontext_t): Define structure contents rather than using struct
30810 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
30811 <bits/sigcontext.h>.
30812 (__ctx): Define earlier.
30813 (mcontext_t): Define structure contents rather than using struct
30815 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
30816 mcontext_t instead of struct sigcontext.
30817 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
30818 mcontext_t instead of struct sigcontext.
30819 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
30820 <bits/sigcontext.h>.
30821 (__ctx): New macro.
30822 (struct __ia64_fpreg_mcontext): New type.
30823 (mcontext_t): Define structure contents rather than using struct
30825 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
30826 (uc_sigmask): Define using __ctx.
30827 (uc_stack): Likewise.
30828 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
30829 <bits/sigcontext.h>.
30830 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30831 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
30832 <bits/sigcontext.h>.
30833 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
30834 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
30835 <bits/sigcontext.h>.
30836 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
30837 <bits/sigcontext.h>.
30838 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
30839 <bits/sigcontext.h>.
30840 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
30841 <bits/sigcontext.h>.
30842 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
30843 <bits/sigcontext.h>.
30844 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
30845 <bits/sigcontext.h>.
30846 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
30847 <bits/sigcontext.h>.
30848 (__ctx): Define earlier.
30849 (mcontext_t): Define structure contents rather than using struct
30851 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
30852 <bits/sigcontext.h>. Include <bits/types.h>.
30853 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
30854 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
30855 (test-xfail-XPG42/ucontext.h/conform): Likewise.
30856 (test-xfail-UNIX98/signal.h/conform): Likewise.
30857 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
30858 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
30859 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
30860 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
30861 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
30862 (test-xfail-POSIX2008/signal.h/conform): Likewise.
30863 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
30864 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
30865 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
30867 2017-08-30 Florian Weimer <fweimer@redhat.com>
30869 * malloc/dynarray_emplace_enlarge.c
30870 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
30871 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
30872 * malloc/tst-dynarray.c (test_long_overflow): New function.
30873 (do_test): Call it.
30875 2017-08-30 Florian Weimer <fweimer@redhat.com>
30877 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
30878 (set_arena_corrupt): Remove definitions.
30879 (mtrim): Do not check for corrupt arena.
30880 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
30883 2017-08-30 Florian Weimer <fweimer@redhat.com>
30886 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
30888 (ptmalloc_init): Do not set or use check_action.
30889 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
30890 call to malloc_printerr. Remove return statement.
30891 (free_check): Likewise. Remove arena unlock.
30892 (top_check): Update comment. Adjust call to malloc_printerr.
30893 Remove heap repair code.
30894 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
30895 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
30896 (sysmalloc): Adjust call to malloc_printerr.
30897 (munmap_chunk, __libc_realloc): Likewise. Remove return
30899 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
30900 Remove errout label and corresponding gotos.
30901 (_int_free): Likewise. Remove arena unlock.
30902 (do_set_mallopt_check): Do not set check_action.
30903 (malloc_printerr): Adjust parameter list. Do not mark arena as
30905 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
30907 * manual/probes.texi (Memory Allocation Probes): Remove
30908 memory_mallopt_check_action.
30910 2017-08-30 Steve Ellcey <sellcey@cavium.com>
30912 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
30913 Use pointer to uint64_t instead of long int for sp.
30915 2017-08-30 Florian Weimer <fweimer@redhat.com>
30918 * malloc/malloc.c (malloc_printerr): Always terminate the process,
30919 without printing a backtrace. Do not leak any information in the
30921 * manual/memory.texi (Heap Consistency Checking): Update.
30922 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
30924 2017-08-30 Florian Weimer <fweimer@redhat.com>
30926 Do not scale NPTL tests with available number of CPUs.
30927 * nptl/tst-cond16.c (count): Set to constant value of 8.
30928 * nptl/tst-cond18.c (count): Likewise.
30930 2017-08-29 Joseph Myers <joseph@codesourcery.com>
30933 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
30934 Define to take a second argument that is a macro that
30935 concatentates a suffix, not the suffix itself.
30936 (__CONCAT_d): New macro.
30937 (__CONCAT_f): Likewise.
30938 (__CONCAT_l): Likewise.
30940 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
30942 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
30945 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30946 Aurelien Jarno <aurelien@aurel32.net>
30947 Maciej W. Rozycki <macro@imgtec.com>
30950 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
30951 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
30952 `mips16-syscall6' and `mips16-syscall7'.
30953 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
30954 (CFLAGS-mips16-syscall7.c): Remove.
30955 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
30956 Remove `__mips16_syscall5', `__mips16_syscall6' and
30957 `__mips16_syscall7'.
30958 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
30959 (__mips16_syscall0): Rename `__mips16_syscall_return' to
30960 `__mips_syscall_return'.
30961 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
30962 (__mips16_syscall1): Likewise.
30963 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
30964 (__mips16_syscall2): Likewise.
30965 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
30966 (__mips16_syscall3): Likewise.
30967 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
30968 (__mips16_syscall4): Likewise.
30969 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
30971 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
30973 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
30975 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
30976 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
30977 `__mips16_syscall5'. Remove prototype.
30978 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
30979 `__mips16_syscall6'. Remove prototype.
30980 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
30981 `__mips16_syscall7'. Remove prototype.
30982 (__nomips16, __mips16_syscall_return): Move to...
30983 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
30984 (__nomips16, __mips_syscall_return): ... here.
30985 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
30986 `__mips16_syscall_return' to `__mips_syscall_return'.
30987 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
30988 `internal_syscall##nr'.
30989 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
30990 `internal_syscall##nr'.
30991 (FORCE_FRAME_POINTER): Remove.
30992 (__mips_syscall5): New prototype.
30993 (internal_syscall5): Rewrite to call `__mips_syscall5'.
30994 (__mips_syscall6): New prototype.
30995 (internal_syscall6): Rewrite to call `__mips_syscall6'.
30996 (__mips_syscall7): New prototype.
30997 (internal_syscall7): Rewrite to call `__mips_syscall7'.
30998 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
30999 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
31000 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
31001 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
31002 (sysdep_routines): Add libc-do-syscall.
31003 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
31004 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
31006 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31009 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
31010 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
31011 (advise_stack_range): New function.
31012 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
31013 stack non required to advise_stack_range at allocatestack.c
31015 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31017 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
31019 2017-08-29 Florian Weimer <fweimer@redhat.com>
31022 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
31023 __end_fct. Mangle __end_fct after setting it to NULL.
31024 * iconv/Makefile (tests): Add tst-gconv-init-failure.
31025 (modules-names, modules-names-tests): Add
31026 tst-gconv-init-failure-mod.
31027 (gconv-modules): New target.
31028 (tst-gconv-init-failure-mod.so): Link against libsupport.
31029 (tst-gconv-init-failure): Depend on gconv-modules,
31030 tst-gconv-init-failure-mod.so.
31031 * iconv/tst-gconv-init-failure-mod.c: New file.
31032 * iconv/tst-gconv-init-failure.c: Likewise.
31033 * iconv/test-gconv-modules: Likewise.
31035 2017-08-29 Florian Weimer <fweimer@redhat.com>
31038 * iconv/gconv_db.c (free_derivation): Remove redundant
31040 (gen_steps): Unconditionally mangle __btowc_fct after
31042 (increment_counter): Likewise. Do not call init_fct for internal
31045 2017-08-29 Joseph Myers <joseph@codesourcery.com>
31048 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31049 (_MSUF_): Remove macro.
31050 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
31052 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31053 (__REDIRFROM_X): New macro.
31054 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
31056 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
31057 (__REDIRTO_X): Likewise.
31058 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
31060 (__MATH_REDIRCALL_2): Likewise.
31061 (__MATH_REDIRCALL_INTERNAL): Likewise.
31062 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31063 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
31064 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
31065 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31066 * math/test-finite-macros.c: New file.
31067 * math/Makefile (tests): Add test-finite-macros.
31068 (CFLAGS-test-finite-macros.c): New variable.
31070 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
31071 Jeff Law <law@redhat.com>
31074 Mangle NULL pointers in iconv/gconv.
31075 * iconv/gconv_cache.c (find_module): Demangle init_fct before
31076 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
31077 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
31078 is non-NULL before demangling the end_fct. Check for NULL
31079 end_fct after demangling.
31080 (__gconv_release_step): Demangle the end_fct before checking
31081 it for NULL. Remove assert on __shlibc_handle != NULL.
31082 (gen_steps): Don't check btowc_fct for NULL before mangling.
31083 Demangle init_fct before checking for NULL.
31084 (increment_counter): Likewise.
31085 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
31086 end_fct for NULL before mangling.
31087 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
31090 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
31093 * locale/iso-639.def: add Morisyen.
31095 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31098 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
31099 (iszero): New C++ implementation that does not use
31100 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
31101 signaling nans are enabled, since __builtin_types_compatible_p
31102 is a C-only feature.
31103 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
31104 defined, include ieee754_float128.h for access to the union and
31105 member ieee854_float128.ieee.
31106 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
31107 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
31108 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
31109 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
31110 options of test-math-zero on powerpc64le.
31112 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
31114 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
31115 Change double to float.
31117 2017-08-28 Joseph Myers <joseph@codesourcery.com>
31119 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
31121 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
31122 conditional code; define contents only for [LIBM_SVID_COMPAT].
31124 2017-08-28 Florian Weimer <fweimer@redhat.com>
31126 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
31127 (abi-lp64_be-options): Remove.
31128 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
31129 (abi-hard-options): Likewise.
31130 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
31131 (abi-o32_hard-options, abi-o32_soft_2008-options)
31132 (abi-o32_hard_2008-options, abi-n32_soft-options)
31133 (abi-n32_hard-options, abi-n32_soft_2008-options)
31134 (abi-n32_hard_2008-options, abi-n64_soft-options)
31135 (abi-n64_hard-options, abi-n64_soft_2008-options)
31136 (abi-n64_hard_2008-options): Likewise.
31137 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
31138 (abi-64-v1-options, abi-64-v2-options): Likewise.
31139 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
31140 (abi-64-options): Likewise.
31141 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
31142 (abi-64-options): Likewise.
31143 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
31144 (abi-64-options): Likewise.
31145 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
31146 (abi-64-options, abi-x32-options): Likewise.
31148 2017-08-28 Florian Weimer <fweimer@redhat.com>
31150 Store supported list of SYS_* system calls in the source tree.
31151 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
31152 (bits/syscall.h): Generate from list file.
31153 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
31154 [$(subdir) = misc] (tests): Add tst-syscall-list.
31155 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
31156 [$(subdir) = misc] (tst-syscall-list-macros.list)
31157 [$(subdir) = misc] (tst-syscall-list-nr.list)
31158 (tst-syscall-list-sys.list): Helper targets for new
31159 tst-syscall-list test.
31160 [$(subdir) = misc] (tst-syscall-list.out): Run test script
31161 tst-syscall-list.sh.
31162 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
31163 target. Do not include bits/syscall.d.
31164 [$(subdir) = misc] (generated): Do not update.
31165 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
31166 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
31167 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
31168 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
31170 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
31172 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
31173 (tst-cxa_atexit, tst-on_exit): Likewise.
31174 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
31175 tst-cxa_atexit, and tst-on_exit.
31176 * stdlib/tst-atexit-common.c: New file.
31177 * stdlib/tst-atexit.c: New file.
31178 * stdlib/tst-at_quick_exit.c: New file.
31179 * stdlib/tst-cxa_atexit.c: New file.
31180 * stdlib/tst-on_exit.c: New file.
31182 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
31184 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
31185 * mach/stack_chk_fail_local.c: New file.
31186 * hurd/stack_chk_fail_local.c: New file.
31187 * mach/Machrules ($(interface-library)-routines): Add
31188 stack_chk_fail_local.
31189 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
31190 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
31191 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
31192 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
31193 * hurd/Makefile (CFLAGS-hurdstartup.o,
31194 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
31196 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
31198 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
31199 (index_cpu_*, index_arch_*): Removed.
31201 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31203 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
31204 Use uint64_t instead of unsigned long.
31206 2017-08-25 Joseph Myers <joseph@codesourcery.com>
31208 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
31209 [__HAVE_DISTINCT_FLOAT128].
31211 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
31212 of <bits/math-finite.h>.
31213 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
31214 inclusion of <bits/math-finite.h>.
31215 * math/bits/math-finite.h (__REDIRTO_X): Do not define
31216 conditionally on [__MATH_DECLARING_LDOUBLE && defined
31217 __NO_LONG_DOUBLE_MATH].
31218 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
31219 (__MATH_REDIRCALL_2): Likewise.
31220 (__MATH_REDIRCALL_INTERNAL): Likewise.
31221 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31222 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
31223 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
31227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
31229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
31231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
31233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
31235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
31237 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31238 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31239 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31240 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
31242 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
31243 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
31244 w_sqrtf_compat-ppc32.
31246 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31248 * math/math.h [defined __cplusplus] (issignaling): In the long
31249 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
31250 is not defined. Call __issignaling, otherwise.
31252 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31254 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
31255 syscall definitions and replace __builtin_expect with __glibc_likely.
31256 * sysdeps/unix/syscall-template.S: Update comment about cancellable
31258 (SYSCALL_CANCELLABLE): Removedefinition
31259 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
31261 (PSEUDO_END): Likewise.
31262 [IS_IN (libpthread)] (CENABLE): Likewise.
31263 [IS_IN (libpthread)] (CDISABLE): Likewise.
31264 [IS_IN (libc)] (CENABLE): Likewise.
31265 [IS_IN (libc)] (CENABLE): Likewise.
31266 [IS_IN (librt)] (CDISABLE): Likewise.
31267 [IS_IN (librt)] (CDISABLE): Likewise.
31268 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31269 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
31271 (PSEUDO_END): Likewise.
31272 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
31273 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
31274 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31275 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31276 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31277 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31278 (CENABLE): Likewise.
31279 (CDISABLE): Likewise.
31280 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31281 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
31283 (PSEUDO_END): Likewise.
31284 [IS_IN (libpthread)] (CENABLE): Likewise.
31285 [IS_IN (libpthread)] (CDISABLE): Likewise.
31286 [IS_IN (libc)] (CENABLE): Likewise.
31287 [IS_IN (libc)] (CENABLE): Likewise.
31288 [IS_IN (librt)] (CDISABLE): Likewise.
31289 [IS_IN (librt)] (CDISABLE): Likewise.
31290 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31291 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
31293 (PSEUDO_END): Likewise.
31294 [IS_IN (libpthread)] (CENABLE): Likewise.
31295 [IS_IN (libpthread)] (CDISABLE): Likewise.
31296 [IS_IN (libc)] (CENABLE): Likewise.
31297 [IS_IN (libc)] (CENABLE): Likewise.
31298 [IS_IN (librt)] (CDISABLE): Likewise.
31299 [IS_IN (librt)] (CDISABLE): Likewise.
31300 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31301 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
31303 (PSEUDO_END): Likewise.
31304 [IS_IN (libpthread)] (CENABLE): Likewise.
31305 [IS_IN (libpthread)] (CDISABLE): Likewise.
31306 [IS_IN (libc)] (CENABLE): Likewise.
31307 [IS_IN (libc)] (CENABLE): Likewise.
31308 [IS_IN (librt)] (CDISABLE): Likewise.
31309 [IS_IN (librt)] (CDISABLE): Likewise.
31310 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31311 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
31313 (PSEUDO_END): Likewise.
31314 [IS_IN (libpthread)] (CENABLE): Likewise.
31315 [IS_IN (libpthread)] (CDISABLE): Likewise.
31316 [IS_IN (libc)] (CENABLE): Likewise.
31317 [IS_IN (libc)] (CENABLE): Likewise.
31318 [IS_IN (librt)] (CDISABLE): Likewise.
31319 [IS_IN (librt)] (CDISABLE): Likewise.
31320 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31321 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
31323 (PSEUDO_END): Likewise.
31324 [IS_IN (libpthread)] (CENABLE): Likewise.
31325 [IS_IN (libpthread)] (CDISABLE): Likewise.
31326 [IS_IN (libc)] (CENABLE): Likewise.
31327 [IS_IN (libc)] (CENABLE): Likewise.
31328 [IS_IN (librt)] (CDISABLE): Likewise.
31329 [IS_IN (librt)] (CDISABLE): Likewise.
31330 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31331 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
31333 (PSEUDO_END): Likewise.
31334 [IS_IN (libpthread)] (CENABLE): Likewise.
31335 [IS_IN (libpthread)] (CDISABLE): Likewise.
31336 [IS_IN (libc)] (CENABLE): Likewise.
31337 [IS_IN (libc)] (CENABLE): Likewise.
31338 [IS_IN (librt)] (CDISABLE): Likewise.
31339 [IS_IN (librt)] (CDISABLE): Likewise.
31340 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31341 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
31343 (PSEUDO_END): Likewise.
31344 [IS_IN (libpthread)] (CENABLE): Likewise.
31345 [IS_IN (libpthread)] (CDISABLE): Likewise.
31346 [IS_IN (libc)] (CENABLE): Likewise.
31347 [IS_IN (libc)] (CENABLE): Likewise.
31348 [IS_IN (librt)] (CDISABLE): Likewise.
31349 [IS_IN (librt)] (CDISABLE): Likewise.
31350 (SINGLE_THREAD_P): Likewise.
31351 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
31353 (PSEUDO_END): Likewise.
31354 [IS_IN (libpthread)] (CENABLE): Likewise.
31355 [IS_IN (libpthread)] (CDISABLE): Likewise.
31356 [IS_IN (libc)] (CENABLE): Likewise.
31357 [IS_IN (libc)] (CENABLE): Likewise.
31358 [IS_IN (librt)] (CDISABLE): Likewise.
31359 [IS_IN (librt)] (CDISABLE): Likewise.
31360 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31361 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
31363 (PSEUDO_END): Likewise.
31364 [IS_IN (libpthread)] (CENABLE): Likewise.
31365 [IS_IN (libpthread)] (CDISABLE): Likewise.
31366 [IS_IN (libc)] (CENABLE): Likewise.
31367 [IS_IN (libc)] (CENABLE): Likewise.
31368 [IS_IN (librt)] (CDISABLE): Likewise.
31369 [IS_IN (librt)] (CDISABLE): Likewise.
31370 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31371 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
31372 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
31373 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
31374 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
31376 (PSEUDO_END): Likewise.
31377 [IS_IN (libpthread)] (CENABLE): Likewise.
31378 [IS_IN (libpthread)] (CDISABLE): Likewise.
31379 [IS_IN (libc)] (CENABLE): Likewise.
31380 [IS_IN (libc)] (CENABLE): Likewise.
31381 [IS_IN (librt)] (CDISABLE): Likewise.
31382 [IS_IN (librt)] (CDISABLE): Likewise.
31383 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31384 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
31386 (PSEUDO_END): Likewise.
31387 [IS_IN (libpthread)] (CENABLE): Likewise.
31388 [IS_IN (libpthread)] (CDISABLE): Likewise.
31389 [IS_IN (libc)] (CENABLE): Likewise.
31390 [IS_IN (libc)] (CENABLE): Likewise.
31391 [IS_IN (librt)] (CDISABLE): Likewise.
31392 [IS_IN (librt)] (CDISABLE): Likewise.
31393 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31394 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
31396 (PSEUDO_END): Likewise.
31397 [IS_IN (libpthread)] (CENABLE): Likewise.
31398 [IS_IN (libpthread)] (CDISABLE): Likewise.
31399 [IS_IN (libc)] (CENABLE): Likewise.
31400 [IS_IN (libc)] (CENABLE): Likewise.
31401 [IS_IN (librt)] (CDISABLE): Likewise.
31402 [IS_IN (librt)] (CDISABLE): Likewise.
31403 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31404 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
31405 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
31406 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
31407 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
31409 (PSEUDO_END): Likewise.
31410 [IS_IN (libpthread)] (CENABLE): Likewise.
31411 [IS_IN (libpthread)] (CDISABLE): Likewise.
31412 [IS_IN (libc)] (CENABLE): Likewise.
31413 [IS_IN (libc)] (CENABLE): Likewise.
31414 [IS_IN (librt)] (CDISABLE): Likewise.
31415 [IS_IN (librt)] (CDISABLE): Likewise.
31416 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31417 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
31419 (PSEUDO_END): Likewise.
31420 [IS_IN (libpthread)] (CENABLE): Likewise.
31421 [IS_IN (libpthread)] (CDISABLE): Likewise.
31422 [IS_IN (libc)] (CENABLE): Likewise.
31423 [IS_IN (libc)] (CENABLE): Likewise.
31424 [IS_IN (librt)] (CDISABLE): Likewise.
31425 [IS_IN (librt)] (CDISABLE): Likewise.
31426 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31428 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
31430 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
31432 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31434 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31436 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31439 * string/stratcliff.c (do_test): Declare size, nchars, inner,
31440 middle and outer with size_t instead of int. Repleace %d and
31441 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
31442 "MAX (outer, nchars - 64)" to support unsigned outer and
31443 nchars. Also exit loop when outer == 0.
31445 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31447 * include/fcntl.h (__fcntl_nocancel): Remove definition.
31448 * include/signal.h (__sigsuspend_nocancel): Likewise.
31449 * include/time.h (__nanosleep_nocancel): Likewise.
31450 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
31451 * login/utmp_file.c: Include non cancellable syscall header.
31452 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
31455 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31457 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
31458 .byte sequences with AVX512F instructions.
31459 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
31460 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
31461 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
31462 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
31464 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
31467 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
31468 Steve Ellcey <sellcey@cavium.com>
31470 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
31471 Use PTR_REG macro in cmp instruction.
31473 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31475 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
31476 Change the return type of the ifunc resolver to match the return
31477 type of the target function.
31479 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31481 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
31482 (preadv64): Likewise.
31483 (pwrite64(: Likewise.
31484 (pwritev64): Likewise.
31486 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
31487 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
31488 (LOAD_ARGS_0): Likewise.
31489 (LOAD_ARGS_1): Likewise.
31490 (LOAD_ARGS_2): Likewise.
31491 (LOAD_ARGS_3): Likewise.
31492 (LOAD_ARGS_4): Likewise.
31493 (LOAD_ARGS_5): Likewise.
31494 (LOAD_ARGS_6): Likewise.
31495 (LOAD_REGS_0): Likewise.
31496 (LOAD_REGS_1): Likewise.
31497 (LOAD_REGS_2): Likewise.
31498 (LOAD_REGS_3): Likewise.
31499 (LOAD_REGS_4): Likewise.
31500 (LOAD_REGS_5): Likewise.
31501 (LOAD_REGS_6): Likewise.
31502 (ASM_ARGS_0): Likewise.
31503 (ASM_ARGS_1): Likewise.
31504 (ASM_ARGS_2): Likewise.
31505 (ASM_ARGS_3): Likewise.
31506 (ASM_ARGS_4): Likewise.
31507 (ASM_ARGS_5): Likewise.
31508 (ASM_ARGS_6): Likewise.
31509 (LOAD_ARGS_TYPES_1): Likewise.
31510 (LOAD_ARGS_TYPES_2): Likewise.
31511 (LOAD_ARGS_TYPES_3): Likewise.
31512 (LOAD_ARGS_TYPES_4): Likewise.
31513 (LOAD_ARGS_TYPES_5): Likewise.
31514 (LOAD_ARGS_TYPES_6): Likewise.
31515 (LOAD_REGS_TYPES_1): Likewise.
31516 (LOAD_REGS_TYPES_2): Likewise.
31517 (LOAD_REGS_TYPES_3): Likewise.
31518 (LOAD_REGS_TYPES_4): Likewise.
31519 (LOAD_REGS_TYPES_5): Likewise.
31520 (LOAD_REGS_TYPES_6): Likewise.
31521 (TYPEFY): New define.
31522 (ARGIFY): Likewise.
31523 (internal_syscall0): Likewise.
31524 (internal_syscall1): Likewise.
31525 (internal_syscall2): Likewise.
31526 (internal_syscall3): Likewise.
31527 (internal_syscall4): Likewise.
31528 (internal_syscall5): Likewise.
31529 (internal_syscall6): Likewise.
31530 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
31531 (INTERNAL_SYSCALL_NCS): Remove define.
31532 (internal_syscall1): Add define.
31534 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31536 * math/w_remainder_compat.c: Remove duplicate inclusion of
31537 math-svid-compat.h.
31538 * math/w_remainderf_compat.c: Likewise.
31539 * math/w_remainderl_compat.c: Likewise.
31541 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31543 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31545 2017-08-22 Joseph Myers <joseph@codesourcery.com>
31548 * math/tgmath.h (__floating_type): Simplify definitions.
31549 (__real_integer_type): New macro.
31550 (__complex_integer_type): Likewise.
31551 (__expr_is_real): Likewise.
31552 (__tgmath_real_type_sub): Update comment to describe handling of
31554 (__tgmath_complex_type_sub): New macro.
31555 (__tgmath_complex_type): Likewise.
31556 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31557 (__TGMATH_CF128): Use __expr_is_real.
31558 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
31560 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31561 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
31562 * math/gen-tgmath-tests.py (Type.create_type): Create complex
31565 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31567 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
31569 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
31571 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
31574 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
31575 nanosleep_not_cancel with __nanosleep_nocancel.
31576 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
31577 (__nanosleep_nocancel): New macro.
31578 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
31580 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
31582 (__nanosleep_nocancel): New prototype.
31584 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
31585 pause_not_cancel with __pause_nocancel.
31586 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
31587 (__pause_nocancel): New macro.
31588 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
31590 (__pause_nocancel): New prototype.
31591 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
31593 2017-08-22 Martin Sebor <msebor@redhat.com>
31595 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
31596 to return a pointer to the same type as the target function.
31598 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
31602 * include/printf.h (__printf_fphex): Add attribute_hidden.
31603 (__guess_grouping): New prototype.
31604 * stdio-common/printf_fp.c (__guess_grouping): Removed.
31605 * stdio-common/reg-printf.c (__register_printf_specifier): Add
31606 libc_hidden_proto and libc_hidden_def.
31607 * stdlib/strfmon_l.c (__guess_grouping): Removed.
31608 (__vstrfmon_l): Remove the third argument passed to
31611 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31613 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
31614 definition for issignaling that does not rely on __MATH_TG,
31615 since __MATH_TG uses __builtin_types_compatible_p, which is only
31616 available in C mode.
31617 (CFLAGS-test-math-issignaling.cc): New variable.
31618 * math/Makefile [CXX] (tests): Add test-math-issignaling.
31619 * math/test-math-issignaling.cc: New test for C++ implementation
31620 of type-generic issignaling.
31621 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
31622 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
31623 options of test-math-issignaling on powerpc64le.
31625 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
31627 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31629 (hidden_proto): Likewise.
31630 (hidden_tls_proto): Likewise.
31631 (__hidden_proto): Likewise.
31633 2017-08-22 Florian Weimer <fweimer@redhat.com>
31635 math: Statically link tests of internal functionality.
31636 * math/Makefile (tests): Remove atest-exp, atest-sincos,
31638 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
31639 (gmp-objs): Remove assignment.
31640 (atest-exp, atest-sincos, atest-exp2): Remove targets.
31642 2017-08-22 Joseph Myers <joseph@codesourcery.com>
31645 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
31647 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
31649 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
31652 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
31653 variable definitions above inclusion of ../Rules.
31655 2017-08-21 Joseph Myers <joseph@codesourcery.com>
31657 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
31658 case calling __builtin_unreachable.
31660 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31662 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
31663 __waitpid_nocancel.
31664 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
31665 (__waitpid_nocancel): New macro.
31666 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
31668 (__waitpid_nocancel): Replace macro with a function.
31669 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
31672 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
31674 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
31675 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
31677 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
31678 __writev_nocancel_nostatus.
31679 (write_call_graph): Likewise.
31680 (write_bb_counts): Likewise.
31681 * resolv/herror.c (herror): Likewise.
31682 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
31684 (__writev_nocancel_nostatus): New macro.
31685 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
31687 (__writev_nocancel_nostatus): New function.
31689 2017-08-21 Joseph Myers <joseph@codesourcery.com>
31692 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31694 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31696 (hidden_proto): Likewise.
31697 (hidden_tls_proto): Likewise.
31698 (__hidden_proto): Likewise.
31701 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
31702 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
31707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
31711 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
31712 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31713 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31714 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31715 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31716 GLIBC_2.0 sqrtl symbol.
31718 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
31719 [__USE_MISC] (_LIB_VERSION): Likewise.
31720 [__USE_MISC] (struct exception): Likewise.
31721 [__USE_MISC] (matherr): Likewise.
31722 [__USE_MISC] (DOMAIN): Likewise.
31723 [__USE_MISC] (SING): Likewise.
31724 [__USE_MISC] (OVERFLOW): Likewise.
31725 [__USE_MISC] (UNDERFLOW): Likewise.
31726 [__USE_MISC] (TLOSS): Likewise.
31727 [__USE_MISC] (PLOSS): Likewise.
31728 [__USE_MISC] (HUGE): Likewise.
31729 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
31730 * math/math-svid-compat.h: New file.
31731 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
31733 * include/math.h [!_ISOMAC] (__matherr): Remove.
31734 * manual/arith.texi (FP Exceptions): Do not document matherr.
31735 * math/Makefile (tests): Change test-matherr to test-matherr-3.
31736 (tests-internal): New variable.
31737 (install-lib): Do not add libieee.a.
31738 (non-lib.a): Likewise.
31739 (extra-objs): Do not add libieee.a and ieee-math.o.
31740 (CPPFLAGS-s_lib_version.c): Remove variable.
31741 ($(objpfx)libieee.a): Remove rule.
31742 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
31743 * math/ieee-math.c: Remove.
31744 * math/libm-test-support.c (matherr): Remove.
31745 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
31746 and license notices. Include <math-svid-compat.h> and
31748 (matherr): Undefine as macro. Use compat_symbol_reference.
31749 (_LIB_VERSION): Likewise.
31750 * math/test-matherr-2.c: New file.
31751 * math/test-matherr-3.c: Likewise.
31752 * sysdeps/generic/math_private.h (__kernel_standard): Remove
31754 (__kernel_standard_f): Likewise.
31755 (__kernel_standard_l): Likewise.
31756 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
31757 <math_private.h>. Include <math-svid-compat.h>.
31758 (_LIB_VERSION): Undefine as macro.
31759 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
31760 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
31761 [LIBM_SVID_COMPAT], use compat_symbol.
31762 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
31763 <math_private.h>. Include <math-svid-compat.h>.
31764 (matherr): Undefine as macro.
31765 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
31767 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
31768 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
31769 compat_symbol_reference.
31770 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
31771 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
31772 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
31773 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
31774 (MATHERR_D): Remove declaration.
31775 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
31776 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
31777 [LIBM_BUILD] (pmatherrf): Likewise.
31778 [LIBM_BUILD] (pmatherr): Likewise.
31779 [LIBM_BUILD] (pmatherrl): Likewise.
31780 (DOMAIN): Likewise.
31782 (OVERFLOW): Likewise.
31783 (UNDERFLOW): Likewise.
31786 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
31787 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
31789 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
31790 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
31792 * math/lgamma-compat.h: Include <math-svid-compat.h>.
31793 * math/w_acos_compat.c: Likewise.
31794 * math/w_acosf_compat.c: Likewise.
31795 * math/w_acosh_compat.c: Likewise.
31796 * math/w_acoshf_compat.c: Likewise.
31797 * math/w_acoshl_compat.c: Likewise.
31798 * math/w_acosl_compat.c: Likewise.
31799 * math/w_asin_compat.c: Likewise.
31800 * math/w_asinf_compat.c: Likewise.
31801 * math/w_asinl_compat.c: Likewise.
31802 * math/w_atan2_compat.c: Likewise.
31803 * math/w_atan2f_compat.c: Likewise.
31804 * math/w_atan2l_compat.c: Likewise.
31805 * math/w_atanh_compat.c: Likewise.
31806 * math/w_atanhf_compat.c: Likewise.
31807 * math/w_atanhl_compat.c: Likewise.
31808 * math/w_cosh_compat.c: Likewise.
31809 * math/w_coshf_compat.c: Likewise.
31810 * math/w_coshl_compat.c: Likewise.
31811 * math/w_exp10_compat.c: Likewise.
31812 * math/w_exp10f_compat.c: Likewise.
31813 * math/w_exp10l_compat.c: Likewise.
31814 * math/w_exp2_compat.c: Likewise.
31815 * math/w_exp2f_compat.c: Likewise.
31816 * math/w_exp2l_compat.c: Likewise.
31817 * math/w_fmod_compat.c: Likewise.
31818 * math/w_fmodf_compat.c: Likewise.
31819 * math/w_fmodl_compat.c: Likewise.
31820 * math/w_hypot_compat.c: Likewise.
31821 * math/w_hypotf_compat.c: Likewise.
31822 * math/w_hypotl_compat.c: Likewise.
31823 * math/w_j0_compat.c: Likewise.
31824 * math/w_j0f_compat.c: Likewise.
31825 * math/w_j0l_compat.c: Likewise.
31826 * math/w_j1_compat.c: Likewise.
31827 * math/w_j1f_compat.c: Likewise.
31828 * math/w_j1l_compat.c: Likewise.
31829 * math/w_jn_compat.c: Likewise.
31830 * math/w_jnf_compat.c: Likewise.
31831 * math/w_jnl_compat.c: Likewise.
31832 * math/w_lgamma_main.c: Likewise.
31833 * math/w_lgamma_r_compat.c: Likewise.
31834 * math/w_lgammaf_main.c: Likewise.
31835 * math/w_lgammaf_r_compat.c: Likewise.
31836 * math/w_lgammal_main.c: Likewise.
31837 * math/w_lgammal_r_compat.c: Likewise.
31838 * math/w_log10_compat.c: Likewise.
31839 * math/w_log10f_compat.c: Likewise.
31840 * math/w_log10l_compat.c: Likewise.
31841 * math/w_log2_compat.c: Likewise.
31842 * math/w_log2f_compat.c: Likewise.
31843 * math/w_log2l_compat.c: Likewise.
31844 * math/w_log_compat.c: Likewise.
31845 * math/w_logf_compat.c: Likewise.
31846 * math/w_logl_compat.c: Likewise.
31847 * math/w_pow_compat.c: Likewise.
31848 * math/w_powf_compat.c: Likewise.
31849 * math/w_powl_compat.c: Likewise.
31850 * math/w_remainder_compat.c: Likewise.
31851 * math/w_remainderf_compat.c: Likewise.
31852 * math/w_remainderl_compat.c: Likewise.
31853 * math/w_scalb_compat.c: Likewise.
31854 * math/w_scalbf_compat.c: Likewise.
31855 * math/w_scalbl_compat.c: Likewise.
31856 * math/w_sinh_compat.c: Likewise.
31857 * math/w_sinhf_compat.c: Likewise.
31858 * math/w_sinhl_compat.c: Likewise.
31859 * math/w_sqrt_compat.c: Likewise.
31860 * math/w_sqrtf_compat.c: Likewise.
31861 * math/w_sqrtl_compat.c: Likewise.
31862 * math/w_tgamma_compat.c: Likewise.
31863 * math/w_tgammaf_compat.c: Likewise.
31864 * math/w_tgammal_compat.c: Likewise.
31865 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
31866 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31867 * sysdeps/ieee754/k_standard.c: Likewise.
31868 * sysdeps/ieee754/k_standardf.c: Likewise.
31869 * sysdeps/ieee754/k_standardl.c: Likewise.
31870 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31871 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31872 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31873 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31874 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31875 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31876 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31877 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
31878 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31883 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
31884 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31885 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31886 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31888 2017-08-21 Florian Weimer <fweimer@redhat.com>
31891 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
31892 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
31893 Move before inclusion of ../Rules.
31895 2017-08-21 Florian Weimer <fweimer@redhat.com>
31898 * assert/assert.h (assert): Use static_cast (bool) for C++.
31899 Use the ternary operator in the warning branch for GNU C.
31900 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
31901 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
31902 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
31903 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
31904 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
31906 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31909 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31910 (__syscall_clock_gettime): Add attribute_hidden.
31911 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
31912 (__start_context): Likewise.
31914 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31916 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31918 (hidden_proto): Likewise.
31919 (hidden_tls_proto): Likewise.
31920 (__hidden_proto): Likewise.
31922 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31924 * include/libc-symbols.h (attribute_hidden): Enable hidden
31925 visibility in libc.a compiled with PIE.
31927 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31930 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
31931 Add attribute_hidden.
31933 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31936 * Makerules (all-nonlib): Add $(others-extras).
31937 * catgets/Makefile (others-extras): New.
31938 * elf/Makefile (others-extras): Likewise.
31939 * nss/Makefile (others-extras): Likewise.
31941 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31944 * csu/libc-start.c (__libc_multiple_libcs): Removed.
31945 * elf/dl-open.c: Include <libc-internal.h>.
31946 (__libc_multiple_libcs): Removed.
31947 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
31949 * include/libc-internal.h (__libc_multiple_libcs): New.
31950 * misc/sbrk.c: Include <libc-internal.h>.
31951 (__libc_multiple_libcs): Removed.
31953 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31956 * grp/initgroups.c (__nss_group_database): Removed.
31957 (__nss_initgroups_database): Likewise.
31958 * nscd/gai.c (__nss_hosts_database): Likewise.
31959 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
31960 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
31961 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
31962 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
31963 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
31964 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
31966 * nss/nsswitch.c (__nss_database_custom): Define only if
31967 USE_NSCD is defined.
31968 (__nss_configure_lookup): Use __nss_database_custom only if
31969 USE_NSCD is defined.
31970 * nss/nsswitch.h (__nss_database_custom): Declare only if
31971 USE_NSCD is defined. Add attribute_hidden.
31972 (__nss_setent): Add attribute_hidden.
31973 (__nss_endent): Likewise.
31974 (__nss_getent_r): Likewise.
31975 (__nss_getent): Likewise.
31976 (DEFINE_DATABASE): Declare __nss_##arg##_database.
31978 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31981 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
31982 libc_hidden_proto and libc_hidden_def.
31984 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31987 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
31988 Add libc_hidden_proto.
31989 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
31990 Add libc_hidden_def.
31992 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31995 * gmon/Makefile (routines): Remove bb_init_func and
31997 (elide-routines.os): Removed.
31998 * gmon/bb_exit_func.c: Likewise.
31999 * gmon/bb_init_func.c: Likewise.
32000 * include/sys/gmon.h (__bb): Likewise.
32001 (__bb_init_func): Likewise.
32002 (__bb_exit_func): Likewise.
32003 * sysdeps/alpha/bb_init_func.S: Likewise.
32005 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32007 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
32008 * include/setjmp.h (____longjmp_chk): Here. Add
32011 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
32014 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
32016 (__strspn_sse2): Likewise.
32018 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32020 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
32021 (close_not_cancel_no_status): Likewise.
32022 (__close_nocancel): New macro.
32023 (__close_nocancel_nostatus): Likewise.
32024 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
32026 (close_not_cancel): Likewise.
32027 (close_not_cancel_no_status): Likewise.
32028 (__close_nocancel): New prototype.
32029 (__close_nocancel_nostatus): New function.
32030 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
32031 * catgets/open_catalog.c (__open_catalog): Replace
32032 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
32033 * gmon/gmon.c (write_gmon): Likewise.
32034 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
32035 * intl/loadmsgcat.c (close): Likewise.
32036 * io/ftw.c (open_dir_stream): Likewise.
32037 (ftw_startup): Likewise.
32038 * libio/fileops.c (_IO_file_open): Likewise.
32039 (_IO_file_close_mmap): Likewise.
32040 (_IO_file_close): Likewise.
32041 * libio/iopopen.c (_IO_dup2): Likewise.
32042 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32043 * locale/loadlocale.c (_nl_load_locale): Likewise.
32044 * login/utmp_file.c (pututline_file): Likewise.
32045 (endutent_file): Likewise.
32046 * misc/daemon.c (daemon): Likewise.
32047 * nscd/nscd_getai.c (__nscd_getai): Likewise.
32048 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32049 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
32050 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32051 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32052 * nscd/nscd_helper.c (open_socket): Likewise.
32053 (__nscd_open_socket): Likewise.
32054 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
32055 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
32056 (__nscd_innetgr): Likewise.
32057 * nss/nss_db/db-open.c (internal_setent): Likewise.
32058 * resolv/res-close.c (__res_iclose): Likewise.
32059 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
32060 * sysdeps/posix/closedir.c (__closedir): Likewise.
32061 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
32062 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32063 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32064 (opendir_tail): Likewise.
32065 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32066 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
32067 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
32068 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32069 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32070 (gethostid): Likewise.
32071 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32072 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32074 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32075 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
32076 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32077 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32079 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
32080 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
32081 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32083 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
32084 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32086 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32088 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32089 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32090 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32093 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
32094 (openat_not_cancel_3): Likewise.
32095 (openat64_not_cancel_3): Likewise).
32096 (openat_not_cancel_3): Likewise).
32097 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
32099 (openat_not_cancel_3): Likewise.
32100 (openat64_not_cancel): Likewise.
32101 (openat64_not_cancel_3): Likewise.
32102 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
32103 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
32104 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
32105 __open{64}_nocancel.
32106 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32107 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32108 * sysdeps/posix/opendir.c (__opendirat): Likewise.
32110 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32113 * include/argz.h (__argz_create_sep): New function prototype.
32114 (__argz_append): Likewise.
32115 (__argz_add): Likewise.
32116 (__argz_add_sep): Likewise.
32117 (__argz_delete): Likewise.
32118 (__argz_insert): Likewise.
32119 (__argz_replace): Likewise.
32120 * string/argz.h (__argz_create_sep): Removed.
32121 (__argz_append): Likewise.
32122 (__argz_add): Likewise.
32123 (__argz_add_sep): Likewise.
32124 (__argz_delete): Likewise.
32125 (__argz_insert): Likewise.
32126 (__argz_replace): Likewise.
32128 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32130 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
32131 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
32132 (GNU_PROPERTY_STACK_SIZE): Likewie.
32133 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
32134 (GNU_PROPERTY_LOPROC): Likewise.
32135 (GNU_PROPERTY_HIPROC): Likewise.
32136 (GNU_PROPERTY_LOUSER): Likewise.
32137 (GNU_PROPERTY_HIUSER): Likewise.
32138 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
32139 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
32140 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
32141 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
32142 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
32143 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
32144 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
32145 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
32146 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
32147 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
32148 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
32149 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
32150 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
32151 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
32152 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
32153 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
32154 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
32155 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
32156 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
32157 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
32158 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
32159 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
32160 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
32162 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32164 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
32167 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32170 * math/math.h (isinf): Check if in C or C++ mode before using
32171 __builtin_types_compatible_p, since this is a C mode feature.
32173 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32175 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
32176 (__write_nocancel): New macro.
32177 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
32178 Rewrite as a function prototype.
32179 (write_not_cancel): Remove macro.
32180 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
32181 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
32182 (write_gmon): Likewise.
32183 * libio/fileops.c (_IO_new_file_write): Likewise.
32184 * login/utmp_file.c (pututline_file): Likewise.
32185 (updwtmp_file): Likewise.
32186 * stdio-common/psiginfo.c (psiginfo): Likewise.
32187 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32188 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32189 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32191 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32194 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
32195 (__read_nocancel): New macro.
32196 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32198 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
32200 (__read_nocancel): New prototype.
32201 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
32202 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
32203 with __read_nocancel.
32204 * intl/loadmsgcat.c (read): Likewise.
32205 * libio/fileops.c (_IO_file_read): Likewise.
32206 * locale/loadlocale.c (_nl_load_locale): Likewise.
32207 * login/utmp_file.c (getutent_r_file): Likewise.
32208 (internal_getut_r): Likewise.
32209 (getutline_r_file): Likewise.
32210 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32211 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32212 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32213 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32215 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
32216 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32217 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32219 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32221 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32223 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32225 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32227 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32230 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
32231 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
32234 2017-08-17 DJ Delorie <dj@redhat.com>
32236 * bug17079.c: Update to new test harness.
32237 * test-digits-dots.c: Likewise.
32238 * test-netdb.c: Likewise.
32239 * tst-field.c: Likewise.
32240 * tst-nss-getpwent.c: Likewise.
32241 * tst-nss-static.c: Likewise.
32242 * tst-nss-test1.c: Likewise.
32243 * tst-nss-test2.c: Likewise.
32244 * tst-nss-test3.c: Likewise.
32245 * tst-nss-test4.c: Likewise.
32246 * tst-nss-test5.c: Likewise.
32248 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32250 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
32251 (open_not_cancel_2): Likewise.
32252 (open_nocancel): New macro.
32253 (open64_nocancel): Likewise.
32254 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
32255 (open_not_cancel_2): Likewise.
32256 (__open_nocancel): New prototype.
32257 (__open64_nocancel): Likewise.
32258 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32260 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
32261 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
32262 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
32263 with __open_nocancel.
32264 * csu/check_fds.c (check_one_fd): Likewise.
32265 * gmon/gmon.c (write_gmon): Likewise.
32266 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
32267 * intl/loadmsgcat.c (open): Likewise.
32268 * libio/fileops.c (_IO_file_open): Likewise.
32269 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32270 * locale/loadlocale.c (_nl_load_locale): Likewise.
32271 * login/utmp_file.c (setutent_file): Likewise.
32272 * misc/daemon.c (daemon): Likewise.
32273 * nss/nss_db/db-open.c (internal_setent): Likewise.
32274 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32275 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
32276 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32277 (__opendir): Likewise.
32278 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32279 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32280 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32281 (gethostid): Likewise.
32282 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32283 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32285 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32286 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
32287 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32288 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32290 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32292 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32294 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
32296 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32298 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32300 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32301 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32303 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
32305 * benchtests/bench-skeleton.c (main): Add support for
32306 latency benchmarking.
32307 * benchtests/scripts/bench.py: Add support for latency benchmarking.
32309 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
32311 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
32312 the startup object.
32314 2017-08-17 Florian Weimer <fweimer@redhat.com>
32316 * include/sys/socket.h (__opensock): Remove internal_function.
32317 * socket/opensock.c (__opensock): Likewise.
32318 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
32320 2017-08-16 Joseph Myers <joseph@codesourcery.com>
32323 * signal/bits/types/__sigval_t.h: New file.
32324 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
32325 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
32326 and define sigval_t using __sigval_t.
32327 * include/bits/types/__sigval_t.h: New file.
32328 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
32329 instead of <bits/types/__sigval_t.h>.
32330 (struct sigevent): Use __sigval_t instead of sigval_t.
32331 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
32332 instead of <bits/types/__sigval_t.h>.
32333 (siginfo_t): Use __sigval_t instead of sigval_t.
32334 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
32335 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32336 (struct sigevent): Use __sigval_t instead of sigval_t.
32337 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
32338 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32339 (siginfo_t): Use __sigval_t instead of sigval_t.
32340 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
32342 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32344 * NEWS: Remove "[Add new features here]" for 2.27.
32346 2017-08-16 Joseph Myers <joseph@codesourcery.com>
32348 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
32351 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32353 * NEWS: Mention x86-64 FMA optimization.
32355 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32358 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32360 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
32361 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
32362 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
32364 2017-08-16 Andreas Schwab <schwab@suse.de>
32368 * elf/ldd.bash.in: Never run file directly.
32370 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
32373 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
32374 (L(SP_INF_0)): Likewise.
32376 2017-08-15 Florian Weimer <fweimer@redhat.com>
32378 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
32381 2017-08-15 Florian Weimer <fweimer@redhat.com>
32383 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
32384 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
32385 BROKEN_THREAD_SIGNALS code.
32386 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
32387 request_list): Remove caller_pid member used for
32388 BROKEN_THREAD_SIGNALS.
32389 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
32390 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
32391 Remove BROKEN_THREAD_SIGNALS support.
32392 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
32393 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
32395 2017-08-15 Florian Weimer <fweimer@redhat.com>
32397 * gmon/Makefile (tests): Add tst-gmon.
32398 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
32400 (tests-special): Add tst-gmon-prof.out.
32401 (tst-gmon.out): Depend on clean-tst-gmon-data.
32402 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
32403 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
32404 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
32406 * aclocal.m4 (GPROF): Set and substitute.
32407 * config.amke.in (GPROF): Set.
32408 * configure: Regenerate.
32410 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
32412 * elf/elf.h A (NT_PPC_TAR): New macro.
32413 (NT_PPC_PPR): Likewise.
32414 (NT_PPC_DSCR): Likewise.
32415 (NT_PPC_EBB): Likewise.
32416 (NT_PPC_PMU): Likewise.
32417 (NT_PPC_TM_CGPR): Likewise.
32418 (NT_PPC_TM_CFPR): Likewise.
32419 (NT_PPC_TM_CVMX): Likewise.
32420 (NT_PPC_TM_CVSX): Likewise.
32421 (NT_PPC_TM_SPR): Likewise.
32422 (NT_PPC_TM_CTAR): Likewise.
32423 (NT_PPC_TM_CPPR): Likewise.
32424 (NT_PPC_TM_CDSCR): Likewise.
32426 2017-08-15 Florian Weimer <fweimer@redhat.com>
32428 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
32429 regparm (2) instead of internal_function.
32430 (_MCOUNT_DECL): Adjust.
32432 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
32434 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
32435 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
32437 2017-08-14 Joseph Myers <joseph@codesourcery.com>
32439 * conform/data/sys/wait.h-data (si_value): Do not expect for
32442 2017-08-14 Florian Weimer <fweimer@redhat.com>
32445 NSS: Create stubs for accidentally exported lookup functions.
32446 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
32447 Remove declaration.
32448 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
32449 (ether_hostton): Call __nss_ethers_lookup2 instead.
32450 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
32451 (ether_ntohost): Call __nss_ethers_lookup2 instead.
32452 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
32453 (setup): Call __nss_netgroup_lookup2 instead.
32454 * nss/Makefile (routines): Add compat-lookup.
32455 * nss/Versions (GLIBC_2.27): Add symbol version.
32456 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
32457 (DB_COMPAT_FCT): Remove.
32458 * nss/compat-lookup.c: New file.
32459 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
32460 from databases.def.
32461 * nss/service-lookup.c (NO_COMPAT): Remove definition.
32462 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
32463 (netname2user): Call __nss_publickey_lookup2 instead.
32464 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
32465 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
32468 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32469 Sergei Trofimovich <slyfox@inbox.ru>
32472 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
32473 Rename to MMAP2_PAGE_UNIT.
32474 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
32475 __OFF_T_MATCHES_OFF64_T is not defined.
32476 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
32478 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
32479 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
32481 2017-08-14 Florian Weimer <fweimer@redhat.com>
32483 i386: Do not set internal_function.
32484 * config.h.in (USE_REGPARMS, internal_function): Remove.
32485 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
32486 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
32488 2017-08-14 Florian Weimer <fweimer@redhat.com>
32490 * elf/dl-init.c (_dl_init): Remove internal_function.
32491 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
32492 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
32494 2017-08-14 Florian Weimer <fweimer@redhat.com>
32496 * elf/rtld.c (_dl_start): Remove internal_function.
32497 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
32500 2017-08-14 Florian Weimer <fweimer@redhat.com>
32502 * elf/dl-fini.c (_dl_fini): Remove internal_function
32503 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
32505 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
32507 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
32508 (bit_cpu_SHSTK): Likewise.
32509 (index_cpu_IBT): Likewise.
32510 (index_cpu_SHSTK): Likewise.
32511 (reg_IBT): Likewise.
32512 (reg_SHSTK): Likewise.
32513 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
32514 Handle index_cpu_IBT and index_cpu_SHSTK.
32516 2017-08-14 Mike FABIAN <mfabian@redhat.com>
32519 * po/fr.po: Fix spelling mistake.
32521 2017-08-13 Florian Weimer <fweimer@redhat.com>
32523 * elf/dl-addr.c (_dl_addr): Remove internal_function.
32524 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
32525 (_dl_catch_error, _dl_receive_error): Likewise.
32526 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
32527 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
32528 (_dl_deallocate_tls): Likewise.
32529 * include/dlfcn.h (_dl_addr): Likewise.
32530 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
32531 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
32532 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
32535 2017-08-13 Florian Weimer <fweimer@redhat.com>
32537 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
32538 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
32540 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
32542 2017-08-13 Florian Weimer <fweimer@redhat.com>
32544 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
32546 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
32547 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
32548 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
32549 internal_function from _dl_make_stack_executable_hook member.
32550 (_dl_make_stack_executable): Remove internal_function.
32551 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
32553 * sysdeps/unix/sysv/linux/dl-execstack.c
32554 (_dl_make_stack_executable): Likewise.
32556 2017-08-13 Florian Weimer <fweimer@redhat.com>
32558 * sysdeps/unix/sysv/linux/netlinkaccess.h
32559 (__netlink_assert_response): Remove internal_function.
32560 * sysdeps/unix/sysv/linux/netlink_assert_response.c
32561 (__netlink_assert_response): Likewise.
32563 2017-08-13 Florian Weimer <fweimer@redhat.com>
32565 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
32567 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
32569 2017-08-13 Florian Weimer <fweimer@redhat.com>
32571 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
32573 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
32574 * inet/netgroup.h (__internal_setnetgrent)
32575 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
32576 * inet/getnetgrent_r.c (__internal_setnetgrent)
32577 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
32578 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
32579 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
32580 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
32581 * nss/nsswitch.h (db_lookup_function): Likewise.
32583 2017-08-13 Florian Weimer <fweimer@redhat.com>
32585 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
32586 Remove internal_function.
32587 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
32588 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
32589 message argument on the stack.
32590 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
32593 2017-08-12 Mike FABIAN <mfabian@redhat.com>
32595 Adapt test case data to the changes in the thousands
32599 * localedata/tst-langinfo.sh: Adapt test case data.
32600 * stdlib/tst-strfmon_l.c: Likewise.
32601 * stdlib/tst-strtod4.c: Likewise.
32602 * stdlib/tst-strtod5i.c: Likewise.
32604 2017-08-11 Florian Weimer <fweimer@redhat.com>
32607 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
32608 Suppress pedantic warning resulting from statement expression.
32609 (__ASSERT_FUNCTION): Add missing __extension__.
32611 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
32613 * benchtests/bench-memmove-large.c: Print output in JSON
32615 * benchtests/bench-memmove.c: Likewise.
32617 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
32618 * benchtests/bench-memchr.c (do_one_test): Likewise.
32619 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
32620 * benchtests/bench-memcpy.c (do_one_test): Likewise.
32621 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
32622 * benchtests/bench-memmove.c (do_one_test): Likewise.
32623 * benchtests/bench-memset-large.c (do_one_test): Likewise.
32624 * benchtests/bench-memset.c (do_one_test): Likewise.
32625 * benchtests/bench-string.h (test_init): Remove memsets.
32627 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
32630 (Computing the Width of an Integer Data Type): Rename section to
32631 "Width of an Integer Type". Remove inaccurate statement regarding
32632 lack of C language facilities for determining width of integer
32633 types, and reorder content to improve flow and context of
32636 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
32638 * lang.texi (va_copy): Change standard from ISO to C99.
32639 (__va_copy): Add standard and header annotation.
32640 Update description for clarity of origins and current use.
32642 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32645 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
32646 xssqrtqp requires operands to be in Vector Registers
32647 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
32648 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
32649 (__ieee754_sqrtf128): Likewise.
32651 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
32653 * sysdeps/aarch64/memcmp.S (memcmp):
32654 Rewrite of optimized memcmp.
32656 2017-08-10 Florian Weimer <fweimer@redhat.com>
32658 Introduce ld.so exceptions.
32659 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
32660 (_dl_exception_create, _dl_exception_create_format)
32661 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
32662 (_dl_catch_exception): Declare.
32663 (_dl_catch_error): Update comment.
32664 * elf/dl-error-skeleton.c (struct catch): Replace objname,
32665 errstring, malloced members with exception member.
32666 (_dl_out_of_memory): Remove.
32667 (fatal_error): New function, extracted from _dl_signal_error.
32668 (_dl_signal_exception, _dl_signal_cexception): New functions.
32669 (_dl_signal_error): Call _dl_exception_create to allocate an
32671 (_dl_catch_exception): New function, based on _dl_catch_error.
32672 (_dl_catch_error): Implement using _dl_catch_exception.
32673 * elf/dl-exception.c: New file.
32674 * elf/Makefile (dl-routines): Add dl-exception.
32675 (elide-routines.os): Likewise.
32676 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
32677 _dl_exception_create_format, _dl_exception_free.
32678 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
32679 _dl_signal_exception.
32680 * elf/dl-lookup.c (make_string): Remove.
32681 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
32682 _dl_signal_cexception, _dl_exception_free.
32683 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
32684 _dl_signal_exception.
32685 * elf/dl-sym.c (do_sym): Likewise.
32686 * elf/dl-version.c (make_string): Remove.
32687 (match_symbol): Use _dl_exception_create_format,
32688 _dl_signal_cexception, _dl_exception_free.
32689 (_dl_check_map_versions): Likewise.
32690 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
32691 _dl_catch_exception.
32692 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
32693 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
32694 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
32695 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
32696 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
32697 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
32698 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
32699 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
32701 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
32702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
32704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
32706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
32708 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
32709 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
32710 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
32712 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
32714 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
32716 2017-08-10 Florian Weimer <fweimer@redhat.com>
32718 * inet/net-internal.h (__inet6_scopeid_pton): Remove
32719 attribute_hidden, internal_function.
32720 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
32723 2017-08-10 Florian Weimer <fweimer@redhat.com>
32725 * malloc/malloc.c (get_max_fast): Reimplement as an inline
32726 function which calls __builtin_unreachable.
32728 2017-08-10 Mike FABIAN <mfabian@redhat.com>
32730 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
32731 Indian monetary formatting
32732 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
32735 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
32737 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
32738 Fix typo in comment.
32741 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
32742 PTRACE_SEIZE_DEVEL): Remove.
32743 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
32744 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32745 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32746 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32747 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32749 2017-08-09 Joseph Myers <joseph@codesourcery.com>
32751 * posix/bits/types.h (__qaddr_t): Remove.
32754 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
32755 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32757 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
32758 (ucontext_t): Use __ctx with uc_flags.
32759 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
32760 (__ctxt): Likewise.
32761 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32763 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
32764 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32766 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
32767 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32769 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
32771 (ucontext_t): Use __ctx with uc_flags.
32772 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
32773 (ucontext_t): Use __ctx with uc_flags.
32774 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
32775 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
32776 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
32777 (ucontext_t): Use __ctx with uc_flags.
32778 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
32779 undefine further down.
32780 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32782 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
32783 undefine further down.
32784 (ucontext_t): Use __ctx with uc_flags.
32785 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
32786 undefine further down.
32787 (ucontext_t): Use __ctx with uc_flags.
32788 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
32789 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
32790 Rename uc_pad to __glibc_reserved1.
32791 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
32792 undefine further down.
32793 (ucontext_t): Use __ctx with uc_flags.
32794 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
32796 (ucontext_t): Use __ctx with uc_flags.
32797 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
32798 __ctx with uc_flags.
32799 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
32800 (ucontext_t): Use __ctx with uc_flags.
32801 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
32802 __ctx with uc_flags.
32804 2017-08-09 Florian Weimer <fweimer@redhat.com>
32807 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
32808 before early return.
32810 2017-08-09 Andreas Schwab <schwab@suse.de>
32813 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
32817 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
32818 tst-compat-forwarder.
32819 (modules-names): Add tst-compat-forwarder-mod.
32820 ($(objpfx)tst-compat-forwarder): Depend on
32821 $(objpfx)tst-compat-forwarder-mod.so.
32822 * nptl/tst-compat-forwarder.c: New file.
32823 * nptl/tst-compat-forwarder-mod.c: New file.
32825 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
32827 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
32830 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
32831 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
32833 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
32835 (__libc_ifunc_impl_list): Add __memcpy_falkor.
32836 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
32837 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
32838 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
32840 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
32843 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32846 * manual/setjmp.texi (getcontex): Document uc_stack value
32847 compatibility differences.
32849 2017-08-08 Joseph Myers <joseph@codesourcery.com>
32851 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
32852 (old_malloc_hook): Likewise.
32853 (old_memalign_hook): Likewise.
32854 (old_realloc_hook): Likewise.
32855 (struct hdr): Likewise.
32857 (freehook): Likewise.
32858 (mallochook): Likewise.
32859 (memalignhook): Likewise.
32860 (reallochook): Likewise.
32861 (mprobe): Likewise.
32862 * malloc/mtrace.c (mallwatch): Likewise.
32863 (tr_old_free_hook): Likewise.
32864 (tr_old_malloc_hook): Likewise.
32865 (tr_old_realloc_hook): Likewise.
32866 (tr_old_memalign_hook): Likewise.
32867 (tr_where): Likewise.
32868 (lock_and_info): Likewise.
32869 (tr_freehook): Likewise.
32870 (tr_mallochook): Likewise.
32871 (tr_reallochook): Likewise.
32872 (tr_memalignhook): Likewise.
32873 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
32874 * misc/mmap.c (__mmap): Likewise.
32875 * misc/mmap64.c (__mmap64): Likewise.
32876 * misc/mprotect.c (__mprotect): Likewise.
32877 * misc/msync.c (msync): Likewise.
32878 * misc/munmap.c (__munmap): Likewise.
32879 * posix/posix_madvise.c (posix_madvise): Likewise.
32880 * socket/send.c (__send): Likewise.
32881 * socket/sendto.c (__sendto): Likewise.
32882 * socket/setsockopt.c (__setsockopt): Likewise.
32883 * string/memcmp.c (__ptr_t): Remove macro.
32884 (MEMCMP): Use void * instead of ptr_t.
32885 * string/memrchr.c (__ptr_t): Remove macro.
32886 (__memrchr): Use void * instead of ptr_t.
32887 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
32888 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
32889 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
32890 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
32891 * sysdeps/mach/msync.c (msync): Likewise.
32892 * sysdeps/mach/munmap.c (__munmap): Likewise.
32893 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
32895 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32896 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
32897 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
32898 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
32899 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
32900 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
32901 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
32902 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
32904 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
32905 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
32906 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
32907 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
32908 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
32909 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
32910 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
32911 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
32912 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
32914 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
32915 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
32916 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
32917 (MEMCMP): Use void * instead of ptr_t.
32918 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
32919 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
32921 2017-08-08 Florian Weimer <fweimer@redhat.com>
32923 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
32926 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
32929 * csu/libc-tls.c: Include <startup.h> first.
32930 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
32931 * elf/dl-tunables.c: Include <startup.h> first.
32932 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
32933 * sysdeps/generic/startup.h: New file.
32934 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
32935 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
32936 (I386_USE_SYSENTER): New. Defined to 0.
32938 2017-08-08 Andreas Schwab <schwab@suse.de>
32941 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
32942 * nptl/pt-system.c (system): Likewise.
32944 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32947 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
32949 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
32950 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
32951 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
32952 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
32953 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
32954 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
32955 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
32957 2017-08-07 Joseph Myers <joseph@codesourcery.com>
32960 * bits/sigaction.h (struct sigaction): Define sa_handler and
32961 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
32962 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32963 [__USE_XOPEN_EXTENDED].
32964 (SA_RESTART): Likewise.
32965 (SA_NODEFER): Likewise.
32966 (SA_RESETHAND): Likewise.
32967 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
32968 (struct sigaction): Define sa_handler and sa_sigaction using union
32969 also for [__USE_XOPEN_EXTENDED].
32970 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32971 [__USE_XOPEN_EXTENDED].
32972 (SA_RESTART): Likewise.
32973 (SA_NODEFER): Likewise.
32974 (SA_RESETHAND): Likewise.
32975 * sysdeps/unix/sysv/linux/bits/sigaction.h
32976 (struct sigaction): Define sa_handler and sa_sigaction using union
32977 also for [__USE_XOPEN_EXTENDED].
32978 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32979 [__USE_XOPEN_EXTENDED].
32980 (SA_RESTART): Likewise.
32981 (SA_NODEFER): Likewise.
32982 (SA_RESETHAND): Likewise.
32983 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
32984 (struct sigaction): Define sa_handler and sa_sigaction using union
32985 also for [__USE_XOPEN_EXTENDED].
32986 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32987 [__USE_XOPEN_EXTENDED].
32988 (SA_RESTART): Likewise.
32989 (SA_NODEFER): Likewise.
32990 (SA_RESETHAND): Likewise.
32991 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
32992 (struct sigaction): Define sa_handler and sa_sigaction using union
32993 also for [__USE_XOPEN_EXTENDED].
32994 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32995 [__USE_XOPEN_EXTENDED].
32996 (SA_RESTART): Likewise.
32997 (SA_NODEFER): Likewise.
32998 (SA_RESETHAND): Likewise.
32999 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
33000 (struct sigaction): Define sa_handler and sa_sigaction using union
33001 also for [__USE_XOPEN_EXTENDED].
33002 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33003 [__USE_XOPEN_EXTENDED].
33004 (SA_RESTART): Likewise.
33005 (SA_NODEFER): Likewise.
33006 (SA_RESETHAND): Likewise.
33007 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
33008 (struct sigaction): Define sa_handler and sa_sigaction using union
33009 also for [__USE_XOPEN_EXTENDED].
33010 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33011 [__USE_XOPEN_EXTENDED].
33012 (SA_RESTART): Likewise.
33013 (SA_NODEFER): Likewise.
33014 (SA_RESETHAND): Likewise.
33015 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
33016 (struct sigaction): Define sa_handler and sa_sigaction using union
33017 also for [__USE_XOPEN_EXTENDED].
33018 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33019 [__USE_XOPEN_EXTENDED].
33020 (SA_RESTART): Likewise.
33021 (SA_NODEFER): Likewise. Define directly rather than as alias.
33022 (SA_RESETHAND): Likewise.
33023 (SA_INTERRUPT): Define only for [__USE_MISC].
33024 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
33025 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
33027 (SA_STACK): Define only for [__USE_MISC].
33028 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
33029 (struct sigaction): Define sa_handler and sa_sigaction using union
33030 also for [__USE_XOPEN_EXTENDED].
33031 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33032 [__USE_XOPEN_EXTENDED].
33033 (SA_RESTART): Likewise.
33034 (SA_NODEFER): Likewise.
33035 (SA_RESETHAND): Likewise.
33036 (SA_NOPTRACE): Define only for [__USE_MISC].
33038 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
33039 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
33040 (struct catalog_info): Likewise.
33041 * inet/htontest.c (lo): Likewise.
33043 * inet/inet_lnaof.c (inet_lnaof): Likewise.
33044 * inet/inet_net.c (inet_network): Likewise.
33045 * inet/inet_netof.c (inet_netof): Likewise.
33046 * inet/rcmd.c (__ivaliduser): Likewise.
33047 (iruserok): Likewise.
33048 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
33049 * locale/programs/locale-spec.c (locale_special): Likewise.
33050 * nis/nis_findserv.c (struct findserv_req): Likewise.
33051 (__nis_findfastest_with_timeout): Likewise.
33052 * nss/test-netdb.c (test_network): Likewise.
33053 * resolv/inet_neta.c (inet_neta): Likewise.
33054 * resolv/ns_date.c (ns_datetosecs): Likewise.
33055 (SECS_PER_DAY): Likewise.
33056 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
33058 * resolv/res_comp.c (__putlong): Likewise.
33059 (__putshort): Likewise.
33060 (_getlong): Likewise.
33061 (_getshort): Likewise.
33062 * resolv/res_debug.c (p_time): Likewise.
33063 (precsize_ntoa): Likewise.
33064 (precsize_aton): Likewise.
33065 (latlon2ul): Likewise.
33066 (loc_aton): Likewise.
33067 (loc_ntoa): Likewise.
33068 * resolv/res_hconf.c (struct netaddr): Likewise.
33069 (_res_hconf_reorder_addrs): Likewise.
33070 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
33071 (clnttcp_control): Likewise.
33072 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33073 (clntudp_control): Likewise.
33074 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
33075 (clntunix_control): Likewise.
33076 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
33077 * sunrpc/rpc/auth.h (union des_block): Likewise.
33078 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
33079 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
33080 (xdrrec_create): Likewise.
33081 (xdrrec_endofrecord): Likewise.
33082 (flush_out): Likewise.
33083 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
33084 (xdrstdio_putlong): Likewise.
33085 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
33088 * misc/sys/cdefs.h (__long_double_t): Remove.
33089 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
33090 instead of __long_double_t,
33091 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
33093 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
33095 * benchtests/scripts/compare_strings.py: Avoid display error when
33096 running on a text terminal.
33098 * benchtests/scripts/compare_strings.py (main): Add an
33099 optional -base option.
33100 (process_results): New argument base_func.
33102 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
33104 * benchtests/bench-memcpy-large.c (test_name): Likewise.
33105 * benchtests/bench-memcpy-random.c (test_name): Likewise.
33107 2017-08-07 Andreas Schwab <schwab@suse.de>
33109 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
33110 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
33111 * intl/Makefile ($(objpfx)tst-gettext.out)
33112 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
33113 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
33114 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
33115 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
33116 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
33117 * posix/Makefile ($(objpfx)globtest.out)
33118 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
33119 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
33120 ($(objpfx)tst-printf.out): Likewise.
33121 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
33122 ($(objpfx)tst-setcontext3.out): Likewise.
33124 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
33126 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33127 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
33128 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
33129 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
33130 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
33132 (CFLAGS-doasin-fma.c): New.
33133 (CFLAGS-dosincos-fma.c): Likewise.
33134 (CFLAGS-e_asin-fma.c): Likewise.
33135 (CFLAGS-e_atan2-fma.c): Likewise.
33136 (CFLAGS-e_exp-fma.c): Likewise.
33137 (CFLAGS-e_log-fma.c): Likewise.
33138 (CFLAGS-e_pow-fma.c): Likewise.
33139 (CFLAGS-halfulp-fma.c): Likewise.
33140 (CFLAGS-mpa-fma.c): Likewise.
33141 (CFLAGS-mpatan-fma.c): Likewise.
33142 (CFLAGS-mpatan2-fma.c): Likewise.
33143 (CFLAGS-mpexp-fma.c): Likewise.
33144 (CFLAGS-mplog-fma.c): Likewise.
33145 (CFLAGS-mpsqrt-fma.c): Likewise.
33146 (CFLAGS-mptan-fma.c): Likewise.
33147 (CFLAGS-s_atan-fma.c): Likewise.
33148 (CFLAGS-sincos32-fma.c): Likewise.
33149 (CFLAGS-slowexp-fma.c): Likewise.
33150 (CFLAGS-slowpow-fma.c): Likewise.
33151 (CFLAGS-s_sin-fma.c): Likewise.
33152 (CFLAGS-s_tan-fma.c): Likewise.
33153 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
33154 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
33155 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
33156 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
33157 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
33158 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
33159 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
33160 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
33161 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
33162 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
33163 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
33164 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
33165 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
33166 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
33167 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
33168 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
33169 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
33170 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
33171 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
33172 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
33173 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
33174 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
33175 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
33176 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
33177 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33178 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33179 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33180 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
33181 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33182 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33183 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33185 2017-08-04 Joseph Myers <joseph@codesourcery.com>
33187 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
33188 (min_of_type_f): New macro.
33189 (min_of_type_): Likewise.
33190 (min_of_type_l): Likewise.
33191 (min_of_type_f128): Likewise.
33192 (min_of_type): Define using __MATH_TG and taking an expression
33194 (math_check_force_underflow): Pass expression instead of type to
33196 (math_check_force_underflow_nonneg): Likewise.
33198 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33200 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
33201 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
33202 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
33204 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33206 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33207 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
33208 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
33209 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
33210 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
33211 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
33212 memcpy_chk-nonshared, mempcpy_chk-nonshared,
33213 memmove_chk-nonshared and memset_chk-nonshared
33214 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
33215 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
33216 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
33217 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
33218 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
33219 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
33220 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
33221 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
33222 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
33223 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
33224 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
33225 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
33226 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
33227 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
33228 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
33229 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
33230 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
33231 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
33232 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
33233 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
33234 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
33235 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
33236 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
33237 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
33238 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
33239 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
33240 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
33241 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
33242 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
33243 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
33244 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
33245 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
33246 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
33247 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
33248 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
33249 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
33250 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
33251 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
33252 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
33253 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
33254 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
33255 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
33256 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
33257 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
33258 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
33259 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
33260 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
33261 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
33262 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
33263 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
33264 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
33265 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
33266 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
33267 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
33268 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
33269 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
33270 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
33271 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
33272 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
33273 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
33274 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
33275 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
33276 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
33277 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
33278 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
33279 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
33280 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
33281 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
33282 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
33283 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
33284 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
33285 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33286 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33287 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33288 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33289 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33290 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33291 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33292 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33293 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33294 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33295 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33296 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33297 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33298 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33299 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33300 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33301 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33302 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33303 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33304 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33305 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33306 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33307 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33308 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33309 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33310 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33311 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33312 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33313 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33314 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33315 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33316 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33317 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33318 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33319 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33320 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33321 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33323 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33325 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
33326 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
33327 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
33328 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
33329 svml_d_log2_core-sse2, svml_d_log4_core-sse,
33330 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
33331 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
33332 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
33333 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
33334 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
33335 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
33336 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
33337 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
33338 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
33339 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
33340 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
33341 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
33342 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
33343 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
33344 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
33345 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
33346 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
33347 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
33348 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
33349 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
33350 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
33351 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
33352 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
33353 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
33354 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
33355 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
33356 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
33357 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
33358 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
33359 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
33360 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
33361 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
33362 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
33363 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
33364 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
33365 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
33366 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
33367 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
33368 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
33369 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
33370 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
33371 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
33372 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
33373 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
33374 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
33375 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
33376 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
33377 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
33378 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
33379 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
33380 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
33381 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
33382 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
33383 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
33385 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
33386 Don't include <sysdep.h> nor <init-arch.h>.
33387 (_ZGVbN2v_cos): Removed.
33388 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
33390 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
33391 Don't include <sysdep.h> nor <init-arch.h>.
33392 (_ZGVdN4v_cos): Removed.
33393 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
33395 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
33396 Don't include <sysdep.h> nor <init-arch.h>.
33397 (_ZGVeN8v_cos): Removed.
33398 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
33400 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
33401 Don't include <sysdep.h> nor <init-arch.h>.
33402 (_ZGVbN2v_exp): Removed.
33403 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
33405 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
33406 Don't include <sysdep.h> nor <init-arch.h>.
33407 (_ZGVdN4v_exp): Removed.
33408 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
33410 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
33411 Don't include <sysdep.h> nor <init-arch.h>.
33412 (_ZGVeN8v_exp): Removed.
33413 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
33415 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
33416 Don't include <sysdep.h> nor <init-arch.h>.
33417 (_ZGVbN2v_log): Removed.
33418 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
33420 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
33421 Don't include <sysdep.h> nor <init-arch.h>.
33422 (_ZGVdN4v_log): Removed.
33423 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
33425 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
33426 Don't include <sysdep.h> nor <init-arch.h>.
33427 (_ZGVeN8v_log): Removed.
33428 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
33430 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
33431 Don't include <sysdep.h> nor <init-arch.h>.
33432 (_ZGVbN2vv_pow): Removed.
33433 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
33435 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
33436 Don't include <sysdep.h> nor <init-arch.h>.
33437 (_ZGVdN4vv_pow): Removed.
33438 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
33440 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
33441 Don't include <sysdep.h> nor <init-arch.h>.
33442 (_ZGVeN8vv_pow): Removed.
33443 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
33445 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
33446 Don't include <sysdep.h> nor <init-arch.h>.
33447 (_ZGVbN2v_sin): Removed.
33448 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
33450 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
33451 Don't include <sysdep.h> nor <init-arch.h>.
33452 (_ZGVbN4v_sin): Removed.
33453 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
33455 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
33456 Don't include <sysdep.h> nor <init-arch.h>.
33457 (_ZGVbN8v_sin): Removed.
33458 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
33460 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
33461 Don't include <sysdep.h> nor <init-arch.h>.
33462 (_ZGVbN2vvv_sincos): Removed.
33463 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
33465 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
33466 Don't include <sysdep.h> nor <init-arch.h>.
33467 (_ZGVdN4vvv_sincos): Removed.
33468 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
33470 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
33471 Don't include <sysdep.h> nor <init-arch.h>.
33472 (_ZGVeN8vvv_sincos): Removed.
33473 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
33475 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
33476 Don't include <sysdep.h> nor <init-arch.h>.
33477 (_ZGVeN16v_cosf): Removed.
33478 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
33480 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
33481 Don't include <sysdep.h> nor <init-arch.h>.
33482 (_ZGVbN4v_cosf): Removed.
33483 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
33485 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
33486 Don't include <sysdep.h> nor <init-arch.h>.
33487 (_ZGVdN8v_cosf): Removed.
33488 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
33490 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
33491 Don't include <sysdep.h> nor <init-arch.h>.
33492 (_ZGVeN16v_expf): Removed.
33493 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
33495 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
33496 Don't include <sysdep.h> nor <init-arch.h>.
33497 (_ZGVbN4v_expf): Removed.
33498 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
33500 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
33501 Don't include <sysdep.h> nor <init-arch.h>.
33502 (_ZGVdN8v_expf): Removed.
33503 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
33505 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
33506 Don't include <sysdep.h> nor <init-arch.h>.
33507 (_ZGVeN16v_logf): Removed.
33508 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
33510 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
33511 Don't include <sysdep.h> nor <init-arch.h>.
33512 (_ZGVbN4v_logf): Removed.
33513 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
33515 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
33516 Don't include <sysdep.h> nor <init-arch.h>.
33517 (_ZGVdN8v_logf): Removed.
33518 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
33520 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
33521 Don't include <sysdep.h> nor <init-arch.h>.
33522 (_ZGVeN16vv_powf): Removed.
33523 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
33525 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
33526 Don't include <sysdep.h> nor <init-arch.h>.
33527 (_ZGVbN4vv_powf): Removed.
33528 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
33530 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
33531 Don't include <sysdep.h> nor <init-arch.h>.
33532 (_ZGVdN8vv_powf): Removed.
33533 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
33535 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
33536 Don't include <sysdep.h> nor <init-arch.h>.
33537 (_ZGVeN16vvv_sincosf): Removed.
33538 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
33540 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
33541 Don't include <sysdep.h> nor <init-arch.h>.
33542 (_ZGVbN4vvv_sincosf): Removed.
33543 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
33545 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
33546 Don't include <sysdep.h> nor <init-arch.h>.
33547 (_ZGVdN8vvv_sincosf): Removed.
33548 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
33550 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
33551 Don't include <sysdep.h> nor <init-arch.h>.
33552 (_ZGVeN16v_sinf): Removed.
33553 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
33555 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
33556 Don't include <sysdep.h> nor <init-arch.h>.
33557 (_ZGVbN4v_sinf): Removed.
33558 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
33560 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
33561 Don't include <sysdep.h> nor <init-arch.h>.
33562 (_ZGVdN8v_sinf): Removed.
33564 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33566 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33567 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
33568 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
33569 s_rint-sse4_1 and s_rintf-sse4_1.
33570 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
33571 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
33572 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
33573 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
33574 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
33575 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
33576 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
33577 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
33578 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
33579 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
33580 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
33581 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33583 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
33584 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
33585 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33586 (__ceilf): Removed.
33587 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
33588 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
33589 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33590 (__floor): Removed.
33591 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
33592 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
33593 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33594 (__floorf): Removed.
33595 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
33596 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
33597 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33598 (__nearbyint): Removed.
33599 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
33600 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
33601 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33602 (__nearbyintf): Removed.
33603 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
33604 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
33605 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33607 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
33608 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
33609 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33610 (__rintf): Removed.
33612 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33614 * sysdeps/i386/start.S (_start): Check Check PIC instead of
33615 SHARED. Avoid dynamic relocation against main in static PIE.
33617 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33620 * elf/Makefile (CFLAGS-tst-prelink.c): New.
33621 (LDFLAGS-tst-prelink): Likewise.
33623 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33625 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
33626 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
33627 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
33628 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
33629 (INTERNAL_SYSCALL_NCS): Likewise.
33630 (LOADARGS_1): Likewise.
33631 (LOADARGS_5): Likewise.
33632 (RESTOREARGS_1): Likewise.
33633 (RESTOREARGS_5): Likewise.
33635 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33637 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
33638 (MEMPCPY_SYMBOL): Likewise.
33639 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
33640 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
33641 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
33643 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33644 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
33646 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
33647 (__hidden_ver1): Don't use in libc.a.
33648 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
33649 (__mempcpy): Don't create a weak alias in libc.a.
33650 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
33652 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
33653 (__hidden_ver1): Don't use in libc.a.
33655 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33657 * config.make.in (have-insert): New.
33658 * configure.ac (libc_cv_insert): New. Set to yes if linker
33659 supports INSERT in linker script.
33660 (AC_SUBST(libc_cv_insert): New.
33661 * configure: Regenerated.
33662 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
33663 if $(have-insert) == yes.
33665 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33667 * elf/Makefile (tests): Add vismain only if
33668 $(have-protected-data) == yes.
33669 (tests-pie): Likewise.
33671 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33674 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
33675 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
33677 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33680 * sysdeps/i386/i586/memset.S
33681 (__memset_zero_constant_len_parameter): Removed.
33682 * sysdeps/i386/i686/memset.S
33683 (__memset_zero_constant_len_parameter): Likewise.
33684 * sysdeps/i386/i686/multiarch/memset_chk.S
33685 (__memset_zero_constant_len_parameter): Likewise.
33686 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
33689 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
33691 * stdlib/getentropy.c (getentropy): Change return type to int.
33693 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
33695 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
33697 2017-08-03 Joseph Myers <joseph@codesourcery.com>
33699 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
33701 * math/s_nexttowardf.c (__nexttowardf): Likewise.
33702 * sysdeps/generic/math_private.h (ieee_double_shape_type):
33704 (ieee_float_shape_type): Likewise.
33705 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
33706 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
33707 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
33708 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33709 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
33710 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
33711 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
33712 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
33713 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
33715 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
33716 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
33717 (__ieee754_yn): Likewise.
33718 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33719 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33720 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
33722 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
33723 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
33724 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
33725 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
33726 (__erfc): Likewise.
33727 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
33728 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
33729 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
33730 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
33731 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
33732 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
33734 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
33735 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
33736 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
33737 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
33738 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
33739 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
33740 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
33741 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
33742 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
33743 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
33744 (__issignaling): Likewise.
33745 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
33746 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
33747 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
33749 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33750 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
33751 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
33752 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
33754 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
33756 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
33757 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
33758 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
33759 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
33760 (__erfcf): Likewise.
33761 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
33762 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
33763 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
33764 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
33766 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
33767 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
33769 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
33770 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
33771 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
33772 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
33773 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
33774 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33775 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
33776 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
33778 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
33780 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
33782 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
33783 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
33785 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
33787 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
33788 (__ieee754_ynl): Likewise.
33789 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
33790 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
33792 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
33794 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
33795 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
33796 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33798 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
33799 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
33800 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
33801 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
33802 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
33803 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
33804 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
33805 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
33807 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
33808 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
33809 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
33811 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
33812 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
33813 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
33814 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
33815 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
33816 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33818 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
33820 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33822 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33824 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
33825 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33826 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33827 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
33828 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
33829 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
33830 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
33832 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
33834 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
33835 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33837 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
33838 (__ieee754_remainderl): Likewise.
33839 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33840 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33841 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
33842 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
33844 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
33845 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33847 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33848 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
33849 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
33850 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
33851 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33852 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
33854 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
33855 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
33856 (__ieee754_y0l): Likewise.
33859 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33860 (__ieee754_y1l): Likewise.
33863 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
33864 (__ieee754_ynl): Likewise.
33865 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
33866 (__ieee754_lgammal_r): Likewise.
33867 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
33869 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
33870 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
33871 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
33872 (__erfcl): Likewise.
33873 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
33874 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
33876 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
33877 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
33878 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
33879 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
33880 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
33881 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33882 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33884 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
33885 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33886 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
33887 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
33888 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33890 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
33891 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
33893 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
33894 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
33895 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
33896 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
33897 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
33899 2017-08-03 Florian Weimer <fweimer@redhat.com>
33902 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
33903 on memory allocation failure.
33905 2017-08-03 Alan Modra <amodra@gmail.com>
33907 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
33908 tst-tlsopt-powerpc.c with function name change and no test harness.
33909 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
33910 Call tls_get_addr_opt_test.
33911 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
33912 (modules-names): Add mod-tlsopt-powerpc.
33913 (mod-tlsopt-powerpc.so-no-z-defs): Define.
33914 (tst-tlsopt-powerpc): Depend on .so.
33915 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
33916 define. Expand use in TLS_GD and TLS_LD.
33918 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
33920 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
33922 * sysdeps/posix/shm_open.c: Include <pthread.h>.
33924 2017-08-02 Joseph Myers <joseph@codesourcery.com>
33927 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
33928 comparing size with that of double.
33929 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33930 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33931 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33932 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33933 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33934 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
33935 unsigned __int128 types.
33937 2017-08-02 Steve Ellcey <sellcey@cavium.com>
33939 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
33940 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
33941 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
33942 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
33943 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
33945 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33947 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
33949 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33951 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
33953 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
33954 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
33955 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33956 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33957 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33958 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33959 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33961 2017-08-02 Joseph Myers <joseph@codesourcery.com>
33964 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
33965 bit-field expressions passed to sizeof or typeof.
33966 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33967 (__TGMATH_F128): Likewise.
33968 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33969 (__TGMATH_CF128): Likewise.
33970 (__TGMATH_UNARY_REAL_ONLY): Likewise.
33971 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
33972 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
33973 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
33974 (__TGMATH_BINARY_REAL_ONLY): Likewise.
33975 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33976 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33977 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33978 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33979 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
33980 (__TGMATH_UNARY_REAL_IMAG): Likewise.
33981 (__TGMATH_UNARY_IMAG): Likewise.
33982 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
33983 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33984 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
33986 (define_vars_for_type): Handle bit_field type specially.
33987 (Tests.__init__): Declare structure with bit-field element.
33989 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33992 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
33993 (MEMCPY_CHK): Define only if SHARED is defined.
33994 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
33996 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
33999 See ChangeLog.18 for earlier changes.